Esempio n. 1
0
 public static void IsNot(bool actual, bool expected, string because)
 {
     if (actual == expected)
     {
         Fail(AssertionMessageUtil.BooleanFailureMessage(expected), because);
     }
 }
Esempio n. 2
0
 public static void IsFalse(bool condition, string message)
 {
     if (condition)
     {
         Fail(AssertionMessageUtil.BooleanFailureMessage(expected: false), message);
     }
 }