public void GetProperSidesOfDefaultDie() { Assert.Equal(DiceSides.d4, Die.D4().Sides); Assert.Equal(DiceSides.d6, Die.D6().Sides); Assert.Equal(DiceSides.d8, Die.D8().Sides); Assert.Equal(DiceSides.d10, Die.D10().Sides); Assert.Equal(DiceSides.d12, Die.D12().Sides); Assert.Equal(DiceSides.d20, Die.D20().Sides); Assert.Equal(DiceSides.d100, Die.D100().Sides); }
public void D12ReturnsAllSideValues() { ValidateAllSides(Die.D12()); Assert.True(true); }
public void CreateAnArrayOfDiceByPassingANumberIntoTheHelperMethod() { var diceArray = Die.GetDice(DiceSides.d12, 4); Assert.Equal(new Die[] { Die.D12(), Die.D12(), Die.D12(), Die.D12() }, diceArray); }