Created
October 22, 2021 10:44
-
-
Save Cst2989/a0c039c7308a751bd94398973ccb947e to your computer and use it in GitHub Desktop.
double stirke
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test('it should return total score when we have consecutive strikes', () => { | |
const scoreCard = '/2XX2222/2' | |
const totalScore = totalScore(scoreCard); | |
expect(totalScore).toBe(67); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment