emory-courses / dsa-java

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

[QZ#4] Testing #112

Closed TFloyd1989 closed 4 years ago

TFloyd1989 commented 4 years ago

Once you've created your balance() method, what is the instructor-approved way of testing it?

lujiaying commented 4 years ago

Not sure I understand the question. What does "instructor-approved" refer to?

TFloyd1989 commented 4 years ago

Usually, there is a specific way to test quiz/hw files, like hybridsorttest for example. I was wondering for this assignment if there is a specific testing structure we must follow as we have done before? Or if we have to make up our own testing this time

lujiaying commented 4 years ago

Gotcha. I think I am not able to answer this question. Please wait for @jdchoi77 to respond. Or feel free to ask during class.

brendacano commented 4 years ago

https://github.com/emory-courses/dsa-java/tree/master/src/test/java/edu/emory/cs/tree

look at his test classes in github

lujiaying commented 4 years ago

https://github.com/emory-courses/dsa-java/tree/master/src/test/java/edu/emory/cs/tree

look at his test classes in github

I think these files are test cases for AVLTree, RedBlackTree.