code: def test_all(self):
      r = self.module.foo([[]])
      assert r == [0]
  
      r = self.module.foo([[1, 2]])
      assert r == [3]
  
      r = self.module.foo([[1, 2], [3, 4]])
      assert np.allclose(r, [3, 7])
  
      r = self.module.foo([[1, 2], [3, 4], [5, 6]])
      assert np.allclose(r, [3, 7, 11])
  
file_path: catboost/contrib/python/numpy/py3/numpy/f2py/tests/test_size.py
imports: import os
  import pytest
  import numpy
  from .None import util
label_desc: Use image node_id 1 for calling the TestSizeSumExample obj's underlying member method code with example usage: obj.test_all() without return types