Beispiel #1
0
 public void IsOrdered () 
 {
     ISet mySet = new SortedSet (new int [] {2, 4, 5, 1, 3, 0});
     int j = 0;
     foreach (object o in mySet) 
     {
         Assert.AreEqual (j++, o, "Found element out of order while iterating over SortedSet");
     }
 }
Beispiel #2
0
 public override void SetUp () 
 {
     Set = new SortedSet ();
     SetForSetOps = new SortedSet ();
 }