def METHOD_NAME(fft: bool, expected: tp.List[int]) -> None:
    x1 = 4 * np.ones((2, 4))
    x2 = 5 * np.ones((2, 4)) if not fft else np.arange(8).reshape((2, 4))
    array = mutation.Crossover(axis=1, fft=fft)(Array(init=x1))
    co = array._layers[1]
    assert isinstance(co, mutation.Crossover)
    co.random_state.seed(12)
    out = co._apply_array((x1, x2))
    expected_arr = np.ones((2, 1)).dot([expected])
    np.testing.assert_array_equal(out, expected_arr)