Improve test coverage.
This commit is contained in:
parent
46bb20deb3
commit
a48d75b999
4 changed files with 2376 additions and 0 deletions
1426
tests/fillvase.chk
Normal file
1426
tests/fillvase.chk
Normal file
File diff suppressed because it is too large
Load diff
239
tests/fillvase.log
Normal file
239
tests/fillvase.log
Normal file
|
@ -0,0 +1,239 @@
|
|||
## Fill the vase
|
||||
n
|
||||
seed 1838473132
|
||||
in
|
||||
take lamp
|
||||
xyzzy
|
||||
on
|
||||
take rod
|
||||
e
|
||||
take cage
|
||||
w
|
||||
w
|
||||
w
|
||||
drop rod
|
||||
take bird
|
||||
take rod
|
||||
w
|
||||
free bird
|
||||
wave rod
|
||||
take necklace
|
||||
drop rod
|
||||
take bird
|
||||
take rod
|
||||
d
|
||||
d
|
||||
free bird
|
||||
drop rod
|
||||
drop cage
|
||||
take cage
|
||||
take bird
|
||||
w
|
||||
take coins
|
||||
e
|
||||
s
|
||||
take jewelry
|
||||
n
|
||||
up
|
||||
s
|
||||
take gold
|
||||
n
|
||||
d
|
||||
n
|
||||
n
|
||||
plugh
|
||||
extinguish lamp
|
||||
drop coins
|
||||
drop jewelry
|
||||
drop necklace
|
||||
drop gold
|
||||
plugh
|
||||
on
|
||||
s
|
||||
take silver
|
||||
s
|
||||
sw
|
||||
take axe
|
||||
w
|
||||
kill dragon
|
||||
yes
|
||||
drink blood
|
||||
take rug
|
||||
e
|
||||
e
|
||||
up
|
||||
d
|
||||
n
|
||||
n
|
||||
off
|
||||
plugh
|
||||
inven
|
||||
drop rug
|
||||
drop silver
|
||||
out
|
||||
s
|
||||
w
|
||||
n
|
||||
take appendage
|
||||
free bird
|
||||
drop cage
|
||||
listen
|
||||
s
|
||||
s
|
||||
n
|
||||
in
|
||||
take water
|
||||
plugh
|
||||
on
|
||||
plover
|
||||
ne
|
||||
take pyramid
|
||||
s
|
||||
plover
|
||||
s
|
||||
s
|
||||
take rod
|
||||
up
|
||||
w
|
||||
wave rod
|
||||
drop rod
|
||||
west
|
||||
take diamonds
|
||||
w
|
||||
w
|
||||
w
|
||||
s
|
||||
sw
|
||||
se
|
||||
s
|
||||
kill machine
|
||||
s
|
||||
s
|
||||
kill ogre
|
||||
n
|
||||
take ruby
|
||||
s
|
||||
w
|
||||
n
|
||||
n
|
||||
n
|
||||
nw
|
||||
d
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
e
|
||||
throw axe
|
||||
take axe
|
||||
n
|
||||
n
|
||||
n
|
||||
off
|
||||
plugh
|
||||
drop ruby
|
||||
drop diamonds
|
||||
drop pyramid
|
||||
plugh
|
||||
on
|
||||
s
|
||||
s
|
||||
u
|
||||
n
|
||||
n
|
||||
d
|
||||
bedquilt
|
||||
throw axe
|
||||
take axe
|
||||
slab
|
||||
s
|
||||
d
|
||||
water plant
|
||||
u
|
||||
w
|
||||
u
|
||||
reservoir
|
||||
H'CFL
|
||||
n
|
||||
n
|
||||
nw
|
||||
u
|
||||
u
|
||||
u
|
||||
u
|
||||
ne
|
||||
take ebony
|
||||
sw
|
||||
d
|
||||
d
|
||||
d
|
||||
d
|
||||
d
|
||||
take water
|
||||
s
|
||||
s
|
||||
s
|
||||
s
|
||||
d
|
||||
s
|
||||
d
|
||||
water plant
|
||||
u
|
||||
drop appendage
|
||||
e
|
||||
d
|
||||
get oil
|
||||
|
||||
u
|
||||
w
|
||||
d
|
||||
climb
|
||||
w
|
||||
n
|
||||
oil door
|
||||
drop bottle
|
||||
n
|
||||
take trident
|
||||
w
|
||||
d
|
||||
se
|
||||
n
|
||||
w
|
||||
drop trident
|
||||
drop ebony
|
||||
drop axe
|
||||
drop lantern
|
||||
e
|
||||
take emerald
|
||||
w
|
||||
take lamp
|
||||
take axe
|
||||
take ebony
|
||||
take trident
|
||||
nw
|
||||
s
|
||||
take vase
|
||||
se
|
||||
throw axe
|
||||
take axe
|
||||
e
|
||||
take pillow
|
||||
w
|
||||
drop axe
|
||||
ne
|
||||
e
|
||||
n
|
||||
open clam
|
||||
s
|
||||
u
|
||||
e
|
||||
u
|
||||
n
|
||||
off
|
||||
plugh
|
||||
out
|
||||
# Everything above this from endgame428
|
||||
inven
|
||||
stream
|
||||
read vase
|
||||
fill vase
|
600
tests/mazehint.chk
Normal file
600
tests/mazehint.chk
Normal file
|
@ -0,0 +1,600 @@
|
|||
|
||||
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 1924231168
|
||||
Seed set to 1924231168
|
||||
|
||||
You're in front of building.
|
||||
|
||||
> seed 1071883378
|
||||
Seed set to 1071883378
|
||||
|
||||
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
|
||||
|
||||
> xyzzy
|
||||
|
||||
>>Foof!<<
|
||||
|
||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
||||
|
||||
> 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
|
||||
|
||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
||||
|
||||
> on
|
||||
|
||||
Your lamp is now on.
|
||||
|
||||
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".
|
||||
|
||||
> 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.
|
||||
|
||||
> drop rod
|
||||
|
||||
OK
|
||||
|
||||
> take bird
|
||||
|
||||
OK
|
||||
|
||||
> take jade
|
||||
|
||||
OK
|
||||
|
||||
> e
|
||||
|
||||
You're in bird chamber.
|
||||
|
||||
> e
|
||||
|
||||
You are in an awkward sloping east/west canyon.
|
||||
|
||||
> e
|
||||
|
||||
You're in debris room.
|
||||
|
||||
> off
|
||||
|
||||
Your lamp is now off.
|
||||
|
||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
||||
|
||||
> xyzzy
|
||||
|
||||
>>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 jade
|
||||
|
||||
OK
|
||||
|
||||
> xyzzy
|
||||
|
||||
>>Foof!<<
|
||||
|
||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
||||
|
||||
> on
|
||||
|
||||
Your lamp is now on.
|
||||
|
||||
You're in debris room.
|
||||
|
||||
> w
|
||||
|
||||
You are in an awkward sloping east/west canyon.
|
||||
|
||||
> w
|
||||
|
||||
You're in bird chamber.
|
||||
|
||||
> w
|
||||
|
||||
You're at top of small pit.
|
||||
|
||||
A three foot black rod with a rusty star on an end lies nearby.
|
||||
|
||||
Rough stone steps lead down the pit.
|
||||
|
||||
> 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
|
||||
|
||||
> ew
|
||||
|
||||
Sorry, I don't know the word "EW".
|
||||
|
||||
> w
|
||||
|
||||
You are on the west side of the fissure in the Hall of Mists.
|
||||
|
||||
There are diamonds here!
|
||||
|
||||
A crystal bridge now spans the fissure.
|
||||
|
||||
> w
|
||||
|
||||
You are at the west end of the Hall of Mists. A low wide crawl
|
||||
continues west and another goes north. To the south is a little
|
||||
passage 6 feet off the floor.
|
||||
|
||||
> s
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> s
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> s
|
||||
|
||||
Dead end
|
||||
|
||||
> n
|
||||
|
||||
There is no way to go that direction.
|
||||
|
||||
Dead end
|
||||
|
||||
> look
|
||||
|
||||
Sorry, but I am not allowed to give more detail. I will repeat the
|
||||
long description of your location.
|
||||
|
||||
Dead end
|
||||
|
||||
> w
|
||||
|
||||
There is no way to go that direction.
|
||||
|
||||
Dead end
|
||||
|
||||
> e
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> e
|
||||
|
||||
Dead end
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> n
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> n
|
||||
|
||||
There is no way to go that direction.
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> sw
|
||||
|
||||
There is no way to go that direction.
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> up
|
||||
|
||||
There is no way to go that direction.
|
||||
|
||||
A little dwarf just walked around a corner, saw you, threw a little
|
||||
axe at you which missed, cursed, and ran away.
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
There is a little axe here.
|
||||
|
||||
> take axe
|
||||
|
||||
OK
|
||||
|
||||
> e
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> e
|
||||
|
||||
Dead end
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
There is a threatening little dwarf in the room with you!
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> throw axe
|
||||
|
||||
You attack a little dwarf, but he dodges out of the way.
|
||||
|
||||
There is a threatening little dwarf in the room with you!
|
||||
|
||||
One sharp nasty knife is thrown at you!
|
||||
|
||||
It misses!
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
There is a little axe here.
|
||||
|
||||
> take axe
|
||||
|
||||
OK
|
||||
|
||||
> w
|
||||
|
||||
There is a threatening little dwarf in the room with you!
|
||||
|
||||
One sharp nasty knife is thrown at you!
|
||||
|
||||
It misses!
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
There is a threatening little dwarf in the room with you!
|
||||
|
||||
One sharp nasty knife is thrown at you!
|
||||
|
||||
It misses!
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
There is a threatening little dwarf in the room with you!
|
||||
|
||||
One sharp nasty knife is thrown at you!
|
||||
|
||||
It misses!
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
There is a threatening little dwarf in the room with you!
|
||||
|
||||
One sharp nasty knife is thrown at you!
|
||||
|
||||
It misses!
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> throw axe
|
||||
|
||||
You attack a little dwarf, but he dodges out of the way.
|
||||
|
||||
There is a threatening little dwarf in the room with you!
|
||||
|
||||
One sharp nasty knife is thrown at you!
|
||||
|
||||
It misses!
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
There is a little axe here.
|
||||
|
||||
> take axe
|
||||
|
||||
OK
|
||||
|
||||
> throw axe
|
||||
|
||||
You attack a little dwarf, but he dodges out of the way.
|
||||
|
||||
There is a threatening little dwarf in the room with you!
|
||||
|
||||
One sharp nasty knife is thrown at you!
|
||||
|
||||
It misses!
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
There is a little axe here.
|
||||
|
||||
> thake axe
|
||||
|
||||
Sorry, I don't know the word "THAKE".
|
||||
|
||||
> take axe
|
||||
|
||||
OK
|
||||
|
||||
> throw axe
|
||||
|
||||
You killed a little dwarf. The body vanishes in a cloud of greasy
|
||||
black smoke.
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
There is a little axe here.
|
||||
|
||||
> taje axe
|
||||
|
||||
Sorry, I don't know the word "TAJE".
|
||||
|
||||
> take axe
|
||||
|
||||
OK
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> w
|
||||
|
||||
You are in a maze of twisty little passages, all alike.
|
||||
|
||||
> inven
|
||||
|
||||
You are currently holding the following:
|
||||
Brass lantern
|
||||
Wicker cage
|
||||
Little bird in cage
|
||||
Dwarf's axe
|
||||
|
||||
|
||||
You scored 75 out of a possible 430, using 108 turns.
|
||||
|
||||
Your score qualifies you as a novice class adventurer.
|
||||
|
||||
To achieve the next higher rating, you need 46 more points.
|
111
tests/mazehint.log
Normal file
111
tests/mazehint.log
Normal file
|
@ -0,0 +1,111 @@
|
|||
n
|
||||
seed 1924231168
|
||||
seed 1071883378
|
||||
in
|
||||
take lamp
|
||||
xyzzy
|
||||
take rod
|
||||
e
|
||||
take cage
|
||||
w
|
||||
on
|
||||
w
|
||||
w
|
||||
drop rod
|
||||
take bird
|
||||
take rod
|
||||
w
|
||||
free bird
|
||||
wave rod
|
||||
drop rod
|
||||
take bird
|
||||
take jade
|
||||
e
|
||||
e
|
||||
e
|
||||
off
|
||||
xyzzy
|
||||
drop jade
|
||||
xyzzy
|
||||
on
|
||||
w
|
||||
w
|
||||
w
|
||||
take rod
|
||||
d
|
||||
w
|
||||
wave rod
|
||||
drop rod
|
||||
ew
|
||||
w
|
||||
w
|
||||
s
|
||||
s
|
||||
s
|
||||
n
|
||||
look
|
||||
w
|
||||
e
|
||||
e
|
||||
w
|
||||
n
|
||||
n
|
||||
sw
|
||||
up
|
||||
take axe
|
||||
e
|
||||
e
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
throw axe
|
||||
take axe
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
throw axe
|
||||
take axe
|
||||
throw axe
|
||||
thake axe
|
||||
take axe
|
||||
throw axe
|
||||
taje axe
|
||||
take axe
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
w
|
||||
inven
|
Loading…
Add table
Add a link
Reference in a new issue