public void TestFullHouseAltNoScore() { DieSet die = new DieSet(1, 2, 3, 4, 5); ScoringCategory fullHouseAlt = new FullHouseAltCategory(); int score = fullHouseAlt.CalculateScoreForRoll(die.getCount()); Assert.IsTrue(score == 0); }
public void TestFullHouseAltJoker() { DieSet die = new DieSet(1, 1, 1, 1, 1); ScoringCategory fullHouseAlt = new FullHouseAltCategory(); int score = fullHouseAlt.CalculateScoreForRoll(die.getCount(), true); Assert.IsTrue(score == 5); }