summaryrefslogtreecommitdiff
path: root/tests/tests.cc
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-03-02 20:35:40 -0500
committerGitHub <noreply@github.com>2025-03-02 20:35:40 -0500
commite3369aad54bce775e2951e71618eb2cbb17972f9 (patch)
treeb9815d43d79b631939cd531512b470829ba16436 /tests/tests.cc
parentac072708e869970f33f3523dda3051a39a9ba611 (diff)
parenta9af4fd3243e470ff33d50968f998bf78c152717 (diff)
Merge pull request #8 from bdunahu/bdunahu
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 );
-}