mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-20 21:40:57 +00:00
Add tests for WinRT Projection Raw ABI consumption Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
26 lines
No EOL
747 B
C
26 lines
No EOL
747 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 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, EvaluateFromModelFromBuffer)
|
|
WINML_TEST_CLASS_END() |