emory-courses / dsa-java

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

[QZ3] Question Regarding class SortTest #53

Closed HallOfSam closed 4 years ago

HallOfSam commented 4 years ago

Hello everyone. When I tried to create the filed final InputNature nature = InputNature.RANDOM, I kept getting errors that said "Cannot resolve symbol 'InputNature'". Does anyone have any idea why this could happen?

lujiaying commented 4 years ago

I find the definition of class InputNature. It is in https://github.com/emory-courses/dsa-java/blob/master/src/main/java/edu/emory/cs/sort/InputNature.java#L19:13.

Could you try to add the class file under the same package to solve the issue?

jdchoi77 commented 4 years ago

@HallOfSam please check the import path of InputNature as @lujiaying suggested.