refactor code
This commit is contained in:
Родитель
bf37d5d779
Коммит
935b3802e2
|
@ -865,8 +865,7 @@ namespace WinMLRunnerTest
|
|||
TEST_METHOD(LoadModelFailModelNotFound)
|
||||
{
|
||||
const std::wstring command = BuildCommand({ EXE_PATH, L"-model", L"invalid_model_name" });
|
||||
auto temp = RunProc((wchar_t *)command.c_str());
|
||||
Assert::AreEqual(HRESULT_FROM_WIN32(E_FAIL), temp);
|
||||
Assert::AreEqual(HRESULT_FROM_WIN32(E_FAIL), RunProc((wchar_t *)command.c_str()));
|
||||
}
|
||||
|
||||
TEST_METHOD(TestPrintUsage)
|
||||
|
|
Загрузка…
Ссылка в новой задаче