From: Eric S. Raymond Date: Wed, 21 Jun 2017 20:43:27 +0000 (-0400) Subject: Revert "Test coverage - Almost all of score.c". It's breaking tests. X-Git-Tag: 1.1~168 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=inline;h=6dbe6f081cf43132ff5e271c6777189c91f26c2b;p=open-adventure.git Revert "Test coverage - Almost all of score.c". It's breaking tests. --- diff --git a/tests/cheatresume.chk b/tests/cheatresume.chk deleted file mode 100644 index 7e7030c..0000000 --- a/tests/cheatresume.chk +++ /dev/null @@ -1,31 +0,0 @@ - -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. - -> resume -Can't open file y, try again. - -You're at sw end. - -The grate is locked. - -> blast - -There is a loud explosion, and a twenty-foot hole appears in the far -wall, burying the dwarves in the rubble. You march through the hole -and find yourself in the main office, where a cheering band of -friendly elves carry the conquering adventurer off into the sunset. - -It's a pity you took so long about it. - -You scored 1000428 out of a possible 430, using 1 turn. - -You just went off my scale!! - -To achieve the next higher rating would be a neat trick! -Congratulations!! diff --git a/tests/cheatresume.log b/tests/cheatresume.log deleted file mode 100644 index a841b8a..0000000 --- a/tests/cheatresume.log +++ /dev/null @@ -1,6 +0,0 @@ -## Resume input from /dev/random, inducing a version mismatch error -n -resume -y -cheatsave.testsave -blast \ No newline at end of file diff --git a/tests/cheatsave.testsave b/tests/cheatsave.testsave deleted file mode 100644 index fcd8f1c..0000000 Binary files a/tests/cheatsave.testsave and /dev/null differ diff --git a/tests/illformed.chk b/tests/illformed.chk index 4ee86fd..2bfc882 100644 --- a/tests/illformed.chk +++ b/tests/illformed.chk @@ -75,10 +75,6 @@ I don't know how. On what? -> blast food - -Blasting requires dynamite. - > suspend food Huh? @@ -443,7 +439,7 @@ Okay, "BOO". > score -You have garnered 27 out of a possible 430 points, using 87 turns. +You have garnered 27 out of a possible 430 points, using 86 turns. > quit keys @@ -457,7 +453,7 @@ Do you really want to quit now? OK -You scored 27 out of a possible 430, using 89 turns. +You scored 27 out of a possible 430, using 88 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/illformed.log b/tests/illformed.log index 5209992..8ac5534 100644 --- a/tests/illformed.log +++ b/tests/illformed.log @@ -11,7 +11,6 @@ walk food score food foo food brief food -blast food suspend food resume food out