コード例 #1
0
        public void CalculateTenPointLetters_ReturnScoreIfSomeLettersMatch_20()
        {
            Scrabble newWord = new Scrabble("quetzalcoatl");
            int      result  = newWord.CalculateTenPointLetters();

            Assert.AreEqual(20, result);
        }
コード例 #2
0
        public void CalculateTenPointLetters_ReturnZeroIfNoLettersMatch_0()
        {
            Scrabble newWord = new Scrabble("shiva");
            int      result  = newWord.CalculateTenPointLetters();

            Assert.AreEqual(0, result);
        }