예제 #1
0
 public void TestOne()
 {
     enumerator = MakeIterator(new int[] { 10 });
     Assert.IsTrue(enumerator.MoveNext());
     Assert.AreEqual(10, enumerator.Current.Get("Id"));
     Assert.IsFalse(enumerator.MoveNext());
 }
예제 #2
0
 public void TestEmpty()
 {
     enumerator = MakeIterator(new int[0]);
     Assert.IsFalse(enumerator.MoveNext());
 }