dolphins are animals, but not horses.

This commit is contained in:
Enno Rehling 2017-03-03 17:27:51 +01:00
parent 259d7d9e80
commit 681a4bdaa8
1 changed files with 4 additions and 1 deletions

View File

@ -1036,8 +1036,11 @@ function test_give_horses()
r:set_resource("horse", 0)
u:add_item("horse", 20)
u:add_order("GIB 0 10 PFERDE")
u:add_item("dolphin", 10)
u:add_order("GIB 0 10 PFERD")
u:add_order("GIB 0 5 DELPHIN")
process_orders()
assert_equal(10, r:get_resource("horse"))
assert_equal(5, u:get_item("dolphin"))
assert_equal(10, u:get_item("horse"))
end