Ejemplo n.º 1
0
        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"));
        }