Dev #127

Merged
altavir merged 214 commits from dev into master 2020-08-11 08:33:21 +03:00
Showing only changes of commit d6d9351c9c - Show all commits

View File

@ -65,4 +65,18 @@ class AsmTest {
AsmConstProductExpression(AsmVariableExpression("x"), 5.0), AsmConstProductExpression(AsmVariableExpression("x"), 5.0),
mapOf("x" to 5.0) mapOf("x" to 5.0)
) )
@Test
fun testVar() = testDoubleExpressionValue(
10000.0,
AsmVariableExpression("x"),
mapOf("x" to 10000.0)
)
@Test
fun testVarWithDefault() = testDoubleExpressionValue(
10000.0,
AsmVariableExpression("x", 10000.0),
mapOf()
)
} }