1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 04:05:49 +01:00

Create test data helpers

This commit is contained in:
Ted John
2017-01-11 17:15:24 +00:00
parent cf7f1b7335
commit b28fde6ae7
4 changed files with 29 additions and 2 deletions

16
test/tests/TestData.cpp Normal file
View File

@@ -0,0 +1,16 @@
#include <openrct2/core/Path.hpp>
#include "TestData.h"
namespace TestData
{
std::string GetBasePath()
{
return "testdata";
}
std::string GetParkPath(std::string name)
{
std::string path = Path::Combine(GetBasePath(), "parks", name);
return path;
}
};