Update number literal call in tests

This commit is contained in:
Iaroslav 2020-06-25 19:45:33 +07:00
parent 23816d3366
commit 46f99139e2
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

@ -92,7 +92,7 @@ class TestAsmAlgebras {
"+",
(3.0 - (symbol("x") + (multiply(add(number(1.0), number(1.0)), 2) + 1.0))) * 3 - 1.0
+ number(1),
1 / 2 + number(2.0) * one
number(1) / 2 + number(2.0) * one
)
}("x" to 2.0)
@ -101,7 +101,7 @@ class TestAsmAlgebras {
"+",
(3.0 - (symbol("x") + (multiply(add(number(1.0), number(1.0)), 2) + 1.0))) * 3 - 1.0
+ number(1),
1 / 2 + number(2.0) * one
number(1) / 2 + number(2.0) * one
)
}.compile()("x" to 2.0)