forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
21
Kha/Backends/Kinc-hxcpp/khacpp/test/native/Native.hx
Normal file
21
Kha/Backends/Kinc-hxcpp/khacpp/test/native/Native.hx
Normal file
@ -0,0 +1,21 @@
|
||||
package;
|
||||
|
||||
class Native
|
||||
{
|
||||
static function main()
|
||||
{
|
||||
var r = new haxe.unit.TestRunner();
|
||||
r.add(new tests.TestStdio());
|
||||
r.add(new tests.TestRgb());
|
||||
r.add(new tests.TestRectangle());
|
||||
r.add(new tests.TestGlobalNamespace());
|
||||
r.add(new tests.TestNativeGen());
|
||||
r.add(new tests.TestNonVirtual());
|
||||
r.add(new tests.TestPtr());
|
||||
r.add(new tests.TestNativeEnum());
|
||||
var t0 = haxe.Timer.stamp();
|
||||
var success = r.run();
|
||||
trace(" Time : " + (haxe.Timer.stamp()-t0)*1000 );
|
||||
Sys.exit(success ? 0 : 1);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user