Clean up some tests.
This commit is contained in:
parent
b17ba8b3a7
commit
c102ebb6da
64 changed files with 615 additions and 541 deletions
19
test/test_utils/TestUtils.h
Normal file
19
test/test_utils/TestUtils.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
using Path = std::filesystem::path;
|
||||
|
||||
class TestUtils
|
||||
{
|
||||
public:
|
||||
static Path getTestOutputDir()
|
||||
{
|
||||
return std::filesystem::current_path() / "test_output";
|
||||
}
|
||||
|
||||
static Path getTestDataDir()
|
||||
{
|
||||
return std::filesystem::current_path() / "test_data";
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue