public void ReturnsRandomNumberD10()
        {
            DiceRoll dice   = new DiceRoll();
            int      actual = dice.D10();

            Assert.IsNotNull(actual);
        }
Exemple #2
0
 public int GetLevel2AndUpHitPontsD10(int conMod)
 {
     DiceRoll dice = new DiceRoll();
     int result = dice.D10() + conMod;
     if (result >= 1)
     return result;
     return 1;
 }
Exemple #3
0
        public int GetLevel2AndUpHitPontsD10(int conMod)
        {
            DiceRoll dice   = new DiceRoll();
            int      result = dice.D10() + conMod;

            if (result >= 1)
            {
                return(result);
            }
            return(1);
        }