From f33226947db0df7c81ee223179434de1b5f47fc8 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 9 Jul 2012 07:31:34 +0200 Subject: [PATCH] test was intermittent for mallorn forests --- scripts/tests/e3a.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/tests/e3a.lua b/scripts/tests/e3a.lua index 559bcea75..bfb76dd40 100644 --- a/scripts/tests/e3a.lua +++ b/scripts/tests/e3a.lua @@ -623,9 +623,12 @@ function test_p2() u:clear_orders() u:add_order("BENUTZE 'Wasser des Lebens'") u:add_item("p2", 1) - u:add_item("log", 20) + u:add_item("log", 10) + u:add_item("mallorn", 10) process_orders() 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 function test_p2_move()