src/textgen/MyLinkedListTester.java
@Test
	public void testRemove()
	{
		int a = this.list1.remove(0);
        Assert.assertEquals((String)"Remove: check a is correct ", (long)65, (long)a);
        Assert.assertEquals((String)"Remove: check element 0 is correct ", (Object)21, (Object)this.list1.get(0));
        Assert.assertEquals((String)"Remove: check size is correct ", (long)2, (long)(this.list1.size() - 1));
        a = this.longerList.remove(0);
        Assert.assertEquals((String)"Remove: check a is correct ", (long)0, (long)a);
        a = this.longerList.remove(this.longerList.size() - 1);
        Assert.assertEquals((String)"Remove: check a is correct ", (long)0, (long)a);
	}
/** Test removing an element from the list.
	 * We've included the example from the concept challenge.
	 * You will want to add more tests.  */
Test removing an element from the list.
We've included the example from the concept challenge.
You will want to add more tests.
Test removing an element from the list . We ' ve included the example from the concept challenge . You will want to add more tests .
@Test
	public void testRemove()
	{
		int a = this.list1.remove(0);
        Assert.assertEquals((String)"Remove: check a is correct ", (long)65, (long)a);
        Assert.assertEquals((String)"Remove: check element 0 is correct ", (Object)21, (Object)this.list1.get(0));
        Assert.assertEquals((String)"Remove: check size is correct ", (long)2, (long)(this.list1.size() - 1));
        a = this.longerList.remove(0);
        Assert.assertEquals((String)"Remove: check a is correct ", (long)0, (long)a);
        a = this.longerList.remove(this.longerList.size() - 1);
        Assert.assertEquals((String)"Remove: check a is correct ", (long)0, (long)a);
	}
@ Test public void testRemove ( ) { int a = this . list1 . remove ( 0 ) ; Assert . assertEquals ( ( String ) "Remove: check a is correct " , ( long ) 65 , ( long ) a ) ; Assert . assertEquals ( ( String ) "Remove: check element 0 is correct " , ( Object ) 21 , ( Object ) this . list1 . get ( 0 ) ) ; Assert . assertEquals ( ( String ) "Remove: check size is correct " , ( long ) 2 , ( long ) ( this . list1 . size ( ) - 1 ) ) ; a = this . longerList . remove ( 0 ) ; Assert . assertEquals ( ( String ) "Remove: check a is correct " , ( long ) 0 , ( long ) a ) ; a = this . longerList . remove ( this . longerList . size ( ) - 1 ) ; Assert . assertEquals ( ( String ) "Remove: check a is correct " , ( long ) 0 , ( long ) a ) ; }
Test removing an element from the list.
Test removing an element from the list .