コード例 #1
0
        public void TestSpecialCharacters()
        {
            Scrabble scrabble = new Scrabble();

            Assert.AreEqual(33, scrabble.GetWordScore("H@xz0r3z"));
        }
コード例 #2
0
        public void TestMultipleWordsHyphen()
        {
            Scrabble scrabble = new Scrabble();

            Assert.AreEqual(9, scrabble.GetWordScore("Apple-juice"));
        }
コード例 #3
0
        public void TestSingleLowerLetter_Inputf_ReturnFour()
        {
            Scrabble scrabble = new Scrabble();

            Assert.AreEqual(4, scrabble.GetWordScore("f"));
        }