Improve test coverage

This commit is contained in:
Eric S. Raymond 2017-06-18 15:50:52 -04:00
parent 67bf87eda0
commit 83330fc0fd
4 changed files with 83 additions and 78 deletions

View file

@ -60,15 +60,15 @@ There is a small wicker cage discarded nearby.
OK OK
> w > go west
You're in debris room. You're in debris room.
> w > go west
You are in an awkward sloping east/west canyon. You are in an awkward sloping east/west canyon.
> w > go west
You are in a splendid chamber thirty feet high. The walls are frozen 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 rivers of orange stone. An awkward canyon and a good passage exit
@ -88,7 +88,7 @@ OK
OK OK
> w > go west
At your feet is a small pit breathing traces of white mist. An east At your feet is a small pit breathing traces of white mist. An east
passage ends here except for a small crack leading on. passage ends here except for a small crack leading on.
@ -159,7 +159,7 @@ OK
OK OK
> w > go west
You are in the west side chamber of the Hall of the Mountain King. You are in the west side chamber of the Hall of the Mountain King.
A passage continues west and up here. A passage continues west and up here.
@ -309,7 +309,7 @@ There is a little axe here.
OK OK
> w > go west
You are in a secret canyon which exits to the north and east. You are in a secret canyon which exits to the north and east.
@ -438,7 +438,7 @@ You're in front of building.
You are in a valley in the forest beside a stream tumbling along a You are in a valley in the forest beside a stream tumbling along a
rocky bed. rocky bed.
> w > go west
You are wandering aimlessly through the forest. You are wandering aimlessly through the forest.
@ -574,7 +574,7 @@ You're in Hall of Mists.
Rough stone steps lead up the dome. Rough stone steps lead up the dome.
> w > go west
You are on the east bank of a fissure slicing clear across the hall. 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. The mist is quite thick here, and the fissure is too wide to jump.
@ -599,7 +599,9 @@ A crystal bridge now spans the fissure.
OK OK
> w > go west
If you prefer, simply type w rather than west.
There is a threatening little dwarf in the room with you! There is a threatening little dwarf in the room with you!
@ -611,7 +613,10 @@ 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 continues west and another goes north. To the south is a little
passage 6 feet off the floor. passage 6 feet off the floor.
> w > go west
You don't have to say "go" every time; just specify a direction or, if
it's nearby, name the place to which you wish to move.
There is a threatening little dwarf in the room with you! There is a threatening little dwarf in the room with you!
@ -619,7 +624,7 @@ You are at the east end of a very long hall apparently without side
chambers. To the east a low wide crawl slants up. To the north a chambers. To the east a low wide crawl slants up. To the north a
round two foot hole slants down. round two foot hole slants down.
> w > go west
There is a threatening little dwarf in the room with you! There is a threatening little dwarf in the room with you!
@ -697,7 +702,7 @@ OK
You are in a large chamber with passages to the west and north. You are in a large chamber with passages to the west and north.
> w > west
You are in a long, rough-hewn, north/south corridor. You are in a long, rough-hewn, north/south corridor.
@ -930,7 +935,7 @@ You're at west end of Twopit Room.
The top of a 12-foot-tall beanstalk is poking out of the west pit. The top of a 12-foot-tall beanstalk is poking out of the west pit.
> w > west
You're in Slab Room. You're in Slab Room.
@ -1117,7 +1122,7 @@ You're at east end of Twopit Room.
There is a huge beanstalk growing out of the west pit up to the hole. There is a huge beanstalk growing out of the west pit up to the hole.
> w > west
You're at west end of Twopit Room. You're at west end of Twopit Room.
@ -1139,7 +1144,7 @@ You are in a long, narrow corridor stretching out of sight to the
west. At the eastern end is a hole through which you can see a west. At the eastern end is a hole through which you can see a
profusion of leaves. profusion of leaves.
> w > west
You are in the Giant Room. The ceiling here is too high up for your You are in the Giant Room. The ceiling here is too high up for your
lamp to show it. Cavernous passages lead east, north, and south. On lamp to show it. Cavernous passages lead east, north, and south. On
@ -1174,7 +1179,7 @@ There is a jewel-encrusted trident here!
OK OK
> w > west
You are at the top of a steep incline above a large room. You could You are at the top of a steep incline above a large room. You could
climb down here, but you would not be able to climb up. There is a climb down here, but you would not be able to climb up. There is a
@ -1199,7 +1204,7 @@ Far below, through a heavy white mist, strange splashing noises can be
heard. The mist rises up through a fissure in the ceiling. The path heard. The mist rises up through a fissure in the ceiling. The path
exits to the south and west. exits to the south and west.
> w > west
You are in an alcove. A small nw path seems to widen after a short You are in an alcove. A small nw path seems to widen after a short
distance. An extremely tight tunnel leads east. It looks like a very distance. An extremely tight tunnel leads east. It looks like a very
@ -1231,7 +1236,7 @@ There is an emerald here the size of a plover's egg!
OK OK
> w > west
You're in alcove. You're in alcove.
@ -1304,7 +1309,7 @@ A small velvet pillow lies on the floor.
OK OK
> w > west
You're in Swiss Cheese Room. You're in Swiss Cheese Room.
@ -1444,7 +1449,7 @@ You're in n/s passage above e/w passage.
You're in dirty passage. You're in dirty passage.
> w > west
You're in dusty rock room. You're in dusty rock room.
@ -1486,23 +1491,23 @@ There is an enormous oyster here with its shell tightly closed.
You're at complex junction. You're at complex junction.
> w > west
You're in Bedquilt. You're in Bedquilt.
> w > west
You're in Swiss Cheese Room. You're in Swiss Cheese Room.
There is a little axe here. There is a little axe here.
> w > west
You're at east end of Twopit Room. You're at east end of Twopit Room.
There is a huge beanstalk growing out of the west pit up to the hole. There is a huge beanstalk growing out of the west pit up to the hole.
> w > west
You are at the west end of the Twopit Room. There is a large hole in You are at the west end of the Twopit Room. There is a large hole in
the wall above the pit at this end of the room. the wall above the pit at this end of the room.
@ -1524,7 +1529,7 @@ You clamber up the plant and scurry through the hole at the top.
You're in narrow corridor. You're in narrow corridor.
> w > west
You're in Giant Room. You're in Giant Room.
@ -1550,7 +1555,7 @@ OK
You're in cavern with waterfall. You're in cavern with waterfall.
> w > west
You're at steep incline above large room. You're at steep incline above large room.
@ -1667,13 +1672,13 @@ You are being followed by a very large, tame bear.
You're at fork in path. You're at fork in path.
> w > west
You are being followed by a very large, tame bear. You are being followed by a very large, tame bear.
You're in corridor. You're in corridor.
> w > west
You are being followed by a very large, tame bear. You are being followed by a very large, tame bear.
@ -1739,7 +1744,7 @@ You're in Swiss Cheese Room.
There is a little axe here. There is a little axe here.
> w > west
You're at east end of Twopit Room. You're at east end of Twopit Room.
@ -1771,7 +1776,7 @@ There is a little axe here.
OK OK
> w > west
You are at the east end of the Twopit Room. The floor here is You are at the east end of the Twopit Room. The floor here is
littered with thin rock slabs, which make it easy to descend the pits. littered with thin rock slabs, which make it easy to descend the pits.
@ -1781,7 +1786,7 @@ wall directly over the west pit where you can't get to it.
There is a huge beanstalk growing out of the west pit up to the hole. There is a huge beanstalk growing out of the west pit up to the hole.
> w > west
You're at west end of Twopit Room. You're at west end of Twopit Room.
@ -1801,7 +1806,7 @@ You clamber up the plant and scurry through the hole at the top.
You're in narrow corridor. You're in narrow corridor.
> w > west
You're in Giant Room. You're in Giant Room.
@ -1843,7 +1848,7 @@ Your keen eye spots a severed leporine appendage lying on the ground.
There is a huge beanstalk growing out of the west pit up to the hole. There is a huge beanstalk growing out of the west pit up to the hole.
> w > west
You're in Slab Room. You're in Slab Room.
@ -1947,7 +1952,7 @@ OK
You're in front of building. You're in front of building.
> w > west
You have walked up a hill, still in the forest. The road slopes back You have walked up a hill, still in the forest. The road slopes back
down the other side of the hill. There is a building in the distance. down the other side of the hill. There is a building in the distance.
@ -2205,7 +2210,7 @@ You're in Hall of Mists.
Rough stone steps lead up the dome. Rough stone steps lead up the dome.
> w > west
Out from the shadows behind you pounces a bearded pirate! "Har, har," Out from the shadows behind you pounces a bearded pirate! "Har, har,"
he chortles, "I'll just take all this booty and hide it away with me he chortles, "I'll just take all this booty and hide it away with me
@ -2218,13 +2223,13 @@ A three foot black rod with a rusty star on an end lies nearby.
A crystal bridge now spans the fissure. A crystal bridge now spans the fissure.
> w > west
You're on west bank of fissure. You're on west bank of fissure.
A crystal bridge now spans the fissure. A crystal bridge now spans the fissure.
> w > west
You're at west end of Hall of Mists. You're at west end of Hall of Mists.
@ -2396,7 +2401,7 @@ You're in n/s passage above e/w passage.
You're in dirty passage. You're in dirty passage.
> w > west
You're in dusty rock room. You're in dusty rock room.

