Move ComputeTest,GraphicsTest,RenderTest and Std140Debug to the tests folder

Also renamed NazaraUnitTests to UnitTests
This commit is contained in:
SirLynix
2022-12-26 08:44:11 +01:00
parent fe8715f1fb
commit 4b804dc613
71 changed files with 33 additions and 36 deletions

View File

@@ -0,0 +1,15 @@
#include <filesystem>
std::filesystem::path GetAssetDir()
{
static std::filesystem::path resourceDir = []
{
std::filesystem::path dir = "assets";
if (!std::filesystem::is_directory(dir) && std::filesystem::is_directory("../.." / dir))
dir = "../.." / dir;
return dir / "tests";
}();
return resourceDir;
}