Tests for misc and main

This commit is contained in:
NHOrus 2017-06-30 18:30:19 +03:00
parent 51a4d7bd3a
commit a48e0ff30e
4 changed files with 45 additions and 3 deletions

View file

@ -269,6 +269,10 @@ It is beyond your power to do that.
With what? Your bare hands? With what? Your bare hands?
>
Please answer the question.
> n > n
The dragon looks rather nasty. You'd best not try to get by. The dragon looks rather nasty. You'd best not try to get by.

View file

@ -49,4 +49,5 @@ w
drop bird drop bird
extinguish dragon extinguish dragon
kill dragon kill dragon
n n

View file

@ -46,6 +46,21 @@ There is food here.
There is a bottle of water here. There is a bottle of water here.
> in
I don't know in from out here. Use compass points or name something
in the general direction you want to go.
You're inside building.
There are some keys on the ground here.
There is a shiny brass lamp nearby.
There is food here.
There is a bottle of water here.
> throw food > throw food
You aren't carrying it! You aren't carrying it!
@ -78,6 +93,11 @@ On what?
Blasting requires dynamite. Blasting requires dynamite.
> find grate
I can only tell you what you see as you move about and manipulate
things. I cannot tell you where remote things are.
> light food > light food
I'm afraid I don't understand. I'm afraid I don't understand.
@ -94,6 +114,20 @@ Huh?
Huh? Huh?
> crawl
Which way?
You're inside building.
There are some keys on the ground here.
There is a shiny brass lamp nearby.
There is food here.
There is a bottle of water here.
> out > out
You're in front of building. You're in front of building.
@ -472,7 +506,7 @@ Okay, "BOO".
> score > score
You have garnered 27 out of a possible 430 points, using 94 turns. You have garnered 27 out of a possible 430 points, using 97 turns.
> z > z
@ -480,7 +514,7 @@ OK
> score > score
You have garnered 27 out of a possible 430 points, using 96 turns. You have garnered 27 out of a possible 430 points, using 99 turns.
> quit keys > quit keys
@ -494,7 +528,7 @@ Do you really want to quit now?
OK OK
You scored 27 out of a possible 430, using 98 turns. You scored 27 out of a possible 430, using 101 turns.
You are obviously a rank amateur. Better luck next time. You are obviously a rank amateur. Better luck next time.

View file

@ -4,6 +4,7 @@ y
seed 1801426495 seed 1801426495
eat grate eat grate
in in
in
throw food throw food
nothing food nothing food
calm food calm food
@ -12,10 +13,12 @@ score food
foo food foo food
brief food brief food
blast food blast food
find grate
light food light food
extinguish food extinguish food
suspend food suspend food
resume food resume food
crawl
out out
stream stream
lock lock