aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test_recursive_functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_recursive_functions.sh')
-rw-r--r--tests/test_recursive_functions.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/test_recursive_functions.sh b/tests/test_recursive_functions.sh
deleted file mode 100644
index 709cfbe..0000000
--- a/tests/test_recursive_functions.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-test_exit_code 0 <<'EOF'
-#include "../../helpers.h"
-
-int fib(int n) {
- if (n <= 1) {
- return 1;
- } else {
- return fib(n - 1) + fib(n - 2);
- }
-}
-
-int main() {
- ASSERT_EQ(89, fib(10));
-}
-EOF