mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
15 lines
268 B
JavaScript
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);
|
|
});
|
|
|
|
});
|
|
|