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

Function BOOST_AUTO_TEST_CASE

compute/test/test_platform.cpp:19–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#include <boost/compute/system.hpp>
18
19BOOST_AUTO_TEST_CASE(platform_id)
20{
21 boost::compute::platform platform =
22 boost::compute::system::platforms().front();
23
24 boost::compute::platform platform_copy(platform.id());
25
26 BOOST_CHECK(platform == platform_copy);
27 BOOST_CHECK(platform.id() == platform_copy.id());
28}
29
30BOOST_AUTO_TEST_CASE(platform_supports_extension)
31{

Callers

nothing calls this directly

Calls 6

substrMethod · 0.80
frontMethod · 0.45
idMethod · 0.45
emptyMethod · 0.45
findMethod · 0.45
supports_extensionMethod · 0.45

Tested by

no test coverage detected