Beispiel #1
0
 //[ExpectedException(typeof(IndexOutOfRangeException))]
 public void ConstructorTest3()
 {
     ArrayList list = new ArrayList();
     list.AddLast("hello");
     Assert.AreEqual("hello", list.Get(0));
 }
Beispiel #2
0
 public void SmallTest()
 {
     ArrayList list = new ArrayList();
     list.AddLast("10");
     Assert.AreEqual("10", list.Get(0));
 }