Closed zsabbagh closed 1 year ago
Implement unit tests to improve branch coverage. There are a lot of functions and files that are not tested. Functions to define tests for are:
matrix/sort_matrix_diagonally.py
delete_fixup @ red_black_tree.py
strings/knuth_morris_pratt
fix_insert @ red_black_tree.py
More could be added. Approximately 22.7% of the files are untested.
4 unit tests added to RBTree
Coverage improved for all functions
Implement unit tests to improve branch coverage. There are a lot of functions and files that are not tested. Functions to define tests for are:
matrix/sort_matrix_diagonally.py
- Glacierdelete_fixup @ red_black_tree.py
(or any function from this file, it is untested) - Zakariastrings/knuth_morris_pratt
- Einar (branch 3 is untested)fix_insert @ red_black_tree.py
(as stated above) - Glacier NOTE: This was already covered by a prior commitMore could be added. Approximately 22.7% of the files are untested.