53 lines
955 B
Haxe
53 lines
955 B
Haxe
package test.cases;
|
|
|
|
import utest.Test;
|
|
import utest.Assert;
|
|
import kiss.Prelude;
|
|
#if js
|
|
import js.lib.Promise;
|
|
#end
|
|
import utest.Async;
|
|
|
|
@:build(kiss.KissInterp2.build())
|
|
class Interp {}
|
|
|
|
@:build(kiss.Kiss.build())
|
|
class KissInterp2TestCase extends Test {
|
|
function testEvalGlobal() {
|
|
_testEvalGlobal();
|
|
}
|
|
function testIf() {
|
|
_testIf();
|
|
}
|
|
function testField() {
|
|
_testField();
|
|
}
|
|
function testCallMethod() {
|
|
_testCallMethod();
|
|
}
|
|
function testPrint() {
|
|
_testPrint();
|
|
}
|
|
function testMapExpression() {
|
|
_testMapExpression();
|
|
}
|
|
function testLet() {
|
|
_testLet();
|
|
}
|
|
function testNth() {
|
|
_testNth();
|
|
}
|
|
function testLambda() {
|
|
_testLambda();
|
|
}
|
|
function testWhile() {
|
|
_testWhile();
|
|
}
|
|
function testFor() {
|
|
_testFor();
|
|
}
|
|
function testDestructive() {
|
|
_testDestructive();
|
|
}
|
|
|
|
} |