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

Remove dead code using Stryker #23

Merged
merged 4 commits into from
Aug 12, 2024
Merged

Conversation

raksit31667
Copy link
Contributor

  • Add Stryker for mutation testing
  • Remove dead code and condition

Because it will be handled by the latter condition (lengthOfDigits > 1 && isUnitPosition(position) && number == 1) anyway.
Because function has 2 precisions as default value so we don't need to handle .00x case
This is why I managed to discover dead code from existing codebase
@antronic antronic mentioned this pull request Aug 12, 2024
@antronic antronic merged commit 88716ca into antronic:master Aug 12, 2024
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.

2 participants