Ejemplo n.º 1
0
 public void AddBack_AddFront_Null()
 {
     for (int i = 0; i < ImplicitInt; i++)
     {
         deq.AddFront(5);
         deq.AddFront(null);
         deq.AddBack(6);
         deq.AddBack(null);
         fake.AddFront(5);
         fake.AddFront(null);
         fake.AddBack(6);
         fake.AddBack(null);
     }
     for (int i = 0; i < ImplicitInt * 4; i++)
     {
         Assert.AreEqual(fake[i], deq[i]);
     }
 }