public void ScrabbleScore_FindCharOnePoint_True() { ScrabbleScoreCount newWord = new ScrabbleScoreCount(); int result = newWord.FindChar("stone"); int score = newWord.GetScore(); Assert.AreEqual(score, 5); }
public void ScrabbleScore_FindCharEightPoint_True() { ScrabbleScoreCount newWord = new ScrabbleScoreCount(); newWord.ClearScore(); int result = newWord.FindChar("jx"); int score = newWord.GetScore(); Assert.AreEqual(score, 16); }
public void ScrabbleScore_FindCharFourPoint_True() { ScrabbleScoreCount newWord = new ScrabbleScoreCount(); newWord.ClearScore(); int result = newWord.FindChar("fhvwy"); int score = newWord.GetScore(); Assert.AreEqual(score, 20); }