YAML coverage - object messages 100% covered

This commit is contained in:
Aaron Traas 2017-07-14 11:39:54 -04:00 committed by Eric S. Raymond
parent e581c7741d
commit 040e027a71
8 changed files with 4478 additions and 2 deletions

1630
tests/axebear.chk Normal file

File diff suppressed because it is too large Load diff

274
tests/axebear.log Normal file
View file

@ -0,0 +1,274 @@
## Observe axe after throwing at bear
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
ne
e
n
open clam
s
u
e
u
n
off
plugh
drop pillow
drop vase
drop trident
drop emerald
drop ebony
take keys
take food
plugh
on
s
d
w
d
n
d
d
take pearl
u
u
s
w
w
w
w
d
climb
w
get eggs
n
take bottle
n
w
d
sw
u
toss eggs
ne
ne
barren
in
throw axe
look

View file

@ -297,6 +297,25 @@ Your keen eye spots a severed leporine appendage lying on the ground.
OK OK
> drop cage
OK
> look
Sorry, but I am not allowed to give more detail. I will repeat the
long description of your location.
You are wandering aimlessly through the forest.
There is a small wicker cage discarded nearby.
There is a little bird in the cage.
> take cage
OK
> free bird > free bird
OK OK
@ -308,7 +327,7 @@ feel something wet land on your head, but upon looking up you can see
no sign of the culprit. no sign of the culprit.
You scored 113 out of a possible 430, using 54 turns. You scored 113 out of a possible 430, using 57 turns.
Your score qualifies you as a novice class adventurer. Your score qualifies you as a novice class adventurer.

View file

@ -54,5 +54,8 @@ s
w w
n n
take appendage take appendage
drop cage
look
take cage
free bird free bird
carry bird carry bird

2152
tests/gemstates.chk Normal file

File diff suppressed because it is too large Load diff

369
tests/gemstates.log Normal file
View file

@ -0,0 +1,369 @@
## Observe amber, ruby, sapphire after state change
n
seed 1635997320
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
e
n
free bird
take bird
s
take jewelry
n
sw
w
kill dragon
yes
drink blood
take rug
e
e
n
take silver
n
off
plugh
drop jewelry
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
d
take axe
u
s
up
w
w
w
w
throw axe
take axe
w
s
sw
se
s
kill machine
s
s
kill ogre
n
take ruby
s
w
n
n
n
nw
d
e
e
e
take diamonds
e
e
drop bottle
s
take gold
n
n
n
n
off
plugh
drop gold
drop diamonds
drop pyramid
drop ruby
plugh
on
s
s
u
take water
throw axe
take axe
n
n
d
bedquilt
slab
s
d
water plant
u
w
u
reservoir
F'UNJ
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
e
d
get oil
u
w
d
climb
w
n
oil door
drop bottle
drop appendage
n
take trident
w
d
se
n
w
inven
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
e
take pillow
w
ne
e
n
open clam
s
u
e
u
s
drop axe
e
w
w
w
s
e
s
s
s
n
e
e
nw
inven
take ebony
take vase
take trident
take chest
take emerald
se
n
d
e
e
off
xyzzy
drop chest
drop ebony
drop pillow
drop vase
drop trident
take keys
take food
plugh
on
s
d
w
d
n
d
d
take pearl
u
u
s
w
w
w
w
d
climb
w
get eggs
n
take bottle
n
w
d
sw
u
toss eggs
ne
ne
barren
in
feed bear
look
take chain
unlock chain
take chain
take bear
fork
ne
e
drop keys
take spices
fork
w
w
sw
free bear
sw
sw
d
se
se
w
d
get oil
up
w
d
climb
w
fee
fie
foe
foo
take eggs
s
d
u
w
u
s
e
e
n
n
off
plugh
drop eggs
drop pearl
drop spices
drop chain
take rug
take ruby
take emerald
out
w
n
n
n
inven
drop bottle
look
take bottle
fill urn
light urn
rub urn
look
take amber
look
drop rug
drop emerald
fly rug
take sapphire
fly rug
take emerald
drop sapphire
look
take sapphire
drop ruby
look

View file

@ -2481,8 +2481,34 @@ batteries.
OK OK
> inventory
You scored 343 out of a possible 430, using 403 turns. You are currently holding the following:
Brass lantern
Dwarf's axe
Batteries
> drop batteries
OK
> look
Sorry, but I am not allowed to give more detail. I will repeat the
long description of your location.
Dead end
Some worn-out batteries have been discarded nearby.
There is a message scrawled in the dust in a flowery script, reading:
"This is not the maze where the pirate leaves his treasure chest."
There is a massive vending machine here, swung back to reveal a
southward passage.
You scored 343 out of a possible 430, using 406 turns.
Your score puts you in Master Adventurer Class C. Your score puts you in Master Adventurer Class C.

View file

@ -408,3 +408,6 @@ s
drop coins drop coins
take batteries take batteries
# Lamp dim message should follow # Lamp dim message should follow
inventory
drop batteries
look