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

Use tuples to perform swap in Permutations #925

Merged
merged 1 commit into from
Jan 15, 2023

Conversation

atifaziz
Copy link
Member

This PR refactors swaps in Permutations to use tuples, which reads simpler and more succinct.

@codecov
Copy link

codecov bot commented Jan 15, 2023

Codecov Report

Merging #925 (583c51b) into master (096e00f) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #925      +/-   ##
==========================================
- Coverage   92.44%   92.43%   -0.01%     
==========================================
  Files         112      112              
  Lines        3440     3436       -4     
  Branches     1019     1019              
==========================================
- Hits         3180     3176       -4     
  Misses        199      199              
  Partials       61       61              
Impacted Files Coverage Δ
MoreLinq/Permutations.cs 96.77% <100.00%> (-0.20%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@atifaziz atifaziz merged commit 583c51b into morelinq:master Jan 15, 2023
@atifaziz atifaziz deleted the permutations-swap branch January 16, 2023 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants