Skip to content

Commit

Permalink
Test edge cases for fibonacci
Browse files Browse the repository at this point in the history
  • Loading branch information
Quaqqer committed Jan 6, 2024
1 parent a149fb0 commit 8b579e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/saft-tests/res/tests/fib_loop.saf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ fn fib(n) {
}
}

print(fib(0));
print(fib(1));
print(fib(20));

# output:
# 0
# 1
# 6765

0 comments on commit 8b579e0

Please sign in to comment.