public void TestThreeOfAKindAltNoScore() { DieSet die = new DieSet(1, 2, 3, 4, 5); ScoringCategory threeKindAlt = new ThreeOfAKindAltCategory(); int score = threeKindAlt.CalculateScoreForRoll(die.getCount()); Assert.IsTrue(score == 0); }
public void TestThreeofAKindAltMore() { DieSet die = new DieSet(6, 6, 6, 6, 6); ScoringCategory threeKindAlt = new ThreeOfAKindAltCategory(); int score = threeKindAlt.CalculateScoreForRoll(die.getCount()); Assert.AreEqual(18, score); }