Improve test coverage.

This commit is contained in:
Eric S. Raymond 2017-06-18 10:03:40 -04:00
parent 937714f31d
commit 35a1aff8dc
4 changed files with 34 additions and 8 deletions

View file

@ -7,11 +7,6 @@ You are standing at the end of a road before a small brick building.
Around you is a forest. A small stream flows out of the building and
down a gully.
> seed 739688815
Seed set to 739688815
You're in front of building.
> seed 1071883378
Seed set to 1071883378

View file

@ -1,5 +1,5 @@
## Elicit the maze hint.
n
seed 739688815
seed 1071883378
in
take lamp

View file

@ -115,6 +115,10 @@ A three foot black rod with a rusty star on an end lies nearby.
"MAGIC WORD XYZZY"
> take rod
OK
> w
You are in an awkward sloping east/west canyon.
@ -142,6 +146,28 @@ have no bird seed.
> take bird
The bird seemed unafraid at first, but as you approach it becomes
disturbed and you cannot catch it.
Are you trying to catch the bird?
> y
I am prepared to give you a hint, but it will cost you 2 points.
Do you want the hint?
> y
Something about you seems to be frightening the bird. Perhaps you
might figure out what it is.
> drop rod
OK
> take bird
OK
> attack bird
@ -149,8 +175,8 @@ OK
The little bird is now dead. Its body disappears.
You scored 32 out of a possible 430, using 26 turns.
You scored 30 out of a possible 430, using 29 turns.
You are obviously a rank amateur. Better luck next time.
To achieve the next higher rating, you need 14 more points.
To achieve the next higher rating, you need 16 more points.

View file

@ -20,10 +20,15 @@ read
read keys
on lamp
read
take rod
w
w
listen bird
eat bird
feed bird
take bird
y
y
drop rod
take bird
attack bird