From c2df849dade5bb7d8214c6abb6c0856b84d0d1d1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 19 Jun 2017 07:07:45 -0400 Subject: [PATCH] Improve test coverage. --- tests/pitfall.chk | 22 ++++++++++++++++++---- tests/pitfall.log | 2 +- 2 files changed, 19 insertions(+), 5 deletions(-) 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 -- 2.31.1