Example #1
0
        public void CalculateEightPointLetters_ReturnScoreIfSomeLettersMatch_8()
        {
            Scrabble newWord = new Scrabble("jack");
            int      result  = newWord.CalculateEightPointLetters();

            Assert.AreEqual(8, result);
        }
Example #2
0
        public void CalculateEightPointLetters_ReturnZeroIfNoLettersMatch_0()
        {
            Scrabble newWord = new Scrabble("queen");
            int      result  = newWord.CalculateEightPointLetters();

            Assert.AreEqual(0, result);
        }