UNPKG

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.

15 lines (9 loc) 268 B
var assert = require('assert'), math = require('../../../index'), Parser = math.expression.Parser; describe('parser', function() { it('should create a parser', function() { var parser = math.parser(); assert(parser instanceof Parser); }); });