From: Eric S. Raymond Date: Sun, 18 Jun 2017 20:39:01 +0000 (-0400) Subject: This should get test coverage to 93%. X-Git-Tag: 1.1~245 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=0dd961701f645b9db2f03f433627818dd1ff2bd6;p=open-adventure.git This should get test coverage to 93%. --- diff --git a/tests/pitfall.chk b/tests/pitfall.chk index f844e0b..04a99e5 100644 --- a/tests/pitfall.chk +++ b/tests/pitfall.chk @@ -12,7 +12,7 @@ Seed set to 780351908 You're in front of building. -> in +> enter building You are inside a building, a well house for a large spring. diff --git a/tests/pitfall.log b/tests/pitfall.log index 455750d..f959a26 100644 --- a/tests/pitfall.log +++ b/tests/pitfall.log @@ -1,7 +1,7 @@ ## Death by pitfall n seed 780351908 -in +enter building xyzzy s n diff --git a/tests/weirdbird.chk b/tests/weirdbird.chk index a516112..f6d38b8 100644 --- a/tests/weirdbird.chk +++ b/tests/weirdbird.chk @@ -131,6 +131,10 @@ from east and west sides of the chamber. A cheerful little bird is sitting here singing. +> enter water + +Where? + > listen bird I'm afraid I don't understand. @@ -144,10 +148,11 @@ I think I just lost my appetite. It's not hungry (it's merely pinin' for the fjords). Besides, you have no bird seed. +Are you trying to catch the bird? + > cage bird -The bird seemed unafraid at first, but as you approach it becomes -disturbed and you cannot catch it. +Please answer the question. Are you trying to catch the bird? diff --git a/tests/weirdbird.log b/tests/weirdbird.log index dfae78a..9df0710 100644 --- a/tests/weirdbird.log +++ b/tests/weirdbird.log @@ -23,6 +23,7 @@ read take rod w w +enter water listen bird eat bird feed bird