class TestPureIO(SetResult): from BTrees.IOBTree import union def intersection(self, o1, o2): return iointersection(o1, o2) def difference(self, o1, o2): return iodifference(o1, o2) builders = IOSet, IOTreeSet, testSetOps.makeBuilder( IOBTree), testSetOps.makeBuilder(IOBucket)
class TestPureOI(SetResult): from BTrees.OIBTree import union def intersection(self, o1, o2): return oiintersection(o1, o2) def difference(self, o1, o2): return oidifference(o1, o2) builders = OISet, OITreeSet, testSetOps.makeBuilder( OIBTree), testSetOps.makeBuilder(OIBucket)
class TestPureII(SetResult): from BTrees.IIBTree import union def intersection(self, o1, o2): return iiintersection(o1, o2) def difference(self, o1, o2): return iidifference(o1, o2) builders = IISet, IITreeSet, testSetOps.makeBuilder( IIBTree), testSetOps.makeBuilder(IIBucket)
class TestPureOO(SetResult): from BTrees.OOBTree import union def intersection(self, o1, o2): return oointersection(o1, o2) def difference(self, o1, o2): return oodifference(o1, o2) builders = OOSet, OOTreeSet, testSetOps.makeBuilder( OOBTree), testSetOps.makeBuilder(OOBucket)