def test_shorter_generators(self):
        self.assertTrue(shorter(range(10), range(20)))
        self.assertFalse(shorter(range(3), range(2)))

        self.assertTrue(shorter(range(20), count()))
        self.assertFalse(shorter(count(), range(20)))
Test shorter function on generators
dataset/ETHPy150Open duerrp/pyexperiment/tests/test_functional.py/TestShorter.test_shorter_generators