This code was created for use in CSci 2101: Data Structures at the University of Minnesota Morris. By the end of this lab, you should meet these learning outcomes:
- Understand the basic structure and function of unit tests in Java (JUnit 5)
- How can you write a test in JUnit?
- What are the minimal requirements for JUnit to see your code as a test and for the test to provide meaning?
- Understand the benefits of using an interface to define the expected behavior of an object (in this case, an integer list that could be implemented as a linked list or an array)
- How might this all look different without an interface?
- How can the interface help you with writing tests?
- Understand and use exceptions to indicate behavior that is unsupported (and testing for exceptions by triggering those behaviors)
The instructions for this lab are written in a markdown file.