diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Tests/builtins/Math/Math.asinh.js')
-rw-r--r-- | Userland/Libraries/LibJS/Tests/builtins/Math/Math.asinh.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Math/Math.asinh.js b/Userland/Libraries/LibJS/Tests/builtins/Math/Math.asinh.js new file mode 100644 index 0000000000..f52f6c2d0b --- /dev/null +++ b/Userland/Libraries/LibJS/Tests/builtins/Math/Math.asinh.js @@ -0,0 +1,6 @@ +test("basic functionality", () => { + expect(Math.asinh).toHaveLength(1); + + expect(Math.asinh(0)).toBeCloseTo(0); + expect(Math.asinh(1)).toBeCloseTo(0.881373); +}); |