From: Eric S. Raymond Date: Sun, 11 Jun 2017 20:18:03 +0000 (-0400) Subject: Improved test coverage. X-Git-Tag: 1.1~425 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=1a4bf3abcdea13c97d117d7c5ac82d31ff41ba03;p=open-adventure.git Improved test coverage. --- diff --git a/tests/illformed.chk b/tests/illformed.chk index 790e4bc..19a64d3 100644 --- a/tests/illformed.chk +++ b/tests/illformed.chk @@ -113,6 +113,10 @@ There is nothing here with a lock! Throw what? +> attack + +There is nothing here to attack. + > unlock chain I see no chain here. @@ -125,6 +129,14 @@ I see no urn here. 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. @@ -194,8 +206,6 @@ There are some keys on the ground here. There is a lamp shining nearby. -There is food here. - There is a bottle of water here. > fuck @@ -212,7 +222,7 @@ Okay, "BOO". > 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 @@ -222,7 +232,7 @@ Do you really want to quit now? 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. diff --git a/tests/illformed.log b/tests/illformed.log index 979f58d..de5bf2a 100644 --- a/tests/illformed.log +++ b/tests/illformed.log @@ -22,9 +22,12 @@ throw knife lock unlock throw +attack unlock chain fill urn eat keys +off keys +eat food drink blood brief on