code: def test_values_boxed():
      tuples = [
          (1, pd.Timestamp("2000-01-01")),
          (2, pd.NaT),
          (3, pd.Timestamp("2000-01-03")),
          (1, pd.Timestamp("2000-01-04")),
          (2, pd.Timestamp("2000-01-02")),
          (3, pd.Timestamp("2000-01-03")),
      ]
      result = MultiIndex.from_tuples(tuples)
      expected = construct_1d_object_array_from_listlike(tuples)
      tm.assert_numpy_array_equal(result.values, expected)
      # Check that code branches for boxed values produce identical results
      tm.assert_numpy_array_equal(result.values[:4], result[:4].values)
  
imports: import re
  import numpy
  import pytest
  from pandas._libs import index
  from pandas.core.dtypes.cast import construct_1d_object_array_from_listlike
  import pandas
  from pandas import Index, IntervalIndex, MultiIndex, RangeIndex
  import pandas._testing
label_desc: Use image node_id 2 for calling a global function with example usage: test_values_boxed() without return types