Moved the game engine into its own unit and then made a failing test for it.

This commit is contained in:
Zed A. Shaw 2024-08-09 23:01:06 -04:00
parent fb5bf9d733
commit 440be444ea
7 changed files with 82 additions and 49 deletions

View file

@ -1,5 +1,5 @@
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.h"
#include <doctest.h>
int factorial(int number) { return number <= 1 ? number : factorial(number - 1) * number; }