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

Refresh Pancake Sort #64

Merged
merged 5 commits into from
Jun 15, 2019
Merged

Refresh Pancake Sort #64

merged 5 commits into from
Jun 15, 2019

Conversation

agentblythe
Copy link
Contributor

Refreshed the "Pancake Sorter" Implementation in line with other "sorter" refreshes.

One File Deletion
--> pancake_sort.cs
Two File Additions
--> Algorithms.Tests/Sorters/PancakeSorterTests.cs
--> Algorithms/Sorters/PancakeSorter.cs

Tested with Random Integer Array

Built successfully in Debug and Release

@codecov-io
Copy link

codecov-io commented Jun 15, 2019

Codecov Report

Merging #64 into master will increase coverage by 2.18%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage    17.8%   19.98%   +2.18%     
==========================================
  Files          32       32              
  Lines        1685     1671      -14     
  Branches      262      261       -1     
==========================================
+ Hits          300      334      +34     
+ Misses       1378     1330      -48     
  Partials        7        7
Impacted Files Coverage Δ
Algorithms/Sorters/PancakeSorter.cs 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bb812a5...ba7a861. Read the comment docs.

@agentblythe
Copy link
Contributor Author

I will modify the PancakeSorter.cs file in line with codacy-bot's recommendation:

Codacy Issue found: Do not update the loop counter 'mi' within the loop body.

Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update it like that please, will fix Codacy

@agentblythe agentblythe reopened this Jun 15, 2019
@agentblythe
Copy link
Contributor Author

Reopened Pull Request

agentblythe and others added 2 commits June 15, 2019 09:39
Co-Authored-By: Andrii Siriak <siryaka@gmail.com>
Co-Authored-By: Andrii Siriak <siryaka@gmail.com>
@TheAlgorithms TheAlgorithms deleted a comment Jun 15, 2019
@TheAlgorithms TheAlgorithms deleted a comment Jun 15, 2019
Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Thank you for your contribution!

@siriak siriak merged commit e61eff2 into TheAlgorithms:master Jun 15, 2019
Adelhaide22 pushed a commit to Adelhaide22/C-Sharp that referenced this pull request Jul 5, 2019
* Refresh Pancake Sort

* Update Algorithms/Sorters/PancakeSorter.cs

Co-Authored-By: Andrii Siriak <siryaka@gmail.com>
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.

3 participants