Debian Codegraph @

tools/antithesis-go-toolexec/testdata/multipackage/beta/beta.go

raw
1 package beta
2
3 import "multipkg/shared"
4
5 func Total(n int) int {
6 total := 0
7 for i := 0; i < n; i++ {
8 if i%3 == 0 {
9 total += shared.Scale(i)
10 }
11 }
12 return total
13 }