[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -164,10 +164,18 @@ TEST_F(FeaturePartCommonTest, testHistory)
|
||||
// Manually create the histories classically generated by FreeCAD for comparison
|
||||
using MapList = std::map<int, std::vector<int>>;
|
||||
using List = std::vector<int>;
|
||||
MapList compare1 =
|
||||
{{0, List {0}}, {1, List {5}}, {2, List()}, {3, List {2}}, {4, List {3}}, {5, List {1}}}; // NOLINT magic number
|
||||
MapList compare2 =
|
||||
{{0, List {0}}, {1, List {5}}, {2, List {4}}, {3, List()}, {4, List {3}}, {5, List {1}}}; // NOLINT magic number
|
||||
MapList compare1 = {{0, List {0}},
|
||||
{1, List {5}},
|
||||
{2, List()},
|
||||
{3, List {2}},
|
||||
{4, List {3}},
|
||||
{5, List {1}}}; // NOLINT magic number
|
||||
MapList compare2 = {{0, List {0}},
|
||||
{1, List {5}},
|
||||
{2, List {4}},
|
||||
{3, List()},
|
||||
{4, List {3}},
|
||||
{5, List {1}}}; // NOLINT magic number
|
||||
|
||||
// Act and Assert no histories yet
|
||||
std::vector<Part::ShapeHistory> hist = _common->History.getValues();
|
||||
|
||||
Reference in New Issue
Block a user