Test coverage: intransitive lock
[open-adventure.git] / tests / lockchain.chk
index c2986a72adb3a5179863d32c55139b7013e48d40..aff5e7122ac2e4a1631f6a9f73ec333844a88054 100644 (file)
@@ -45,6 +45,10 @@ at the east end of the passage.
 
 There is a small wicker cage discarded nearby.
 
 
 There is a small wicker cage discarded nearby.
 
+> lock cage
+
+It has no lock.
+
 > take cage
 
 OK
 > take cage
 
 OK
@@ -1269,6 +1273,10 @@ up.  A low hands and knees passage enters from the south.
 
 There is an enormous clam here with its shell tightly closed.
 
 
 There is an enormous clam here with its shell tightly closed.
 
+> lock
+
+Huh?
+
 > open clam
 
 A glistening pearl falls out of the clam and rolls away.  Goodness,
 > open clam
 
 A glistening pearl falls out of the clam and rolls away.  Goodness,
@@ -1709,6 +1717,10 @@ The chain is now locked.
 
 It was already locked.
 
 
 It was already locked.
 
+> attack bear
+
+The bear is confused; he only wants to be your friend.
+
 > unlock chain
 
 The chain is now unlocked.
 > unlock chain
 
 The chain is now unlocked.
@@ -1727,8 +1739,36 @@ Glistening pearl
 
 You are being followed by a very large, tame bear.
 
 
 You are being followed by a very large, tame bear.
 
+> take chain
+
+OK
+
+> out
+
+You are being followed by a very large, tame bear.
+
+You're in front of Barren Room.
+
+> lock chain
+
+There is nothing here to which the chain can be locked.
+
+> drop bear
+
+OK
+
+> back
+
+You're in Barren Room.
+
+There is a little axe here.
+
+> lock chain
+
+The chain is now locked.
+
 
 
-You scored 225 out of a possible 430, using 300 turns.
+You scored 225 out of a possible 430, using 309 turns.
 
 You may now consider yourself a "Seasoned Adventurer".
 
 
 You may now consider yourself a "Seasoned Adventurer".