assert and test changes
Test / build (push) Failing after 11m19s
Build / build (push) Successful in 1m18s

This commit is contained in:
Chuck Smith
2024-03-19 08:15:11 -04:00
parent 0b1ed43ae5
commit 60d27f09d7
7 changed files with 164 additions and 142 deletions
+1 -1
View File
@@ -40,4 +40,4 @@ let map = fn(arr, f) {
};
let numbers = [1, 1 + 1, 4 - 1, 2 * 2, 2 + 3, 12 / 2];
//map(numbers, fibonacci);
map(numbers, fibonacci);
+1 -1
View File
@@ -5,4 +5,4 @@ let fact = fn(n) {
return n * fact(n - 1)
}
print(fact(5)
assert(fact(5) == 120, "fact(5) != 120")