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 82383a6 commit 78bfb1eCopy full SHA for 78bfb1e
1 file changed
src/splitInteger.test.js
@@ -14,6 +14,7 @@ test(`should return a part equals to a value
14
15
test("should sort parts ascending if they are not equal", () => {
16
expect(splitInteger(17, 4)).toEqual([4, 4, 4, 5]);
17
+ expect(splitInteger(32, 6)).toEqual([5, 5, 5, 5, 6, 6]);
18
});
19
20
test("should add zeros if value < numberOfParts", () => {
0 commit comments