mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5c70807986 |
+1
-1
@@ -29,7 +29,7 @@ class BlowBridgeCommandFactoryTests : public ::testing::Test {
|
||||
|
||||
auto engOff = AddGenericUnit(1, 0, bridgePosition);
|
||||
auto otherOff = AddGenericUnit(2, 1, adjacentOccupied);
|
||||
auto units_vec = vector<Unit>{engOff, otherOff};
|
||||
vector<Unit> units_vec{engOff, otherOff};
|
||||
auto unitsOff = fbb.CreateVectorOfSortedStructs(&units_vec);
|
||||
|
||||
auto mapOff = AddBasicMap(fbb);
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ class BuildBridgeCommandFactoryTests : public ::testing::Test {
|
||||
fbb.ForceDefaults(true);
|
||||
const auto engOff = AddGenericUnit(1, 0, position);
|
||||
|
||||
auto unitsVec = vector<Unit>{engOff};
|
||||
vector<Unit> unitsVec{engOff};
|
||||
const auto unitsOff = fbb.CreateVectorOfSortedStructs(&unitsVec);
|
||||
|
||||
fbb.Finish(unitsOff);
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ class FearCommandFactoryTests : public ::testing::Test {
|
||||
auto necroOff = AddGenericUnit(1, 0, position);
|
||||
auto targetOff = AddGenericUnit(5, 1, adjacentPosition);
|
||||
|
||||
auto unitsVec = vector<Unit>{necroOff, targetOff};
|
||||
vector<Unit> unitsVec{necroOff, targetOff};
|
||||
auto unitsOff = fbb.CreateVectorOfSortedStructs(&unitsVec);
|
||||
|
||||
auto mapOff = AddBasicMap(fbb);
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ class HolyWaveCommandFactoryTests : public ::testing::Test {
|
||||
auto actorOff = AddGenericUnit(1, 0, position);
|
||||
auto otherOff = AddGenericUnit(5, 1, Coords(5, 5));
|
||||
|
||||
auto unitsVec = vector<Unit>{actorOff, otherOff};
|
||||
vector<Unit> unitsVec{actorOff, otherOff};
|
||||
auto unitsOff = fbb.CreateVectorOfSortedStructs(&unitsVec);
|
||||
|
||||
auto mapOff = AddBasicMap(fbb);
|
||||
|
||||
Reference in New Issue
Block a user