code: def test_mapping_tuple():
      d = {"a": [1, 2, 3], "b": [4]}
      assert _mapping_to_tuple_pairs(d) == (
          (("a", 1), ("b", 4)),
          (("a", 2), ("b", 4)),
          (("a", 3), ("b", 4)),
      )
  
imports: import pytest
  import numpy
  from sklearn_evaluation.util import _can_iterate, is_column_vector, is_row_vector, _group_by, _product, _mapping_to_tuple_pairs, map_parameters_in_fn_call
label_desc: Use image node_id 15 for calling a global function with example usage: test_mapping_tuple() without return types