chore: fix a test

refs #885
This commit is contained in:
Benoit Chevallier-Mames
2021-11-19 11:33:48 +01:00
committed by Benoit Chevallier
parent 69a36b6255
commit 0fd8da8789

View File

@@ -1831,12 +1831,11 @@ def test_wrong_inputs(default_compilation_configuration):
[
pytest.param(lambda x: (x + (-27)) + 32, ((0, 10),), ["x"]),
pytest.param(lambda x: ((-3) * x) + (100 - (x + 1)), ((0, 10),), ["x"]),
# FIXME: doesn't work for now, #885
# pytest.param(
# lambda x: (50 * (numpy.cos(x + 33.0))).astype(numpy.uint32),
# ((0, 31),),
# ["x"],
# ),
pytest.param(
lambda x: (20 + 10 * numpy.tanh(50 * (numpy.cos(x + 33.0)))).astype(numpy.uint32),
((0, 31),),
["x"],
),
pytest.param(
lambda x: (20 * (numpy.cos(x + 33.0)) + 30).astype(numpy.uint32),
((0, 31),),