class_docstr: Unit tests for all quick-start examples.
class_docstr_tok: ["Unit","tests","for","all","quick-start","examples","."]
docstr: Make sure all examples output the same number of oneStepPredictions.
docstr_tok: ["Make","sure","all","examples","output","the","same","number","of","oneStepPredictions","."]
code: def testNumberOfOneStepPredictions(self):
      """Make sure all examples output the same number of oneStepPredictions."""
  
      self.assertEquals(
          len(ExamplesTest.oneStepPredictions["opf"]),
          len(ExamplesTest.oneStepPredictions["algo"]),
      )
      self.assertEquals(
          len(ExamplesTest.oneStepPredictions["opf"]),
          len(ExamplesTest.oneStepPredictions["network"]),
      )
  
file_path: nupic-legacy/tests/unit/nupic/docs/examples_test.py
imports: import os
  import sys
  import unittest2
  import numpy
  from numpy.testing import assert_approx_equal
  import random
label_desc: Use image node_id 3 for calling the ExamplesTest obj's underlying member method code with example usage: obj.testNumberOfOneStepPredictions() without return types