Another coverage tweak.
This commit is contained in:
parent
79875c8088
commit
5ce427b62b
2 changed files with 3 additions and 6 deletions
|
@ -186,7 +186,7 @@ bool is_valid(struct game_t valgame)
|
||||||
|
|
||||||
/* Validate that we didn't die too many times in save */
|
/* Validate that we didn't die too many times in save */
|
||||||
if (valgame.numdie >= NDEATHS) {
|
if (valgame.numdie >= NDEATHS) {
|
||||||
return false;
|
return false; // LCOV_EXCL_LINE
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Recalculate tally, throw the towel if in disagreement */
|
/* Recalculate tally, throw the towel if in disagreement */
|
||||||
|
|
|
@ -26,11 +26,8 @@ To remake the check files, "make buildregress".
|
||||||
The simplest way to make a test is to simply play a game with the -l
|
The simplest way to make a test is to simply play a game with the -l
|
||||||
option giving a log path. Commands will be captured to that log.
|
option giving a log path. Commands will be captured to that log.
|
||||||
|
|
||||||
To re-use a command sequence from an existing log, run advent -s and
|
To re-use a command sequence from an existing log, run advent and
|
||||||
paste it to the advent command log from the clipboard. If you don't
|
paste it to the advent command log from the clipboard.
|
||||||
use -s to disable advanced ediiting, the code used for that will consume
|
|
||||||
the first line of the paste and discare the rest. This is almost
|
|
||||||
certainly not what you want.
|
|
||||||
|
|
||||||
To see where we can use more tests, have a look at our test coverage
|
To see where we can use more tests, have a look at our test coverage
|
||||||
report:
|
report:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue