src/textgen/MyLinkedListTester.java
@Test
	public void testAddEnd()
	{


		try {
			shortList.add(null);
			fail("Check out of bounds");
		}
		catch (NullPointerException e) {

		}
		list1.add(45);
		int a=list1.get(3);
		assertEquals("Add: check if 45 is added in the end ", 45, a);


		boolean b=shortList.add("B");
        assertEquals("Add: check if true is returned ", true, b);



        // TODO: implement this test(DONE)
		
	}
/** Test adding an element into the end of the list, specifically
	 *  public boolean add(E element)
	 * */
Test adding an element into the end of the list, specifically
public boolean add(E element)
Test adding an element into the end of the list specifically public boolean add ( E element )
@Test
	public void testAddEnd()
	{
		try {
			shortList.add(null);
			fail("Check out of bounds");
		}
		catch (NullPointerException e) {
		}
		list1.add(45);
		int a=list1.get(3);
		assertEquals("Add: check if 45 is added in the end ", 45, a);
		boolean b=shortList.add("B");
        assertEquals("Add: check if true is returned ", true, b);
	}
@ Test public void testAddEnd ( ) { try { shortList . add ( null ) ; fail ( "Check out of bounds" ) ; } catch ( NullPointerException e ) { } list1 . add ( 45 ) ; int a = list1 . get ( 3 ) ; assertEquals ( "Add: check if 45 is added in the end " , 45 , a ) ; boolean b = shortList . add ( "B" ) ; assertEquals ( "Add: check if true is returned " , true , b ) ; }
Test adding an element into the end of the list, specifically
  public boolean add(E element)
Test adding an element into the end of the list specifically public boolean add ( E element )
// TODO: implement this test(DONE)