public static void IsTrue(this VAssertSingle <bool> assert) { if (!assert.Value) { assert.Error("Value expected to be true"); } }
public static void IsFalse(this VAssertSingle <bool> assert) { if (assert.Value) { assert.Error("Value expected to be false"); } }
public static bool IsNotNull <T>(this VAssertSingle <T> assert) where T : class { var result = assert.Value != null; if (!result) { assert.Error("Cannot be null"); } return(result); }