CodeGenTest: check result and print code in any blackbox

... and fix test
This commit is contained in:
Stepan Koltsov
2012-06-05 22:56:25 +04:00
parent d33c8638d8
commit 9a71cb5e72
4 changed files with 36 additions and 32 deletions
@@ -186,8 +186,8 @@ fun box(): String {
if (!t8()) return "t8 fail"
if (!t9(0)) return "t9 fail"
if (!t10()) return "t10 fail"
if (t11(1) != 104) return "t11 fail"
if (t11(1) != 101) return "t11 fail"
if (t12(0) != 100) return "t12 fail"
return "OK"
}
}