I wanted to test out the HybridSortBaseline code on the example array given in the homework assignment, but when I run the robustness test (line 44 & line 62-72) it says that the test failed because the arrays differed at the first element. Did I write the unit test incorrectly?
Update: I printed out the result of using HybridSortBaseline on the array and it is not sorted correctly. I tried deleting HybridSortBaseline and directly copying the code from the professor's github doc but the same thing happens. Am I missing something?
I wanted to test out the HybridSortBaseline code on the example array given in the homework assignment, but when I run the robustness test (line 44 & line 62-72) it says that the test failed because the arrays differed at the first element. Did I write the unit test incorrectly?
Update: I printed out the result of using HybridSortBaseline on the array and it is not sorted correctly. I tried deleting HybridSortBaseline and directly copying the code from the professor's github doc but the same thing happens. Am I missing something?