The “spare” test should look like this:

    TEST_METHOD(OneSparePlusBonusWorks)
    {
        game.Roll(4);
        game.Roll(6); // spare!
        game.Roll(8);
        RollMany(17, 0);
        Assert::AreEqual(26, game.Score());
    }

And it fails properly: Assert failed. Expected:<26> Actual:<18>.

At this point, I want to introduce a Frame class, but we’re in the red state. We can’t refactor now, because we should always refactor when we’re green to ensure our refactorings haven’t inadvertantly broken anything.

So, let’s comment out this latest test and instead refactor by introducing and using a Frame class.

When you’ve done that, click Next