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

Use: swift-testing (2nd half) #110

Closed
oscbyspro opened this issue Oct 4, 2024 · 5 comments
Closed

Use: swift-testing (2nd half) #110

oscbyspro opened this issue Oct 4, 2024 · 5 comments
Labels
brrr such code, much wow

Comments

@oscbyspro
Copy link
Owner

oscbyspro commented Oct 4, 2024

I'll split (#97) in two parts so I can keep the approximately monthly release schedule.

@oscbyspro
Copy link
Owner Author

It looks like Xcode 16 has given up on swift-testing but it works fine in the terminal :|

@oscbyspro
Copy link
Owner Author

oscbyspro commented Oct 19, 2024

The #expect and #require macros are too slow to call inside of hot loops. Having to group them is unfortunate, but it is what it is. I haven't yet discovered how to make parameterization of all binary integer type combinations viable. Zzz.

oscbyspro added a commit that referenced this issue Oct 20, 2024
Lots and lots and lots and lots and lots and lots and lots of fuzzing.
oscbyspro added a commit that referenced this issue Oct 23, 2024
Lots and lots and lots and lots and lots and lots and lots of fuzzing.
oscbyspro added a commit that referenced this issue Oct 24, 2024
Lots and lots and lots and lots and lots and lost and lots of fuzzing.
oscbyspro added a commit that referenced this issue Oct 24, 2024
We now test infinite values too and avoid silently wrapping expectations.
oscbyspro added a commit that referenced this issue Oct 26, 2024
Lots and lots and lots and lots and lots and lots and lots of fuzzing.
oscbyspro added a commit that referenced this issue Oct 31, 2024
oscbyspro added a commit that referenced this issue Nov 4, 2024
oscbyspro added a commit that referenced this issue Nov 5, 2024
oscbyspro added a commit that referenced this issue Nov 5, 2024
oscbyspro added a commit that referenced this issue Nov 6, 2024
It's a bit messy but I'll fix that later.
oscbyspro added a commit that referenced this issue Nov 7, 2024
oscbyspro added a commit that referenced this issue Nov 8, 2024
We now also compare 2-by-1 division versus IXL division, among other things.
@oscbyspro
Copy link
Owner Author

I don't want to refactor tests all year, so I'll wrap it up. I'll let the rest of it develop naturally.

@oscbyspro
Copy link
Owner Author

oscbyspro commented Nov 8, 2024

I spen most of the time on (#108) and randomizing previously contrived computations. I'm a bit surprised I didn't find any arithmetic bugs. I must be great at contriving numbers. In any case, it's easier to feel confident about unbiased inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brrr such code, much wow
Projects
None yet
Development

No branches or pull requests

1 participant