class_docstr: Unit test class for general utilities. 
class_docstr_tok: ["Unit","test","class","for","general","utilities","."]
docstr: Sets up attributes. 
docstr_tok: ["Sets","up","attributes","."]
code: def setUp(self):
      """Sets up attributes."""
      # For dist squared
      self.X1 = np.array([[1, 2, 3], [1, 2, 4], [2, 3, 4.5]])
      self.X2 = np.array([[1, 2, 4], [1, 2, 5], [2, 3, 5]])
      self.true_dist_sq = np.array(
          [[1, 4, 6], [0, 1, 3], [2.25, 2.25, 0.25]]
      )
  
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 2 for calling the GeneralUtilsTestCase obj's underlying member method code with example usage: obj.setUp() without return types