docstr: ...Test dot method of 1d arrays
docstr_tok: ["...","Test","dot","method","of","1d","arrays"]
code: def test_dot(self):
      """...Test dot method of 1d arrays"""
      array_types_1d = [
          array_type
          for array_type in self.array_types
          if Test.is_1d(array_type)
      ]
      for array_type_1, array_type_2 in itertools.product(
          array_types_1d, array_types_1d
      ):
          test_arrays_1 = self._test_arrays(array_type_1)
          test_arrays_2 = self._test_arrays(array_type_2)
          test_func = getattr(
              test, "test_dot_%s_%s" % (array_type_1, array_type_2)
          )
          for test_array_1, test_array_2 in itertools.product(
              test_arrays_1, test_arrays_2
          ):
              compare_array_1 = Test.cast_1d_array_to_1d_dense(
                  test_array_1
              )
              compare_array_2 = Test.cast_1d_array_to_1d_dense(
                  test_array_2
              )
              self.assertAlmostEqual(
                  test_func(test_array_1, test_array_2),
                  compare_array_1.dot(compare_array_2),
              )
  
imports: import unittest
  import numpy
  from numpy.linalg import norm
  from tick.array_test.build import array_test
  from scipy.sparse import csr_matrix
  import itertools
label_desc: Use image node_id 16 for calling the Test obj's underlying member method code with example usage: obj.test_dot() without return types