mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 14:20:21 +00:00
Everywhere: Hoist the Libraries folder to the top-level
This commit is contained in:
parent
950e819ee7
commit
93712b24bf
Notes:
github-actions[bot]
2024-11-10 11:51:52 +00:00
Author: https://github.com/trflynn89
Commit: 93712b24bf
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2256
Reviewed-by: https://github.com/sideshowbarker
4547 changed files with 104 additions and 113 deletions
10
Libraries/LibJS/Tests/builtins/Math/Math-constants.js
Normal file
10
Libraries/LibJS/Tests/builtins/Math/Math-constants.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
test("basic functionality", () => {
|
||||
expect(Math.E).toBeCloseTo(2.718281);
|
||||
expect(Math.LN2).toBeCloseTo(0.693147);
|
||||
expect(Math.LN10).toBeCloseTo(2.302585);
|
||||
expect(Math.LOG2E).toBeCloseTo(1.442695);
|
||||
expect(Math.LOG10E).toBeCloseTo(0.434294);
|
||||
expect(Math.PI).toBeCloseTo(3.1415926);
|
||||
expect(Math.SQRT1_2).toBeCloseTo(0.707106);
|
||||
expect(Math.SQRT2).toBeCloseTo(1.414213);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue