From f4d3f6def9559ccdfff99db0d6bb70e2b8e23b99 Mon Sep 17 00:00:00 2001 From: Aaron Traas Date: Wed, 21 Jun 2017 15:10:23 -0400 Subject: [PATCH] Test coverage - 100% score.c --- tests/cheatresume.chk | 4 +++- tests/cheatresume.log | 2 +- tests/cheatsave.testsave | Bin 7688 -> 7688 bytes 3 files changed, 4 insertions(+), 2 deletions(-) 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 fcd8f1c8fdb31c34923ec7a59db9acdac7de1af5..f3ddeaf55279ce1b46a95027077d808c6f2941f4 100644 GIT binary patch delta 35 rcmeCM>9Aob%;Jfg$nu0);?MtyuT>`(FiA{SU=d)t%(&T#@th0*>*oxV delta 32 ocmeCM>9Aqh-?*l9BFhuzgvx&tU#m_&z@#v_fl*?!2jc-50O$%0TL1t6 -- 2.31.1