public void ProduceReport() { string testString = "This is simples! This will be fun!"; string expected = "Word | Number of Words | Prime?\nWill | 1 | False\nIs | 1 | False\nThis | 2 | True\nSimples | 1 | False\nBe | 1 | False\nFun | 1 | False"; Assert.AreEqual(expected, BookParser.ProduceReport(testString)); }
public static void Main() { var text = LoadBook("../../../../text.txt"); Console.WriteLine(BookParser.ProduceReport(text)); }