empserver/tests/smoke
Markus Armbruster 4a714a37da production: Use update code instead of duplicating it
prod() duplicates the update's sector production code, except it
computes both output with present materials ("make" output) and output
not limited by lack of materials or production backlog ("max" output).
It also rounds materials consumed up instead of randomly.

Factor prod_output() out of produce() for reuse by prod().  prod()
runs it twice: once for "make" output and once for "max" output.

Test output changes are due to random rounding.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 20:08:29 +02:00
..
00 tests/version: New; exercises config introspection commands 2017-08-06 14:03:55 +02:00
01 tests: Factor feed_dir out of fire-test and smoke-test 2014-01-19 10:09:16 +01:00
02 tests: Factor feed_dir out of fire-test and smoke-test 2014-01-19 10:09:16 +01:00
03 tests: Factor feed_dir out of fire-test and smoke-test 2014-01-19 10:09:16 +01:00
04 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
05 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
06 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
07 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
08 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
09 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
10 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
11 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
12 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
13 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
14 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
15 update: Round the people's work randomly rather than down 2017-08-06 19:59:59 +02:00
16 autonav: Remove the feature 2015-02-28 16:10:22 +01:00
99 tests/version: New; exercises config introspection commands 2017-08-06 14:03:55 +02:00
fairland.xdump sect: Keep work percentage without civilians at 100% 2017-08-06 19:59:57 +02:00
final.xdump update production: Make sector production a bit more predictable 2017-08-06 20:08:29 +02:00
journal.log production: Use update code instead of duplicating it 2017-08-06 20:08:29 +02:00
newcap_script Remove fairland from smoke test 2013-05-08 06:55:19 +02:00
server.log tests: Enable running_test_suite by default 2014-01-19 10:09:17 +01:00