From a859a39f3455fcbf0575bd7acd25915c40922f92 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 8 Feb 2012 00:24:06 -0700 Subject: Committed the tests I've been using. Good for regressions, I'll have to make some sort of test suite thing later. --- tests/r.stage | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/r.stage (limited to 'tests/r.stage') diff --git a/tests/r.stage b/tests/r.stage new file mode 100644 index 0000000..c2d9e1f --- /dev/null +++ b/tests/r.stage @@ -0,0 +1,24 @@ + +game.start = <>; + +situation <> +{ + setup + { + x = 3; + + my_fun( x ); + + display("About to end" + x); + + exit(); + } +} + +function my_fun( a ) +{ + display( a ); + return(); + display( "hello" ); +} + -- cgit v1.2.3