39 #include <SkelCL/detail/DeviceList.h>
45 class DeviceListTest :
public ::testing::Test {
55 TEST_F(DeviceListTest, Instance) {
56 skelcl::detail::DeviceList devices;
57 EXPECT_TRUE(devices.empty());
60 TEST_F(DeviceListTest, DeviceListInitOne) {
61 skelcl::detail::DeviceList devices;
63 EXPECT_FALSE(devices.empty());
64 EXPECT_EQ(1, devices.size());
67 TEST_F(DeviceListTest, DeviceListInit) {
68 skelcl::detail::DeviceList devices;
70 EXPECT_FALSE(devices.empty());
71 EXPECT_LT(0, devices.size()) <<
"Expected at least one device";
SKELCL_DLL detail::DeviceProperties allDevices()
Creates a detail::DeviceProperties object representing all devices in the system. This object should ...
SKELCL_DLL detail::DeviceProperties nDevices(size_t n)
Creates a detail::DeviceProperties object representing n devices. This object should be used as param...