Exemplo n.º 1
0
        public void AList1_Delete_Position_DeleteValue_error()
        {
            AList1 al = new AList1(new int[] { 1, 2, 9, 5, 6, 7 });

            al.DeletePos(3);
            Assert.AreEqual("1 2 9 6 7 ", al.ToString());
        }
Exemplo n.º 2
0
 public void AList1_Delete_Position_ReturnValue_error()
 {
     Assert.AreEqual(9, aList1.DeletePos(3));
 }