From: Eric S. Raymond Date: Mon, 19 Jun 2017 11:07:45 +0000 (-0400) Subject: Improve test coverage. X-Git-Tag: 1.1~227 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=c2df849dade5bb7d8214c6abb6c0856b84d0d1d1 Improve test coverage. --- diff --git a/tests/pitfall.chk b/tests/pitfall.chk index 04a99e5..ce55f55 100644 --- a/tests/pitfall.chk +++ b/tests/pitfall.chk @@ -40,12 +40,26 @@ Oh dear, you seem to have gotten yourself killed. I might be able to help you out, but I've never really done this before. Do you want me to try to reincarnate you? -> n +> y + +All right. But don't blame me if something goes wr...... + --- POOF!! --- +You are engulfed in a cloud of orange smoke. Coughing and gasping, +you emerge from the smoke and find.... + +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. -OK -You scored 26 out of a possible 430, using 3 turns. +You scored 22 out of a possible 430, using 3 turns. You are obviously a rank amateur. Better luck next time. -To achieve the next higher rating, you need 20 more points. +To achieve the next higher rating, you need 24 more points. diff --git a/tests/pitfall.log b/tests/pitfall.log index f959a26..8342e37 100644 --- a/tests/pitfall.log +++ b/tests/pitfall.log @@ -4,4 +4,4 @@ seed 780351908 enter building xyzzy s -n +y