Beispiel #1
0
 public static void NotNullOrEmpty_Passes_ForNonNullOrEmptyString()
 => Expect.NotNullOrEmpty("value");
Beispiel #2
0
 public static void NotNullOrEmpty_Passes_ForNullOrEmptyString()
 {
     Expect.NotNullOrEmpty(null);
     Expect.NotNullOrEmpty(String.Empty);
 }
Beispiel #3
0
 public static void NotNullUnconstrained_Passes_ForNonNull()
 => Expect.NotNullUnconstrained(new Object());
Beispiel #4
0
 public static void NotNullUnconstrained_Passes_ForNull()
 {
     Expect.NotNull((Object)null);
 }
Beispiel #5
0
 public static void NotNull_Passes_ForNull()
 {
     Expect.NotNull((Object)null);
 }
Beispiel #6
0
 public static void NotNullUnconstrained_Passes_ForStruct()
 => Expect.NotNullUnconstrained(new My.EmptyStruct());
Beispiel #7
0
 public static void Range_Passes_ForFalse() => Expect.Range(false);
Beispiel #8
0
 public static void NotNull_Passes_ForNonNull() => Expect.NotNull(new Object());
Beispiel #9
0
 public static void Range_Passes_ForTrue() => Expect.Range(true);
Beispiel #10
0
 public static void True_Passes_ForFalse() => Expect.True(false);
Beispiel #11
0
 public static void True_Passes_ForTrue() => Expect.True(true);
Beispiel #12
0
 public static void State_Passes_ForFalse() => Expect.State(false);
Beispiel #13
0
 public static void State_Passes_ForTrue() => Expect.State(true);