Skip to content

Commit 78bfb1e

Browse files
committed
Solution
1 parent 82383a6 commit 78bfb1e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/splitInteger.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ test(`should return a part equals to a value
1414

1515
test("should sort parts ascending if they are not equal", () => {
1616
expect(splitInteger(17, 4)).toEqual([4, 4, 4, 5]);
17+
expect(splitInteger(32, 6)).toEqual([5, 5, 5, 5, 6, 6]);
1718
});
1819

1920
test("should add zeros if value < numberOfParts", () => {

0 commit comments

Comments
 (0)