public void Frame_10_1_9_Should_Have_Sum_20() { var frame = new Frame(10); frame.AddUnlessComplete(1); frame.AddUnlessComplete(9); Assert.That(frame.Sum, Is.EqualTo(20)); }
public void Frame_10_1_9_Should_Be_Complete_Strike() { var frame = new Frame(10); frame.AddUnlessComplete(1); frame.AddUnlessComplete(9); Assert.That(frame.CompleteStrike, Is.True); }
public void Frame_1_1_Should_Be_Full() { var frame = new Frame(1); frame.AddUnlessComplete(1); Assert.That(frame.Complete, Is.True); }
public void Frame_10_10_Should_Not_Be_Complete() { var frame = new Frame(10); frame.AddUnlessComplete(10); Assert.That(frame.Complete, Is.False); }
public void Frame_1_9_4_Should_Have_Sum_14() { var frame = new Frame(1); frame.AddUnlessComplete(9); frame.AddUnlessComplete(4); Assert.That(frame.Sum, Is.EqualTo(14)); }
public void Frame_1_1_Should_Not_Be_Strike() { var frame = new Frame(1); frame.AddUnlessComplete(1); Assert.That(frame.Strike, Is.False); }
public void Frame_1_1_Should_Have_Score_2() { var frame = new Frame(1); frame.AddUnlessComplete(1); Assert.That(frame.Sum, Is.EqualTo(2)); }