def test_starts_with_gen_and_list(self):
        self.assertTrue(starts_with(range(2), [0, 1, 2, 3]))
        self.assertFalse(starts_with([1, 2, 3, 4], range(4)))

        self.assertTrue(starts_with([0], count()))
        self.assertFalse(starts_with(count(), [1, 2, 3]))
Test starts_with function on generators and lists
dataset/ETHPy150Open duerrp/pyexperiment/tests/test_functional.py/TestStartsWith.test_starts_with_gen_and_list