summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Tests/builtins/Math/Math.asin.js
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Tests/builtins/Math/Math.asin.js')
-rw-r--r--Libraries/LibJS/Tests/builtins/Math/Math.asin.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/Libraries/LibJS/Tests/builtins/Math/Math.asin.js b/Libraries/LibJS/Tests/builtins/Math/Math.asin.js
deleted file mode 100644
index 928ce7be5c..0000000000
--- a/Libraries/LibJS/Tests/builtins/Math/Math.asin.js
+++ /dev/null
@@ -1,15 +0,0 @@
-test("basic functionality", () => {
- expect(Math.asin).toHaveLength(1);
-
- expect(Math.asin(0)).toBe(0);
- expect(Math.asin(null)).toBe(0);
- expect(Math.asin("")).toBe(0);
- expect(Math.asin([])).toBe(0);
- // FIXME(LibM): expect(Math.asin(1)).toBeCloseTo(1.5707963267948966);
- // FIXME(LibM): expect(Math.asin(-1)).toBeCloseTo(-1.5707963267948966);
- expect(Math.asin()).toBeNaN();
- expect(Math.asin(undefined)).toBeNaN();
- expect(Math.asin([1, 2, 3])).toBeNaN();
- expect(Math.asin({})).toBeNaN();
- expect(Math.asin("foo")).toBeNaN();
-});