public void ReturnsRandomNumberD10() { DiceRoll dice = new DiceRoll(); int actual = dice.D10(); Assert.IsNotNull(actual); }
public int GetLevel2AndUpHitPontsD10(int conMod) { DiceRoll dice = new DiceRoll(); int result = dice.D10() + conMod; if (result >= 1) return result; return 1; }
public int GetLevel2AndUpHitPontsD10(int conMod) { DiceRoll dice = new DiceRoll(); int result = dice.D10() + conMod; if (result >= 1) { return(result); } return(1); }