emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

[HW1] #75

Closed HallOfSam closed 3 years ago

HallOfSam commented 3 years ago

Hello! I have a question regarding HybridSortTest. I keep getting errors that suggest that my input type for testRobustness() and testRunTime() is wrong because it is not an AbstractSort type (I think it's because the interface HybridSort does not inherit AbstractSort).

How should I implement HybridSortHW and adjust HybridSortBaseline so that they can be tested? Or should I override the testing methods? Thanks in advance.

lujiaying commented 3 years ago

It seems that you have figured it out, right? @HallOfSam

HallOfSam commented 3 years ago

Yes! Thank you so much!