Validate() 공개 메소드

public Validate ( ) : ConditionState
리턴 ConditionState
 public void NightRange_ShouldBeFulfilled()
 {
     var condition = new Condition().WithExpression(() => true);
     condition.Validate().ShouldBeEquivalentTo(ConditionState.Fulfilled);
 }
예제 #2
0
 public void ConditionWithNotfulfilledExpression_ShouldBeNotFulfilled()
 {
     var condition = new Condition().WithExpression(() => ConditionState.NotFulfilled);
     condition.Validate().ShouldBeEquivalentTo(ConditionState.NotFulfilled);
 }