do not write reports in tests.

This commit is contained in:
Enno Rehling 2017-03-30 23:18:50 +02:00
parent c49786d713
commit 37f3c02ceb
2 changed files with 0 additions and 4 deletions

View File

@ -45,7 +45,6 @@ function test_troll_quarrying_bonus()
u:set_skill('quarrying', 4) u:set_skill('quarrying', 4)
u:add_order("MACHE Steine") u:add_order("MACHE Steine")
turn_process() -- humans get no bonus turn_process() -- humans get no bonus
write_report(f)
assert_equal(4, u:get_item('stone')) assert_equal(4, u:get_item('stone'))
assert_equal(96, r:get_resource('stone')) assert_equal(96, r:get_resource('stone'))
@ -68,7 +67,6 @@ function test_dwarf_mining_bonus()
u:set_skill('mining', 10) u:set_skill('mining', 10)
u:add_order('MACHE Eisen') u:add_order('MACHE Eisen')
turn_process() -- humans get no bonus turn_process() -- humans get no bonus
write_report(f)
assert_equal(10, u:get_item('iron')) assert_equal(10, u:get_item('iron'))
assert_equal(90, r:get_resource('iron')) assert_equal(90, r:get_resource('iron'))

View File

@ -44,7 +44,6 @@ function test_troll_no_quarrying_bonus()
u:set_skill('quarrying', 2) -- +2 Rassenbonus u:set_skill('quarrying', 2) -- +2 Rassenbonus
u:add_order("MACHE Steine") u:add_order("MACHE Steine")
turn_process() turn_process()
write_report(f)
assert_equal(4, u:get_item('stone')) assert_equal(4, u:get_item('stone'))
assert_equal(96, r:get_resource('stone')) assert_equal(96, r:get_resource('stone'))
end end
@ -60,7 +59,6 @@ function test_dwarf_no_mining_bonus()
u:set_skill('mining', 8) -- +2 skill bonus u:set_skill('mining', 8) -- +2 skill bonus
u:add_order('MACHE Eisen') u:add_order('MACHE Eisen')
turn_process() turn_process()
write_report(f)
assert_equal(10, u:get_item('iron')) assert_equal(10, u:get_item('iron'))
assert_equal(90, r:get_resource('iron')) assert_equal(90, r:get_resource('iron'))
end end