diff options
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 ); -} |