@@ -0,0 +1,1964 @@
+package com.test.linkedlist;%0A%0Aimport com.linkedlist.LinkedList;%0Aimport com.linkedlist.ShingleLinkedList;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class TestShingleLinkedList extends TestCase%7B%0A%0A    public void testEmpty() %7B%0A        // test empty list%0A        LinkedList%3CString%3E list = new ShingleLinkedList%3CString%3E();%0A        assertEquals(0, list.size());%0A        assertEquals(true, list.empty());%0A    %7D%0A    %0A    public void testListOperations() %7B%0A        LinkedList%3CString%3E list = new ShingleLinkedList%3CString%3E();%0A        list.push_back(%22me%22);%0A        list.insert(0, %22love%22);%0A        assertEquals(%22me%22, list.back());%0A        list.push_back(%22you%22);%0A        list.insert(list.size(), %22and%22);%0A        assertEquals(4, list.size());%0A        assertEquals(%22you%22, list.value_at(2));%0A        assertEquals(%22and%22, list.value_at(3));%0A        list.insert(3, %22yes%22);%0A        assertEquals(%22yes%22, list.value_at(3));%0A        list.push_front(%22java%22);%0A        assertEquals(%22java%22, list.front());%0A        assertEquals(%22and%22, list.back());%0A        %0A        list.pop_front();%0A        list.pop_back();%0A        assertEquals(%22love%22, list.front());%0A        assertEquals(%22yes%22, list.back());%0A        %0A        list.push_front(%22java%22);%0A        list.push_back(%22and%22);%0A        %0A        list.erase(0);%0A        list.erase(list.size()-1);%0A        assertEquals(%22love%22, list.front());%0A        assertEquals(%22yes%22, list.back());%0A        %0A        assertEquals(%22you%22, list.value_n_from_end(1));%0A        %0A        list.erase(1);%0A        assertEquals(%22you%22, list.value_at(1));%0A        %0A        list.push_front(%22java%22);%0A        list.push_back(%22and%22);%0A        for (String s : list) %7B%0A            System.out.print(s+%22 %22);%0A        %7D%0A        %0A        list.reverse();%0A        assertEquals(%22yes%22, list.value_at(1));%0A        assertEquals(%22and%22, list.front());%0A        assertEquals(%22java%22, list.back());%0A        %0A        list.remove_value(%22yes%22);%0A        assertEquals(%22you%22, list.value_at(1));%0A        %0A    %7D%0A    %0A%7D%0A

Add the JUnit test for the ShingleLinkedList