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

Function START_SECTION

src/tests/class_tests/openms/source/Matrix_test.cpp:154–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 TEST_EQUAL(micr.getValue(1,0), 44);
153}
154END_SECTION
155
156START_SECTION(container_type row(size_type const i) const)
157{
158 Matrix<int>::container_type row = mi.row(0);
159 TEST_EQUAL(row.size(), 3)
160 TEST_EQUAL(row[0], 3)
161 TEST_EQUAL(row[1], 3)
162 TEST_EQUAL(row[2], 3)
163 row = mi.row(1);
164 TEST_EQUAL(row[0], 44)
165 TEST_EQUAL(row[1], 17)
166 TEST_EQUAL(row[2], 33)
167}
168END_SECTION
169
170START_SECTION(container_type col(size_type const i) const)

Callers 1

Matrix_test.cppFile · 0.70

Calls 4

TEST_EQUALFunction · 0.85
rowMethod · 0.80
colMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected