forked from github/server
test that message is sent when volcano stops smoking
This commit is contained in:
parent
bdc9af9b69
commit
68f619cb90
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue