code: def test_values(self):
      bss = BarStateSpace(2, 1, 4)
      tm = BarTransitionModel(bss, 100)
      self.assertTrue(
          np.allclose(
              tm.states,
              [
                  10,
                  12,
                  15,
                  1,
                  15,
                  19,
                  3,
                  4,
                  15,
                  19,
                  6,
                  7,
                  8,
                  0,
                  2,
                  5,
                  11,
                  5,
                  9,
                  13,
                  14,
                  5,
                  9,
                  16,
                  17,
                  18,
              ],
          )
      )
      self.assertTrue(
          np.allclose(
              tm.pointers,
              [
                  0,
                  1,
                  3,
                  4,
                  6,
                  7,
                  8,
                  10,
                  11,
                  12,
                  13,
                  14,
                  16,
                  17,
                  19,
                  20,
                  21,
                  23,
                  24,
                  25,
                  26,
              ],
          )
      )
      self.assertTrue(
          np.allclose(
              tm.probabilities,
              [
                  1,
                  1,
                  0,
                  1,
                  1,
                  0,
                  1,
                  1,
                  0,
                  1,
                  1,
                  1,
                  1,
                  1,
                  1,
                  0,
                  1,
                  1,
                  0,
                  1,
                  1,
                  0,
                  1,
                  1,
                  1,
                  1,
              ],
          )
      )
      self.assertTrue(
          np.allclose(
              tm.log_probabilities,
              [
                  0,
                  0,
                  -33.33333,
                  0,
                  0,
                  -25,
                  0,
                  0,
                  -33.33333,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  -33.33333,
                  0,
                  0,
                  -25,
                  0,
                  0,
                  -33.33333,
                  0,
                  0,
                  0,
                  0,
              ],
          )
      )
      self.assertTrue(tm.num_states == 20)
      self.assertTrue(tm.num_transitions == 26)
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from madmom.features.beats_hmm import *
label_desc: Use image node_id 2 for calling the TestBarTransitionModelClass obj's underlying member method code with example usage: obj.test_values() without return types