Fix: log -> cos for domain issues
This commit is contained in:
parent
0f575ae0ae
commit
5b0d0e5d1e
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user