Improve test coverage.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 16 Jun 2017 13:31:37 +0000 (09:31 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 16 Jun 2017 13:31:37 +0000 (09:31 -0400)
tests/lockchain.chk
tests/lockchain.log
tests/weirdbird.chk
tests/weirdbird.log

index 1284a8c4fd0d37328fa9266fb954163f708353b6..4dad3140f21acea925595cdfbea33fe008d3bc08 100644 (file)
@@ -1592,6 +1592,10 @@ The way north leads through a massive, rusty, iron door.
 
 You can't carry anything more.  You'll have to drop something first.
 
 
 You can't carry anything more.  You'll have to drop something first.
 
+> pour bottle
+
+Bottl what?
+
 > n
 
 You're in cavern with waterfall.
 > n
 
 You're in cavern with waterfall.
@@ -1663,7 +1667,7 @@ The bear is locked to the wall with a golden chain!
 
 The axe misses and lands near the bear where you can't get at it.
 
 
 The axe misses and lands near the bear where you can't get at it.
 
-> feed bear
+> throw food
 
 The bear eagerly wolfs down your food, after which he seems to calm
 down considerably and even becomes rather friendly.
 
 The bear eagerly wolfs down your food, after which he seems to calm
 down considerably and even becomes rather friendly.
@@ -1699,7 +1703,7 @@ Glistening pearl
 You are being followed by a very large, tame bear.
 
 
 You are being followed by a very large, tame bear.
 
 
-You scored 225 out of a possible 430, using 293 turns.
+You scored 225 out of a possible 430, using 294 turns.
 
 You may now consider yourself a "Seasoned Adventurer".
 
 
 You may now consider yourself a "Seasoned Adventurer".
 
index 26ae2d3911633e8e1449e7ddd0fb540082475f1e..d2d337cb3baadcc3c3ec324b6aba747a356ec170 100644 (file)
@@ -276,7 +276,9 @@ climb
 w
 get eggs
 n
 w
 get eggs
 n
+# Test for "Ground wet" message
 take bottle
 take bottle
+pour bottle
 n
 w
 d
 n
 w
 d
@@ -289,7 +291,7 @@ ne
 barren
 in
 throw axe
 barren
 in
 throw axe
-feed bear
+throw food
 take chain
 unlock chain
 # Also tests message from bear in inventory
 take chain
 unlock chain
 # Also tests message from bear in inventory
index d7020e49f6b3f991e074528005b4ec5070cb00e1..9dd30363afca5140b7652dfa7fc1915e96d72152 100644 (file)
@@ -96,6 +96,10 @@ It is now pitch dark.  If you proceed you will likely fall into a pit.
 
 Read what?
 
 
 Read what?
 
+> read keys
+
+I see no keys here.
+
 > on lamp
 
 Your lamp is now on.
 > on lamp
 
 Your lamp is now on.
@@ -137,7 +141,7 @@ have no bird seed.
 The little bird is now dead.  Its body disappears.
 
 
 The little bird is now dead.  Its body disappears.
 
 
-You scored 32 out of a possible 430, using 23 turns.
+You scored 32 out of a possible 430, using 24 turns.
 
 You are obviously a rank amateur.  Better luck next time.
 
 
 You are obviously a rank amateur.  Better luck next time.
 
index 64831f33f5333034478720834361d495d3ffaea0..801a991e8ad656a77e9f9c664af295159e4a5c23 100644 (file)
@@ -17,6 +17,7 @@ w
 take cage
 w
 read
 take cage
 w
 read
+read keys
 on lamp
 read
 w
 on lamp
 read
 w