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 overhead and splashes noisily into the water somewhere within the
mist. There is a passage going back toward the south. 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. The waters have parted to form a narrow path across the reservoir.

View file

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

View file

@ -28,7 +28,7 @@ There is a bottle of water here.
OK OK
> xyzzy > say xyzzy
>>Foof!<< >>Foof!<<
@ -234,7 +234,7 @@ a rock in the room's center.
A hollow voice says "PLUGH". A hollow voice says "PLUGH".
> plugh > say plugh
>>Foof!<< >>Foof!<<
@ -266,7 +266,7 @@ OK
OK OK
> plugh > say plugh
>>Foof!<< >>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. It is now pitch dark. If you proceed you will likely fall into a pit.
> plugh > say plugh
>>Foof!<< >>Foof!<<
@ -506,7 +506,7 @@ There is a bottle of water here.
OK OK
> plugh > say plugh
>>Foof!<< >>Foof!<<
@ -518,7 +518,7 @@ Your lamp is now on.
You're at "Y2". You're at "Y2".
> plover > say plover
>>Foof!<< >>Foof!<<
@ -546,7 +546,7 @@ You're in Plover Room.
There is an emerald here the size of a plover's egg! There is an emerald here the size of a plover's egg!
> plover > say plover
>>Foof!<< >>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. It is now pitch dark. If you proceed you will likely fall into a pit.
> plugh > say plugh
>>Foof!<< >>Foof!<<
@ -833,7 +833,7 @@ OK
OK OK
> plugh > say plugh
>>Foof!<< >>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. It is now pitch dark. If you proceed you will likely fall into a pit.
> plugh > say plugh
>>Foof!<< >>Foof!<<
@ -1420,7 +1420,7 @@ OK
OK OK
> plugh > say plugh
>>Foof!<< >>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. It is now pitch dark. If you proceed you will likely fall into a pit.
> plugh > say plugh
>>Foof!<< >>Foof!<<
@ -2176,7 +2176,7 @@ There is precious jewelry here!
There are many coins here! There are many coins here!
> plugh > say plugh
>>Foof!<< >>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. It is now pitch dark. If you proceed you will likely fall into a pit.
> xyzzy > say xyzzy
>>Foof!<< >>Foof!<<
@ -2374,7 +2374,7 @@ OK
OK OK
> plugh > say plugh
>>Foof!<< >>Foof!<<
@ -2593,7 +2593,7 @@ You're in n/s passage above e/w passage.
You're at "Y2". You're at "Y2".
> plover > say plover
>>Foof!<< >>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 # Based on walkthrough at http://www.ecsoftwareconsulting.com/node/56
n n
seed 1838473132 seed 1838473132
in in
take lamp take lamp
xyzzy say xyzzy
on on
take rod take rod
e e
@ -42,13 +42,13 @@ n
d d
n n
n n
plugh say plugh
extinguish lamp extinguish lamp
drop coins drop coins
drop jewelry drop jewelry
drop necklace drop necklace
drop gold drop gold
plugh say plugh
on on
s s
take silver take silver
@ -67,7 +67,7 @@ d
n n
n n
off off
plugh say plugh
inven inven
drop rug drop rug
drop silver drop silver
@ -84,13 +84,13 @@ s
n n
in in
take water take water
plugh say plugh
on on
plover say plover
ne ne
take pyramid take pyramid
s s
plover say plover
s s
s s
take rod take rod
@ -131,11 +131,11 @@ n
n n
n n
off off
plugh say plugh
drop ruby drop ruby
drop diamonds drop diamonds
drop pyramid drop pyramid
plugh say plugh
on on
s s
s s
@ -231,7 +231,7 @@ e
u u
n n
off off
plugh say plugh
drop pillow drop pillow
drop vase drop vase
drop trident drop trident
@ -239,7 +239,7 @@ drop emerald
drop ebony drop ebony
take keys take keys
take food take food
plugh say plugh
on on
s s
d d
@ -319,7 +319,7 @@ e
n n
n n
off off
plugh say plugh
drop eggs drop eggs
drop pearl drop pearl
drop spices drop spices
@ -357,7 +357,7 @@ drop sapphire
drop amber drop amber
drop rug drop rug
look look
plugh say plugh
on on
s s
s s
@ -384,10 +384,10 @@ d
e e
e e
off off
xyzzy say xyzzy
drop emerald drop emerald
drop chest drop chest
plugh say plugh
on on
s s
d d
@ -418,7 +418,7 @@ u
e e
u u
n n
plover say plover
e e
e e
e e