Improve test coverage.

This commit is contained in:
Eric S. Raymond 2017-06-18 11:36:03 -04:00
parent 23cc7b45be
commit 957c78d0c2
8 changed files with 31 additions and 8 deletions

View file

@ -228,10 +228,26 @@ I'm game. Would you care to explain how?
I'm game. Would you care to explain how?
> pour keys
You can't pour that.
> throw keys
OK
> foo up
There is no way to go that direction.
You're inside building.
There are some keys on the ground here.
There is a shiny brass lamp nearby.
There is food here.
> eat food
Thank you, it was delicious!
@ -365,7 +381,7 @@ Okay, "BOO".
> score
You have garnered 27 out of a possible 430 points, using 72 turns.
You have garnered 27 out of a possible 430 points, using 74 turns.
> quit keys
@ -379,7 +395,7 @@ Do you really want to quit now?
OK
You scored 27 out of a possible 430, using 74 turns.
You scored 27 out of a possible 430, using 76 turns.
You are obviously a rank amateur. Better luck next time.