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