fix(t6): save combined sound and effect overrides in none attachment unique (#1090)

This commit is contained in:
Jan Laupetin authored and GitHub committed 2026-11-12 20:05:54 +01:00
1 parent 2826174cf7
commit 6aac3e94e8
10 files changed
+136 -2

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#include "TestFiles.h"
#include <catch2/catch_test_macros.hpp>
#include <fstream>
namespace fs = std::filesystem;
std::string LoadTestFile(const std::filesystem::path& filePath)
{
const auto fileSize = static_cast<size_t>(fs::file_size(filePath));
std::ifstream file(filePath, std::ios::binary);
REQUIRE(file.is_open());
std::string data(fileSize, '\0');
file.read(data.data(), fileSize);
return data;
}
+6
View File
@@ -0,0 +1,6 @@
#pragma once
#include <filesystem>
#include <string>
std::string LoadTestFile(const std::filesystem::path& filePath);