From: Eric S. Raymond Date: Tue, 6 Jun 2017 10:59:39 +0000 (-0400) Subject: More test coverage improvements. X-Git-Tag: 1.1~607 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=0105b04ac2237882b92824d858029ff8d58eaf6d;p=open-adventure.git More test coverage improvements. --- diff --git a/tests/endgame428.chk b/tests/endgame428.chk index 8f76e37..df1dfad 100644 --- a/tests/endgame428.chk +++ b/tests/endgame428.chk @@ -246,7 +246,7 @@ There is food here. There is a bottle of water here. -> off +> extinguish lamp Your lamp is now off. diff --git a/tests/endgame428.log b/tests/endgame428.log index a723258..8df0238 100644 --- a/tests/endgame428.log +++ b/tests/endgame428.log @@ -43,7 +43,7 @@ d n n plugh -off +extinguish lamp drop coins drop jewelry drop necklace diff --git a/tests/illformed.chk b/tests/illformed.chk index 763ea42..790e4bc 100644 --- a/tests/illformed.chk +++ b/tests/illformed.chk @@ -18,6 +18,13 @@ Seed set to 1801426495 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. + > listen The stream is gurgling placidly. @@ -137,6 +144,14 @@ Your lamp is now on. It is now pitch dark. If you proceed you will likely fall into a pit. +> take rod + +OK + +> wave rod + +Nothing happens. + > listen All is silent. @@ -197,7 +212,7 @@ Okay, "BOO". > score -You have garnered 32 out of a possible 430 points, using 36 turns. +You have garnered 32 out of a possible 430 points, using 39 turns. > quit @@ -207,7 +222,7 @@ Do you really want to quit now? OK -You scored 32 out of a possible 430, using 37 turns. +You scored 32 out of a possible 430, using 40 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/illformed.log b/tests/illformed.log index af5ced5..979f58d 100644 --- a/tests/illformed.log +++ b/tests/illformed.log @@ -2,6 +2,7 @@ foo n seed 1801426495 +cave listen forward eat @@ -28,6 +29,8 @@ drink blood brief on xyzzy +take rod +wave rod listen quit n