diff options
author | Siddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com> | 2025-03-02 20:35:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-02 20:35:40 -0500 |
commit | b88f24b680be34b3669f33214758c76439d7b777 (patch) | |
tree | b9815d43d79b631939cd531512b470829ba16436 /tests/tests.cc | |
parent | 3fbe74a1067a6e94d62a53d4df834ff425c2c64a (diff) | |
parent | a9af4fd3243e470ff33d50968f998bf78c152717 (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.cc | 10 |
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 ); -} |