-
Notifications
You must be signed in to change notification settings - Fork 20k
refactor: cleanup CycleSort
#5271
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
refactor: cleanup CycleSort
#5271
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5271 +/- ##
============================================
+ Coverage 40.50% 40.66% +0.16%
- Complexity 2494 2503 +9
============================================
Files 519 519
Lines 15470 15447 -23
Branches 2950 2949 -1
============================================
+ Hits 6266 6282 +16
+ Misses 8915 8870 -45
- Partials 289 295 +6 ☔ View full report in Codecov by Sentry. |
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.
Looking good but here add more test cases
Thank you. I've been eager to enhance test coverage for sorting algorithms for quite some time. |
Hello, @BamaCharanChhandogi everything fixed now |
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.
Looks good, thanks.
Cleanup CycleSort. Adding test for it. Simplify code.
clang-format -i --style=file path/to/your/file.java