fix(tests/lua): incorrect assertion

The assertion got violated after a bug was fixed in the to_goal procedure.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-11-28 21:53:54 -08:00
parent 6832b265e9
commit 7ed78815e0

View file

@ -27,8 +27,8 @@ end
print("-------------------") print("-------------------")
print(t:solve(env, ios, ps)) print(t:solve(env, ios, ps))
print(t:solve(env, ios, ctx, p)) print(t:solve(env, ios, ctx, p))
assert(t:solve(env, ios, ps) == Var(0)) assert(t:solve(env, ios, ps) == Var(1))
assert(t:solve(env, ios, ctx, q) == Var(1)) assert(t:solve(env, ios, ctx, q) == Var(0))
local t2 = id_tactic() + id_tactic() + id_tactic() local t2 = id_tactic() + id_tactic() + id_tactic()
local r = t2:solve(env, ios, ps) local r = t2:solve(env, ios, ps)
assert(#r == 3) assert(#r == 3)