예제 #1
0
 public static void IsFinite(double d)
 {
     DebugVerify.Is(!Double.IsInfinity(d) && !(Double.IsNaN(d)));
 }
예제 #2
0
 public static void IsNotNull(object obj)
 {
     DebugVerify.Is(obj != null);
 }
예제 #3
0
 public static void IsNotNaN(double d)
 {
     DebugVerify.Is(!Double.IsNaN(d));
 }