Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lukecaan committed Dec 6, 2024
1 parent ba18f43 commit 42ca70f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sdk/tests/bn/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ describe('BigNum Tests', () => {
expect(val4.toNum().toFixed(3)).to.equal('0.025');
expect(val4.toPrecision(4)).to.equal('0.025');


// TEST CASE TO FIX 001 :: THE OUTPUT IS 0.000 :: BECAUSE TO_PRECISION IS INCLUDING THE LEADING ZEROES AS PRECISION WHEN IT SHOULD TREAT THEM THE SAME AS SCIENTIFIC "SIGNIFICANT FIGURES".
expect(bnBaseAmount(
0.001234
).toPrecision(4)).to.equal('0.001234');
Expand Down

0 comments on commit 42ca70f

Please sign in to comment.