public void GetPointsNoBonus() { WordScore word = new WordScore(); List <int> letterScore = new List <int>() { 1, 2, 3 }; List <int> wordBonus = new List <int>(); Assert.AreEqual(6, word.GetPoints(letterScore, wordBonus)); }
public void GetPointsTwoTriplesBonusScore() { WordScore word = new WordScore(); List <int> letterScore = new List <int>() { 1, 2, 3 }; List <int> wordBonus = new List <int>() { 3, 3 }; Assert.AreEqual(54, word.GetPoints(letterScore, wordBonus)); }
public void GetPointsOneDoubleOneTripleBonusScore() { WordScore word = new WordScore(); List <int> letterScore = new List <int>() { 1, 2, 3 }; List <int> wordBonus = new List <int>() { 2, 3 }; Assert.AreEqual(36, word.GetPoints(letterScore, wordBonus)); }