Improve test coverage

This commit is contained in:
NHOrus 2017-06-15 09:49:29 +03:00
parent c4c28e10db
commit 98bf1bfcdd
2 changed files with 11 additions and 1 deletions

View file

@ -256,6 +256,10 @@ A huge green fierce dragon bars the way!
The dragon is sprawled out on a persian rug!! The dragon is sprawled out on a persian rug!!
> feed dragon
There's nothing here it wants to eat (except perhaps you).
> kill dragon > kill dragon
With what? Your bare hands? 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 A burly troll stands by the bridge and insists you throw him a
treasure before you may cross. treasure before you may cross.
> feed troll
Gluttony is not one of the troll's vices. Avarice, however, is.
> toss eggs > toss eggs
The troll catches your treasure and scurries away out of sight. 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 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". You may now consider yourself a "Seasoned Adventurer".

View file

@ -46,6 +46,7 @@ take jewelry
n n
sw sw
w w
feed dragon
kill dragon kill dragon
yes yes
drink blood drink blood
@ -284,6 +285,7 @@ w
d d
sw sw
u u
feed troll
toss eggs toss eggs
ne ne
ne ne