def METHOD_NAME(self, space):
    explore = ResampleExplore(probability=0.5)
    rng = RNGStub()
    rng.randint = lambda low, high, size: [1]
    rng.random = lambda: 0.5
    params = {"x": 1.0, "y": 2, "z": 0, "f": 10}
    assert explore(rng, space, params) is params
    rng.random = lambda: 0.4
    assert explore(rng, space, params) is not params