Add comprehensive tests for collision detection, entity dispatch, file system, isometric controls, map rendering, and sorting

- Implemented collision tests to verify overlap and movement logic for collision bodies.
- Enhanced entity dispatch entry tests to cover initialization, group ID management, and process handling.
- Expanded file system tests to include crash diagnostics and ensure proper game data root detection.
- Created isometric controls tests to validate movement requests and screen projection calculations.
- Added map renderer tests to check fixed map loading and rendering functionality.
- Introduced map sorter tests to confirm correct rendering order for various items.
This commit is contained in:
Maddo 2026-09-25 21:41:20 +02:00
commit 202679f857
27 changed files with 3530 additions and 81 deletions

View file

@ -30,11 +30,12 @@ call "%VCVARS%" || exit /b 2
cd /d "%REPO_ROOT%" || exit /b 2
cmake -S rebuild/remorse -B rebuild/remorse/out/build || exit /b 1
cmake --build rebuild/remorse/out/build --config "%CONFIG%" || exit /b 1
ctest --test-dir rebuild/remorse/out/build -C "%CONFIG%" --output-on-failure || exit /b 1
set "BUILD_DIR=rebuild/remorse/out/build-nmake"
cmake -S rebuild/remorse -B "%BUILD_DIR%" -G "NMake Makefiles" -DCMAKE_BUILD_TYPE="%CONFIG%" || exit /b 1
cmake --build "%BUILD_DIR%" || exit /b 1
ctest --test-dir "%BUILD_DIR%" --output-on-failure || exit /b 1
set "EXE=rebuild\remorse\out\build\%CONFIG%\remorse_rebuild.exe"
set "EXE=%BUILD_DIR%\remorse_rebuild.exe"
if not exist "%EXE%" (
echo Built executable was not found at "%EXE%".
exit /b 1