Exemplo n.º 1
0
 private void AssertCollection(int[] expected, SortedCollection4 collection)
 {
     Assert.AreEqual(expected.Length, collection.Size());
     ArrayAssert.AreEqual(IntArrays4.ToObjectArray(expected), collection.ToArray(new object
                                                                                 [collection.Size()]));
 }
Exemplo n.º 2
0
 private static BTreeRangeSingle[] ToArray(SortedCollection4 collection)
 {
     return((BTreeRangeSingle[])collection.ToArray(new BTreeRangeSingle[collection.Size
                                                                            ()]));
 }