예제 #1
0
        public void FourByThreeBoardTests(string word, bool expectedMatch)
        {
            // arrange
            var wordSearch = new WordSearch(fourByThreeBoard);

            // act
            bool foundWord = wordSearch.HasWord(word);

            // assert
            Assert.AreEqual(expectedMatch, foundWord);
        }