Skip to content

Commit 5d65076

Browse files
committed
quick test cleanup
1 parent 0bed848 commit 5d65076

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test/elm/arithmetic/arithmetic-test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,13 +565,11 @@ describe('Ln', () => {
565565
});
566566

567567
it('should be able to return the natural log of a number', async function () {
568-
const log4 = Decimal.from('1.3862943611198906').normalized();
569-
(await this.ln.exec(this.ctx)).should.equalDecimal(log4);
568+
(await this.ln.exec(this.ctx)).should.equalDecimal('1.38629436'); // 1.3862943611198906 to 8 decimal places
570569
});
571570

572571
it('should be able to return the natural log of a long', async function () {
573-
const log4 = Decimal.from('1.3862943611198906').normalized();
574-
(await this.lnFourLong.exec(this.ctx)).should.equalDecimal(log4);
572+
(await this.lnFourLong.exec(this.ctx)).should.equalDecimal('1.38629436');
575573
});
576574
});
577575

0 commit comments

Comments
 (0)