From cbf027c28b57ff9c85b0f311904839ab6f1bd6f9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 13 Jun 2017 09:26:54 -0400 Subject: [PATCH] Further increase test coverage. --- tests/illformed.chk | 20 ++++++++++++++++++-- tests/illformed.log | 4 ++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/tests/illformed.chk b/tests/illformed.chk index 8818d9e..279f06f 100644 --- a/tests/illformed.chk +++ b/tests/illformed.chk @@ -133,6 +133,22 @@ Don't be ridiculous! I'm afraid I don't understand. +> break keys + +It is beyond your power to do that. + +> wake keys + +Don't be ridiculous! + +> take keys + +OK + +> throw keys + +OK + > eat food Thank you, it was delicious! @@ -222,7 +238,7 @@ Okay, "BOO". > score -You have garnered 32 out of a possible 430 points, using 42 turns. +You have garnered 32 out of a possible 430 points, using 46 turns. > quit @@ -232,7 +248,7 @@ Do you really want to quit now? OK -You scored 32 out of a possible 430, using 43 turns. +You scored 32 out of a possible 430, using 47 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/illformed.log b/tests/illformed.log index de5bf2a..ac0b209 100644 --- a/tests/illformed.log +++ b/tests/illformed.log @@ -27,6 +27,10 @@ unlock chain fill urn eat keys off keys +break keys +wake keys +take keys +throw keys eat food drink blood brief -- 2.31.1