feat(ops): Provide return types in all of the operation-centric examples

This commit is contained in:
Glen Whitney 2022-08-29 21:30:32 -04:00
parent 1ee6da4294
commit be9794fd4c
4 changed files with 17 additions and 7 deletions

View file

@ -63,6 +63,8 @@ describe('The default full pocomath instance "math"', () => {
assert.strictEqual(math.returnTypeOf('isZero', 'NumInt'), 'boolean')
assert.strictEqual(
math.returnTypeOf('roundquotient', 'NumInt,number'), 'NumInt')
assert.strictEqual(
math.returnTypeOf('factorial', 'NumInt'), 'bigint')
})
it('can subtract numbers', () => {