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

Function BOOST_AUTO_TEST_CASE

compute/test/test_valarray.cpp:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include "context_setup.hpp"
20
21BOOST_AUTO_TEST_CASE(size)
22{
23 boost::compute::valarray<float> array;
24 BOOST_CHECK_EQUAL(array.size(), size_t(0));
25
26 array.resize(10);
27 BOOST_CHECK_EQUAL(array.size(), size_t(10));
28}
29
30BOOST_AUTO_TEST_CASE(at)
31{

Callers

nothing calls this directly

Calls 4

sumMethod · 0.80
sizeMethod · 0.45
resizeMethod · 0.45
applyMethod · 0.45

Tested by

no test coverage detected