From df422fe2ed5cffd5786952c67438d35882d844a6 Mon Sep 17 00:00:00 2001 From: NHOrus Date: Wed, 5 Jul 2017 19:12:05 +0300 Subject: [PATCH] Test cover all of discard --- tests/defeat.chk | 19 +++++++++++++++---- tests/defeat.log | 2 ++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/tests/defeat.chk b/tests/defeat.chk index 297bccd..10e4fbd 100644 --- a/tests/defeat.chk +++ b/tests/defeat.chk @@ -2065,6 +2065,17 @@ OK OK +> drop emerald + +The gem fits easily into the cavity. + +The persian rug draped over your shoulder seems to wriggle for a +moment, but then subsides. + +> take emerald + +OK + > e You are wandering aimlessly through the forest. @@ -2119,6 +2130,9 @@ There are many coins here! > drop ruby +Tsk! A wizard wouldn't have to take 350 turns. This is going to cost +you a couple of points. + OK > drop sapphire @@ -2127,9 +2141,6 @@ OK > drop amber -Tsk! A wizard wouldn't have to take 350 turns. This is going to cost -you a couple of points. - OK > drop rug @@ -2964,7 +2975,7 @@ There is a loud explosion, and a twenty-foot hole appears in the far wall, burying the snakes in the rubble. A river of molten lava pours in through the hole, destroying everything in its path, including you! -You scored 399 out of a possible 430, using 471 turns. +You scored 399 out of a possible 430, using 473 turns. Your score puts you in Master Adventurer Class B. diff --git a/tests/defeat.log b/tests/defeat.log index f7f72ad..fb29fc3 100644 --- a/tests/defeat.log +++ b/tests/defeat.log @@ -348,6 +348,8 @@ drop ruby take rug drop bottle take ruby +drop emerald +take emerald e s e -- 2.31.1