We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f67db0 commit a3afa0dCopy full SHA for a3afa0d
day22/cardshuffle.spec.ts
@@ -20,4 +20,7 @@ describe('Card Shuffle', () => {
20
test('cut 3', () => {
21
expect(cut(3)([...testDeck])).toEqual([3, 4, 5, 6, 7, 8, 9, 0, 1, 2])
22
})
23
+ test('cut -4', () => {
24
+ expect(cut(-4)([...testDeck])).toEqual([6, 7, 8, 9, 0, 1, 2, 3, 4, 5])
25
+ })
26
0 commit comments