Add simple tests of save and resume.

This commit is contained in:
Jason S. Ninneman 2017-06-05 19:20:39 -07:00
parent acc08b8a5c
commit 990be32ac6
4 changed files with 67 additions and 0 deletions

27
tests/saveresume.1.chk Normal file
View file

@ -0,0 +1,27 @@
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 1240742801
Seed set to 1240742801
You're in front of building.
> save
I can suspend your Adventure for you so that you can resume later, but
it will cost you 5 points.
Is this acceptable?
> y
OK
File name:
To resume your Adventure, start a new game and then say "RESUME".