Test coverage - Almost all of score.c
[open-adventure.git] / tests / illformed.chk
index 52ff492058fb0ab9b141cb0725d1017639873e93..4ee86fd3c62b9658c6e4f31d7b148cf72d2a668a 100644 (file)
@@ -31,21 +31,108 @@ Seed set to 1801426495
 
 You're in front of building.
 
+> eat grate
+
+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.
+
+> throw food
+
+You aren't carrying it!
+
+> nothing food
+
+OK
+
+> calm food
+
+I'm game.  Would you care to explain how?
+
+> walk food
+
+Where?
+
+> score food
+
+Huh?
+
+> foo food
+
+I don't know how.
+
+> brief food
+
+On what?
+
+> blast food
+
+Blasting requires dynamite.
+
+> suspend food
+
+Huh?
+
+> resume food
+
+Huh?
+
+> out
+
+You're in front of building.
+
+> stream
+
+You are in a valley in the forest beside a stream tumbling along a
+rocky bed.
+
+> lock
+
+There is nothing here with a lock!
+
+> take water
+
+You have nothing in which to carry it.
+
+> building
+
+You're in front of building.
+
 > cave
 
 I don't know where the cave is, but hereabouts no stream can run on
 the surface for long.  I would try the stream.
 
-You're in front of building.
+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.
 
 > enter stream
 
 Your feet are now wet.
 
+> try three words
+
+Please stick to 1- and 2-word commands.
+
 > listen
 
 The stream is gurgling placidly.
 
+> carry
+
+Carry what?
+
 > forward
 
 I am unsure how you are facing.  Use compass points or nearby objects.
@@ -61,6 +148,10 @@ Eat what?
 You have taken a drink from the stream.  The water tastes strongly of
 minerals, but is not unpleasant.  It is extremely cold.
 
+> throw keys
+
+I see no keys here.
+
 > find keys
 
 I can only tell you what you see as you move about and manipulate
@@ -77,7 +168,7 @@ OK
 
 > in
 
-You are inside a building, a well house for a large spring.
+You're inside building.
 
 There are some keys on the ground here.
 
@@ -119,6 +210,18 @@ Carry what?
 
 Blasting requires dynamite.
 
+> take bottle
+
+OK
+
+> drink water
+
+The bottle of water is now empty.
+
+> fill bottle
+
+Your bottle is now full of water.
+
 > throw axe
 
 I see no axe here.
@@ -155,6 +258,10 @@ I see no urn here.
 
 Don't be ridiculous!
 
+> discard keys
+
+You aren't carrying it!
+
 > drink keys
 
 Don't be ridiculous!
@@ -179,10 +286,30 @@ OK
 
 I'm game.  Would you care to explain how?
 
+> fly keys
+
+I'm game.  Would you care to explain how?
+
+> pour keys
+
+You can't pour that.
+
 > throw keys
 
 OK
 
+> foo up
+
+There is no way to go that direction.
+
+You're inside building.
+
+There are some keys on the ground here.
+
+There is a shiny brass lamp nearby.
+
+There is food here.
+
 > eat food
 
 Thank you, it was delicious!
@@ -216,6 +343,14 @@ I'm afraid I don't understand.
 
 What do you want to do with the grate?
 
+> pour bottle
+
+Your bottle is empty and the ground is wet.
+
+> fill bottle
+
+Your bottle is now full of water.
+
 > building
 
 I don't know how to apply that word here.
@@ -226,12 +361,14 @@ There are some keys on the ground here.
 
 There is a shiny brass lamp nearby.
 
-There is a bottle of water here.
-
 > on
 
 Your lamp is now on.
 
+> pour bottle
+
+Your bottle is empty and the ground is wet.
+
 > xyzzy
 
 >>Foof!<<
@@ -288,8 +425,6 @@ There are some keys on the ground here.
 
 There is a lamp shining nearby.
 
-There is a bottle of water here.
-
 > fuck
 
 Watch it!
@@ -308,9 +443,9 @@ Okay, "BOO".
 
 > score
 
-You have garnered 27 out of a possible 430 points, using 58 turns.
+You have garnered 27 out of a possible 430 points, using 87 turns.
 
-> quit bottle
+> quit keys
 
 Huh?
 
@@ -322,7 +457,7 @@ Do you really want to quit now?
 
 OK
 
-You scored 27 out of a possible 430, using 60 turns.
+You scored 27 out of a possible 430, using 89 turns.
 
 You are obviously a rank amateur.  Better luck next time.