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