public void FindWordsTest() { IEnumerable <GraphNode <char> > board = Graph.MakeCrosswordGraph(); ICollection <string> words = WordSearch.FindWords(board); Assert.IsTrue(words.Contains("CAT")); Assert.IsTrue(words.Contains("CRIME")); }
public void FindWordsTest() { IEnumerable <GraphNode <char> > board = Graph.MakeCrosswordGraph(); ICollection <string> words = WordSearch.FindWords(board); Assert.IsTrue(words.Contains("CAT")); Assert.IsTrue(words.Contains("CRIME")); }