Improved test coverage.

This commit is contained in:
Eric S. Raymond 2017-06-11 16:18:03 -04:00
parent e1f44a09fa
commit 1a4bf3abcd
2 changed files with 17 additions and 4 deletions

View file

@ -113,6 +113,10 @@ There is nothing here with a lock!
Throw what? Throw what?
> attack
There is nothing here to attack.
> unlock chain > unlock chain
I see no chain here. I see no chain here.
@ -125,6 +129,14 @@ I see no urn here.
Don't be ridiculous! Don't be ridiculous!
> off keys
I'm afraid I don't understand.
> eat food
Thank you, it was delicious!
> drink blood > drink blood
I see no blood here. I see no blood here.
@ -194,8 +206,6 @@ There are some keys on the ground here.
There is a lamp shining nearby. There is a lamp shining nearby.
There is food here.
There is a bottle of water here. There is a bottle of water here.
> fuck > fuck
@ -212,7 +222,7 @@ Okay, "BOO".
> score > score
You have garnered 32 out of a possible 430 points, using 39 turns. You have garnered 32 out of a possible 430 points, using 42 turns.
> quit > quit
@ -222,7 +232,7 @@ Do you really want to quit now?
OK OK
You scored 32 out of a possible 430, using 40 turns. You scored 32 out of a possible 430, using 43 turns.
You are obviously a rank amateur. Better luck next time. You are obviously a rank amateur. Better luck next time.

View file

@ -22,9 +22,12 @@ throw knife
lock lock
unlock unlock
throw throw
attack
unlock chain unlock chain
fill urn fill urn
eat keys eat keys
off keys
eat food
drink blood drink blood
brief brief
on on