Coverage -- corner cases in lock and find

This commit is contained in:
Aaron Traas 2017-07-02 21:53:28 -04:00
parent 481d198d39
commit c8445a88d7
4 changed files with 19 additions and 2 deletions

View file

@ -2921,6 +2921,10 @@ OK
Interesting. There seems to be something written on the underside of Interesting. There seems to be something written on the underside of
the oyster. the oyster.
> find oyster
You are already carrying it!
> lock > lock
Huh? Huh?
@ -2969,7 +2973,7 @@ The resulting ruckus has awakened the dwarves. There are now several
threatening little dwarves in the room with you! Most of them throw threatening little dwarves in the room with you! Most of them throw
knives at you! All of them get you! knives at you! All of them get you!
You scored 383 out of a possible 430, using 473 turns. You scored 383 out of a possible 430, using 474 turns.
Your score puts you in Master Adventurer Class B. Your score puts you in Master Adventurer Class B.

View file

@ -1,4 +1,5 @@
## Break the mirror in endgame and die ## Break the mirror in endgame and die
## Also, try to lock door after oiling it
n n
seed 1838473132 seed 1838473132
in in
@ -470,6 +471,7 @@ e
# Everything to here is from endgame428 # Everything to here is from endgame428
attack attack
take oyster take oyster
find oyster
lock lock
lock oyster lock oyster
drop oyster drop oyster

View file

@ -1164,6 +1164,14 @@ The way north is barred by a massive, rusty, iron door.
The oil has freed up the hinges so that the door will now move, The oil has freed up the hinges so that the door will now move,
although it requires some effort. although it requires some effort.
> lock door
OK
> unlock door
OK
> drop bottle > drop bottle
OK OK
@ -2018,7 +2026,7 @@ There is nothing here with which to fill it.
The urn is now dark. The urn is now dark.
You scored 267 out of a possible 430, using 341 turns. You scored 267 out of a possible 430, using 343 turns.
You have reached "Junior Master" status. You have reached "Junior Master" status.

View file

@ -1,4 +1,5 @@
## Test filling urn when you have no bottle ## Test filling urn when you have no bottle
## Also, try to lock door after oiling it
n n
seed 1838473132 seed 1838473132
in in
@ -192,6 +193,8 @@ climb
w w
n n
oil door oil door
lock door
unlock door
drop bottle drop bottle
n n
take trident take trident