Skip to content

Commit

Permalink
fix: add test for 1/3
Browse files Browse the repository at this point in the history
  • Loading branch information
camsong committed Oct 23, 2019
1 parent 6c36cc5 commit f247577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ test('NP.divide can do divide operation', (t) => {
t.true(NP.divide(12, 3, 2) === 2);
t.true(NP.divide(33.3333, 100) === 0.333333);
t.true(NP.divide(83.42894732749, 100) === 0.8342894732749);
t.true(NP.divide(1, 3) === 0.3333333333333333);
});

test('NP.round can do round operation', (t) => {
Expand Down

0 comments on commit f247577

Please sign in to comment.