Improve test coverage.

This commit is contained in:
Eric S. Raymond 2017-06-18 07:26:59 -04:00
parent c8dbb241e8
commit f704580d89
6 changed files with 14 additions and 12 deletions

View file

@ -1273,6 +1273,10 @@ There is a delicate, precious, ming vase here!
OK OK
> fill vase
There is nothing here with which to fill it.
> se > se
There is a threatening little dwarf in the room with you! There is a threatening little dwarf in the room with you!
@ -1419,7 +1423,7 @@ I'm afraid I don't understand.
The sudden change in temperature has delicately shattered the vase. The sudden change in temperature has delicately shattered the vase.
You scored 191 out of a possible 430, using 233 turns. You scored 191 out of a possible 430, using 234 turns.
You may now consider yourself a "Seasoned Adventurer". You may now consider yourself a "Seasoned Adventurer".

View file

@ -213,6 +213,8 @@ take trident
nw nw
s s
take vase take vase
# Inserted
fill vase
se se
throw axe throw axe
take axe take axe
@ -232,7 +234,7 @@ n
off off
plugh plugh
out out
# Everything above this from endgame428 # Everything not marked 'Inserted' above this from endgame428
inven inven
stream stream
read vase read vase

View file

@ -1109,8 +1109,6 @@ a small pool of oil in one corner of the pit.
Your bottle is now full of oil. Your bottle is now full of oil.
>
> u > u
You're at east end of Twopit Room. You're at east end of Twopit Room.
@ -1975,6 +1973,10 @@ Your bottle is now empty and the urn is full of oil.
The urn is now lit. The urn is now lit.
> fill urn
The urn is already full of oil.
> read urn > read urn
I'm afraid I don't understand. I'm afraid I don't understand.
@ -1984,7 +1986,7 @@ I'm afraid I don't understand.
The urn is now dark. The urn is now dark.
You scored 267 out of a possible 430, using 332 turns. You scored 267 out of a possible 430, using 333 turns.
You have reached "Junior Master" status. You have reached "Junior Master" status.

View file

@ -183,7 +183,6 @@ drop appendage
e e
d d
get oil get oil
u u
w w
d d
@ -334,5 +333,6 @@ n
fill urn fill urn
light urn light urn
# Everything to here copied from endgame428 # Everything to here copied from endgame428
fill urn
read urn read urn
extinguish urn extinguish urn

View file

@ -7,11 +7,6 @@ You are standing at the end of a road before a small brick building.
Around you is a forest. A small stream flows out of the building and Around you is a forest. A small stream flows out of the building and
down a gully. down a gully.
> seed 368611969
Seed set to 368611969
You're in front of building.
> seed 1635997320 > seed 1635997320
Seed set to 1635997320 Seed set to 1635997320

View file

@ -1,6 +1,5 @@
## Get batteries from the vending machine ## Get batteries from the vending machine
n n
seed 368611969
seed 1635997320 seed 1635997320
in in
take lamp take lamp