From 08c0524ee3a9a58ca1dc01901cbf8aa162d65fb9 Mon Sep 17 00:00:00 2001 From: Aaron Traas Date: Mon, 19 Jun 2017 15:36:42 -0400 Subject: [PATCH] Test coverage -- intransitive carry when one object is present --- tests/intransitivecarry.chk | 43 +++++++++++++++++++++++++++++++++++++ tests/intransitivecarry.log | 7 ++++++ 2 files changed, 50 insertions(+) create mode 100644 tests/intransitivecarry.chk create mode 100644 tests/intransitivecarry.log diff --git a/tests/intransitivecarry.chk b/tests/intransitivecarry.chk new file mode 100644 index 0000000..510a9bd --- /dev/null +++ b/tests/intransitivecarry.chk @@ -0,0 +1,43 @@ + +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. + +> 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. + +> carry lamp + +OK + +> out + +You're in front of building. + +> drop lamp + +OK + +> carry + +OK + + +You scored 32 out of a possible 430, using 5 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/intransitivecarry.log b/tests/intransitivecarry.log new file mode 100644 index 0000000..24ebc2b --- /dev/null +++ b/tests/intransitivecarry.log @@ -0,0 +1,7 @@ +## Drink unknown +n +in +carry lamp +out +drop lamp +carry -- 2.31.1