MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / cases

Struct cases

math/modular/exponentiation_test.go:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import "testing"
9
10type cases struct {
11 name string
12 description string
13 base int64
14 exponent int64
15 mod int64
16 expected int64
17 expectedError error
18}
19
20var testCases = []cases{
21 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected