Comp 271 lab 5 - simple linked lists

Goals

Overview

Consider my simple linked list demo, available at linkedlist.zip. You are to add the following methods to the class:
I have added a JUnit test class for unit testing, which just means testing individual methods in a consistent, reproduceable framework. For further information on this in BlueJ, see Unit Testing in BlueJ. For information on assertEquals(), etc, see junit.org/apidocs/org/junit/Assert.html. The basic idea is New Class => Unit Test (I did this for you), and then add tests, either automatically or manually. For the test comparisons of calculated to expected values, you can use:
I have added tests for all of the above (though my testing is not complete; I didn't do much "negative" testing). Your program should pass all the tests when it is done, unless some of the tests are themselves broken. You are encouraged to add additional tests, though for this assignment those will count for extra credit only.

To submit your project, create a zipfile and email it to me at pld@cs.luc.edu.