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

Function HasProp

Modules/Multilabel/Testing/mitkDICOMSegmentationPropertyHelperTest.cpp:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 bool HasProp(const mitk::MultiLabelSegmentation* seg,
69 unsigned int g, unsigned int e)
70 {
71 return seg->GetConstProperty(DICOMKey(g, e)).IsNotNull();
72 }
73}
74
75class mitkDICOMSegmentationPropertyHelperTestSuite : public mitk::TestFixture

Calls 3

IsNotNullMethod · 0.80
DICOMKeyFunction · 0.70
GetConstPropertyMethod · 0.45

Tested by

no test coverage detected