test was intermittent for mallorn forests

This commit is contained in:
Enno Rehling 2012-07-09 07:31:34 +02:00
parent 9abac59f4b
commit f33226947d
1 changed files with 4 additions and 1 deletions

View File

@ -623,9 +623,12 @@ function test_p2()
u:clear_orders() u:clear_orders()
u:add_order("BENUTZE 'Wasser des Lebens'") u:add_order("BENUTZE 'Wasser des Lebens'")
u:add_item("p2", 1) u:add_item("p2", 1)
u:add_item("log", 20) u:add_item("log", 10)
u:add_item("mallorn", 10)
process_orders() process_orders()
assert_equal(5, r:get_resource("tree")) assert_equal(5, r:get_resource("tree"))
assert_equal(0, u:get_item("p2"))
assert_equal(15, u:get_item("log") + u:get_item("mallorn"))
end end
function test_p2_move() function test_p2_move()