public void GetScoreSubtractsFirstRollInCaseOfSpare() { Game g = new Game("5/5/5/5/5/5/5/5/5/5/5"); Assert.AreEqual(150, g.GetScore()); }
public void GetScoreDoesLookAheadToLastFrame() { Game g = new Game("XXXXXXXXXXXX"); Assert.AreEqual(300, g.GetScore()); }
public void GetScoreSubtractsFirstRollInCaseOfSpare() { Game g = new Game("5/5/5/5/5/5/5/5/5/5/5"); Assert.AreEqual(150, g.GetScore()); }
public void TestAllZeros() { ProcessRolling(20, 0); Assert.AreEqual(0, _game.GetScore()); }
public void GetScoreDoesLookAheadToLastFrame() { Game g = new Game("XXXXXXXXXXXX"); Assert.AreEqual(300, g.GetScore()); }