public void RemoveLastTest(int[] array, int[] ex)
 {
     LinkedListProject.LinkedList lList = new LinkedListProject.LinkedList();
     if (array.Length == 0)
     {
         Assert.Throws <Exception>(() => lList.RemoveLast());
     }
     else
     {
         lList.AddLast(array);
         lList.RemoveLast();
         int[] actual = lList.ToArray();
         Assert.AreEqual(ex, actual);
     }
 }