code: def test_make_perceptron_data() -> None:
      for name, value in [
          ("quadratic", 0.02028),
          ("sine", 0.14191),
          ("abs", 0.1424),
          ("heaviside", 1),
      ]:
          data = datasets.make_perceptron_data(name)
          np.testing.assert_equal(data.shape, (50, 2))
          np.testing.assert_almost_equal(data[28, 0], 0.1424)
          np.testing.assert_almost_equal(
              data[28, 1],
              value,
              decimal=5,
              err_msg=f"Wrong value for {name}",
          )
  
file_path: nevergrad/nevergrad/functions/mlda/test_datasets.py
imports: import tempfile
  import typing
  from pathlib import Path
  from unittest.mock import patch
  import pandas
  import numpy
  from ...common import testing
  from .None import datasets
label_desc: Use image node_id 4 for calling a global function with example usage: test_make_perceptron_data() without return types