public void OutOfRangeTest(string input) { var formatter = new WordyFormatter(); var result = formatter.Parse(input); Assert.False(result.Success); }
public void Test1(string input, string output) { var formatter = new WordyFormatter(); var result = formatter.Parse(input); Assert.True(result.Success); Assert.Equal(output, result.WordyOutput); }
public WordPresentation WordyFormatter(string input) { var formatter = new WordyFormatter(); return(formatter.Parse(input)); }