1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:28:11 +00:00
serenity/Libraries/LibJS/Tests/Math.asinh.js
2020-06-22 10:33:50 +02:00

10 lines
189 B
JavaScript

load("test-common.js");
try {
assert(isClose(Math.asinh(0), 0));
assert(isClose(Math.asinh(1), 0.881373));
console.log("PASS");
} catch (e) {
console.log("FAIL: " + e);
}