Improve test coverage.

This commit is contained in:
Eric S. Raymond 2017-06-30 12:05:38 -04:00
parent 1f45966dec
commit 2c41018358
4 changed files with 35 additions and 35 deletions

View file

@ -951,7 +951,7 @@ fed by a stream, which tumbles out of a hole in the wall about 10 feet
overhead and splashes noisily into the water somewhere within the
mist. There is a passage going back toward the south.
> H'CFL
> say H'CFL
The waters have parted to form a narrow path across the reservoir.

View file

@ -154,7 +154,7 @@ u
west
u
reservoir
H'CFL
say H'CFL
n
n
nw

View file

@ -28,7 +28,7 @@ There is a bottle of water here.
OK
> xyzzy
> say xyzzy
>>Foof!<<
@ -234,7 +234,7 @@ a rock in the room's center.
A hollow voice says "PLUGH".
> plugh
> say plugh
>>Foof!<<
@ -266,7 +266,7 @@ OK
OK
> plugh
> say plugh
>>Foof!<<
@ -391,7 +391,7 @@ Your lamp is now off.
It is now pitch dark. If you proceed you will likely fall into a pit.
> plugh
> say plugh
>>Foof!<<
@ -506,7 +506,7 @@ There is a bottle of water here.
OK
> plugh
> say plugh
>>Foof!<<
@ -518,7 +518,7 @@ Your lamp is now on.
You're at "Y2".
> plover
> say plover
>>Foof!<<
@ -546,7 +546,7 @@ You're in Plover Room.
There is an emerald here the size of a plover's egg!
> plover
> say plover
>>Foof!<<
@ -799,7 +799,7 @@ Your lamp is now off.
It is now pitch dark. If you proceed you will likely fall into a pit.
> plugh
> say plugh
>>Foof!<<
@ -833,7 +833,7 @@ OK
OK
> plugh
> say plugh
>>Foof!<<
@ -1364,7 +1364,7 @@ Your lamp is now off.
It is now pitch dark. If you proceed you will likely fall into a pit.
> plugh
> say plugh
>>Foof!<<
@ -1420,7 +1420,7 @@ OK
OK
> plugh
> say plugh
>>Foof!<<
@ -1881,7 +1881,7 @@ Your lamp is now off.
It is now pitch dark. If you proceed you will likely fall into a pit.
> plugh
> say plugh
>>Foof!<<
@ -2176,7 +2176,7 @@ There is precious jewelry here!
There are many coins here!
> plugh
> say plugh
>>Foof!<<
@ -2322,7 +2322,7 @@ Your lamp is now off.
It is now pitch dark. If you proceed you will likely fall into a pit.
> xyzzy
> say xyzzy
>>Foof!<<
@ -2374,7 +2374,7 @@ OK
OK
> plugh
> say plugh
>>Foof!<<
@ -2593,7 +2593,7 @@ You're in n/s passage above e/w passage.
You're at "Y2".
> plover
> say plover
>>Foof!<<

View file

@ -1,10 +1,10 @@
## Adventurer fall down go boom.
## Adventurer fall down go boom. Also tests 'say' verb on magic words.
# Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56
n
seed 1838473132
in
take lamp
xyzzy
say xyzzy
on
take rod
e
@ -42,13 +42,13 @@ n
d
n
n
plugh
say plugh
extinguish lamp
drop coins
drop jewelry
drop necklace
drop gold
plugh
say plugh
on
s
take silver
@ -67,7 +67,7 @@ d
n
n
off
plugh
say plugh
inven
drop rug
drop silver
@ -84,13 +84,13 @@ s
n
in
take water
plugh
say plugh
on
plover
say plover
ne
take pyramid
s
plover
say plover
s
s
take rod
@ -131,11 +131,11 @@ n
n
n
off
plugh
say plugh
drop ruby
drop diamonds
drop pyramid
plugh
say plugh
on
s
s
@ -231,7 +231,7 @@ e
u
n
off
plugh
say plugh
drop pillow
drop vase
drop trident
@ -239,7 +239,7 @@ drop emerald
drop ebony
take keys
take food
plugh
say plugh
on
s
d
@ -319,7 +319,7 @@ e
n
n
off
plugh
say plugh
drop eggs
drop pearl
drop spices
@ -357,7 +357,7 @@ drop sapphire
drop amber
drop rug
look
plugh
say plugh
on
s
s
@ -384,10 +384,10 @@ d
e
e
off
xyzzy
say xyzzy
drop emerald
drop chest
plugh
say plugh
on
s
d
@ -418,7 +418,7 @@ u
e
u
n
plover
say plover
e
e
e