Skip to content

Commit

Permalink
test: empty constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdrGroch committed Feb 28, 2020
1 parent ecdb63d commit 046a544
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/bm.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ import './pluginTest2';

import { expect } from 'chai';

describe('constructor', () => {
it('empty constructor should return BigMath(0)', () => {
expect(new BigMath().toString()).to.be.equal('0');
});
});

describe('add', () => {
it('1', () => {
expect(BigMath.add(12.54354, 6.423525).toString()).to.be.equal('18.967065');
Expand Down

0 comments on commit 046a544

Please sign in to comment.