def if_function_is_missing(): with pytest.raises(KeyError): Coordinate(bit_generator='foo')
def other(test_func): return Coordinate(function=test_func, bit_generator=np.random.default_rng(4), lower_boundary=0.1, upper_boundary=3.9)
def if_bit_generator_missing(): with pytest.raises(KeyError): Coordinate(function='foo')