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

Function BOOST_AUTO_TEST_CASE

compute/test/test_extents.cpp:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24#ifndef BOOST_COMPUTE_NO_HDR_INITIALIZER_LIST
25BOOST_AUTO_TEST_CASE(initialize)
26{
27 compute::extents<1> one(1);
28 BOOST_CHECK_EQUAL(one[0], size_t(1));
29
30 compute::extents<3> xyz = compute::dim(1, 2, 3);
31 BOOST_CHECK_EQUAL(xyz[0], size_t(1));
32 BOOST_CHECK_EQUAL(xyz[1], size_t(2));
33 BOOST_CHECK_EQUAL(xyz[2], size_t(3));
34}
35#endif
36
37BOOST_AUTO_TEST_CASE(size)

Callers

nothing calls this directly

Calls 7

dimFunction · 0.85
copyFunction · 0.85
dataMethod · 0.80
linearMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected