OmkarPathak / pygorithm

A Python module for learning all major algorithms
MIT License
4.41k stars 510 forks source link

Refactor test_sorting.py #96

Closed Tjstretchalot closed 5 years ago

Tjstretchalot commented 5 years ago

Refactors the unit tests to be more comprehensive and use the same suite of tests for all the sorting algorithms without copy+pasting code. This also fixes a few inconsistencies among the existing sorting algorithms to ensure tests are passing.