Exemple #1
0
        public void CalculateOnePointLetters_ReturnScoreIfSomeLettersMatch_4()
        {
            Scrabble newWord = new Scrabble("hello");
            int      result  = newWord.CalculateOnePointLetters();

            Assert.AreEqual(4, result);
        }
Exemple #2
0
        public void CalculateOnePointLetters_ReturnZeroIfNoLettersMatch_0()
        {
            Scrabble newWord = new Scrabble("bcdfghj");
            int      result  = newWord.CalculateOnePointLetters();

            Assert.AreEqual(0, result);
        }