summaryrefslogtreecommitdiff
path: root/src/tests/test_assets.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-28 09:31:13 +0100
committerskal <pascal.massimino@gmail.com>2026-01-28 09:31:13 +0100
commit302d883f34864bc66a5e04532ae27d7e89fd94e8 (patch)
tree8f813865d5dc5b70ee8bf9ee4866546116859825 /src/tests/test_assets.cc
parentf804dcb9740540b3735628ebf8c006235cc56fca (diff)
style: Add 3-line descriptive headers to all source files
This commit applies a new project-wide rule that every source file must begin with a concise 3-line comment header describing its purpose. - Updated CONTRIBUTING.md with the new rule. - Applied headers to all .cc and .h files in src/ and tools/. - Fixed various minor compilation errors and missing includes discovered during the header update process.
Diffstat (limited to 'src/tests/test_assets.cc')
-rw-r--r--src/tests/test_assets.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/test_assets.cc b/src/tests/test_assets.cc
index eedc92b..606c7a7 100644
--- a/src/tests/test_assets.cc
+++ b/src/tests/test_assets.cc
@@ -1,3 +1,7 @@
+// This file is part of the 64k demo project.
+// It tests the asset manager's ability to retrieve packed data.
+// Verifies data integrity and size reporting.
+
#include "assets.h"
#include <assert.h>
#include <stdio.h>
@@ -26,4 +30,4 @@ int main() {
printf("AssetManager test PASSED\n");
return 0;
-}
+} \ No newline at end of file