Esempio n. 1
0
 public void FloatAreEqual()
 {
     Validation.AssertFloatEqual(1f, 1f + Validation.Epsilon * 0.9f);
 }
Esempio n. 2
0
 public void FloatAreNotEqual()
 {
     Assert.ThrowsException <AssertFailedException>(() => Validation.AssertFloatEqual(1f, 1f + Validation.Epsilon * 1.1f));
 }