Esempio n. 1
0
        public void TwoDifferentDiceWithTheSameSidesAndRollAreEqual()
        {
            var dieOne = Die.D8();
            var dieTwo = Die.D8();

            Assert.AreEqual(dieOne, dieTwo);
        }
Esempio n. 2
0
 public void GetProperSidesOfDefaultDie()
 {
     Assert.AreEqual(DiceSides.d4, Die.D4().Sides);
     Assert.AreEqual(DiceSides.d6, Die.D6().Sides);
     Assert.AreEqual(DiceSides.d8, Die.D8().Sides);
     Assert.AreEqual(DiceSides.d10, Die.D10().Sides);
     Assert.AreEqual(DiceSides.d12, Die.D12().Sides);
     Assert.AreEqual(DiceSides.d20, Die.D20().Sides);
     Assert.AreEqual(DiceSides.d100, Die.D100().Sides);
 }
Esempio n. 3
0
 public void D8ReturnsAllSideValues()
 {
     ValidateAllSides(Die.D8());
     Assert.Pass();
 }