Improved test coverage.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 11 Jun 2017 20:18:03 +0000 (16:18 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 11 Jun 2017 20:18:03 +0000 (16:18 -0400)
tests/illformed.chk
tests/illformed.log

index 790e4bcb9bcc2d1eeff827965e873c53ec4c0af6..19a64d33f0c1d156140bdc8838b7799180ad7161 100644 (file)
@@ -113,6 +113,10 @@ There is nothing here with a lock!
 
 Throw what?
 
 
 Throw what?
 
+> attack
+
+There is nothing here to attack.   
+
 > unlock chain
 
 I see no chain here.  
 > unlock chain
 
 I see no chain here.  
@@ -125,6 +129,14 @@ I see no urn here.
 
 Don't be ridiculous!
 
 
 Don't be ridiculous!
 
+> off keys
+
+I'm afraid I don't understand.
+
+> eat food
+
+Thank you, it was delicious!  
+
 > drink blood
 
 I see no blood here.  
 > drink blood
 
 I see no blood here.  
@@ -194,8 +206,6 @@ There are some keys on the ground here.
 
 There is a lamp shining nearby.    
 
 
 There is a lamp shining nearby.    
 
-There is food here. 
-
 There is a bottle of water here.   
 
 > fuck
 There is a bottle of water here.   
 
 > fuck
@@ -212,7 +222,7 @@ Okay, "BOO".
 
 > score
 
 
 > score
 
-You have garnered  32 out of a possible 430 points, using    39 turns.  
+You have garnered  32 out of a possible 430 points, using    42 turns.  
 
 > quit
 
 
 > quit
 
@@ -222,7 +232,7 @@ Do you really want to quit now?
 
 OK   
 
 
 OK   
 
-You scored  32 out of a possible 430, using   40 turns.  
+You scored  32 out of a possible 430, using   43 turns.  
 
 You are obviously a rank amateur.  Better luck next time.   
 
 
 You are obviously a rank amateur.  Better luck next time.   
 
index 979f58d7b0a3226c4898b2949d960444ba481d76..de5bf2a4be46338fef08c6d99d2c2f92831a137a 100644 (file)
@@ -22,9 +22,12 @@ throw knife
 lock
 unlock
 throw
 lock
 unlock
 throw
+attack
 unlock chain
 fill urn
 eat keys
 unlock chain
 fill urn
 eat keys
+off keys
+eat food
 drink blood
 brief
 on
 drink blood
 brief
 on