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

Function START_SECTION

src/tests/class_tests/openms/source/DPosition_test.cpp:42–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40START_SECTION((~DPosition()))
41 delete d10_ptr;
42END_SECTION
43
44START_SECTION(void swap(DPosition& rhs) noexcept)
45{
46 DPosition<3> i(1, 2, 3);
47 DPosition<3> j(4, 5, 6);
48 i.swap(j);
49 TEST_REAL_SIMILAR(i[0], 4)
50 TEST_REAL_SIMILAR(i[1], 5)
51 TEST_REAL_SIMILAR(i[2], 6)
52 TEST_REAL_SIMILAR(j[0], 1)
53 TEST_REAL_SIMILAR(j[1], 2)
54 TEST_REAL_SIMILAR(j[2], 3)
55}
56END_SECTION
57
58START_SECTION(DPosition& abs() noexcept)

Callers 1

DPosition_test.cppFile · 0.70

Calls 2

TEST_EQUALFunction · 0.85
swapMethod · 0.45

Tested by

no test coverage detected