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

Method test

extern/libcds/test/stress/pqueue/push.cpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 virtual void test()
41 {
42 typedef typename PQueue::value_type value_type;
43
44 for ( auto it = m_arr.begin(); it != m_arr.end(); ++it ) {
45 if ( !m_Queue.push( value_type( *it )))
46 ++m_nPushError;
47 }
48 }
49
50 void prepare( size_t nStart, size_t nEnd )
51 {

Callers

nothing calls this directly

Calls 4

value_typeClass · 0.50
beginMethod · 0.45
endMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected