From 606b590c1e7205e678288c8ad800aba1f3c2edeb Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 24 Jun 2017 08:06:42 -0400 Subject: [PATCH] Extend test coverage of vending-machine actions. --- tests/vending.chk | 15 ++++++++++++++- tests/vending.log | 3 +++ 2 files changed, 17 insertions(+), 1 deletion(-) 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 -- 2.31.1