Commit graph

450 commits

Author SHA1 Message Date
Eric S. Raymond
86fe4bd121 Verify that tesrts still match advent430 where expected. 2024-06-27 13:04:33 -04:00
Eric S. Raymond
bd499dc532 Fix GitLab issue #69: repeated knive caveat message 2024-06-25 16:42:14 -04:00
Eric S. Raymond
ae6eced72d Incorporate Ryan Sarson's test for correct knife message. 2024-06-25 13:08:50 -04:00
Eric S. Raymond
3c09c25cc3 Update tapview and tapdiffer. 2024-01-15 05:03:53 -05:00
Eric S. Raymond
cf7ea0cd89 Remove debugging debris. 2024-01-15 04:57:47 -05:00
Eric S. Raymond
c10e9694e3 Corrected fix, and test, for #67. 2024-01-02 17:19:42 -05:00
Eric S. Raymond
0b82afa5c1 Commit a test script. 2024-01-02 16:03:30 -05:00
Eric S. Raymond
2582e240bd Fix defective copyright notices. 2024-01-02 09:46:09 -05:00
Eric S. Raymond
7d4dd78679 Apply black to move Python style to standard form. 2023-09-17 16:17:30 -04:00
Eric S. Raymond
6cef68cda5 Use fixed-lwength types to make the save format more portable 2023-04-17 07:24:51 -04:00
Eric S. Raymond
819aed5c4e Add test for behavior of stashed objects in endgame. 2023-04-07 12:33:52 -04:00
Torbjörn Andersson
7e21108e95 Spelling fixes. 2023-04-07 10:50:01 +02:00
Eric S. Raymond
2f60504e07 Comment typo fixes. 2023-04-06 21:01:48 -04:00
Eric S. Raymond
58cf204eba Implement the magic-cookie check and its test. 2023-04-06 19:03:02 -04:00
Eric S. Raymond
d16822a583 Give savefiles an identifting header. SAve format version gets bumped. 2023-04-06 17:54:02 -04:00
Eric S. Raymond
e99cc69de0 Quiet make test down. 2023-04-06 17:28:43 -04:00
Eric S. Raymond
e8991f69e9 Simplify and speed up testing. 2023-04-06 16:38:21 -04:00
Eric S. Raymond
3e72486724 Comment typo fix 2023-04-06 12:13:38 -04:00
Eric S. Raymond
fe378b9e13 Improved behavior when magic words are said before they're seen.
Note: there is a tiny risk that this could break savefile
compatibility, as I swiped an unused int member in the game structure
and turned it into a bool. int and bool *should* be the same sixe...
2023-04-05 19:49:38 -04:00
Eric S. Raymond
3c6648882d How to set up prerequisites for oldcompare 2023-04-04 19:14:45 -04:00
Eric S. Raymond
00bdc2133a Improve TAP messages slightly. 2023-04-04 09:53:10 -04:00
Eric S. Raymond
20e1b9d930 Update tapdiffer version. 2023-04-04 09:32:18 -04:00
Eric S. Raymond
1ce4fc2ac3 Improve copyright lines. 2023-04-03 17:05:01 -04:00
Eric S. Raymond
6ebc2bf0e3 Documentation fix. 2023-04-03 11:25:11 -04:00
Eric S. Raymond
25230068fe Partial REUSE cmpliance. 2023-04-03 11:25:11 -04:00
Eric S. Raymond
2dd1ccc535 Fix for Gitlab issue #65: revisiting "fee fie foe foo" and "fum".
100% coverage, "make oldcompare" passes.
2023-04-03 09:24:21 -04:00
Eric S. Raymond
0a1f5dbb43 Nothing but FOO can start a magic-word sequence,
100% coverage ans oldcompare passes.
2023-04-03 07:14:11 -04:00
Eric S. Raymond
20cb8b9ffb Back out test lines that break compatibility with advent430.
Coverage is still 100% even withthese lines commebted out.
2023-04-02 18:28:45 -04:00
Eric S. Raymond
b86d4afd20 Back out the behavior change to magic words outside the Giant's Room.
There are twi reasons for this. One is to decompolicate verifying
the fix for issue $85: revisiting "fee fie foe foo" and "fum". The
other is because I'm now convinced that the test should notr be
"Are you in the Giant's Room" but :Have you read the grafitti there?
2023-04-02 17:53:09 -04:00
Eric S. Raymond
d9ddf4d805 Consolidate all magicwords tests into one file. 100% coverage. 2023-04-02 17:45:04 -04:00
Eric S. Raymond
9c6219a27d The oldcompare production no longer requires savefiles. 2023-04-02 11:54:37 -04:00
Eric S. Raymond
34516ecf39 Test name change, 2023-04-02 10:42:10 -04:00
Eric S. Raymond
7dc3482c5b Start building a better test load for micwords. 2023-04-02 10:23:07 -04:00
Eric S. Raymond
40a4acb868 Comment typo fixes. 2023-04-02 07:41:49 -04:00
Torbjörn Andersson
54927c33e5 Spelling fixes 2023-04-02 07:32:24 +02:00
Eric S. Raymond
e49fb5f367 Close out oldcompare.
At this revision all test logs either pass checkfile comparison
against advent439 or have a NOCOMPARE comment explaining why they don't
pass, turning into a TAP skip. 100% coverage.
2023-04-01 18:37:08 -04:00
Eric S. Raymond
59a5afb72e Improve advent430 comparisons. 2023-04-01 16:58:52 -04:00
Eric S. Raymond
f95442b310 Test comment typo fixes. 2023-04-01 11:34:46 -04:00
Eric S. Raymond
97a69d8cbd Merge two NOCOMPARE tests. 2023-04-01 11:01:28 -04:00
Eric S. Raymond
0d2332573b Tweak a fuzzed test fotr advent430 compability. 100% coverage. 2023-04-01 10:47:49 -04:00
Eric S. Raymond
7af8492169 Add a warning comment. 2023-04-01 08:46:44 -04:00
Eric S. Raymond
3af590e972 Trim the illformed test. Still 100% coverage. 2023-03-30 20:09:10 -04:00
Eric S. Raymond
2c8aa9668c Add explanatory comments to two tests. 2023-03-30 08:46:35 -04:00
Eric S. Raymond
30a98cc916 Factor out the test of the bare word "seed". 2023-03-30 01:05:32 -04:00
Eric S. Raymond
872b94f927 Factor out most of illformed that doesn't cause advent430 problems. 2023-03-30 00:05:13 -04:00
Eric S. Raymond
74c3158f42 Add more NOCOMPARE exclusions due to version skew. 2023-03-29 22:05:27 -04:00
Eric S. Raymond
ef180a0731 Truncatte bigfail test because the RNG gets confused by resurrection. 2023-03-29 18:25:35 -04:00
Eric S. Raymond
c80162b467 More test cleanup to converge with advent430 branch. 2023-03-29 14:40:38 -04:00
Eric S. Raymond
65f221e03f Add a more carefully factored test...
...so we can exclude the part advent430 won't pass.
2023-03-29 10:59:42 -04:00
Eric S. Raymond
cbb5572b21 Clean up some tests, adding newlines at EOF where they're missing.
The advent430 command interpreter accidentally accepted input lines with no
trailing newline. Thus, these files produced spurious mismatches.
2023-03-29 10:55:56 -04:00