Example #1
0
 static void TestApproximateEquality()
 {
     Assert.True(i1.ApproximatelyEqualsTo(i1 + 1e-7));
     Assert.False((new Interval(double.NegativeInfinity, 0.0)).ApproximatelyEqualsTo(new Interval(double.NegativeInfinity, double.NaN)));
 }