예제 #1
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);
 }
예제 #2
0
 public void D20ReturnsAllSideValues()
 {
     ValidateAllSides(Die.D20());
     Assert.Pass();
 }