Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fmt array_of_fns_index_call_with_embeded_array_call_test.v
Browse files Browse the repository at this point in the history
yuyi98 committed Sep 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 6e72203 commit 7377ccc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ fn decelerate(speed int) int {

fn test_array_of_fns_index_call_with_embeded_array_call() {
funcs := [first_gear, second_gear, third_gear]

speed1 := max_speed(funcs, decelerate, 3)
println(speed1)
assert speed1 == 1

0 comments on commit 7377ccc

Please sign in to comment.