This was a project completed in an Algorithms and Data Structure course. We implemented a full Linked List implementation and ArrayList implementation that has a functions like reverse(), pairSwap(), sort(), and many more. It also includes JUNIT test files to insure the accuracy of the functions!



Prerequisites (Click here!)
Install Java 8 or higher --> brew install java
git clone https://github.com/LydiaAlem/ArrayList-LinkedList-Implementation.git
>> cd ArrayList-LinkedList-Implementation
4) Run the JUnit program for BOTH lists (Click here for more information!)
>> On VS Code, this requires additional installation
>> run ArrayListTest.java
>> run LinkedListTest.java
--> Maven - dependency management. (Click here for more info!)
--> JUnit - tests the behavior of methods inside the ArrayList.java class & LinkedList.java (Click here for more info!)
@Test
public void addTest(){...}
@Test
public void getTest(){...}
@Test
public void indexOfTest(){...}
@Test
public void emptyTest(){...}
@Test
public void sizeAndClearTest(){...}
@Test
public void sortTest(){...}
@Test
public void removeTest(){...}
@Test
public void equalToTest(){...}
@Test
public void reverseTest(){...}
@Test
public void mergeTest(){...}
@Test
public void pairSwap(){...}
@Test
public void isSortedTest(){...}