public void ANotRuleCanBeDescribed() { var rule = aRuleThatIsTrue.Not(); var description = describer.Describe(rule); Assert.That(description, Is.EqualTo("NOT Always True")); }
public void ANotRuleCanBeEvaluatedAndDescribed() { var rule = aRuleThatIsTrue.Not(); var description = describer.Describe(rule); Assert.That(description, Is.EqualTo("NOT[F] Always True[T]")); }
public void ARuleCanBeNegatedUsingTheNotOperator() { Assert.That(aRuleThatIsTrue.Not().IsFalseFor(new AnyClass())); Assert.That(aRuleThatIsFalse.Not().IsTrueFor(new AnyClass())); }