Example #1
0
        public void TestFind(string paragraph, string[] bannedList, string expected)
        {
            var m      = new MostCommonWord();
            var result = m.Find(paragraph, bannedList);

            result.Should().Be(expected);
        }
Example #2
0
 public void BeforeEach()
 {
     mostCommonWord = new MostCommonWord();
 }