Commit Graph

2 Commits

Author SHA1 Message Date
75208543a4 Update test program with special conditions for Emscripten builds
In Emscripten builds, remove comparisons using `fs::last_write_time`
because they cause a compilation error within Catch2. Add sleep calls
to lighten the CPU load when launching successive game runs.

Also added a script for upgrading to the latest version of Catch2 and
upgraded Catch2 to v3.7.1.
2024-11-16 18:53:27 -05:00
2f6a2500f6 - Added unit test framework Catch2 to the repository
- Added a simple test program that loads Catch2 and opens and closes a game
- Added build targets for Linux and Emscripten for the test program
- Game class is no longer pure abstract, so it can be instantiated directly
- Changed glcontext to a shared_ptr so it will be deleted automatically
2024-07-25 01:45:32 -04:00