From: Eric S. Raymond Date: Sat, 3 Jun 2017 15:27:24 +0000 (-0400) Subject: Test for more unusual cases. X-Git-Tag: 0.90~25 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=6f17b31b850729a62046a8046f3647c7758ad594;p=open-adventure.git Test for more unusual cases. --- diff --git a/tests/illformed.chk b/tests/illformed.chk index d960af5..5b41e79 100644 --- a/tests/illformed.chk +++ b/tests/illformed.chk @@ -1,6 +1,12 @@ Welcome to Adventure!! Would you like instructions? +> foo + +Please answer the question. + +Welcome to Adventure!! Would you like instructions? + > n You are standing at the end of a road before a small brick building. @@ -12,6 +18,20 @@ Seed set to 1801426495 You're in front of building. +> eat + +Eat what? + +> drink + +You have taken a drink from the stream. The water tastes strongly of +minerals, but is not unpleasant. It is extremely cold. + +> find keys + +I can only tell you what you see as you move about and manipulate +things. I cannot tell you where remote things are. + > in You are inside a building, a well house for a large spring. @@ -24,6 +44,18 @@ There is food here. There is a bottle of water here. +> find keys + +I believe what you want is right here with you. + +> find foo + +Nothing happens. + +> find bar + +Sorry, I don't know the word "BAR". + > carry Carry what? @@ -68,6 +100,11 @@ Don't be ridiculous! I see no blood here. +> brief + +Okay, from now on I'll only describe a place in full the first time +you come to it. To get the full description, say "look". + > quit Do you really want to quit now? @@ -78,7 +115,7 @@ OK > score -You have garnered 32 out of a possible 430 points, using 14 turns. +You have garnered 32 out of a possible 430 points, using 21 turns. > quit @@ -88,7 +125,7 @@ Do you really want to quit now? OK -You scored 32 out of a possible 430, using 15 turns. +You scored 32 out of a possible 430, using 22 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/illformed.log b/tests/illformed.log index 9c9f6a3..c31f389 100644 --- a/tests/illformed.log +++ b/tests/illformed.log @@ -1,7 +1,14 @@ ## Test for various cases not found in walkthroughs. +foo n seed 1801426495 +eat +drink +find keys in +find keys +find foo +find bar carry blast throw axe @@ -13,6 +20,7 @@ unlock chain fill urn eat keys drink blood +brief quit n score