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

Function BOOST_AUTO_TEST_CASE

test/test_counting_iterator.cpp:26–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#include "context_setup.hpp"
25
26BOOST_AUTO_TEST_CASE(value_type)
27{
28 BOOST_STATIC_ASSERT((
29 boost::is_same<
30 boost::compute::counting_iterator<int>::value_type,
31 int
32 >::value
33 ));
34 BOOST_STATIC_ASSERT((
35 boost::is_same<
36 boost::compute::counting_iterator<float>::value_type,
37 float
38 >::value
39 ));
40}
41
42BOOST_AUTO_TEST_CASE(distance)
43{

Callers

nothing calls this directly

Calls 1

make_counting_iteratorFunction · 0.85

Tested by

no test coverage detected