/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2020-08-15 * Changed: 2022-05-11 * * */ #ifndef TEST_HELPER_HPP #define TEST_HELPER_HPP #include #include class TestHelper { public: TestHelper() = default; ~TestHelper() = default; static std::string getResourcesFolderLocation() { return TestHelper::getTestFolderLocation() + "resources" + ls::std::io::FilePathSeparator::get(); } static std::string getTestFolderLocation() { ls::std::io::File buildDirectory{ls::std::io::File::getWorkingDirectory()}; return buildDirectory.getParent() + "test" + ls::std::io::FilePathSeparator::get(); } }; #endif