From: Eric S. Raymond Date: Sun, 18 Jun 2017 14:55:09 +0000 (-0400) Subject: Improve test coverage. X-Git-Tag: 1.1~258 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f862f9f1d508e00bccc208e66b1d31a5e530ab3e;p=open-adventure.git Improve test coverage. --- diff --git a/Makefile b/Makefile index b7328e6..80f1c12 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ VERS=1.0 CC?=gcc -CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wpedantic +CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wpedantic -g LIBS= UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Linux) diff --git a/tests/breakmirror.chk b/tests/breakmirror.chk index da89a58..2b631d1 100644 --- a/tests/breakmirror.chk +++ b/tests/breakmirror.chk @@ -2898,6 +2898,23 @@ not disturb the dwarves!" An immense mirror is hanging against one wall, and stretches to the other end of the room, where various other sundry objects can be glimpsed dimly in the distance. +> take oyster + +OK + +Interesting. There seems to be something written on the underside of +the oyster. + +> read oyster + +Hmmm, this looks like a clue, which means it'll cost you 10 points to +read it. Should I go ahead and read it anyway? + +> y + +It says, "There is a way out of this place. Do you need any more +information to escape? Sorry, but this initial hint is all you get." + > sw You are at the southwest end of the repository. To one side is a pit @@ -2920,8 +2937,8 @@ The resulting ruckus has awakened the dwarves. There are now several threatening little dwarves in the room with you! Most of them throw knives at you! All of them get you! -You scored 393 out of a possible 430, using 463 turns. +You scored 383 out of a possible 430, using 465 turns. Your score puts you in Master Adventurer Class B. -To achieve the next higher rating, you need 18 more points. +To achieve the next higher rating, you need 28 more points. diff --git a/tests/breakmirror.log b/tests/breakmirror.log index 592bdba..b79cbb8 100644 --- a/tests/breakmirror.log +++ b/tests/breakmirror.log @@ -465,6 +465,9 @@ e e e # Everything to here is from endgame428 +take oyster +read oyster +y sw break mirror