public void ToIntValueConvertsStrikeTo11() { Roll r1 = new Roll('X'); Assert.AreEqual(11, r1.ToIntValue()); }
public void ToIntValueConvertsHyphenToZero() { Roll r1 = new Roll('-'); Assert.AreEqual(0, r1.ToIntValue()); }
public void ToIntValueConvertsSpareTo10() { Roll r1 = new Roll('/'); Assert.AreEqual(10, r1.ToIntValue()); }
public void ToIntValueConvertsArbitraryStrNumberToInt() { Roll r1 = new Roll('4'); Assert.AreEqual(4, r1.ToIntValue()); }
public void ToIntValueConvertsHyphenToZero() { Roll r1 = new Roll('-'); Assert.AreEqual(0, r1.ToIntValue()); }
public void ToIntValueConvertsStrikeTo11() { Roll r1 = new Roll('X'); Assert.AreEqual(11, r1.ToIntValue()); }
public void ToIntValueConvertsSpareTo10() { Roll r1 = new Roll('/'); Assert.AreEqual(10, r1.ToIntValue()); }
public void ToIntValueConvertsArbitraryStrNumberToInt() { Roll r1 = new Roll('4'); Assert.AreEqual(4, r1.ToIntValue()); }