feat: Arithmetic
This commit is contained in:
parent
e73e5cbfc8
commit
ac55ed4c64
6 changed files with 147 additions and 107 deletions
|
@ -418,9 +418,8 @@ class ArithmeticOperatorsTests {
|
|||
val t1 = Integer(2)
|
||||
val t2 = Integer(3)
|
||||
|
||||
val result = Multiply(t1, t2).evaluate(emptyMap()).toList()
|
||||
val result = Multiply(t1, t2).evaluate(emptyMap())
|
||||
|
||||
assertEquals(1, result.size, "There should only be one solution")
|
||||
assertEquals(Integer(6), result, "2 * 3 should be equal to 6")
|
||||
assertEquals(Integer(6), result.first, "2 * 3 should be equal to 6")
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue