Commit graph

324 commits

Author SHA1 Message Date
Eric S. Raymond
e060b99baf Create regression test for issue #36. 2018-11-14 13:17:56 -05:00
Eric S. Raymond
7701642e0c Regression test for GitLab issue #37 fix. 2018-11-14 13:03:33 -05:00
Eric S. Raymond
6e340dfd53 Fix some accidental test damage in Javier's last commit. 2018-11-11 08:02:21 -05:00
Javier
a782e19982 Patch 1 2018-11-11 12:56:03 +00:00
Eric S. Raymond
6de0149f9e Fix for GitLab issue #40: Inconsistant inventory space 2018-03-10 17:58:46 -05:00
NHOrus
9e2cb3c191 Put some of important parameters into fixed width signed integers
Massaged test files. Fixes issue #41
2017-09-11 00:58:13 +03:00
NHOrus
7ad7dd209e Remove extraneous listing of files 2017-08-13 12:14:09 +01:00
Eric S. Raymond
87c6d3fb1e Canonicalize OV commands to VO form.
Allows us to get rid of some obscure logic that causes an unnecessary
word shift. One error message changes in a benign way.
2017-08-03 15:02:41 -04:00
Eric S. Raymond
6c7e5a3ac1 Remove 'version test...
...it's too much of a PITA to edit the check file after every release bump.
2017-08-01 19:45:55 -04:00
Eric S. Raymond
25e6b11fd0 Add regression test for split commands. 2017-08-01 19:40:28 -04:00
Eric S. Raymond
fd4e3aea6a Address GitLab issue #36: "Get what?" prompt incorrectly handled 2017-08-01 18:37:58 -04:00
Aaron Traas
319c5830c8 Moved dungeon.c and dungeon.h templates into external files.
Also refactored to use named vars in the templates, so it's easier to
refactor, as order when you call .format() isn't important.
2017-07-23 12:15:25 -04:00
Aaron Traas
ca5374edc3 Modified action() to take take a copy of command rather than a pointer.
It should be safer now that we're not scribbling all over command in
action(), as it's closer to pure. Also fixed a bug in say.
2017-07-21 18:27:02 -04:00
Aaron Traas
30f13c6c25 Back up to 100% coverage. 2017-07-21 17:22:03 -04:00
Aaron Traas
e8a627f964 Specials excised from adventure.yaml 2017-07-21 17:15:23 -04:00
Aaron Traas
5337e00725 Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml
NOTE: the tests are all updated because now, like every other action,
SEED and WASTE have a \n before their output, as they correctly use
SPEAK
2017-07-21 10:23:02 -04:00
NHOrus
10d681ebeb Test for freshly fixed bugs
Also, removed redundant specials from illformed
2017-07-20 21:00:23 +03:00
Eric S. Raymond
2c2640a4d8 Restore full code coverage. 2017-07-20 13:37:26 -04:00
Eric S. Raymond
2aa35a6d84 Fix test breakage. 2017-07-20 12:29:52 -04:00
Eric S. Raymond
342994376a Address GitLab issue #28: Advent hangs on some inputs 2017-07-20 12:24:02 -04:00
Eric S. Raymond
8bd947b54d Last remnants of packing removed.
As a bonus, a bug in %S pluralization became obvious and was fixed.
2017-07-20 10:36:22 -04:00
Eric S. Raymond
2fa530340d No more packing in the parser.
As a side effect, ill-formed input consisting of "_\n" gives
a slighty better error message.
2017-07-20 10:17:56 -04:00
Eric S. Raymond
278e9c8240 Get symbol coverage on LOC_SMALLPIT 2017-07-19 15:38:31 -04:00
Eric S. Raymond
19854c9614 Remove a test pair that seems to be duplicative. 2017-07-19 14:00:12 -04:00
Eric S. Raymond
97bb25d9c5 Cover short descriotion of LOC_SMALLPIT. 2017-07-17 16:22:09 -04:00
Jason S. Ninneman
ee7bacc9ec Use Fedora for the CI pipeline. 2017-07-17 13:56:52 -04:00
Aaron Traas
5fa5d506ee LOC_SMALLPIT.small and LOC_TOPSTALACTITE.small 2017-07-17 13:34:53 -04:00
Aaron Traas
e9cd50ec38 YAML coverage generator minor cleanup 2017-07-17 13:34:53 -04:00
Eric S. Raymond
992bdbf16c Cover MISSING_BATTERIES in a test. Needs unducumented "waste" fallback. 2017-07-17 06:07:01 -04:00
Eric S. Raymond
3be0cb3596 Prevent multiline string quotes from confusing Emacs. 2017-07-16 17:23:40 -04:00
Eric S. Raymond
15c936d240 Fix adventitious '' occurrences. 2017-07-16 14:17:26 -04:00
Eric S. Raymond
0b31f7530b Consolidare window1 test into bigfail. 2017-07-16 14:06:04 -04:00
Eric S. Raymond
0df532f92f Test consolidation into bigfail.log. 2017-07-16 13:05:34 -04:00
Eric S. Raymond
3e3c93903f Extend bigfail test. 2017-07-16 09:23:40 -04:00
Aaron Traas
33e546b746 Test consolidation 2017-07-16 07:57:44 -04:00
Aaron Traas
818b95a85f YAML coverage generator minor cleanup 2017-07-16 07:53:20 -04:00
Aaron Traas
b47d95853b Fixed YAML coverage generator in python3 2017-07-16 07:53:20 -04:00
Eric S. Raymond
058fc70344 Fold smallpit test into bigfail. 2017-07-16 07:48:37 -04:00
Eric S. Raymond
8bce57d3df Fix bug where knife hit might not be reported. 2017-07-16 07:13:06 -04:00
Eric S. Raymond
427bd23a10 Test consolidation - move a lot of nonlethal failures into bigfail.log. 2017-07-16 06:26:51 -04:00
Eric S. Raymond
9b585f40d8 Two coverage imprivenents, one by recognizing dead code. 2017-07-16 05:33:43 -04:00
Eric S. Raymond
c4cbb859c2 More test consolidation. 2017-07-16 04:13:08 -04:00
Eric S. Raymond
c499426d57 Test consolidation. 2017-07-16 04:00:33 -04:00
Eric S. Raymond
76806f814e Improve symbol coverage. 2017-07-15 20:49:38 -04:00
Aaron Traas
87d7117ddd YAML coverage - TROLL_BLOCKS arbitrary message 2017-07-15 18:10:29 -04:00
Aaron Traas
ac4e43196c Full refactor of YAML dungeon generator.
The big difference is that the differences between the entity types
is concentrated in one place.

Also concentrated all File I/O in main function, moved most processing
outside of main
2017-07-15 17:19:29 -04:00
Aaron Traas
fb86d64b20 First stage cleanup of YAML dungeon generator. Less hard-coded stuff.
Next stage will be rewrite so report object contains all of the keys
and coverage values, so we're not scribbling over DB all the time, and
we don't have to walk over things multiple times, and can keep HTML
generation in one place
2017-07-15 13:10:39 -04:00
Eric S. Raymond
fefc1ff486 Improve symbol coverage. 2017-07-15 13:00:48 -04:00
Aaron Traas
33dfafc705 YAML coverage - last object message 2017-07-14 13:13:24 -04:00
Aaron Traas
040e027a71 YAML coverage - object messages 100% covered 2017-07-14 12:29:09 -04:00