public void ReturnsRandomNumberD12() { DiceRoll dice = new DiceRoll(); int actual = dice.D12(); Assert.IsNotNull(actual); }
public int GetLevel2AndUpHitPontsD12(int conMod) { DiceRoll dice = new DiceRoll(); int result = dice.D12() + conMod; if (result >= 1) { return(result); } return(1); }
public int GetLevel2AndUpHitPontsD12(int conMod) { DiceRoll dice = new DiceRoll(); int result = dice.D12() + conMod; if (result >= 1) return result; return 1; }