MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / START_SECTION

Function START_SECTION

src/tests/class_tests/openswathalgo/Datastructures_test.cpp:24–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22/////////////////////////////////////////////////////////////
23
24START_SECTION(OSSpectrum_empty)
25{
26 OSSpectrum s;
27
28 TEST_EQUAL (s.getMZArray() == nullptr, false)
29 TEST_EQUAL (s.getIntensityArray() == nullptr, false)
30 TEST_EQUAL (s.getDriftTimeArray() == nullptr, true)
31
32 TEST_EQUAL (s.getMZArray()->data.size(), 0)
33 TEST_EQUAL (s.getIntensityArray()->data.size(), 0)
34}
35END_SECTION
36
37START_SECTION(OSSpectrum_data)

Callers

nothing calls this directly

Calls 4

TEST_EQUALFunction · 0.85
backMethod · 0.80
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected