mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:27:35 +00:00
LibJS/Tests: Enable Number.isInteger() test that now passes
This commit is contained in:
parent
73a43e7cba
commit
140f1d9e55
1 changed files with 1 additions and 2 deletions
|
@ -9,8 +9,7 @@ test("basic functionality", () => {
|
|||
expect(Number.isInteger(5 + 1 / 10000000000000000)).toBeTrue();
|
||||
expect(Number.isInteger(+2147483647 + 1)).toBeTrue();
|
||||
expect(Number.isInteger(-2147483648 - 1)).toBeTrue();
|
||||
// FIXME: This should return true
|
||||
// expect(Number.isInteger(99999999999999999999999999999999999)).toBeTrue();
|
||||
expect(Number.isInteger(99999999999999999999999999999999999)).toBeTrue();
|
||||
|
||||
expect(Number.isInteger(5 + 1 / 1000000000000000)).toBeFalse();
|
||||
expect(Number.isInteger(1.23)).toBeFalse();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue