NHOrus
29672a6447
Fixed logic, documented it in notes and tests
2017-07-02 17:50:42 +03:00
NHOrus
e91742e1b9
Fixed regression in #21 Cleaned up logic of light/extinguish
2017-07-02 10:16:13 -04:00
NHOrus
73af0e3a55
Fix for issue #21 , hopefully
2017-07-02 10:16:13 -04:00
NHOrus
4c32714997
really capture it
2017-07-02 10:16:13 -04:00
NHOrus
8ec7c9d576
Capture current state of bugs, for #21
2017-07-02 10:16:13 -04:00
NHOrus
a5478639b6
Capture wonkyness of extinguishing urn
2017-07-02 10:16:13 -04:00
NHOrus
664b4cf4d7
more tests
2017-07-02 10:16:13 -04:00
NHOrus
e65132a108
Ability to use non-standard FreeBSD gcov tool
2017-07-02 10:16:13 -04:00
Aaron Traas
22a557efb1
Coverage -- version command
2017-07-02 02:22:52 -04:00
Aaron Traas
be115e9567
Fixed -r option. Added test to make sure it doesn't break later.
2017-07-02 01:36:28 -04:00
Eric S. Raymond
6c822610c5
Improve test coverage.
2017-07-01 23:51:24 -04:00
Eric S. Raymond
0d0b8df0a3
Ignore l g z i under oldstyle.
2017-07-01 12:35:31 -04:00
NHOrus
3c8482a613
Change state of vase
...
Clear temporary save where it needs to be cleared instead of random places
2017-07-01 18:25:39 +03:00
Jason S. Ninneman
dec4cf3968
Jettison the -s option.
...
It's no longer needed since libedit doesn't have the 'paste bug'.
2017-07-01 07:22:53 -07:00
NHOrus
562569f33c
Putting cleanup in the right place, too
2017-07-01 15:39:37 +03:00
NHOrus
b0705ba0bb
Fix make debug check
2017-07-01 15:39:37 +03:00
NHOrus
062840db69
Test modification for little more coverage
2017-06-30 23:26:18 -04:00
Eric S. Raymond
2c41018358
Improve test coverage.
2017-06-30 12:06:41 -04:00
Eric S. Raymond
1f45966dec
Magic-number ellimination, contiguity warnings, cleanup.
2017-06-30 12:06:41 -04:00
NHOrus
a48e0ff30e
Tests for misc and main
2017-06-30 18:30:19 +03:00
NHOrus
a6d1f9228b
Fixed previous test, added nibble more
2017-06-30 18:05:41 +03:00
NHOrus
a0f5fa0e04
Last one test case
2017-06-30 12:27:11 +03:00
NHOrus
c1efa29510
Some more easy tests
2017-06-30 11:31:18 +03:00
Eric S. Raymond
4aa85d0068
Update illformed.chk for current YAML.
2017-06-29 18:27:14 -04:00
Aaron Traas
aa1dd666a9
Test coverage -- fix regression
2017-06-29 17:22:00 -04:00
Aaron Traas
d0a868bd4a
Test coverage - add lots more coverage from actions.c
2017-06-29 17:05:48 -04:00
Aaron Traas
ffb8393985
Documentation and comment cleanup.
...
Also, renove uused enums.
2017-06-29 16:37:07 -04:00
Eric S. Raymond
21d959a5c2
Documentation polishing and minor test improvements.
2017-06-29 16:25:55 -04:00
Aaron Traas
ffdda21739
Cleanup test case
2017-06-29 15:30:22 -04:00
Aaron Traas
02ece8f874
Coverage - Die while closing after lamp dim
2017-06-29 15:30:22 -04:00
Aaron Traas
c4ceca3db9
Coverage - Test going back when you can't.
2017-06-29 10:57:34 -04:00
Aaron Traas
a434192373
Fixed automated testing
2017-06-29 10:16:41 -04:00
Jason S. Ninneman
50435465a6
Completely wire vocab words in YAML to the code.
...
This massive patch:
* Finishes working all the vocab words into YAML structures.
* Adds vocab ID generator functions.
* Redoes the input-getting system, removing the need for GETIN(),
GETTXT(), etc.
* Changes advent<->ascii mapping to avoid the special 'shift'
character.
* Works around some bad behavior in the dragon attack logic.
* Handles the reservoir magic word without changing the database
contents.
2017-06-29 01:59:37 -07:00
Eric S. Raymond
d5942e1732
More test repairing.
2017-06-28 13:21:31 -04:00
Eric S. Raymond
783e2e5e2d
Repair test breakage from previous commit.
2017-06-28 13:18:07 -04:00
Eric S. Raymond
f6267ff3eb
Test consolidation.
2017-06-28 13:03:45 -04:00
Eric S. Raymond
533f737cb3
Merge two tests so the suite can run a little faster.
2017-06-28 12:54:50 -04:00
Aaron Traas
eb89cd5b4e
Cleaned up tests/Makefile - added save generation to its own target
2017-06-28 10:57:28 -04:00
Aaron Traas
6152e35afd
Test coverage: command-line options for advent
2017-06-28 10:57:28 -04:00
Aaron Traas
3b780dd57e
Test coverage -- 100% cheat for real this time
2017-06-28 10:57:28 -04:00
Aaron Traas
6fe8f98b35
Test Coverage - elicit hints for grate and snake
2017-06-27 16:13:49 -04:00
Aaron Traas
4592a24350
Test coverage -- additional coverage in actions.c
2017-06-27 16:13:49 -04:00
Aaron Traas
7b1eb1ec58
buildregress now generates save files correctly.
2017-06-27 16:13:49 -04:00
Aaron Traas
2781413fa9
100% coverage of cheat.c
2017-06-27 16:13:49 -04:00
Aaron Traas
0a30176a8c
Allow cheat to generate save files with bogus numbers.
...
Also remove pre-built save file for resumefail.log
2017-06-27 16:13:49 -04:00
Aaron Traas
7392603b7d
"cheat" now has command-line arguments for generating cheat files
...
-d number of deaths. Signed integer value
-s number of saves. Signed integer value
-o file name of save game to write
2017-06-27 16:13:49 -04:00
Eric S. Raymond
d6cb6f0d8d
Create a cheater to test strange save/resume cases.
...
Patch due to Aaron Traas, but needed modification because of code
drift since submission.
2017-06-26 15:07:09 -04:00
Eric S. Raymond
0c2803638f
Correct buggy behavior of sign in endgame. Add a test for this.
2017-06-24 09:30:15 -04:00
Eric S. Raymond
2c9c9076b1
Extend test coverage. read sign in endgame.
2017-06-24 09:15:40 -04:00
Eric S. Raymond
606b590c1e
Extend test coverage of vending-machine actions.
2017-06-24 08:06:42 -04:00