Create a cheater to test strange save/resume cases.

Patch due to Aaron Traas, but needed modification because of code
drift since submission.
This commit is contained in:
Eric S. Raymond 2017-06-26 15:03:37 -04:00
parent 5581175840
commit d6cb6f0d8d
10 changed files with 124 additions and 10 deletions

24
tests/cheatresume.chk Normal file
View file

@ -0,0 +1,24 @@
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.
> resume
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.
Now let's see you do it without suspending in mid-Adventure.
You scored 10031 out of a possible 430, using 0 turn.
You just went off my scale!!
To achieve the next higher rating would be a neat trick!
Congratulations!!