コード例 #1
0
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)
コード例 #2
0
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)
コード例 #3
0
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)
コード例 #4
0
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)