code: def testGenerateNumbers(self):
      numbers = self.sequenceMachine.generateNumbers(1, 100)
      self.assertEqual(numbers[-1], None)
      self.assertEqual(len(numbers), 101)
      self.assertFalse(numbers[:-1] == range(0, 100))
      self.assertEqual(sorted(numbers[:-1]), range(0, 100))
  
file_path: nupic-legacy/tests/unit/nupic/data/generators/sequence_machine_test.py
imports: import unittest
  from nupic.data.generators.pattern_machine import PatternMachine, ConsecutivePatternMachine
  from nupic.data.generators.sequence_machine import SequenceMachine
label_desc: Use image node_id 4 for calling the SequenceMachineTest obj's underlying member method code with example usage: obj.testGenerateNumbers() without return types