Remove() public method

public Remove ( object value ) : void
value object
return void
		public void RemoveBoundary1()
		{
			LinkedList list = new LinkedList();
			
			list.Add( "1" );

			list.Add( "2" );

			list.Add( "3" );

			list.Remove( "1" );

			Assert.AreEqual( "2", list.Head );
			Assert.AreEqual( 2, list.Count );

			String[] array = (String[]) list.ToArray( typeof(String) );
			Assert.AreEqual( "2,3", String.Join(",", array) );
		}
		public void RemoveMiddle2()
		{
			LinkedList list = new LinkedList();
			
			list.Add( "1" );
			list.Add( "2" );
			list.Add( "3" );
			list.Add( "4" );
			list.Add( "5" );

			list.Remove( "3" );

			Assert.AreEqual( "1", list.Head );
			Assert.AreEqual( 4, list.Count );
			
			String[] array = (String[]) list.ToArray( typeof(String) );
			Assert.AreEqual( "1,2,4,5", String.Join(",", array) );
		}