mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.
16 lines (10 loc) • 336 B
JavaScript
var assert = require('assert'),
error = require('../../../lib/error/index'),
Parser = require('../../../lib/expression/Parser'),
math = require('../../../index');
describe('parser', function() {
it('should create a parser', function() {
var parser = math.parser();
assert(parser instanceof Parser);
});
});