1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-03-18 19:20:51 +00:00

12 lines
232 B
JavaScript
Raw Normal View History

2018-08-12 21:11:02 +01:00
const strictEqual = require('assert').strictEqual;
2018-08-12 21:27:27 +01:00
global.mathtest = {};
2018-08-12 21:11:02 +01:00
2018-08-12 21:27:27 +01:00
global.mathtest.powf = function powf(base, exp) {
return Math.pow(base, exp);
}
global.mathtest.add_one = function add_one(val) {
return val + 1;
}