code: def test_mapping_fn():
      # ohe_to_ord_shape
      assert (
          mp.ohe2ord_shape(shape_ohe, cat_vars_ohe, is_ohe=True)
          == shape_ord
      )
  
      # ohe_to_ord
      X_ohe_to_ord, cat_vars_ohe_to_ord = mp.ohe2ord(
          X_ohe, cat_vars_ohe
      )
      assert (
          X_ohe_to_ord == X_ord
      ).all() and cat_vars_ohe_to_ord == cat_vars_ord
  
      # ord_to_ohe
      X_ord_to_ohe, cat_vars_ord_to_ohe = mp.ord2ohe(
          X_ord, cat_vars_ord
      )
      assert (
          X_ord_to_ohe == X_ohe
      ).all() and cat_vars_ohe == cat_vars_ord_to_ohe
  
      # ord_to_num
      X_ord_to_num = mp.ord2num(X_ord, dist)
      assert (X_num == X_ord_to_num).all()
  
      # num_to_ord
      X_num_to_ord = mp.num2ord(X_num, dist)
      assert (X_ord == X_num_to_ord).all()
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_mapping_fn() without return types