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

Function RunTest

generator/generator_tests/tesselator_test.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22};
23
24size_t RunTest(std::list<std::vector<P>> const & l)
25{
26 tesselator::TrianglesInfo info;
27 int const trianglesCount = tesselator::TesselateInterior(l, info);
28
29 size_t count;
30 info.ForEachTriangle(DoDump(count));
31 TEST_EQUAL(count, static_cast<size_t>(trianglesCount), ());
32 return count;
33}
34
35size_t RunTess(P const * arr, size_t count)
36{

Callers 2

RunTessFunction · 0.70
UNIT_TESTFunction · 0.70

Calls 3

TesselateInteriorFunction · 0.85
DoDumpClass · 0.85
ForEachTriangleMethod · 0.45

Tested by

no test coverage detected