-
Notifications
You must be signed in to change notification settings - Fork 3
test: property-based fuzz testing for js->zig->js roundtrip #41
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
Open
nazarhussain
wants to merge
21
commits into
main
Choose a base branch
from
nh/fuzz-testing
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f52e1c9
chore(deps): add fast-check and test:fuzz script
nazarhussain ba7cca7
chore(tests): scaffold fuzz_numeric addon module
nazarhussain 5838156
test(fuzz): add rtNumberF64 round-trip fuzz target
nazarhussain 189ed3a
test(fuzz): add Number i32/u32/i64 round-trip properties
nazarhussain 0f1fa56
test(fuzz): add BigInt i64/u64 round-trip properties
nazarhussain 76df5ca
test(fuzz): add lossless-flag introspection for toI64/toU64
nazarhussain 6c2cfed
fix(napi): clamp getValueBigintWords return slice to buffer size
nazarhussain 6f9bf72
fix(dsl): make BigInt.toI128 total over all BigInts
nazarhussain c3e12a1
feat(dsl): add BigInt.fromWords for word-level construction
nazarhussain 7f7d26e
test(fuzz): add rtBigIntI128 round-trip target
nazarhussain 34db241
chore: apply zig fmt reorder to @ptrCast(@alignCast)
nazarhussain 3fd5552
test(fuzz): add BigInt word-level round-trip
nazarhussain 13456e0
ci: add fuzz tests job
nazarhussain b3fcea4
docs(fuzz): document seeds workflow and dev loop
nazarhussain e597b91
docs(fuzz): correct seeds README — drop unimplemented __special reviver
nazarhussain 9ccafd2
chore: restructure oracle code
nazarhussain 5fb5841
doc: update doc reference for practically accurate doc comments.
nazarhussain e472e7f
fix: add to*LowBits interface for lossy values to keep the safety as …
nazarhussain 558f7c3
test: add uint8array fuzz tests
nazarhussain 82a3e1b
chore: restructure tests files
nazarhussain 23674b4
chore: rename fuzz tests script
nazarhussain File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems a little strange to fuzz in CI