mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
15 lines
289 B
JavaScript
15 lines
289 B
JavaScript
var assert = require('assert'),
|
|
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);
|
|
});
|
|
|
|
});
|
|
|