From: NHOrus Date: Thu, 15 Jun 2017 06:49:29 +0000 (+0300) Subject: Improve test coverage X-Git-Tag: 1.1~301 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F81%2Fhead;p=open-adventure.git Improve test coverage --- 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