code: def test_generalized_iterators_simple():
      assert list(
          m.IntPairs([(1, 2), (3, 4), (0, 5)]).simple_iterator()
      ) == [
          (1, 2),
          (3, 4),
          (0, 5),
      ]
      assert list(
          m.IntPairs([(1, 2), (3, 4), (0, 5)]).simple_keys()
      ) == [1, 3, 0]
      assert list(
          m.IntPairs([(1, 2), (3, 4), (0, 5)]).simple_values()
      ) == [2, 4, 5]
  
file_path: coremltools/deps/pybind11/tests/test_sequences_and_iterators.py
imports: import pytest
  from pytest import approx
  from pybind11_tests import ConstructorStats
  from pybind11_tests import sequences_and_iterators
label_desc: Use image node_id 5 for calling a global function with example usage: test_generalized_iterators_simple() without return types