CSCI 151 - Data Structures and Object-Oriented Development
Spring 2015
Lab 8: Doubly-linked lists
- In this lab, we will begin creating a text editor. The text being edited will be represented using a doubly-linked list.
- Create a new Java project in Eclipse.
- Create the packages
editor and editor.model.
- In the
editor.model package, create the following files:
- Complete the implementation of
DoubleTextNode, such that
it passes the unit tests specified below. (We will complete the remaining tests in the next lab.)
-
testChars()
-
addAfterTest()
-
addBeforeTest()
-
removeAfterTest()
-
removeBeforeTest()
Grading
| Number of Unit Tests Passed | Grade |
| 5 | A+ |
| 4 | B |
| 3 | C |
| 2 | D |