From e060b99baf265d66d7bdb4c4651e16bace183898 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 14 Nov 2018 13:17:56 -0500 Subject: [PATCH] Create regression test for issue #36. --- tests/issue36.chk | 41 +++++++++++++++++++++++++++++++++++++++++ tests/issue36.log | 6 ++++++ 2 files changed, 47 insertions(+) create mode 100644 tests/issue36.chk create mode 100644 tests/issue36.log diff --git a/tests/issue36.chk b/tests/issue36.chk new file mode 100644 index 0000000..412f019 --- /dev/null +++ b/tests/issue36.chk @@ -0,0 +1,41 @@ + +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 826186526 + +Seed set to 826186526 + +You're in front of building. + +> in + +You are inside a building, a well house for a large spring. + +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. + +> get + +Get what? + +> food + +OK + + +You scored 32 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 14 more points. diff --git a/tests/issue36.log b/tests/issue36.log new file mode 100644 index 0000000..cab1d04 --- /dev/null +++ b/tests/issue36.log @@ -0,0 +1,6 @@ +## Test handling of object after transitive verb. +n +seed 826186526 +in +get +food -- 2.31.1