code: def test_sbasearrayptr(self):
      sparsearray_double = csr_matrix(
          (
              np.array([1.0, 2, 3, 4, 5]),
              np.array([2, 4, 6, 8, 10]),
              np.array([0, 5]),
          ),
          shape=(1, 12),
      )
      test.test_sbasearray_container_new(sparsearray_double)
      self.assertEqual(test.test_sbasearray_container_compute(), 45)
      test.test_sbasearray_container_clear()
      self.assertEqual(test.test_sbasearray_container_compute(), -1)
      array_double = np.arange(2, 14, dtype=float)
      test.test_sbasearray_container_new(array_double)
      self.assertEqual(
          test.test_sbasearray_container_compute(), array_double.sum()
      )
      test.test_sbasearray_container_clear()
      self.assertEqual(test.test_sbasearray_container_compute(), -1)
  
imports: import gc
  import unittest
  import weakref
  import numpy
  import scipy
  from scipy.sparse import csr_matrix
  from tick.array.build.array import tick_double_sparse2d_from_file
  from tick.array.build.array import tick_double_sparse2d_to_file
  from tick.array_test.build import array_test
label_desc: Use image node_id 10 for calling the Test obj's underlying member method code with example usage: obj.test_sbasearrayptr() without return types