예제 #1
0
파일: ViolatesTests.cs 프로젝트: flyer87/C6
 public void TypedPrecondition_HasViolatedTypedPrecondition_ViolatesPrecondition() =>
 Assert.That(HasViolatedTypedPrecondition, Violates.TypedPrecondition <ViolatesTestException>());
예제 #2
0
파일: ViolatesTests.cs 프로젝트: flyer87/C6
 public void Precondition_HasViolatedPreconditionWithUserMessage_ViolatesPrecondition() =>
 Assert.That(HasViolatedPreconditionWithUserMessage, Violates.PreconditionSaying(UserMessage));