This commit is contained in:
2026-04-26 14:55:49 +02:00
parent 334390b8e8
commit b8b80b697c
7 changed files with 129 additions and 97 deletions

View File

@@ -53,6 +53,10 @@ class BigFileFixture: public ::testing::Test
TEST_F(BigFileFixture, Asset)
{
AssetA assetA;
const eastl::vector<std::byte> test = assetA.Pack();
AssetA assetB {test};
}
/****************************************************************************************/

View File

@@ -14,6 +14,13 @@ namespace Bigfoot
{
class AssetA: public Asset<Flat::AssetA>
{
public:
AssetA() = default;
AssetA(const eastl::span<const std::byte> p_flatbuffer):
Asset(p_flatbuffer)
{
}
};
} // namespace Bigfoot