MCPcopy Create free account
hub / github.com/comaps/comaps / CheckByMask

Function CheckByMask

tools/poly_borders/poly_borders_tests/mark_points_tests.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void CheckByMask(Polygon const & polygons, vector<bool> markedMask)
39{
40 CHECK_EQUAL(polygons.m_points.size(), markedMask.size(), ());
41 for (size_t i = 0; i < polygons.m_points.size(); ++i)
42 if (markedMask[i])
43 TestMarked(polygons, i);
44 else
45 TestNotMarked(polygons, i);
46}
47
48UNIT_TEST(PolyBordersPostprocessor_MarkPoints_1)
49{

Callers 1

UNIT_TESTFunction · 0.85

Calls 3

TestMarkedFunction · 0.85
TestNotMarkedFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected