Пример #1
0
        public void CalculateTwoPointLetters_ReturnZeroIfNoLettersMatch_0()
        {
            Scrabble newWord = new Scrabble("abcefh");
            int      result  = newWord.CalculateTwoPointLetters();

            Assert.AreEqual(0, result);
        }
Пример #2
0
        public void CalculateTwoPointLetters_ReturnScoreIfSomeLettersMatch_4()
        {
            Scrabble newWord = new Scrabble("good");
            int      result  = newWord.CalculateTwoPointLetters();

            Assert.AreEqual(4, result);
        }