Files
compute-runtime/opencl/test/unit_test/os_interface/os_interface_tests.cpp
Mateusz Jablonski 7df9945ebe Add absolute include paths
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 23:49:12 +01:00

23 lines
546 B
C++

/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/os_interface/os_interface.h"
#include "gtest/gtest.h"
#include <type_traits>
TEST(OSInterface, NonCopyable) {
EXPECT_FALSE(std::is_move_constructible<NEO::OSInterface>::value);
EXPECT_FALSE(std::is_copy_constructible<NEO::OSInterface>::value);
}
TEST(OSInterface, NonAssignable) {
EXPECT_FALSE(std::is_move_assignable<NEO::OSInterface>::value);
EXPECT_FALSE(std::is_copy_assignable<NEO::OSInterface>::value);
}