From 854b9b0abdb829e28306ff94c11c3a4734f99dc1 Mon Sep 17 00:00:00 2001 From: Aaron Traas Date: Sun, 2 Jul 2017 21:32:47 -0400 Subject: [PATCH] Coverage -- intransitive attack --- tests/carrybird.chk | 6 +++++- tests/carrybird.log | 4 +++- tests/vending.chk | 6 +++++- tests/vending.log | 1 + 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/tests/carrybird.chk b/tests/carrybird.chk index 2ed2f2c..64ffe64 100644 --- a/tests/carrybird.chk +++ b/tests/carrybird.chk @@ -70,8 +70,12 @@ A cheerful little bird is sitting here singing. You can catch the bird, but you cannot carry it. +> attack -You scored 32 out of a possible 430, using 9 turns. +The little bird is now dead. Its body disappears. + + +You scored 32 out of a possible 430, using 10 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/carrybird.log b/tests/carrybird.log index 4418972..5f79548 100644 --- a/tests/carrybird.log +++ b/tests/carrybird.log @@ -1,4 +1,4 @@ -## Try to carry bird without cage +## Try to carry bird without cage, then kill bird n seed 1071883378 in @@ -10,3 +10,5 @@ eat grate w w take bird +# test intransitive attack on bird +attack \ No newline at end of file diff --git a/tests/vending.chk b/tests/vending.chk index f43963b..001aa37 100644 --- a/tests/vending.chk +++ b/tests/vending.chk @@ -296,12 +296,16 @@ You can't be serious! As you strike the vending machine, it pivots backward along with a section of wall, revealing a dark passage leading south. +> attack + +Attac what? + > attack machine The vending machine swings back to block the passage. -You scored 75 out of a possible 430, using 55 turns. +You scored 75 out of a possible 430, using 56 turns. Your score qualifies you as a novice class adventurer. diff --git a/tests/vending.log b/tests/vending.log index 99826fd..883a3c7 100644 --- a/tests/vending.log +++ b/tests/vending.log @@ -55,4 +55,5 @@ read machine throw batteries take machine kill machine +attack attack machine -- 2.31.1