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