예제 #1
0
 public static void NewlineParserIncorrect()
 => AssertThat(() => Newline.Parse("xyz")).ThrowsExactlyException <ParseException>();
예제 #2
0
 public static void NewlineCorrect(string input)
 => AssertThat(Newline.Parse(input)).IsEqualTo(input);