| 71 | } |
| 72 | |
| 73 | static std::string GetResourceFilePath(std::string filename) |
| 74 | { |
| 75 | std::string testResources = TEST_RESOURCE_DIR; |
| 76 | if (0 == testResources.size()) |
| 77 | { |
| 78 | throw "Invalid test resources directory provided"; |
| 79 | } |
| 80 | else |
| 81 | { |
| 82 | if(testResources.back() != '/') |
| 83 | { |
| 84 | return testResources + "/" + filename; |
| 85 | } |
| 86 | else |
| 87 | { |
| 88 | return testResources + filename; |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | TEST_CASE("Test Adding Inference output to frame") |
| 94 | { |