private void AssertIntersection(int[] expectedKeys, IBTreeRange range1, IBTreeRange
                                 range2)
 {
     BTreeAssert.AssertRange(expectedKeys, range1.Intersect(range2));
     BTreeAssert.AssertRange(expectedKeys, range2.Intersect(range1));
 }
Example #2
0
 public virtual void TestExtendToLastOf()
 {
     BTreeAssert.AssertRange(new int[] { 3, 4, 7 }, Range(3, 7));
     BTreeAssert.AssertRange(new int[] { 4, 7, 9 }, Range(4, 9));
 }
 private void AssertUnion(int[] expectedKeys, IBTreeRange range1, IBTreeRange range2
                          )
 {
     BTreeAssert.AssertRange(expectedKeys, range1.Union(range2));
     BTreeAssert.AssertRange(expectedKeys, range2.Union(range1));
 }