code: def test_align(self):
      sphere_sampling = SphereSampling(0.1, [1, 0, 0])
      sampled = sphere_sampling(self.data)
      torch.testing.assert_allclose(
          sampled.pos, torch.tensor([[0.0, 0, 0]])
      )
      self.assertEqual(sampled.labels[0], 0)
  
      sphere_sampling = SphereSampling(
          0.1, [1, 0, 0], align_origin=False
      )
      sampled = sphere_sampling(self.data)
      torch.testing.assert_allclose(
          sampled.pos, torch.tensor([[1.0, 0, 0]])
      )
      self.assertEqual(sampled.labels[0], 0)
  
file_path: torch-points3d/test/test_sphere_sampling.py
imports: import os
  import sys
  import unittest
  import numpy
  import torch
  from torch_geometric.data import Data
  from torch_points3d.core.data_transform.transforms import RandomSphere, SphereSampling
label_desc: Use image node_id 3 for calling the TestSphereSampling obj's underlying member method code with example usage: obj.test_align() without return types