Files
anm2ed/tests/roundtrip.cpp
T
shweet 7fb2c607c2 Flatten src into model, edit and ui, with .h headers
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.
2026-11-22 17:12:05 -05:00

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);
}
}