code: def test_get_values_reordered(self):
      cancer_values1 = BIFReader(
          string="""
                  network unknown {
                  }
                  variable Pollution {
                    type discrete [ 2 ] { low, high };
                  }
                  variable Smoker {
                    type discrete [ 2 ] { True, False };
                  }
                  variable Cancer {
                    type discrete [ 2 ] { True, False };
                  }
                  probability ( Cancer | Pollution, Smoker ) {
                    (low, True) 0.03, 0.97;
                    (low, False) 0.001, 0.999;
                    (high, True) 0.05, 0.95;
                    (high, False) 0.02, 0.98;
                  }"""
      ).get_values()
  
      cancer_values2 = BIFReader(
          string="""
                  network unknown {
                  }
                  variable Pollution {
                    type discrete [ 2 ] { low, high };
                  }
                  variable Smoker {
                    type discrete [ 2 ] { True, False };
                  }
                  variable Cancer {
                    type discrete [ 2 ] { True, False };
                  }
                  probability ( Cancer | Pollution, Smoker ) {
                    (low, True) 0.03, 0.97;
                    (high, True) 0.05, 0.95;
                    (low, False) 0.001, 0.999;
                    (high, False) 0.02, 0.98;
                  }"""
      ).get_values()
  
      for var in cancer_values1:
          np_test.assert_array_equal(
              cancer_values1[var], cancer_values2[var]
          )
  
imports: import os
  import unittest
  import networkx
  import numpy
  import numpy.testing
  from pgmpy import config
  from pgmpy.factors.discrete import TabularCPD
  from pgmpy.models import BayesianNetwork
  from pgmpy.readwrite import BIFReader, BIFWriter
label_desc: Use image node_id 7 for calling the TestBIFReader obj's underlying member method code with example usage: obj.test_get_values_reordered() without return types