public void TestDiceRoll6() { StaticDice d = new StaticDice(6); int result = d.Roll(); Assert.AreEqual(6, result); }
public void TestDiceRoll7() { bool dice; StaticDice d = new StaticDice(7); int result = d.Roll(); if (result < 7) { dice = true; } else { dice = false; } Assert.IsFalse(dice); }