From 98bf1bfcddfbb1e1de9f86caefc4484ff4022ea9 Mon Sep 17 00:00:00 2001 From: NHOrus Date: Thu, 15 Jun 2017 09:49:29 +0300 Subject: [PATCH] Improve test coverage --- tests/lockchain.chk | 10 +++++++++- tests/lockchain.log | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/lockchain.chk b/tests/lockchain.chk index aa634e6..1216bb7 100644 --- a/tests/lockchain.chk +++ b/tests/lockchain.chk @@ -256,6 +256,10 @@ A huge green fierce dragon bars the way! The dragon is sprawled out on a persian rug!! +> feed dragon + +There's nothing here it wants to eat (except perhaps you). + > kill dragon With what? Your bare hands? @@ -1628,6 +1632,10 @@ mist. A notice posted on the bridge reads, "Stop! Pay troll!" A burly troll stands by the bridge and insists you throw him a treasure before you may cross. +> feed troll + +Gluttony is not one of the troll's vices. Avarice, however, is. + > toss eggs The troll catches your treasure and scurries away out of sight. @@ -1699,7 +1707,7 @@ Glistening pearl You are being followed by a very large, tame bear. -You scored 239 out of a possible 430, using 293 turns. +You scored 239 out of a possible 430, using 295 turns. You may now consider yourself a "Seasoned Adventurer". diff --git a/tests/lockchain.log b/tests/lockchain.log index 47b27c2..e67c83f 100644 --- a/tests/lockchain.log +++ b/tests/lockchain.log @@ -46,6 +46,7 @@ take jewelry n sw w +feed dragon kill dragon yes drink blood @@ -284,6 +285,7 @@ w d sw u +feed troll toss eggs ne ne -- 2.31.1