mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
11 lines
212 B
JavaScript
11 lines
212 B
JavaScript
// test Help
|
|
var assert = require('assert');
|
|
var math = require('../../src/index.js');
|
|
|
|
var help = new math.type.Help(math.docs.sin);
|
|
|
|
assert.deepEqual(help.name, 'sin');
|
|
assert.deepEqual(help, math.docs.sin);
|
|
|
|
|