babel/test/fixtures/traceur/Math/expm1.module.js
2015-01-04 19:40:09 +11:00

10 lines
216 B
JavaScript

import {expm1} from '../../../src/runtime/polyfills/Math.js';
function testExpm1(expm1) {
assert.equal(Infinity, expm1(Infinity));
assert.equal(-1, expm1(-Infinity));
}
testExpm1(expm1);
testExpm1(Math.expm1);