示例#1
0
 /// <summary>
 /// Check not NaN
 /// </summary>
 protected override void WhenIRun()
 {
     Assert.AreNotNaN(this.Collection);
 }
 public void Should_throw_an_exception()
 {
     Assert.IsInstanceOfType <EnsureException>(this.ExceptionThrown);
 }
示例#3
0
 public void Should_throw_an_assert_exception()
 {
     Assert.IsInstanceOfType <AssertionFailureException>(this.ExceptionThrown);
 }