code: def test_invert_order(self):
      target = np.array([-0.1, -0.3, -0.5, -0.7, -0.2, -0.1]).ravel()
      scores1 = invert_order(self.scores1)
      assert_allclose(scores1, target)
  
      scores2 = invert_order(self.scores2)
      assert_allclose(scores2, target)
  
      target = np.array([0.6, 0.4, 0.2, 0, 0.5, 0.6]).ravel()
      scores2 = invert_order(self.scores2, method="subtraction")
      assert_allclose(scores2, target)
  
imports: import os
  import sys
  import unittest
  from numpy.testing import assert_allclose
  from numpy.testing import assert_equal
  from numpy.testing import assert_raises
  from sklearn.metrics import precision_score
  from sklearn.utils import check_random_state
  import numpy
  from utils.utility import standardizer
  from utils.utility import get_label_n
  from utils.utility import precision_n_scores
  from utils.utility import argmaxn
  from utils.utility import invert_order
  from utils.utility import check_detector
  from utils.utility import score_to_label
  from utils.utility import list_diff
  from utils.utility import score_to_proba
label_desc: Use image node_id 3 for calling the TestScaler obj's underlying member method code with example usage: obj.test_invert_order() without return types