diff options
Diffstat (limited to 'tests/recursive_functions.c')
| -rw-r--r-- | tests/recursive_functions.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/recursive_functions.c b/tests/recursive_functions.c deleted file mode 100644 index b81824a..0000000 --- a/tests/recursive_functions.c +++ /dev/null @@ -1,13 +0,0 @@ -#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)); -} |
