Fuzzed tests for two of untested hint conditions

This commit is contained in:
NHOrus 2017-07-07 22:41:53 +03:00
parent 100152c21d
commit 9100c14d2c
4 changed files with 286 additions and 0 deletions

157
tests/hint_dark.chk Normal file
View file

@ -0,0 +1,157 @@
Welcome to Adventure!! Would you like instructions?
> n
You are standing at the end of a road before a small brick building.
Around you is a forest. A small stream flows out of the building and
down a gully.
> seed 1495951709
Seed set to 1495951709
You're in front of building.
> in
You are inside a building, a well house for a large spring.
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.
> plugh
>>Foof!<<
It is now pitch dark. If you proceed you will likely fall into a pit.
> plove
>>Foof!<<
You're in a small chamber lit by an eerie green light. An extremely
narrow tunnel exits to the west. A dark corridor leads ne.
There is an emerald here the size of a plover's egg!
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
Are you trying to explore beyond the plover room?
> y
I am prepared to give you a hint, but it will cost you 5 points.
Do you want the hint?
> y
There is a way to explore that region without having to worry about
falling into a pit. None of the objects available is immediately
useful in discovering the secret.
You scored 54 out of a possible 430, using 27 turns.
Your score qualifies you as a novice class adventurer.
To achieve the next higher rating, you need 67 more points.

32
tests/hint_dark.log Normal file
View file

@ -0,0 +1,32 @@
## Elicit hint for dealing with plugh room and darkness (fuzzed)
n
seed 1495951709
in
plugh
plove
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
y
y

81
tests/hint_urn.chk Normal file
View file

@ -0,0 +1,81 @@
Welcome to Adventure!! Would you like instructions?
> n
You are standing at the end of a road before a small brick building.
Around you is a forest. A small stream flows out of the building and
down a gully.
> seed 1495951709
Seed set to 1495951709
You're in front of building.
> u
You have walked up a hill, still in the forest. The road slopes back
down the other side of the hill. There is a building in the distance.
> n
You are wandering aimlessly through the forest.
> n
You are wandering aimlessly through the forest.
> n
The forest thins out here to reveal a steep cliff. There is no way
down, but a small ledge can be seen to the west across the chasm.
A small urn is embedded in the rock.
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
> z
OK
Are you wondering what to do here?
> y
I am prepared to give you a hint, but it will cost you 2 points.
Do you want the hint?
> y
This section is quite advanced. Find the cave first.
You scored 30 out of a possible 430, using 11 turns.
You are obviously a rank amateur. Better luck next time.
To achieve the next higher rating, you need 16 more points.

16
tests/hint_urn.log Normal file
View file

@ -0,0 +1,16 @@
## Elicit hint for dealing with urn (fuzzed)
n
seed 1495951709
u
n
n
n
z
z
z
z
z
z
z
y
y