docstr: This test verifies that the class output is correct and corresponds to the maximun vote from sub_part
docstr_tok: ["This","test","verifies","that","the","class","output","is","correct","and","corresponds","to","the","maximun","vote","from","sub_part"]
code: def test_simple(self):
      """
      This test verifies that the class output is correct and corresponds to the maximun vote from sub_part
      """
      out = self.sampler(self.data)
      y = out.y.detach().cpu().numpy()
      npt.assert_array_almost_equal(self.answer, y)
  
file_path: torch-points3d/test/test_grid_sampling.py
imports: import os
  import sys
  import numpy
  import torch
  import unittest
  import h5py
  import numpy.testing
  import numpy.matlib
  from torch_geometric.data import Data
  import torch_points3d.core.data_transform
label_desc: Use image node_id 2 for calling the TestGridSampling3D obj's underlying member method code with example usage: obj.test_simple() without return types