test that message is sent when volcano stops smoking

This commit is contained in:
Enno Rehling 2016-08-23 07:46:55 +02:00
parent bdc9af9b69
commit 68f619cb90
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ static void test_volcano_update(CuTest *tc) {
r = test_create_region(0, 0, t_active);
a_add(&r->attribs, make_reduceproduction(25, 10));
volcano_update();
CuAssertPtrNotNull(tc, test_find_messagetype(r->msgs, "volcanostopsmoke"));
CuAssertPtrEquals(tc, (void *)t_volcano, (void *)r->terrain);
test_cleanup();
}