@compute.ts/math
Version:
Provide math operators for the computeTS package
1 lines • 371 B
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0});var chai_1=require("chai");require("mocha");var ComputeMathLibrary_1=require("../ComputeMathLibrary");describe("The the sum operator",function(){it("Should be able to perform an evaluation of the sum operator",function(){var e=ComputeMathLibrary_1.sum([12,2,3]);chai_1.expect(e.eval()).to.equal(17)})});