Closed djimenezmsu closed 1 year ago
Also, when testing heapSort it didn't end up actually sorting the array. Not sure why, but I tested with Arrays.sort() to be sure and it should be sorting the array. The array came out the same as it was passed.
Exception was thrown as expected because test was using differently sized strings in the same string array.
I was writing some tests for the two methods and ran into this one:
Seems to be an indexing error with the charAt function call on line 34 of SortComparison.java.