2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-26 06:11:53 +00:00

test: add unit test for ImageIPakPostProcessor

This commit is contained in:
Jan
2025-01-07 23:48:17 +01:00
parent e0f8b3d3ca
commit 8c8ceae0bd
10 changed files with 378 additions and 12 deletions

View File

@ -1,10 +1,15 @@
#include "ZoneDefinition.h"
ZoneDefinitionObjContainer::ZoneDefinitionObjContainer(std::string name, const ZoneDefinitionObjContainerType type, const unsigned start)
: ZoneDefinitionObjContainer(std::move(name), type, start, 0u)
{
}
ZoneDefinitionObjContainer::ZoneDefinitionObjContainer(std::string name, const ZoneDefinitionObjContainerType type, const unsigned start, const unsigned end)
: m_name(std::move(name)),
m_type(type),
m_asset_start(start),
m_asset_end(0u)
m_asset_end(end)
{
}

View File

@ -32,6 +32,7 @@ public:
unsigned m_asset_end;
ZoneDefinitionObjContainer(std::string name, ZoneDefinitionObjContainerType type, unsigned start);
ZoneDefinitionObjContainer(std::string name, ZoneDefinitionObjContainerType type, unsigned start, unsigned end);
};
class ZoneDefinitionAsset