public void ReturnsRandomNumberD6() { DiceRoll dice = new DiceRoll(); int actual = dice.D6(); Assert.IsNotNull(actual); }
public int GetLevel2AndUpHitPontsD6(int conMod) { DiceRoll dice = new DiceRoll(); int result = dice.D6() + conMod; if (result >= 1) { return(result); } return(1); }
public int GetLevel2AndUpHitPontsD6(int conMod) { DiceRoll dice = new DiceRoll(); int result = dice.D6() + conMod; if (result >= 1) return result; return 1; }