feat(ops): Provide return types in all of the operation-centric examples
This commit is contained in:
parent
1ee6da4294
commit
be9794fd4c
4 changed files with 17 additions and 7 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue