MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

src/common/classes/tests/ArrayTest.cpp:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11BOOST_AUTO_TEST_SUITE(ArrayTests)
12
13BOOST_AUTO_TEST_CASE(ConstructionWithStdInitializerTest)
14{
15 Array<int> array(*getDefaultMemoryPool(), {1, 2, 3, 4});
16
17 BOOST_TEST(array.getCount() == 4);
18 BOOST_TEST(array[0] == 1);
19 BOOST_TEST(array[3] == 4);
20}
21
22BOOST_AUTO_TEST_CASE(ClearTest)
23{

Callers

nothing calls this directly

Calls 7

getDefaultMemoryPoolFunction · 0.85
getCountMethod · 0.45
clearMethod · 0.45
isEmptyMethod · 0.45
hasDataMethod · 0.45
getCapacityMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected