In this lab we will review the concepts of a Java Interface, implementing classes, Java Generics,
and introduce the ideas of automated testing and test-driven development. For now, testing is
done with a small program written in a main() method. But next lab will use the JUnit testing
environment in Eclipse.
The given Eclipse project can be loaded into your Eclipse IDE by importing the project archive
file by following these menu choices in Eclipse:
File > Import > General > Existing Project > Next > Select Archive File
This Eclipse project contains a Java Interface for a simple list of integers MySimpleList and
essentially dictates the behaviour requirements of what we expect an array to be able to fulfil.
Your instructions are:
1) Read the [login to view URL] Interface and understand what it requires.
2) Read the file [login to view URL] and find your TODO items.
3) Read the file [login to view URL] and see what sort of tests it performs. Once you
add a couple of methods to [login to view URL] so that this project can
compile, run the [login to view URL] file and see the tests pass (true) and fail (false).
4) Complete the [login to view URL]
5) Verify that all the tests are passing.
There are //TODO comments in the files to help keep you on track.