public void Scrabble_Word_PointsLength()
        {
            ScrabbleWord newScrabbleWord = new ScrabbleWord();

            Assert.Equal(5, newScrabbleWord.ScrabbleScore("Cat"));
        }
 public void Scrabble_Word_PointsLength()
 {
     ScrabbleWord newScrabbleWord = new ScrabbleWord ();
       Assert.Equal(5, newScrabbleWord.ScrabbleScore("Cat"));
 }
Exemple #3
0
 public void GetWordValue_ForSingleLetter_1()
 {
     Assert.Equal(1, ScrabbleWord.GetWordValue("A"));
 }
Exemple #4
0
 public void GetWordValue_ForMultipleWords_12()
 {
     Assert.Equal(12, ScrabbleWord.GetWordValue("word test"));
 }
Exemple #5
0
 public void GetWordValue_ForDifferentCases_8()
 {
     Assert.Equal(8, ScrabbleWord.GetWordValue("wOrD"));
 }
Exemple #6
0
 public void GetWordValue_ForSingleWord_8()
 {
     Assert.Equal(8, ScrabbleWord.GetWordValue("word"));
 }