code: def test_contains_points():
      ell = mpatches.Ellipse((0.5, 0.5), 0.5, 1.0)
      points = [(0.0, 0.5), (0.2, 0.5), (0.25, 0.5), (0.5, 0.5)]
      path = ell.get_path()
      transform = ell.get_transform()
      radius = ell._process_radius(None)
      expected = path.contains_points(points, transform, radius)
      result = ell.contains_points(points)
      assert np.all(result == expected)
  
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_equal
  import pytest
  import matplotlib
  from matplotlib.patches import Annulus, Ellipse, Patch, Polygon, Rectangle, FancyArrowPatch, FancyArrow, BoxStyle, Arc
  from matplotlib.testing.decorators import image_comparison, check_figures_equal
  from matplotlib.transforms import Bbox
  import matplotlib.pyplot
  from matplotlib import collections, colors, patches, path, transforms, rcParams
  import sys
label_desc: Use image node_id 25 for calling a global function with example usage: test_contains_points() without return types