compute-runtime/unit_tests/api/additional_extensions_tests...

18 lines
364 B
C++
Raw Normal View History

/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "test.h"
#include "api/additional_extensions.h"
using namespace NEO;
TEST(AdditionalExtension, GivenFuncNameWhenGetingFunctionAddressThenReturnNullptr) {
auto address = getAdditionalExtensionFunctionAddress("clFunction");
EXPECT_EQ(nullptr, address);
}