summaryrefslogtreecommitdiff
path: root/tests/tests.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-02 13:37:53 -0500
committerbd <bdunahu@operationnull.com>2025-03-02 13:37:53 -0500
commita9af4fd3243e470ff33d50968f998bf78c152717 (patch)
treeb9815d43d79b631939cd531512b470829ba16436 /tests/tests.cc
parenta81e74ecfc73e27cceba863b8c780ebde51a8d47 (diff)
Added logger class, tests, arg parsing and cleanup
Diffstat (limited to 'tests/tests.cc')
-rw-r--r--tests/tests.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/tests.cc b/tests/tests.cc
index 8a23c4d..7817006 100644
--- a/tests/tests.cc
+++ b/tests/tests.cc
@@ -1,11 +1 @@
#define CATCH_CONFIG_MAIN
-#include "fact.h"
-#include<catch2/catch_test_macros.hpp>
-
-TEST_CASE( "factorials are computed", "[factorial]")
-{
- REQUIRE( factorial(1) == 1 );
- REQUIRE( factorial(2) == 2 );
- REQUIRE( factorial(3) == 6 );
- REQUIRE( factorial(10) == 3628800 );
-}