Esempio n. 1
0
        public void GetLetterScore_ReturnSingleScore_Score()
        {
            Score testScore = new Score("word");

            char[] expectedArray = "word".ToCharArray();

            Assert.Equal(4, testScore.GetLetterScore(testScore.GetInput().Substring(0, 1)));
        }
Esempio n. 2
0
        public void ScrabbleConstructor_GetSetWord_ReturnWord()
        {
            Score testScore = new Score("word");

            Assert.Equal("word", testScore.GetInput());
        }