def test_filtered_generator_expression(self):
        for ct in [0,1,2,4,8,16,32,64,100,101,102,103]:
            self.equivalentEvaluationTest(
                lambda: sum(x for x in xrange(ct) if x < ct / 2))
            self.equivalentEvaluationTest(
                lambda: list(x for x in xrange(ct) if x < ct / 2))
            self.equivalentEvaluationTest(
                lambda: [x for x in xrange(ct) if x < ct / 2])
dataset/ETHPy150Open ufora/ufora/ufora/FORA/python/PurePython/InMemoryExecutorTestCases.py/InMemoryExecutorTestCases.test_filtered_generator_expression/original