Resources and utilities sit directly in src. The ImGui windows, wizards, popups and helpers are in ui. Headers that would shadow system ones are renamed: math_util, timestamp, subprocess, localization. Includes are written from src.
17 lines
427 B
C++
17 lines
427 B
C++
#include "common.h"
|
|
|
|
using namespace anm2ed;
|
|
using namespace anm2ed::test;
|
|
|
|
TEST_CASE("fixtures match goldens")
|
|
{
|
|
auto fixtures = fixtures_get();
|
|
REQUIRE(!fixtures.empty());
|
|
for (const auto& fixture : fixtures)
|
|
{
|
|
auto anm2 = model_load(file_load(fixture));
|
|
for (const auto& [name, text] : variants_get(anm2))
|
|
golden_check(GOLDEN_DIR / std::format("{}.{}.xml", fixture.stem().string(), name), text);
|
|
}
|
|
}
|