From: Aaron Traas Date: Wed, 21 Jun 2017 19:10:23 +0000 (-0400) Subject: Test coverage - 100% score.c X-Git-Tag: 1.1~170 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F129%2Fhead;p=open-adventure.git Test coverage - 100% score.c --- diff --git a/tests/cheatresume.chk b/tests/cheatresume.chk index 7e7030c..baf0ce0 100644 --- a/tests/cheatresume.chk +++ b/tests/cheatresume.chk @@ -23,7 +23,9 @@ 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. +Now let's see you do it without suspending in mid-Adventure. + +You scored 10423 out of a possible 430, using 468 turns. You just went off my scale!! diff --git a/tests/cheatresume.log b/tests/cheatresume.log index a841b8a..cec2145 100644 --- a/tests/cheatresume.log +++ b/tests/cheatresume.log @@ -1,4 +1,4 @@ -## Resume input from /dev/random, inducing a version mismatch error +## Resume from absurd save file with numdie = -1000 n resume y diff --git a/tests/cheatsave.testsave b/tests/cheatsave.testsave index fcd8f1c..f3ddeaf 100644 Binary files a/tests/cheatsave.testsave and b/tests/cheatsave.testsave differ