-
Notifications
You must be signed in to change notification settings - Fork 0
/
Very Vile Fairy File Tests.i7x
170 lines (107 loc) · 6.41 KB
/
Very Vile Fairy File Tests.i7x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
Version 1/181111 of Very Vile Fairy File Tests by Andrew Schultz begins here.
"This is the tests file for Very Vile Fairy File."
[wch.py checks the walkthrough versus this]
volume implementation test(s)
when play begins (this is the room hint check rule):
let hint-idx be 0;
repeat with Q running through rooms:
if map region of Q is poorly penned or map region of Q is Get a Guess, continue the action;
if room-hint-rule of Q is trivially false rule:
increment hint-idx;
say "[hint-idx]. The room-hint-rule of [Q] is the [printed name of Q in lower case]-hint rule.";
say "[if hint-idx > 0][hint-idx] room hint[plur of hint-idx] to implement[else]All room hints implemented[end if].";
when play begins (this is the thing hint check rule):
let hint-idx be 0;
let max-hint be 20;
let ignore-text be false;
repeat with Q running through things:
if thing-hint-rule of Q is trivially false rule:
increment hint-idx;
if hint-idx > max-hint and ignore-text is false:
say "I went over the maximum. Not listing the rest.";
now ignore-text is true;
next;
if ignore-text is false, say "[hint-idx]. The thing-hint-rule of [Q] is the [printed name of Q in lower case]-hint rule.";
if hint-idx > 0, say "[hint-idx] thing hint[plur of hint-idx] to implement.";
volume optional tests
[include Property Checking by Emily Short.
a thing can be abstract. A thing is usually not abstract.]
volume in-IDE tests
chapter warps
chapter walkthrough
test tobug with "test w1/test w2/test w3/test w4/test w5/test w6/test w7"
test qbug with "purloin toe/gonear violent vale/purloin cake cap/silent sail/boring boat/no nappin/enter boat/mo mappin/ho happen/lean luggin/mean muggin"
test w1 with "get good/gift giver/find fault/green grass/grow grit/mash map/mind me/flim flam/big bag". [this is the intro.]
test w2 with "s/kneel near/feel fear/deal dear/n/fall free/dive deep/paper pile/backed binder". [real rear 1st try, get binder]
test w2b with "strong start/bloke blessed/s/kneel near/feel fear/deal dear/appealing appear/n/fall free/dive deep/paper pile/backed binder"
test w3 with "n/w/dark door/mark more/cleared clay/w/mystery mall/listen" [get TTRR]
test w4 with "lots lame/w/hard hat" [get first hat]
test w4b with "whatta wanksta/dimd/lots lame/ho happen/w/hard hat" [get first hat]
test w5 with "e/e/e/n/w/work well/e/loft land/w/dreaming dull/first fave/cool cap" [get 2nd cap]
test w6 with "e/s/e/brightening bridge/silent sail/boring boat/no nappin/enter boat/wake whee/take tea". [get cap, take boat]
test w7 with "fake fee/e/make map/co capn/snake snap/enter boat". [this is part 1 of the boat quest]
test w8 with "stay strong/glow glad/mean muggin/lean luggin"
test w9 with "enter boat/w/w/w/glean glows/history hall/youre yonder/out/smashing smoke/in/w/lending libe/see sign/e/e/e/n/n/plain pleasant/w/moral mage". [release the moral mage. This part is a bit long because there were no good breaks and I wanted to start a test with the stay strong/glow glad verbs that were twiddled late in the release.]
test w10 with "e/e/sit sound/fit found/e/winding ways/mo mappin/luck lair/w/w/s/s/w/d/tight tunnel/w/knives niche/u/e/n/e". [set the trap for the bull]
test w11 with "dear dull/near null/w/s/w/d/w" [bye bye bull beast]
test w12 with "s/beast boss/least loss/s/heal here/n/n" [ready to defeat the beast boss]
test w12b with "s/beast boss/least loss/s/heal here/n/wild weed/spark spliff/n" [ready to defeat the beast boss]
test w13 with "cull ceased/full feast/e/e/so sappin/shining shore/dining door/pull pieced/mining more". [get the hold hard gold guard]
test w14 with "w/w/n/n/show shield/n/go gappin/couple caps/cast cap"
test togap with "test w1/test w2/test w3/test w4/test w5/test w6/test w7/test w8/test w9/test w10/test w11/test w12/test w13/test w14".
test w15 with "meeker muscle/wood one/n". [enter airy isle]
test w16 with "hot horde/lot lord/got gored/whoa wait/tell torn/merry mile/bury bile".
test wa with "test w1/test w2/test w3/test w4/test w5/test w6/test w7/test w8/test w9/test w10/test w11/test w12/test w13/test w14/test w15/test w16".
test wb with "really rolling/test w1/test w2b/test w3/test w3b/test w4b/lie lol/not near/test w5/test w6/break brie/test w7/test w8/bumped buster/test w9/test w10/test w11/test w12b/test w13/test w14/beaker bustle/test w15/test w16".
test qw with "gonear tarry tile/tell torn/merry mile/bury bile".
chapter beta jump
test cc1 with "climb clear/got gored/test w16".
volume odd property tests
chapter talksing
talksing is an action applying to nothing.
understand the command "talks" as something new.
understand "talks" as talksing.
carry out talksing:
let empties be 0;
repeat with Q running through people:
if talk-text of Q is empty:
increment empties;
say "[Q] needs talk-text.";
if empties is 0, say "Everyone has talk-text.";
the rule succeeds.
volume quaint questin' taint testin' (Ha! Ha!)
chapter end of game CHT test check
Table of Final Question Options (continued)
final question wording only if victorious topic final response rule final response activity
"track [b]CHT[r] of each room" true "cht" -- chttracking
chttracking is an activity.
rule for chttracking:
let phbts be 0;
repeat with X running through rooms:
let mrx be map region of location of X;
if mrx is Poorly Penned or mrx is Get a Guess, next; [meta rooms don't count]
if X is History Hall or X is Soft Sand, next; [these are always switchable back and forth]
if cht of X is not phbt:
increment phbts;
say "[phbts]. [X] should be phbt but is [cht of X].";
if phbts is 0, say "Hooray! All rooms have been reduced to [b]PHBT[r].";
chapter table cycle check
chapter tcting
tcting is an action applying to nothing.
understand the command "tct" as something new.
understand "tct" as tcting.
carry out tcting:
repeat through table of all randoms:
now tabidx entry is number of rows in tabnam entry;
say "[tabnam entry] index set to [tabidx entry].";
the rule succeeds.
test cycles with "tct/gonear history hall/mystery mall/u/lots lame/listen/dimd/listen/history hall/purloin cold card/w/lending libe/x libe/x fussed/gonear tarry tile/read vvff".
volume monty stuff
[include Full Monty Testing by Andrew Schultz.
table of monties (continued)
montopic (topic) on-off test-title (text) test-action topic-as-text (text)
"ll" false "Leet Learner" show-leets rule "showing leet learner readings"
this is the show-leets rule:
try lling;]
Very Vile Fairy File Tests ends here.
---- DOCUMENTATION ----