Exemple #1
0
 public static void IsNotNull(object obj)
 {
     DebugVerify.Is(obj != null);
 }
Exemple #2
0
 public static void IsFinite(double d)
 {
     DebugVerify.Is(!double.IsInfinity(d) && !(double.IsNaN(d)));
 }
Exemple #3
0
 public static void IsNotNaN(Vector vec)
 {
     DebugVerify.IsNotNaN(vec.X);
     DebugVerify.IsNotNaN(vec.Y);
 }
Exemple #4
0
 public static void IsNotNaN(Point point)
 {
     DebugVerify.IsNotNaN(point.X);
     DebugVerify.IsNotNaN(point.Y);
 }
Exemple #5
0
 public static void IsNotNaN(double d)
 {
     DebugVerify.Is(!double.IsNaN(d));
 }