TheAlgorithms / JavaScript

Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
https://the-algorithms.com/language/javascript
GNU General Public License v3.0
32.19k stars 5.52k forks source link

fix: `GetEuclidGCD(0, 0)` is `0` #1621

Closed vil02 closed 7 months ago

vil02 commented 7 months ago

Open in Gitpod know more

Describe your change:

GetEuclidGCD(0, 0) is perfectly fine and it is 0.

Checklist:

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.64%. Comparing base (0e0cf98) to head (4482c8c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1621 +/- ## ======================================= Coverage 83.63% 83.64% ======================================= Files 377 377 Lines 19745 19744 -1 Branches 2912 2914 +2 ======================================= + Hits 16513 16514 +1 + Misses 3232 3230 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.