Files
compute-runtime/opencl/test/unit_test/os_interface/os_interface_tests.cpp
Adam Cetnerowski a9c2840770 ULT renaming: OS Interface tests
Related-To: NEO-2236

Change-Id: Ibde858174cf85e4491450b4b63b86bebc7d709c2
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-06-22 12:40:25 +02:00

23 lines
606 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, WhenInterfaceIsCreatedThenItIsNonCopyable) {
EXPECT_FALSE(std::is_move_constructible<NEO::OSInterface>::value);
EXPECT_FALSE(std::is_copy_constructible<NEO::OSInterface>::value);
}
TEST(OSInterface, WhenInterfaceIsCreatedThenItIsNonAssignable) {
EXPECT_FALSE(std::is_move_assignable<NEO::OSInterface>::value);
EXPECT_FALSE(std::is_copy_assignable<NEO::OSInterface>::value);
}