Move the tests to catch2 so I can get tap output for the game.

This commit is contained in:
Zed A. Shaw 2024-08-10 06:59:28 -04:00
parent 1fb99618bf
commit 52b59d38ad
5 changed files with 16 additions and 16 deletions

View file

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