public IsSatisfiedByValue ( object value ) : bool | ||
value | object | |
return | bool |
public void IsSatisfiedByValue() { IsNotFact fact = new IsNotFact("Temperature", 38); Assert.IsTrue(fact.IsSatisfiedByValue(30)); }
public void IsNotSatisfiedByNullWhenNull() { IsNotFact fact = new IsNotFact("Temperature", null); Assert.IsFalse(fact.IsSatisfiedByValue((object)null)); }
public void IsSatisfiedByNull() { IsNotFact fact = new IsNotFact("Temperature", 38); Assert.IsTrue(fact.IsSatisfiedByValue((object) null)); }