mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:54:58 +00:00
LibJS: Enable commented out tests in Math.asin
This commit is contained in:
parent
bf1b2d63c6
commit
ab19d7c99d
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ test("basic functionality", () => {
|
|||
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(1)).toBeCloseTo(1.5707963267948966);
|
||||
expect(Math.asin(-1)).toBeCloseTo(-1.5707963267948966);
|
||||
expect(Math.asin()).toBeNaN();
|
||||
expect(Math.asin(undefined)).toBeNaN();
|
||||
expect(Math.asin([1, 2, 3])).toBeNaN();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue