public void ShouldCreateD4() { Assert.IsInstanceOf <D4Die>(DiceFactory.Create(DiceType.D4)); }
public void ShouldCreateD20() { Assert.IsInstanceOf <D20Die>(DiceFactory.Create(DiceType.D20)); }
public void ShouldCreateD12() { Assert.IsInstanceOf <D12Die>(DiceFactory.Create(DiceType.D12)); }
public void ShouldCreateD8() { Assert.IsInstanceOf <D8Die>(DiceFactory.Create(DiceType.D8)); }
public void ShouldCreateD6() { Assert.IsInstanceOf <D6Die>(DiceFactory.Create(DiceType.D6)); }
private PartialRoll RollGen(string diceRoll) { var myDice = DiceFactory.Create(); return(myDice.Roll(diceRoll)); }