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