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

Function TestEmptyContour

Modules/ContourModel/Testing/mitkContourModelSetTest.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45static void TestEmptyContour()
46{
47 mitk::ContourModelSet::Pointer contourSet = mitk::ContourModelSet::New();
48
49 MITK_TEST_CONDITION(contourSet->Begin() == contourSet->End(), "test iterator of empty contour");
50
51 MITK_TEST_CONDITION(contourSet->GetSize() == 0, "test numberof vertices of empty contour");
52}
53
54int mitkContourModelSetTest(int /*argc*/, char * /*argv*/ [])
55{

Callers 1

mitkContourModelSetTestFunction · 0.70

Calls 4

NewFunction · 0.50
BeginMethod · 0.45
EndMethod · 0.45
GetSizeMethod · 0.45

Tested by

no test coverage detected