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

Expand sweep test suite #1077

Merged
merged 5 commits into from
Sep 12, 2022
Merged

Expand sweep test suite #1077

merged 5 commits into from
Sep 12, 2022

Conversation

hannobraun
Copy link
Owner

The way I dealt with the sweep test suite in #1068 ended up not sitting quite right with me. The updated test suite was a bit weaker than the original one (well, before I started disabling some of the tests, so I could make progress on other things). The tests of one sweep implementation ended up using other sweep implementations, which I think is fine, but those other sweep implementations themselves didn't have test suites.

I've rectified that now. All the non-trivial Sweep implementations have test coverage now. I'm sure it doesn't cover all the edge cases that the code implements, but that's fine for now. All in all, we're in much better shape now than we were a while ago, when it comes to the sweep algorithm (both the clarity/quality of the code itself, as well as the test suite).

cc @dwcarr, who has expressed interest in working on circular sweeps (#997)

@hannobraun hannobraun merged commit 436a0b0 into main Sep 12, 2022
@hannobraun hannobraun deleted the sweep branch September 12, 2022 16:02
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