Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible error in double #5494

Open
dubzzz opened this issue Dec 6, 2024 · 0 comments
Open

Possible error in double #5494

dubzzz opened this issue Dec 6, 2024 · 0 comments

Comments

@dubzzz
Copy link
Owner

dubzzz commented Dec 6, 2024

🐛 Bug Report

Found by CI:

  FAIL  test/unit/arbitrary/double.spec.ts > double (integration) > should only produce correct values
Error: Property failed after 63 tests
{ seed: 294206129, path: "62:1:2:6:2:1:1:0:1:1:0:3:3:1:0:0:5:7", endOnFailure: true }
Counterexample: [-2048281109,2,Stream(…),{"min":1.340782071662466e+154,"noDefaultInfinity":true,"noNaN":true,"minExcluded":true}]
Shrunk 17 time(s)
Got error: Expect: 1.7976931348623157e+308 to be a correct value

Got error: AssertionError: expected 1.7976931348623157e+308 not to be 1.7976931348623157e+308 // Object.is equality
    at assertCorrectness (/home/runner/work/fast-check/fast-check/packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryAssertions.ts:311:11)
    at /home/runner/work/fast-check/fast-check/packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryAssertions.ts:102:13
    at Property.predicate (/home/runner/work/fast-check/fast-check/packages/fast-check/lib/esm/check/property/Property.js:14:54)
    at Property.run (/home/runner/work/fast-check/fast-check/packages/fast-check/lib/esm/check/property/Property.generic.js:46:33)
    at runIt (/home/runner/work/fast-check/fast-check/packages/fast-check/lib/esm/check/runner/Runner.js:18:30)
    at check (/home/runner/work/fast-check/fast-check/packages/fast-check/lib/esm/check/runner/Runner.js:62:11)
    at Module.assert (/home/runner/work/fast-check/fast-check/packages/fast-check/lib/esm/check/runner/Runner.js:65:17)
    at assertProduceCorrectValues (/home/runner/work/fast-check/fast-check/packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryAssertions.ts:88:6)
    at /home/runner/work/fast-check/fast-check/packages/fast-check/test/unit/arbitrary/double.spec.ts:343:5
    at file:///home/runner/.yarn/berry/cache/@vitest-runner-npm-2.1.6-6238f71787-10c0.zip/node_modules/@vitest/runner/dist/index.js:146:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant