mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00

Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
23 lines
540 B
C++
23 lines
540 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/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);
|
|
}
|