示例#1
0
        public void WordContainsOnlyLetterCharacters_ChecksWordOnlyContainsLetters_True()
        {
            Scrabble newWord = new Scrabble("Hello");
            bool     result  = newWord.WordContainsOnlyLetterCharacters();

            Assert.AreEqual(true, result);
        }
示例#2
0
        public void WordContainsOnlyLetterCharacters_ChecksWordForNonLetterCharactersReturnFalseIfWordContainsNonLetterCharacters_False()
        {
            Scrabble newWord = new Scrabble("H3llo");
            bool     result  = newWord.WordContainsOnlyLetterCharacters();

            Assert.AreEqual(false, result);
        }