code: def test_ellipse():
      semi_major_axis = 8.0
      semi_minor_axis = 4.0
  
      mesh = pv.Ellipse(semi_major_axis, semi_minor_axis)
      assert mesh.n_points
      assert mesh.n_cells
      major_axis_diameter = np.max(mesh.points[:, 0]) - np.min(
          mesh.points[:, 0]
      )
      minor_axis_diameter = np.max(mesh.points[:, 1]) - np.min(
          mesh.points[:, 1]
      )
      assert np.isclose(
          major_axis_diameter, semi_major_axis * 2.0, rtol=1e-3
      )
      assert np.isclose(
          minor_axis_diameter, semi_minor_axis * 2.0, rtol=1e-3
      )
  
imports: from itertools import permutations
  import re
  import numpy
  import pytest
  import pyvista
label_desc: Use image node_id 46 for calling a global function with example usage: test_ellipse() without return types