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

@ -3,12 +3,12 @@ import PocomathInstance from '../src/core/PocomathInstance.mjs'
import math from '../src/pocomath.mjs'
describe('The default full pocomath instance "math"', () => {
it('has no undefined types', () => {
it('has no unexpected undefined types', () => {
const undef = math.undefinedTypes()
if (undef.length) {
console.log('Probable typo: found undefined types', undef)
console.log('NOTE: Found undefined types', undef)
}
assert.strictEqual(undef.length, 0)
assert.strictEqual(undef.length, 1) // Mentioning 'Fraction' but not using
})
it('has a built-in typeOf operator', () => {