Improve test coverage.

This commit is contained in:
Eric S. Raymond 2017-06-18 11:36:03 -04:00
parent 23cc7b45be
commit 957c78d0c2
8 changed files with 31 additions and 8 deletions

View file

@ -2923,7 +2923,7 @@ OK
You're at ne end.
> blast
> blast rod
There is a loud explosion, and a twenty-foot hole appears in the far
wall, burying the snakes in the rubble. A river of molten lava pours

View file

@ -469,4 +469,4 @@ sw
take rod
drop rod
ne
blast
blast rod

View file

@ -228,10 +228,26 @@ I'm game. Would you care to explain how?
I'm game. Would you care to explain how?
> pour keys
You can't pour that.
> throw keys
OK
> foo up
There is no way to go that direction.
You're inside building.
There are some keys on the ground here.
There is a shiny brass lamp nearby.
There is food here.
> eat food
Thank you, it was delicious!
@ -365,7 +381,7 @@ Okay, "BOO".
> score
You have garnered 27 out of a possible 430 points, using 72 turns.
You have garnered 27 out of a possible 430 points, using 74 turns.
> quit keys
@ -379,7 +395,7 @@ Do you really want to quit now?
OK
You scored 27 out of a possible 430, using 74 turns.
You scored 27 out of a possible 430, using 76 turns.
You are obviously a rank amateur. Better luck next time.

View file

@ -47,7 +47,9 @@ wake keys
take keys
feed keys
fly keys
pour keys
throw keys
foo up
eat food
drink blood
drink keys

View file

@ -28,7 +28,7 @@ There is a bottle of water here.
OK
> xyzzy
> say xyzzy
>>Foof!<<

View file

@ -3,7 +3,7 @@ n
seed 1071883378
in
take lamp
xyzzy
say xyzzy
take rod
e
take cage

View file

@ -1965,6 +1965,10 @@ down, but a small ledge can be seen to the west across the chasm.
A small urn is embedded in the rock.
> light urn
The urn is empty and will not light.
> fill urn
Your bottle is now empty and the urn is full of oil.
@ -1991,7 +1995,7 @@ If you mean to use the persian rug, it does not appear inclined to
cooperate.
You scored 267 out of a possible 430, using 334 turns.
You scored 267 out of a possible 430, using 335 turns.
You have reached "Junior Master" status.

View file

@ -330,9 +330,10 @@ w
n
n
n
# Everything to here copied from endgame428
light urn
fill urn
light urn
# Everything to here copied from endgame428
fill urn
read urn
extinguish urn