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 /test.stage | |
parent | 11554a9e5c92a98129b42598495abe7503d9208c (diff) | |
download | stage-0.05.tar.gz stage-0.05.tar.bz2 stage-0.05.tar.xz stage-0.05.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 'test.stage')
-rw-r--r-- | test.stage | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/test.stage b/test.stage deleted file mode 100644 index cc765a4..0000000 --- a/test.stage +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | |||
2 | game.title = "Code Test"; | ||
3 | game.author = "Mike Buland"; | ||
4 | game.version = 1; | ||
5 | game.revision = 0; | ||
6 | game.start = <<start>>; | ||
7 | |||
8 | global | ||
9 | { | ||
10 | command: "exit" | ||
11 | { | ||
12 | exit(); | ||
13 | } | ||
14 | } | ||
15 | |||
16 | function getVal() | ||
17 | { | ||
18 | global.stuff = {'hi': 5 }; | ||
19 | } | ||
20 | |||
21 | situation <<start>> | ||
22 | { | ||
23 | setup | ||
24 | { | ||
25 | if true then | ||
26 | { | ||
27 | getVal(); | ||
28 | } | ||
29 | } | ||
30 | |||
31 | enter | ||
32 | { | ||
33 | } | ||
34 | } | ||
35 | |||