public void Append_description() { const string test = "test"; var isEqual = IsEqualMatcher <string> .EqualTo(test); var description = new StringDescription(); isEqual.DescribeTo(description); Assert.Equal("\"" + test + "\"", description.ToString()); }
public static IMatcher <bool> False() { return(IsEqualMatcher <bool> .EqualTo(false)); }
public static IMatcher <bool> True() { return(IsEqualMatcher <bool> .EqualTo(true)); }
public static IMatcher <T> EqualTo <T>(T value) { return(IsEqualMatcher <T> .EqualTo(value)); }