public void ReturnsRandomNumberD4() { DiceRoll dice = new DiceRoll(); int actual = dice.D4(); Assert.IsNotNull(actual); }
public int GetLevel2AndUpHitPontsD4(int conMod) { DiceRoll dice = new DiceRoll(); int result = dice.D4() + conMod; if (result >= 1) { return(result); } return(1); }
public int GetLevel2AndUpHitPontsD4(int conMod) { DiceRoll dice = new DiceRoll(); int result = dice.D4() + conMod; if (result >= 1) return result; return 1; }