From f804dcb9740540b3735628ebf8c006235cc56fca Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 28 Jan 2026 09:15:56 +0100 Subject: test(assets): Add functional tests for asset management system This commit makes the asset packer fully functional and adds an end-to-end test suite. - Updated asset_packer.cc to read file contents and embed them as hex arrays. - Added actual asset files (null.bin, test_asset.txt) for testing. - Implemented src/tests/test_assets.cc to verify data integrity at runtime. - Refactored CMakeLists.txt to handle generated file dependencies correctly. --- assets/final/assets.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'assets/final/assets.txt') diff --git a/assets/final/assets.txt b/assets/final/assets.txt index e69de29..c22fad8 100644 --- a/assets/final/assets.txt +++ b/assets/final/assets.txt @@ -0,0 +1,2 @@ +NULL_ASSET, null.bin, NONE, "Empty asset" +TEST_ASSET, test_asset.txt, NONE, "Test asset for verification" -- cgit v1.2.3