MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

compute/test/test_flat_map.cpp:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include "context_setup.hpp"
24
25BOOST_AUTO_TEST_CASE(concept_check)
26{
27 BOOST_CONCEPT_ASSERT((boost::Container<boost::compute::flat_map<int, float> >));
28// BOOST_CONCEPT_ASSERT((boost::SimpleAssociativeContainer<boost::compute::flat_map<int, float> >));
29// BOOST_CONCEPT_ASSERT((boost::UniqueAssociativeContainer<boost::compute::flat_map<int, float> >));
30 BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<boost::compute::flat_map<int, float>::iterator>));
31 BOOST_CONCEPT_ASSERT((boost::RandomAccessIterator<boost::compute::flat_map<int, float>::const_iterator>));
32}
33
34BOOST_AUTO_TEST_CASE(insert)
35{

Callers

nothing calls this directly

Calls 11

make_pairFunction · 0.85
buildMethod · 0.80
create_kernelMethod · 0.80
enqueue_taskMethod · 0.80
insertMethod · 0.45
sizeMethod · 0.45
findMethod · 0.45
beginMethod · 0.45
atMethod · 0.45
set_argMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected