public void FindLongestWord(string input, IList <string> list, string expected)
        {
            var sut    = new LongestWordInDictionaryThroughDeleting();
            var actual = sut.FindLongestWord(input, list);

            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
 public void BeforeEach()
 {
     LongestWordInDictionaryThroughDeleting = new LongestWordInDictionaryThroughDeleting();
 }