forked from github/server
add a lighthouse to the sample data.
This commit is contained in:
parent
b5021fedc6
commit
a425a78f7c
|
@ -26,12 +26,6 @@ ipch/
|
||||||
*.bak
|
*.bak
|
||||||
bin/
|
bin/
|
||||||
build*/
|
build*/
|
||||||
game-e2/data
|
|
||||||
game-e2/*.log*
|
|
||||||
game-e2/reports/
|
|
||||||
game-e3/data/
|
|
||||||
game-e3/*.log*
|
|
||||||
game-e3/reports/
|
|
||||||
*.log
|
*.log
|
||||||
*.log.*
|
*.log.*
|
||||||
tags
|
tags
|
||||||
|
|
|
@ -18,12 +18,11 @@ static void test_lighthouse_range(CuTest * tc)
|
||||||
{
|
{
|
||||||
faction *f;
|
faction *f;
|
||||||
unit *u;
|
unit *u;
|
||||||
region *r1, *r2;
|
region *r1;
|
||||||
building *b;
|
building *b;
|
||||||
|
|
||||||
test_setup();
|
test_setup();
|
||||||
r1 = test_create_region(0, 0, 0);
|
r1 = test_create_region(0, 0, 0);
|
||||||
r2 = test_create_region(1, 0, 0);
|
|
||||||
f = test_create_faction(0);
|
f = test_create_faction(0);
|
||||||
u = test_create_unit(f, r1);
|
u = test_create_unit(f, r1);
|
||||||
b = test_create_building(r1, test_create_buildingtype("lighthouse"));
|
b = test_create_building(r1, test_create_buildingtype("lighthouse"));
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue