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. There is a bottle of water here.
> off > extinguish lamp
Your lamp is now off. Your lamp is now off.

View file

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

View file

@ -18,6 +18,13 @@ Seed set to 1801426495
You're in front of building. 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 > listen
The stream is gurgling placidly. 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. It is now pitch dark. If you proceed you will likely fall into a pit.
> take rod
OK
> wave rod
Nothing happens.
> listen > listen
All is silent. All is silent.
@ -197,7 +212,7 @@ Okay, "BOO".
> score > 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 > quit
@ -207,7 +222,7 @@ Do you really want to quit now?
OK 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. You are obviously a rank amateur. Better luck next time.

View file

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