feat(floor): Provide example of op-centric organization

This commit is contained in:
Glen Whitney 2022-08-01 08:28:21 -07:00
parent fe54bc6004
commit 7d1a435aa0
11 changed files with 65 additions and 8 deletions

View file

@ -64,4 +64,8 @@ describe('bigint', () => {
assert.strictEqual(math.lcm(0n, 0n), 0n)
})
it('allows floor as a no-op', () => {
assert.strictEqual(math.floor(-333n), -333n)
})
})