mathjs/test/function/construction/parser.test.js
2015-03-04 13:53:32 -05:00

15 lines
268 B
JavaScript

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);
});
});