onnxruntime/winml/test/common/test.h
2020-01-16 00:19:46 -08:00

18 lines
341 B
C++

#pragma once
using VoidTest = void (*)();
using SetupTest = VoidTest;
constexpr bool alwaysTrue() {
return true;
}
#define WINML_SUPRESS_UNREACHABLE_BELOW(statement) \
if (alwaysTrue()) { statement; }
#ifdef BUILD_GOOGLE_TEST
#include "googleTestMacros.h"
#else
#ifdef BUILD_TAEF_TEST
#include "taefTestMacros.h"
#endif
#endif