public void when_calculating_value_of_10th_frame_if_scratch() { AbstractFrame frame = new LastFrame(3, 4, 7, 2); var value = frame.Value(); Assert.AreEqual(value, 7); }
public void when_calculating_value_of_10th_frame_if_strike() { AbstractFrame frame = new LastFrame(10, 3, 7, 2); var value = frame.Value(); Assert.AreEqual(value, 20); }