public void SumScore_SumsValueOfLettersInWord_Int() { ScrabbleScore newGame = new ScrabbleScore(); newGame.SetWord("noob"); newGame.SumScore(); Assert.AreEqual(6, newGame.GetTotalScore()); }
public void GetSetTotalScore_GetsSetsTotalScore_True() { ScrabbleScore newGame = new ScrabbleScore(); int score = 1; newGame.SetTotalScore(score); Assert.AreEqual(score, newGame.GetTotalScore()); }