예제 #1
0
        public void TwoDifferentDiceWithTheSameSidesAndRollAreEqual()
        {
            var dieOne = Die.D8();
            var dieTwo = Die.D8();

            Assert.AreEqual(dieOne, dieTwo);
        }
예제 #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);
 }
예제 #3
0
 public void D8ReturnsAllSideValues()
 {
     ValidateAllSides(Die.D8());
     Assert.Pass();
 }