public void TestFullHouseAlt_MultiUseCategory_ThrowsException()
 {
     DieSet dieSet = new DieSet(1, 1, 2, 3, 1);
     ScoringCategory fullHouseAlt = new FullHouseAltCategory();
     int score = fullHouseAlt.Score(dieSet.getCount());
     score = fullHouseAlt.Score(dieSet.getCount());
 }
 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);
 }
 public void TestScoreFullHouseAlt()
 {
     DieSet die = new DieSet(6, 6, 6, 5, 5);
     ScoringCategory fullHouseAlt = new FullHouseAltCategory();
     Assert.IsTrue(fullHouseAlt.Name == "Full House");
     Assert.IsTrue(fullHouseAlt.HasBeenUsed == false);
     Assert.IsTrue(fullHouseAlt.Lower);
     Assert.IsFalse(fullHouseAlt.Upper);
     fullHouseAlt.Score(die.getCount());
     Assert.IsTrue(fullHouseAlt.HasBeenUsed == true);
     Assert.IsTrue(fullHouseAlt.FinalScore == 28);
 }
 public void TestFullHouseAltRules()
 {
     ScoringCategory fullHouseAlt = new FullHouseAltCategory();
     Assert.AreEqual("Full House: If there are three of one dice and two of another, score the total of all dice.  Otherwise, score 0.", fullHouseAlt.getRules());
 }