code: def test_get_label_or_level_values_df_simple(df_levels, axis):
      # Compute expected labels and levels
      expected_labels, expected_levels = get_labels_levels(df_levels)
  
      axis = df_levels._get_axis_number(axis)
      # Transpose frame if axis == 1
      if axis == 1:
          df_levels = df_levels.T
  
      # Perform checks
      assert_label_values(df_levels, expected_labels, axis=axis)
      assert_level_values(df_levels, expected_levels, axis=axis)
  
imports: import pytest
  from pandas.core.dtypes.missing import array_equivalent
  import pandas
label_desc: Use image node_id 16 for calling a global function with example usage: test_get_label_or_level_values_df_simple(df_levels, axis) without return types