MCPcopy Create free account
hub / github.com/boostorg/compute / BOOST_AUTO_TEST_CASE

Function BOOST_AUTO_TEST_CASE

test/test_permutation_iterator.cpp:28–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include "context_setup.hpp"
27
28BOOST_AUTO_TEST_CASE(value_type)
29{
30 using boost::compute::float4_;
31
32 BOOST_STATIC_ASSERT((
33 boost::is_same<
34 boost::compute::permutation_iterator<
35 boost::compute::buffer_iterator<float>,
36 boost::compute::buffer_iterator<int>
37 >::value_type,
38 float
39 >::value
40 ));
41 BOOST_STATIC_ASSERT((
42 boost::is_same<
43 boost::compute::permutation_iterator<
44 boost::compute::buffer_iterator<float4_>,
45 boost::compute::buffer_iterator<short>
46 >::value_type,
47 float4_
48 >::value
49 ));
50}
51
52BOOST_AUTO_TEST_CASE(base_type)
53{

Callers

nothing calls this directly

Calls 4

copyFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected