summaryrefslogtreecommitdiff
path: root/.conan/test_package/test_package.cpp
diff options
context:
space:
mode:
Diffstat (limited to '.conan/test_package/test_package.cpp')
-rw-r--r--.conan/test_package/test_package.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/.conan/test_package/test_package.cpp b/.conan/test_package/test_package.cpp
deleted file mode 100644
index cff50de5..00000000
--- a/.conan/test_package/test_package.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-#define CATCH_CONFIG_MAIN
-
-#include <catch2/catch.hpp>
-
-int Factorial( int number ) {
- return number <= 1 ? 1 : Factorial( number - 1 ) * number;
-}
-
-TEST_CASE( "Factorial Tests", "[single-file]" ) {
- REQUIRE( Factorial(0) == 1 );
- REQUIRE( Factorial(1) == 1 );
- REQUIRE( Factorial(2) == 2 );
- REQUIRE( Factorial(3) == 6 );
- REQUIRE( Factorial(10) == 3628800 );
-} \ No newline at end of file