mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Related-To: NEO-2236 Change-Id: Ibde858174cf85e4491450b4b63b86bebc7d709c2 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
23 lines
606 B
C++
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);
|
|
}
|