code: def test_map_grouping_mixed(mixed_grouping_size):
      grouping, size = mixed_grouping_size
  
      def fn(x):
          return x * 2 + 5
  
      result = map_grouping(fn, grouping)
      expected = make_grouping_by_index(
          grouping, list(map(fn, flatten_grouping(grouping)))
      )
      assert expected == result
  
imports: from dash.dependencies import Input
  from dash._grouping import flatten_grouping, make_grouping_by_index, grouping_len, map_grouping, make_grouping_by_key, validate_grouping, SchemaTypeValidationError, SchemaLengthValidationError, SchemaKeysValidationError
  from fixtures import scalar_grouping_size, list_grouping_size, dict_grouping_size, mixed_grouping_size
  import string
  import pytest
label_desc: Use image node_id 15 for calling a global function with example usage: test_map_grouping_mixed(mixed_grouping_size) and returns: unknown