karelpeeters
12/19/2017, 1:17 PMassert(a == b) { "a wasn't equal to b" }
from the stdlib?nathanchere_slack
12/19/2017, 1:39 PMassert
, it at least compiles without using junit which i didn't expect, but it doesn't appear to do anything?nathanchere_slack
12/19/2017, 1:40 PMassert(1==2) { "one not equal 2" }
nathanchere_slack
12/19/2017, 1:40 PMnathanchere_slack
12/19/2017, 1:40 PMnathanchere_slack
12/19/2017, 1:41 PMprintln(solve("x"))
assert(2==2) { "two not equal 2" }
assert(1==2) { "one not equal 2" }
println(solve("y"))
and i just get
x
y
nathanchere_slack
12/19/2017, 1:42 PMsolve
just returns whatever you pass in for the momentkarelpeeters
12/19/2017, 1:44 PMnathanchere_slack
12/19/2017, 1:49 PMnathanchere_slack
12/19/2017, 1:50 PMnathanchere_slack
12/19/2017, 1:50 PMkarelpeeters
12/19/2017, 1:51 PM