def check(self, expected, result, dimensions):
        if len(expected) != len(result) * dimensions / 4:
            self.fail('Incorrect number of vertices in feedback array')
        for d in range(2): # Don't check Z or W 
            for e, r in zip(expected[d::dimensions], result[d::4]):
                if 0.01 > abs(e - r):
                    self.fail('Feedback array is in error: %r, %r' % \
                        (e, r))
dataset/ETHPy150Open ardekantur/pyglet/tests/graphics/IMMEDIATE.py/TEST_CASE.check/swapped operands of `>`