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?
> attack
There is nothing here to attack.
> unlock chain
I see no chain here.
@ -125,6 +129,14 @@ I see no urn here.
Don't be ridiculous!
> off keys
I'm afraid I don't understand.
> eat food
Thank you, it was delicious!
> drink blood
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 food here.
There is a bottle of water here.
> fuck
@ -212,7 +222,7 @@ Okay, "BOO".
> 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
@ -222,7 +232,7 @@ Do you really want to quit now?
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.

View file

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