mathjs/test/expression/node/index.test.js
Eric Mansfield d23d8c71a4 Chained conditionals (#1267)
* Minimally working

* Added tests, toString

* Added tests for evaluation

* Minor changes

* Added a line in the docs about chained conditionals

* Documentation, replacing var and let with const
2018-10-04 20:26:39 +02:00

10 lines
260 B
JavaScript

// test the contents of index.js
const assert = require('assert')
const index = require('../../../src/expression/node/index')
describe('node/index', function () {
it('should contain all nodes', function () {
assert.strictEqual(index.length, 17)
})
})