Exemplo n.º 1
0
        public void CalculateFourPointLetters_ReturnScoreIfSomeLettersMatch_16()
        {
            Scrabble newWord = new Scrabble("highway");
            int      result  = newWord.CalculateFourPointLetters();

            Assert.AreEqual(16, result);
        }
Exemplo n.º 2
0
        public void CalculateFourPointLetters_ReturnZeroIfNoLettersMatch_0()
        {
            Scrabble newWord = new Scrabble("degiuxz");
            int      result  = newWord.CalculateFourPointLetters();

            Assert.AreEqual(0, result);
        }