public void NotEqualWithCustomComparer() { string expected = "TestString"; string actual = "testString"; Assert.False(actual == expected); Assert.Equal(expected, actual, StringComparer.CurrentCultureIgnoreCase); Assert.NotEqual(expected, actual, StringComparer.CurrentCulture); }
public void AssertFalseThrowsExceptionWhenTrue() { try { Assert.False(true); } catch (AssertException exception) { Assert.Equal("Assert.False() Failure", exception.UserMessage); } }
public void AssertFalse() { Assert.False(false); }