class_docstr: Unit test class for general utilities. 
class_docstr_tok: ["Unit","test","class","for","general","utilities","."]
docstr: Tests the squared distance function. 
docstr_tok: ["Tests","the","squared","distance","function","."]
code: def test_dist_squared(self):
      """Tests the squared distance function."""
      self.report("dist_squared")
      comp_dist_sq = general_utils.dist_squared(self.X1, self.X2)
      assert (self.true_dist_sq == comp_dist_sq).all()
  
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 3 for calling the GeneralUtilsTestCase obj's underlying member method code with example usage: obj.test_dist_squared() without return types