MCPcopy Create free account
hub / github.com/ElementsProject/elements / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

src/test/checkqueue_tests.cpp:188–193  ·  view source on GitHub ↗

Test that 0 checks is correct */

Source from the content-addressed store, hash-verified

186/** Test that 0 checks is correct
187 */
188BOOST_AUTO_TEST_CASE(test_CheckQueue_Correct_Zero)
189{
190 std::vector<size_t> range;
191 range.push_back((size_t)0);
192 Correct_Queue_range(range);
193}
194/** Test that 1 check is correct
195 */
196BOOST_AUTO_TEST_CASE(test_CheckQueue_Correct_One)

Callers

nothing calls this directly

Calls 15

Correct_Queue_rangeFunction · 0.85
InsecureRandRangeFunction · 0.85
UninterruptibleSleepFunction · 0.85
StartWorkerThreadsMethod · 0.80
StopWorkerThreadsMethod · 0.80
emplace_backMethod · 0.80
countMethod · 0.80
waitMethod · 0.80
push_backMethod · 0.45
reserveMethod · 0.45
getMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected