MCPcopy Create free account
hub / github.com/MITK/MITK / TestAddVertex

Function TestAddVertex

Modules/ContourModel/Testing/mitkContourModelSetTest.cpp:15–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#include <mitkTestingMacros.h>
14
15static void TestAddVertex()
16{
17 mitk::ContourModelSet::Pointer contourSet = mitk::ContourModelSet::New();
18
19 mitk::ContourModel::Pointer contour = mitk::ContourModel::New();
20
21 contourSet->AddContourModel(contour);
22
23 MITK_TEST_CONDITION(contourSet->GetSize() > 0, "Add a contour, size increased");
24}
25
26static void TestRemoveContourAtIndex()
27{

Callers 1

mitkContourModelSetTestFunction · 0.70

Calls 3

AddContourModelMethod · 0.80
NewFunction · 0.50
GetSizeMethod · 0.45

Tested by

no test coverage detected