From: Eric S. Raymond Date: Sat, 24 Jun 2017 12:06:42 +0000 (-0400) Subject: Extend test coverage of vending-machine actions. X-Git-Tag: 1.1~141 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=606b590c1e7205e678288c8ad800aba1f3c2edeb;p=open-adventure.git Extend test coverage of vending-machine actions. --- diff --git a/tests/vending.chk b/tests/vending.chk index 27a90da..f43963b 100644 --- a/tests/vending.chk +++ b/tests/vending.chk @@ -287,8 +287,21 @@ OK OK +> take machine -You scored 75 out of a possible 430, using 52 turns. +You can't be serious! + +> kill machine + +As you strike the vending machine, it pivots backward along with a +section of wall, revealing a dark passage leading south. + +> attack machine + +The vending machine swings back to block the passage. + + +You scored 75 out of a possible 430, using 55 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/vending.log b/tests/vending.log index 410cb50..99826fd 100644 --- a/tests/vending.log +++ b/tests/vending.log @@ -53,3 +53,6 @@ drop coins take batteries read machine throw batteries +take machine +kill machine +attack machine