code: def test_solid_sphere():
      sphere = pv.SolidSphere()
      assert isinstance(sphere, pv.UnstructuredGrid)
      assert np.any(sphere.points)
  
      # make sure cell creation gives positive volume.
      for cell in sphere.cell:
          assert cell.cast_to_unstructured_grid().volume > 0
      sphere = pv.SolidSphere(
          radius_resolution=5, theta_resolution=100, phi_resolution=100
      )
      assert sphere.volume == pytest.approx(
          4.0 / 3.0 * np.pi * 0.5**3, rel=1e-3
      )
  
imports: from itertools import permutations
  import re
  import numpy
  import pytest
  import pyvista
label_desc: Use image node_id 9 for calling a global function with example usage: test_solid_sphere() without return types