code: def test_get_thresholds(xgb_tree):
      assert np.array_equal(
          np.array(list(xgb_tree.get_thresholds().values())),
          np.array([1, 3, 4, -2, -2, -2, -2]),
      )
  
imports: import joblib
  import numpy
  import pytest
  import xgboost
  from dtreeviz.models.xgb_decision_tree import ShadowXGBDTree
label_desc: Use image node_id 15 for calling a global function with example usage: test_get_thresholds(xgb_tree) without return types