Libraries: Move to Userland/Libraries/

This commit is contained in:
Andreas Kling 2021-01-12 12:17:30 +01:00
commit 13d7c09125
Notes: sideshowbarker 2024-07-18 23:53:55 +09:00
1857 changed files with 266 additions and 274 deletions

View file

@ -1,13 +0,0 @@
test("basic functionality", () => {
expect(Math.exp).toHaveLength(1);
expect(Math.exp(0)).toBe(1);
expect(Math.exp(-2)).toBeCloseTo(0.135335);
expect(Math.exp(-1)).toBeCloseTo(0.367879);
expect(Math.exp(1)).toBeCloseTo(2.718281);
expect(Math.exp(2)).toBeCloseTo(7.389056);
expect(Math.exp()).toBeNaN();
expect(Math.exp(undefined)).toBeNaN();
expect(Math.exp("foo")).toBeNaN();
});