forked from github/server
eliminate source of randomness from test
This commit is contained in:
parent
5c1fb83c47
commit
e233ed4344
|
@ -96,7 +96,7 @@ static void test_report_region(CuTest *tc) {
|
|||
mstream_init(&out);
|
||||
r = test_create_region(0, 0, 0);
|
||||
add_resource(r, 1, 100, 10, rt_stone);
|
||||
CuAssertIntEquals(tc, 135, r->resources->amount);
|
||||
r->resources->amount = 135;
|
||||
CuAssertIntEquals(tc, 1, r->resources->level);
|
||||
r->land->peasants = 5;
|
||||
r->land->horses = 7;
|
||||
|
|
Loading…
Reference in New Issue