docstr: ...Test value method of 1d arrays
docstr_tok: ["...","Test","value","method","of","1d","arrays"]
code: def test_value(self):
      """...Test value method of 1d arrays"""
      for array_type in self.array_types:
          # We run this test only on 1d arrays as value is not implemented
          # on others
          if Test.is_1d(array_type):
              test_func = getattr(test, "test_value_%s" % array_type)
              test_arrays = self._test_arrays(array_type)
              for test_array in test_arrays:
                  compare_array = Test.cast_1d_array_to_1d_dense(
                      test_array
                  )
                  # Then we compare that all extracted values are correct
                  for i in range(len(compare_array)):
                      self.assertEqual(
                          test_func(test_array, i), compare_array[i]
                      )
  
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 14 for calling the Test obj's underlying member method code with example usage: obj.test_value() without return types