Skip to content

Commit

Permalink
update winml GetAllTestCases
Browse files Browse the repository at this point in the history
  • Loading branch information
garymm committed Jun 13, 2022
1 parent ccafd94 commit bc78ae7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions winml/test/model/model_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,6 @@ std::string GetTestDataPath() {
static std::vector<ITestCase*> GetAllTestCases() {
std::vector<ITestCase*> tests;
std::vector<std::basic_string<PATH_CHAR_TYPE>> whitelistedTestCases;
double perSampleTolerance = 1e-3;
double relativePerSampleTolerance = 1e-3;
std::unordered_set<std::basic_string<ORTCHAR_T>> allDisabledTests;
std::vector<std::basic_string<PATH_CHAR_TYPE>> dataDirs;
auto testDataPath = GetTestDataPath();
Expand Down Expand Up @@ -231,7 +229,7 @@ static std::vector<ITestCase*> GetAllTestCases() {
#endif


WINML_EXPECT_NO_THROW(LoadTests(dataDirs, whitelistedTestCases, perSampleTolerance, relativePerSampleTolerance,
WINML_EXPECT_NO_THROW(LoadTests(dataDirs, whitelistedTestCases, TestTolerances(1e-3, 1e-3, {}, {}),
allDisabledTests,
[&tests](std::unique_ptr<ITestCase> l) {
tests.push_back(l.get());
Expand Down

0 comments on commit bc78ae7

Please sign in to comment.