code: def test_de_crossover(
      crossover_param: tp.Union[str, float],
      seed: int,
      expected: tp.List[int],
  ) -> None:
      rng = np.random.RandomState(seed)
      crossover = Crossover(rng, crossover_param)
      donor = np.arange(1, len(expected) + 1)
      crossover.apply(donor, 0.0 * donor)
      np.testing.assert_array_equal(donor, expected)
  
file_path: nevergrad/nevergrad/optimization/test_mutations.py
imports: import typing
  import numpy
  import nevergrad
  from nevergrad.common import testing
  from .None import utils
  from .mutations import Mutator
  from .differentialevolution import Crossover
label_desc: Use image node_id 6 for calling a global function with example usage: test_de_crossover(crossover_param, seed, expected) without return types