Fix: log -> cos for domain issues

This commit is contained in:
Bertrand Benjamin 2021-10-09 20:01:32 +02:00
parent 0f575ae0ae
commit 5b0d0e5d1e
1 changed files with 2 additions and 2 deletions

View File

@ -26,9 +26,9 @@ def test_generate_list_calculus_math():
import math
a, b, gcd = mapytex.random.list(["a", "b", "gcd(a, b)"])
assert math.gcd(a, b) == gcd
a, b, exp, log = mapytex.random.list(["a", "b", "exp(a)", "log(b)"])
a, b, exp, cos = mapytex.random.list(["a", "b", "exp(a)", "cos(b)"])
assert math.exp(a) == exp
assert math.log(b) == log
assert math.cos(b) == cos
def test_generate_list_conditions():