Skip to content

Commit a3afa0d

Browse files
committed
feat(day22): cut -4
1 parent 6f67db0 commit a3afa0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

day22/cardshuffle.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ describe('Card Shuffle', () => {
2020
test('cut 3', () => {
2121
expect(cut(3)([...testDeck])).toEqual([3, 4, 5, 6, 7, 8, 9, 0, 1, 2])
2222
})
23+
test('cut -4', () => {
24+
expect(cut(-4)([...testDeck])).toEqual([6, 7, 8, 9, 0, 1, 2, 3, 4, 5])
25+
})
2326
})

0 commit comments

Comments
 (0)