Improve test coverage.
This commit is contained in:
parent
00514b0793
commit
2622a9835a
2 changed files with 58 additions and 0 deletions
51
tests/pitfall.chk
Normal file
51
tests/pitfall.chk
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
|
||||||
|
Welcome to Adventure!! Would you like instructions?
|
||||||
|
|
||||||
|
> n
|
||||||
|
|
||||||
|
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 780351908
|
||||||
|
Seed set to 780351908
|
||||||
|
|
||||||
|
You're in front of building.
|
||||||
|
|
||||||
|
> in
|
||||||
|
|
||||||
|
You are inside a building, a well house for a large spring.
|
||||||
|
|
||||||
|
There are some keys on the ground here.
|
||||||
|
|
||||||
|
There is a shiny brass lamp nearby.
|
||||||
|
|
||||||
|
There is food here.
|
||||||
|
|
||||||
|
There is a bottle of water here.
|
||||||
|
|
||||||
|
> xyzzy
|
||||||
|
|
||||||
|
>>Foof!<<
|
||||||
|
|
||||||
|
It is now pitch dark. If you proceed you will likely fall into a pit.
|
||||||
|
|
||||||
|
> s
|
||||||
|
|
||||||
|
There is no way to go that direction.
|
||||||
|
|
||||||
|
You fell into a pit and broke every bone in your body!
|
||||||
|
|
||||||
|
Oh dear, you seem to have gotten yourself killed. I might be able to
|
||||||
|
help you out, but I've never really done this before. Do you want me
|
||||||
|
to try to reincarnate you?
|
||||||
|
|
||||||
|
> n
|
||||||
|
|
||||||
|
OK
|
||||||
|
|
||||||
|
You scored 26 out of a possible 430, using 3 turns.
|
||||||
|
|
||||||
|
You are obviously a rank amateur. Better luck next time.
|
||||||
|
|
||||||
|
To achieve the next higher rating, you need 20 more points.
|
7
tests/pitfall.log
Normal file
7
tests/pitfall.log
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
## Death by pitfall
|
||||||
|
n
|
||||||
|
seed 780351908
|
||||||
|
in
|
||||||
|
xyzzy
|
||||||
|
s
|
||||||
|
n
|
Loading…
Add table
Add a link
Reference in a new issue