More test coverage improvements.

This commit is contained in:
Eric S. Raymond 2017-06-06 06:59:39 -04:00
parent 31ecc4a8e3
commit 0105b04ac2
4 changed files with 22 additions and 4 deletions

View file

@ -246,7 +246,7 @@ There is food here.
There is a bottle of water here.
> off
> extinguish lamp
Your lamp is now off.

View file

@ -43,7 +43,7 @@ d
n
n
plugh
off
extinguish lamp
drop coins
drop jewelry
drop necklace

View file

@ -18,6 +18,13 @@ Seed set to 1801426495
You're in front of building.
> cave
I don't know where the cave is, but hereabouts no stream can run on
the surface for long. I would try the stream.
You're in front of building.
> listen
The stream is gurgling placidly.
@ -137,6 +144,14 @@ Your lamp is now on.
It is now pitch dark. If you proceed you will likely fall into a pit.
> take rod
OK
> wave rod
Nothing happens.
> listen
All is silent.
@ -197,7 +212,7 @@ Okay, "BOO".
> score
You have garnered 32 out of a possible 430 points, using 36 turns.
You have garnered 32 out of a possible 430 points, using 39 turns.
> quit
@ -207,7 +222,7 @@ Do you really want to quit now?
OK
You scored 32 out of a possible 430, using 37 turns.
You scored 32 out of a possible 430, using 40 turns.
You are obviously a rank amateur. Better luck next time.

View file

@ -2,6 +2,7 @@
foo
n
seed 1801426495
cave
listen
forward
eat
@ -28,6 +29,8 @@ drink blood
brief
on
xyzzy
take rod
wave rod
listen
quit
n