Skip to content

Commit

Permalink
fix: more test of NP.divide, close #12
Browse files Browse the repository at this point in the history
  • Loading branch information
camsong committed Oct 23, 2019
1 parent 16fbfc6 commit 6c36cc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ test('NP.divide can do divide operation', (t) => {
t.true(NP.divide(2.55e-10, 1.7e-30) === 1.5e20);

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);
});

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

0 comments on commit 6c36cc5

Please sign in to comment.