예제 #1
0
 public void TestInvalidNewline(
     [Values(' ')] char input)
 {
     Assert.Null(NewlineMatcher.Match(input));
 }
예제 #2
0
 public void TestValidNewline(
     [Values('\n', '\r')] char input)
 {
     Assert.NotNull(NewlineMatcher.Match(input));
 }