@compute.ts/math
Version:
Provide math operators for the computeTS package
1 lines • 514 B
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0});var number_1=require("@compute.ts/number"),chai_1=require("chai");require("mocha");var ComputeMathLibrary_1=require("../ComputeMathLibrary");describe("The the asinh operator",function(){it("Should be able to perform an evaluation of the asinh operator",function(){var e=number_1.number(),a=ComputeMathLibrary_1.arcSinH(e);e.affect(1),chai_1.expect(a.eval()).to.equal(Math.asinh(1)),e.affect(0),chai_1.expect(a.eval()).to.equal(Math.asinh(0))})});