onnxruntime/winml/test/api/RawApiTests.h
Justin Chu eeef157888
Format c++ code under winml/ (#16660)
winml/ was previously excluded from lintrunner config. This change
includes the directory and adds the clang-format config file specific to
winml/ that fits existing style.

---------

Signed-off-by: Justin Chu <justinchu@microsoft.com>
2023-07-25 21:56:50 -07:00

27 lines
825 B
C

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "test.h"
struct RawApiTestsApi {
SetupClass RawApiTestsApiTestsClassSetup;
VoidTest CreateModelFromFilePath;
VoidTest CreateCpuDevice;
VoidTest Evaluate;
VoidTest EvaluateNoInputCopy;
VoidTest EvaluateManyBuffers;
VoidTest EvaluateFromModelFromBuffer;
};
const RawApiTestsApi& getapi();
WINML_TEST_CLASS_BEGIN(RawApiTests)
WINML_TEST_CLASS_SETUP_CLASS(RawApiTestsApiTestsClassSetup)
WINML_TEST_CLASS_BEGIN_TESTS
WINML_TEST(RawApiTests, CreateModelFromFilePath)
WINML_TEST(RawApiTests, CreateCpuDevice)
WINML_TEST(RawApiTests, Evaluate)
WINML_TEST(RawApiTests, EvaluateNoInputCopy)
WINML_TEST(RawApiTests, EvaluateManyBuffers)
WINML_TEST(RawApiTests, EvaluateFromModelFromBuffer)
WINML_TEST_CLASS_END()