Adds test infrastructure for JS optimizer. Adds simple tests

This commit is contained in:
Alexey Andreev
2016-03-22 13:30:11 +03:00
parent a7fcbb614d
commit af7ddb4572
21 changed files with 473 additions and 2 deletions
@@ -0,0 +1,10 @@
function test(a, b, c) {
return a + b + c;
}
function box() {
var result = test(2, 3, 4);
if (result != 9) return "fail: " + result;
return "OK"
}