
public class LinkedTest {
	public static void main(String[] args) {
		IntLinkedList l = new IntLinkedList();
		for (int i = 0; i < 10; ++i) {
			l.insertBack(10);
		}
		System.out.println(l.toString());
		l.insertAfter(99, l.findNthOf(10, 5));
		System.out.println(l.toString());
		while (l.remove(10)) {
			// empty body because action is performed in test
		}
		System.out.println(l.toString());
		for (int i = 0; i < 5; ++i) {
			l.insertFront(i);
		}
		System.out.println(l.toString());
	}
}
