diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2012-02-08 00:24:06 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2012-02-08 00:24:06 -0700 |
| commit | a859a39f3455fcbf0575bd7acd25915c40922f92 (patch) | |
| tree | 709c900083529913c45e782c430eec82dba9e642 /tests/r.stage | |
| parent | 11554a9e5c92a98129b42598495abe7503d9208c (diff) | |
| download | stage-a859a39f3455fcbf0575bd7acd25915c40922f92.tar.gz stage-a859a39f3455fcbf0575bd7acd25915c40922f92.tar.bz2 stage-a859a39f3455fcbf0575bd7acd25915c40922f92.tar.xz stage-a859a39f3455fcbf0575bd7acd25915c40922f92.zip | |
Committed the tests I've been using.0.05
Good for regressions, I'll have to make some sort of test suite thing
later.
Diffstat (limited to 'tests/r.stage')
| -rw-r--r-- | tests/r.stage | 24 |
1 files changed, 24 insertions, 0 deletions
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 @@ | |||
| 1 | |||
| 2 | game.start = <<a>>; | ||
| 3 | |||
| 4 | situation <<a>> | ||
| 5 | { | ||
| 6 | setup | ||
| 7 | { | ||
| 8 | x = 3; | ||
| 9 | |||
| 10 | my_fun( x ); | ||
| 11 | |||
| 12 | display("About to end" + x); | ||
| 13 | |||
| 14 | exit(); | ||
| 15 | } | ||
| 16 | } | ||
| 17 | |||
| 18 | function my_fun( a ) | ||
| 19 | { | ||
| 20 | display( a ); | ||
| 21 | return(); | ||
| 22 | display( "hello" ); | ||
| 23 | } | ||
| 24 | |||
