From: Eric S. Raymond Date: Sat, 24 Jun 2017 03:30:17 +0000 (-0400) Subject: Improve test coverage. X-Git-Tag: 1.1~142 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=e8e84a24a60e05f8e2e915bbb96ac4ca4187dfee Improve test coverage. --- diff --git a/tests/vending.chk b/tests/vending.chk index 56b48bc..27a90da 100644 --- a/tests/vending.chk +++ b/tests/vending.chk @@ -267,6 +267,10 @@ Dead end There is a massive and somewhat battered vending machine here. The instructions on it read: "Drop coins here to receive fresh batteries." +> read machine + +"Drop coins here to receive fresh batteries." + > drop coins There are fresh batteries here. @@ -275,12 +279,16 @@ There are fresh batteries here. OK +> read machine + +"Drop coins here to receive fresh batteries." + > throw batteries OK -You scored 75 out of a possible 430, using 50 turns. +You scored 75 out of a possible 430, using 52 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/vending.log b/tests/vending.log index 28f1482..410cb50 100644 --- a/tests/vending.log +++ b/tests/vending.log @@ -48,6 +48,8 @@ s sw se s +read machine drop coins take batteries +read machine throw batteries