code: def test_types(self):
      bss = BeatStateSpace(1, 4)
      self.assertIsInstance(bss.intervals, np.ndarray)
      self.assertIsInstance(bss.state_positions, np.ndarray)
      self.assertIsInstance(bss.state_intervals, np.ndarray)
      self.assertIsInstance(bss.first_states, np.ndarray)
      self.assertIsInstance(bss.last_states, np.ndarray)
      self.assertIsInstance(bss.num_states, int)
      self.assertIsInstance(bss.num_intervals, int)
      # dtypes
      self.assertTrue(bss.intervals.dtype == int)
      self.assertTrue(bss.state_positions.dtype == float)
      self.assertTrue(bss.state_intervals.dtype == int)
      self.assertTrue(bss.first_states.dtype == int)
      self.assertTrue(bss.last_states.dtype == int)
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from madmom.features.beats_hmm import *
label_desc: Use image node_id 1 for calling the TestBeatStateSpaceClass obj's underlying member method code with example usage: obj.test_types() without return types