Hi all,

I'm trying to work my way through some exercises on test cases. I'm having a bit of trouble getting started however.

I have a class diagram (As pictured below), and the exercise calls for me to write 20 test cases for the summariseScores() method in the Quiz class. I've read tutorials on JUnit and test cases, but I don't know where to start. Could someone show me an example of some sort? Or give me a starting point?

Do I use assert statement to test?

Where do I start with test cases?!-1peie3yp.i2r.jpg