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.
12 lines (9 loc) • 340 B
JavaScript
var assert = require('assert'),
math = require('../../../index');
describe('randomInt', function () {
// Note: randomInt is a convenience function generated by distribution
// it is tested in distribution.test.js
it('should have a function randomInt', function () {
assert.equal(typeof math.randomInt, 'function');
})
});