Example #1
0
        public void ReturnsRandomNumberD8()
        {
            DiceRoll dice   = new DiceRoll();
            int      actual = dice.D8();

            Assert.IsNotNull(actual);
        }
Example #2
0
        public int GetLevel2AndUpHitPontsD8(int conMod)
        {
            DiceRoll dice   = new DiceRoll();
            int      result = dice.D8() + conMod;

            if (result >= 1)
            {
                return(result);
            }
            return(1);
        }
Example #3
0
 public int GetLevel2AndUpHitPontsD8(int conMod)
 {
     DiceRoll dice = new DiceRoll();
     int result = dice.D8() + conMod;
     if (result >= 1)
     return result;
     return 1;
 }