View file

@ -9,13 +9,13 @@ on
take rod take rod
e e
take cage take cage
w go west
w go west
w go west
drop rod drop rod
take bird take bird
take rod take rod
w go west
free bird free bird
wave rod wave rod
take necklace take necklace
@ -29,7 +29,7 @@ drop rod
drop cage drop cage
take cage take cage
take bird take bird
w go west
take coins take coins
e e
s s
@ -55,7 +55,7 @@ take silver
s s
sw sw
take axe take axe
w go west
kill dragon kill dragon
yes yes
drink blood drink blood
@ -73,7 +73,7 @@ drop rug
drop silver drop silver
out out
s s
w go west
n n
take appendage take appendage
free bird free bird
@ -95,14 +95,14 @@ s
s s
take rod take rod
up up
w go west
wave rod wave rod
drop rod drop rod
west west
take diamonds take diamonds
w go west
w go west
w go west
s s
sw sw
se se
@ -114,7 +114,7 @@ kill ogre
n n
take ruby take ruby
s s
w west
n n
n n
n n
@ -151,7 +151,7 @@ s
d d
water plant water plant
u u
w west
u u
reservoir reservoir
H'CFL H'CFL
@ -186,27 +186,27 @@ d
get oil get oil
u u
w west
d d
climb climb
w west
n n
oil door oil door
drop bottle drop bottle
n n
take trident take trident
w west
d d
se se
n n
w west
drop trident drop trident
drop ebony drop ebony
drop axe drop axe
drop lantern drop lantern
e e
take emerald take emerald
w west
take lamp take lamp
take axe take axe
take ebony take ebony
@ -219,7 +219,7 @@ throw axe
take axe take axe
e e
take pillow take pillow
w west
drop axe drop axe
ne ne
e e
@ -243,7 +243,7 @@ plugh
on on
s s
d d
w west
d d
n n
d d
@ -252,18 +252,18 @@ take pearl
u u
u u
s s
w west
w west
w west
w west
d d
climb climb
w west
get eggs get eggs
n n
take bottle take bottle
n n
w west
d d
sw sw
u u
@ -282,8 +282,8 @@ e
take spices take spices
drop keys drop keys
fork fork
w west
w west
sw sw
free bear free bear
inven inven
@ -292,17 +292,17 @@ sw
d d
se se
se se
w west
d d
get oil get oil
up up
e e
take axe take axe
w west
w west
d d
climb climb
w west
fee fee
fie fie
foe foe
@ -311,7 +311,7 @@ take eggs
s s
d d
u u
w west
u u
s s
e e
@ -328,7 +328,7 @@ take rug
take ruby take ruby
take emerald take emerald
out out
w west
n n
n n
n n
@ -362,9 +362,9 @@ on
s s
s s
u u
w west
w west
w west
s s
e e
s s
@ -391,7 +391,7 @@ plugh
on on
s s
d d
w west
d d
e e
take magazine take magazine

View file

@ -144,7 +144,7 @@ I think I just lost my appetite.
It's not hungry (it's merely pinin' for the fjords). Besides, you It's not hungry (it's merely pinin' for the fjords). Besides, you
have no bird seed. have no bird seed.
> take bird > cage bird
The bird seemed unafraid at first, but as you approach it becomes The bird seemed unafraid at first, but as you approach it becomes
disturbed and you cannot catch it. disturbed and you cannot catch it.

View file

@ -26,7 +26,7 @@ w
listen bird listen bird
eat bird eat bird
feed bird feed bird
take bird cage bird
y y
y y
drop rod drop rod