forked from kscience/kmath
Add more tests
This commit is contained in:
parent
557142c2ba
commit
d6d9351c9c
@ -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()
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user