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