Short exercise for JUnit

You can find the files from our JUnit example in class in the following directory:

/cslab.all/ubuntu/cs335/junit

In Eclipse, add the following feature. The Assignment class should have a method average() which computes the average of all grades entered for that assignment, with 0 being the default value (when there are no grades). Write a JUnit test first, then implement the method.

Please attach the classes that you have changed to an email (or paste them into the body of an email) and send it to me.


Last modified: Mon Jan 26 10:35:23 CST 2009