Skip to content

Commit

Permalink
feat(2023): add new tests for challenge #20
Browse files Browse the repository at this point in the history
  • Loading branch information
iswilljr committed Dec 21, 2023
1 parent c65a6ea commit 2caf424
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions 2023/challenge-20/challenge-20.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,26 @@ const TEST_CASES: TestCases<Array<Array<number | null>>, number[][]> = [
[1, 1, 1, 1, 1],
],
},
{
args: [
[0, 5],
[5, null],
],
expected: [
[3, 3],
[3, 5],
],
},
{
args: [
[0, 5],
[5, 0],
],
expected: [
[3, 2],
[2, 3],
],
},
]

describe('Challenge #20: Distribute the weight', () => {
Expand Down

0 comments on commit 2caf424

Please sign in to comment.