code: def testGenerateFromNumbers(self):
      numbers = range(0, 10) + [None] + range(10, 19)
      sequence = self.sequenceMachine.generateFromNumbers(numbers)
      self.assertEqual(len(sequence), 20)
      self.assertEqual(sequence[0], self.patternMachine.get(0))
      self.assertEqual(sequence[10], None)
      self.assertEqual(sequence[11], self.patternMachine.get(10))
  
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 2 for calling the SequenceMachineTest obj's underlying member method code with example usage: obj.testGenerateFromNumbers() without return types