Exemple #1
0
        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());
        }
Exemple #2
0
 public static IMatcher <bool> False()
 {
     return(IsEqualMatcher <bool> .EqualTo(false));
 }
Exemple #3
0
 public static IMatcher <bool> True()
 {
     return(IsEqualMatcher <bool> .EqualTo(true));
 }
Exemple #4
0
 public static IMatcher <T> EqualTo <T>(T value)
 {
     return(IsEqualMatcher <T> .EqualTo(value));
 }