class_docstr: Unit test class for general utilities. 
class_docstr_tok: ["Unit","test","class","for","general","utilities","."]
docstr: Tests compute_average_sq_prediction_error. 
docstr_tok: ["Tests","compute_average_sq_prediction_error","."]
code: def test_compute_average_sq_prediction_error(self):
      """Tests compute_average_sq_prediction_error."""
      self.report("compute_average_sq_prediction_error")
      Y1 = [0, 1, 2]
      Y2 = [2, 0, 1]
      res = general_utils.compute_average_sq_prediction_error(Y1, Y2)
      assert np.abs(res - 2.0) < 1e-5
  
file_path: dragonfly/dragonfly/utils/unittest_general_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  import numpy
  from .None import general_utils
  from .base_test_class import BaseTestClass, execute_tests
label_desc: Use image node_id 5 for calling the GeneralUtilsTestCase obj's underlying member method code with example usage: obj.test_compute_average_sq_prediction_error() without return types