Skip to content

refactor: migrate tests to Swift Testing#161

Merged
JimmyMAndersson merged 10 commits into
mainfrom
refactor/swift-testing
May 9, 2026
Merged

refactor: migrate tests to Swift Testing#161
JimmyMAndersson merged 10 commits into
mainfrom
refactor/swift-testing

Conversation

@JimmyMAndersson
Copy link
Copy Markdown
Owner

@JimmyMAndersson JimmyMAndersson commented May 9, 2026

Fixes #141
Fixes #151
Fixes #152
Fixes #153
Fixes #154
Fixes #155
Fixes #156
Fixes #157
Fixes #158
Fixes #159
Fixes #160

@JimmyMAndersson JimmyMAndersson self-assigned this May 9, 2026
@JimmyMAndersson JimmyMAndersson linked an issue May 9, 2026 that may be closed by this pull request
@JimmyMAndersson JimmyMAndersson merged commit 901eed3 into main May 9, 2026
5 checks passed
@JimmyMAndersson JimmyMAndersson deleted the refactor/swift-testing branch May 9, 2026 14:24
JimmyMAndersson added a commit that referenced this pull request May 11, 2026
kendallTau only requires ordinal data — Comparable and Hashable are
sufficient. All arithmetic inside the function operates on Int values
derived from counts, not on T or U directly. Removing
ConvertibleToReal makes the API consistent with that requirement.

Also adds an ordinal-data test using non-numeric enum types to
exercise the relaxed constraint.

Closes #161
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment