src/textgen/MyLinkedListTester.java
/** 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 {
			emptyList.add(null);
			fail("Null Pointer Exception");
		}
		catch (NullPointerException e) {
		System.out.println("got a null pointer");
		}
		assertEquals("Add to an empty list:", true, emptyList.add(1));
		assertEquals("Add to an empty list:size:", 1, emptyList.size());
		assertEquals("Add to short list:", true, shortList.add("C"));
		assertEquals("Add to short list:size:", 3, shortList.size());
		assertEquals("Add to an short list:size:", "B", shortList.get(1));
	}
@ Test public void testAddEnd ( ) { try { emptyList . add ( null ) ; fail ( "Null Pointer Exception" ) ; } catch ( NullPointerException e ) { System . out . println ( "got a null pointer" ) ; } assertEquals ( "Add to an empty list:" , true , emptyList . add ( 1 ) ) ; assertEquals ( "Add to an empty list:size:" , 1 , emptyList . size ( ) ) ; assertEquals ( "Add to short list:" , true , shortList . add ( "C" ) ) ; assertEquals ( "Add to short list:size:" , 3 , shortList . size ( ) ) ; assertEquals ( "Add to an short list:size:" , "B" , shortList . get ( 1 ) ) ; }
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 )
//adding to an empty list // TODO: implement this test