removed gridSize from the template arguments
- not needed and code much cleaner some minor changes new test-cases
This commit is contained in:
@@ -10,10 +10,10 @@
|
||||
|
||||
TEST(GridFactory, create) {
|
||||
|
||||
Grid<20, GP> g;
|
||||
Grid<20, GP> gInv;
|
||||
Grid<GP> g(20);
|
||||
Grid<GP> gInv(20);
|
||||
|
||||
GridFactory<20, GP> gf(g);
|
||||
GridFactory<GP> gf(g);
|
||||
FloorplanFactorySVG fpf(getDataFile("fp1.svg"), 4);
|
||||
Floor f1 = fpf.getFloor("1");
|
||||
Floor f2 = fpf.getFloor("2");
|
||||
@@ -24,7 +24,7 @@ TEST(GridFactory, create) {
|
||||
gf.addStairs(s1_2, 20, 340);
|
||||
gf.removeIsolated();
|
||||
|
||||
GridFactory<20, GP> gfInv(gInv);
|
||||
GridFactory<GP> gfInv(gInv);
|
||||
gfInv.addInverted(g, 20);
|
||||
gfInv.addInverted(g, 340);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user