Commit graph

16 commits

Author SHA1 Message Date
Enno Rehling
19b3b5b35a change how message types are created (more prep work for expat) 2018-05-18 19:58:49 +02:00
Enno Rehling
05242aaf2d Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. 2018-02-25 17:18:30 +01:00
Enno Rehling
75f41a7169 fix crashes on 64-bit systems (not all 0s are created equal). 2018-01-14 09:38:26 +01:00
Enno Rehling
cff4e12fbd celan up tests, rename test_cleanup -> test_teardown. 2017-12-27 19:58:39 +01:00
Enno Rehling
54ae00bb7d bug 2156: fix volcano reporting, maybe. 2017-12-25 21:55:50 +01:00
Enno Rehling
25e5d1d285 use test_setup to start tests 2016-09-08 08:12:26 +02:00
Enno Rehling
cf96013e0b better volcano message testing. 2016-08-28 14:06:57 +01:00
Enno Rehling
3bc2221bfe finish testing the (current) volcano_dead message. 2016-08-28 10:08:41 +01:00
Enno Rehling
9400a05a87 test that two different volcano_dead messages are sent for units in different regions.
new test_find_messagetype_ex helper.
2016-08-28 10:05:34 +01:00
Enno Rehling
b56c48d95c verify arguments for volcanooutbreak message. 2016-08-27 08:29:01 +01:00
Enno Rehling
6d5e295678 activate, fix and improve volcano test.
reduce number of terrain lookups.
2016-08-26 17:26:26 +01:00
Enno Rehling
c3119e4c4a oh, I get it. reduceproduction signals that this volcano recently exploded.
added a test for outbreak and message
2016-08-23 07:53:29 +02:00
Enno Rehling
68f619cb90 test that message is sent when volcano stops smoking 2016-08-23 07:46:55 +02:00
Enno Rehling
bdc9af9b69 fix intermittent test for dead code path, all new volcanos have reduceproduction attributes 2016-08-23 07:44:17 +02:00
Enno Rehling
61929ab2d2 test that smoking volcanoes stop smoking 2016-08-23 07:38:44 +02:00
Enno Rehling
4bdc9a5153 extract main volcano loop to volcano module, start adding tests 2016-08-22 21:27:24 +02:00