Add automated tests on function-type FSCommand parameter passing.
[gnash.git] / testsuite / misc-haxe.all / Hello.hx
blobf760566e9701bc3ca64d0bb4a1dda35f4777f5e5
1 #include "check.as"
3 // Class must be named with the PP prefix, as that's the name the
4 // file passed to haxe will have after the preprocessing step
5 class PP_Hello {
6 static function main()
9 var a = 1;
11 // This is how you call check_equals
12 check_equals(a, 1);
14 // This is how you call check
15 check(true);
16 check(!false);
18 // This is how you print notes (trace + visual trace)
19 note("Hello world");
21 // Check number of tests run (for consistency)
22 check_totals(3);
24 // Call this after finishing all tests. It prints out the totals.
25 Dejagnu.done();