empserver/tests/update
Markus Armbruster 8b1cc6cb47 update: Saner rounding of sector building money and work
buildeff() rounds work and money up.  Until recently, fractions could
only occur on tear-down, but with customized costs they can now also
occur on build-up.

The previous commit changed unit building to round money and work
randomly.  Before, money was rounded down, and work was rounded up.

Round them randomly for sectors as well, for consistency.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-08-06 19:59:58 +02:00
..
01-1 update: Don't use materials and work destroyed by che or plague 2017-08-06 19:59:58 +02:00
02-2 tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
03-3 tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
04-4 budget: Fix level prod. forecast when required level is too low 2017-08-06 19:59:58 +02:00
05-5 tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
06-6 tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
07-7 tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
99-POGO update: Don't use materials and work destroyed by che or plague 2017-08-06 19:59:58 +02:00
final.xdump update: Saner rounding of sector building money and work 2017-08-06 19:59:58 +02:00
journal.log update: Saner rounding of sector building money and work 2017-08-06 19:59:58 +02:00
server.log tests/update: New; exercises the update 2017-08-06 14:04:15 +02:00
setup-POGO update: Saner rounding of unit building money and work 2017-08-06 19:59:58 +02:00