예제 #1
0
        public void CalculateThreePointLetters_ReturnScoreIfSomeLettersMatch_9()
        {
            Scrabble newWord = new Scrabble("bump");
            int      result  = newWord.CalculateThreePointLetters();

            Assert.AreEqual(9, result);
        }
예제 #2
0
        public void CalculateThreePointLetters_ReturnZeroIfNoLettersMatch_0()
        {
            Scrabble newWord = new Scrabble("adefglnoq");
            int      result  = newWord.CalculateThreePointLetters();

            Assert.AreEqual(0, result);
        }