def test_filter_non_empty_list(self): self.assertEqual(list_ops_filter(lambda x: x % 2 == 1, [1, 2, 3, 5]), [1, 3, 5])
def test_filter_empty_list(self): self.assertEqual(list_ops_filter(lambda x: x % 2 == 1, []), [])
def test_filter_non_empty_list(self): self.assertEqual(list_ops_filter(lambda x: x % 2 == 1, [1, 2, 3, 5]), [1, 3, 5])
def test_filter_empty_list(self): self.assertEqual(list_ops_filter(lambda x: x % 2 == 1, []), [])