Moved the game engine into its own unit and then made a failing test for it.
This commit is contained in:
parent
fb5bf9d733
commit
440be444ea
7 changed files with 82 additions and 49 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue