Skip to content

Add some additional test coverage for duration static methods #73578

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

Merged

Conversation

stephentyrone
Copy link
Contributor

@stephentyrone stephentyrone commented May 11, 2024

The numerics of these operations is fairly subtle, and the overflow boundaries are somewhat surprising, so additional test coverage isn't a bad thing (also gives us an excuse to exercise Int128 more)

Also attempts to reinstate testing for these on PTRSIZE=32, which I think ought to work now.

The numerics of these operations is fairly subtle, and the overflow boundaries are somewhat surprising, so additional test coverage isn't a bad thing (also gives us an excuse to exercise Int128 more)
@stephentyrone stephentyrone requested a review from a team as a code owner May 11, 2024 01:32
@stephentyrone
Copy link
Contributor Author

@swift-ci smoke test

@stephentyrone
Copy link
Contributor Author

@swift-ci test WebAssembly

@stephentyrone
Copy link
Contributor Author

WASM failure is unrelated.

@stephentyrone stephentyrone merged commit 8578a0e into swiftlang:main May 11, 2024
3 of 4 checks passed
@stephentyrone stephentyrone deleted the duration-static-member-tests branch May 11, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant