Test coverage -- additional coverage in actions.c
This commit is contained in:
parent
7b1eb1ec58
commit
4592a24350
6 changed files with 1535 additions and 0 deletions
311
tests/carryfreebird.chk
Normal file
311
tests/carryfreebird.chk
Normal file
|
@ -0,0 +1,311 @@
|
|||
|
||||
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 1495951709
|
||||
Seed set to 1495951709
|
||||
|
||||
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.
|
||||
|
||||
> take lamp
|
||||
|
||||
OK
|
||||
|
||||
> on
|
||||
|
||||
Your lamp is now on.
|
||||
|
||||
> xyzzy
|
||||
|
||||
>>Foof!<<
|
||||
|
||||
You are in a debris room filled with stuff washed in from the surface.
|
||||
A low wide passage with cobbles becomes plugged with mud and debris
|
||||
here, but an awkward canyon leads upward and west. In the mud someone
|
||||
has scrawled, "MAGIC WORD XYZZY".
|
||||
|
||||
A three foot black rod with a rusty star on an end lies nearby.
|
||||
|
||||
> take rod
|
||||
|
||||
OK
|
||||
|
||||
> e
|
||||
|
||||
You are crawling over cobbles in a low passage. There is a dim light
|
||||
at the east end of the passage.
|
||||
|
||||
There is a small wicker cage discarded nearby.
|
||||
|
||||
> take cage
|
||||
|
||||
OK
|
||||
|
||||
> w
|
||||
|
||||
You're in debris room.
|
||||
|
||||
> w
|
||||
|
||||
You are in an awkward sloping east/west canyon.
|
||||
|
||||
> w
|
||||
|
||||
You are in a splendid chamber thirty feet high. The walls are frozen
|
||||
rivers of orange stone. An awkward canyon and a good passage exit
|
||||
from east and west sides of the chamber.
|
||||
|
||||
A cheerful little bird is sitting here singing.
|
||||
|
||||
> drop rod
|
||||
|
||||
OK
|
||||
|
||||
> take bird
|
||||
|
||||
OK
|
||||
|
||||
> take rod
|
||||
|
||||
OK
|
||||
|
||||
> w
|
||||
|
||||
At your feet is a small pit breathing traces of white mist. An east
|
||||
passage ends here except for a small crack leading on.
|
||||
|
||||
Rough stone steps lead down the pit.
|
||||
|
||||
> free bird
|
||||
|
||||
OK
|
||||
|
||||
> wave rod
|
||||
|
||||
The bird flies about agitatedly for a moment, then disappears through
|
||||
the crack. It reappears shortly, carrying in its beak a jade
|
||||
necklace, which it drops at your feet.
|
||||
|
||||
> take jade
|
||||
|
||||
OK
|
||||
|
||||
> drop rod
|
||||
|
||||
OK
|
||||
|
||||
> take bird
|
||||
|
||||
OK
|
||||
|
||||
> take rod
|
||||
|
||||
OK
|
||||
|
||||
> d
|
||||
|
||||
You are at one end of a vast hall stretching forward out of sight to
|
||||
the west. There are openings to either side. Nearby, a wide stone
|
||||
staircase leads downward. The hall is filled with wisps of white mist
|
||||
swaying to and fro almost as if alive. A cold wind blows up the
|
||||
staircase. There is a passage at the top of a dome behind you.
|
||||
|
||||
Rough stone steps lead up the dome.
|
||||
|
||||
> w
|
||||
|
||||
You are on the east bank of a fissure slicing clear across the hall.
|
||||
The mist is quite thick here, and the fissure is too wide to jump.
|
||||
|
||||
> wave rod
|
||||
|
||||
The bird flies agitatedly about the cage.
|
||||
|
||||
A crystal bridge now spans the fissure.
|
||||
|
||||
> drop rod
|
||||
|
||||
OK
|
||||
|
||||
> e
|
||||
|
||||
You're in Hall of Mists.
|
||||
|
||||
Rough stone steps lead up the dome.
|
||||
|
||||
> n
|
||||
|
||||
You are in the Hall of the Mountain King, with passages off in all
|
||||
directions.
|
||||
|
||||
A huge green fierce snake bars the way!
|
||||
|
||||
> free bird
|
||||
|
||||
The little bird attacks the green snake, and in an astounding flurry
|
||||
drives the snake away.
|
||||
|
||||
> take bird
|
||||
|
||||
OK
|
||||
|
||||
> s
|
||||
|
||||
You are in the south side chamber.
|
||||
|
||||
There is precious jewelry here!
|
||||
|
||||
> take jewelry
|
||||
|
||||
OK
|
||||
|
||||
> n
|
||||
|
||||
You're in Hall of Mt King.
|
||||
|
||||
> sw
|
||||
|
||||
You are in a secret canyon which here runs e/w. It crosses over a
|
||||
very tight canyon 15 feet below. If you go down you may not be able
|
||||
to get back up.
|
||||
|
||||
> w
|
||||
|
||||
You are in a secret canyon which exits to the north and east.
|
||||
|
||||
A huge green fierce dragon bars the way!
|
||||
|
||||
The dragon is sprawled out on a persian rug!!
|
||||
|
||||
> kill dragon
|
||||
|
||||
With what? Your bare hands?
|
||||
|
||||
> yes
|
||||
|
||||
Congratulations! You have just vanquished a dragon with your bare
|
||||
hands! (Unbelievable, isn't it?)
|
||||
|
||||
You are in a secret canyon which exits to the north and east.
|
||||
|
||||
There is a persian rug spread out on the floor!
|
||||
|
||||
The blood-specked body of a huge green dead dragon lies to one side.
|
||||
|
||||
> drink blood
|
||||
|
||||
Your head buzzes strangely for a moment.
|
||||
|
||||
> take rug
|
||||
|
||||
OK
|
||||
|
||||
> e
|
||||
|
||||
You're in secret e/w canyon above tight canyon.
|
||||
|
||||
> e
|
||||
|
||||
You're in Hall of Mt King.
|
||||
|
||||
> n
|
||||
|
||||
You are in a low n/s passage at a hole in the floor. The hole goes
|
||||
down to an e/w passage.
|
||||
|
||||
There are bars of silver here!
|
||||
|
||||
> take silver
|
||||
|
||||
OK
|
||||
|
||||
> n
|
||||
|
||||
You are in a large room, with a passage to the south, a passage to the
|
||||
west, and a wall of broken rock to the east. There is a large "Y2" on
|
||||
a rock in the room's center.
|
||||
|
||||
> plugh
|
||||
|
||||
>>Foof!<<
|
||||
|
||||
You're inside building.
|
||||
|
||||
There are some keys on the ground here.
|
||||
|
||||
There is food here.
|
||||
|
||||
There is a bottle of water here.
|
||||
|
||||
> drop silver
|
||||
|
||||
OK
|
||||
|
||||
> drop jewelry
|
||||
|
||||
OK
|
||||
|
||||
> drop jade
|
||||
|
||||
OK
|
||||
|
||||
> drop rug
|
||||
|
||||
OK
|
||||
|
||||
> out
|
||||
|
||||
You're in front of building.
|
||||
|
||||
> s
|
||||
|
||||
You are in a valley in the forest beside a stream tumbling along a
|
||||
rocky bed.
|
||||
|
||||
> w
|
||||
|
||||
You are wandering aimlessly through the forest.
|
||||
|
||||
> n
|
||||
|
||||
You are wandering aimlessly through the forest.
|
||||
|
||||
Your keen eye spots a severed leporine appendage lying on the ground.
|
||||
|
||||
> take appendage
|
||||
|
||||
OK
|
||||
|
||||
> free bird
|
||||
|
||||
OK
|
||||
|
||||
> carry bird
|
||||
|
||||
The bird eyes you suspiciously and flutters away. A moment later you
|
||||
feel something wet land on your head, but upon looking up you can see
|
||||
no sign of the culprit.
|
||||
|
||||
|
||||
You scored 113 out of a possible 430, using 53 turns.
|
||||
|
||||
Your score qualifies you as a novice class adventurer.
|
||||
|
||||
To achieve the next higher rating, you need 8 more points.
|
Loading…
Add table
Add a link
Reference in a new issue