MCPcopy Create free account
hub / github.com/bitfield/ftl-code / testCase

Struct testCase

8.3/calculator_test.go:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8func TestAddMany(t *testing.T) {
9 t.Parallel()
10 type testCase struct {
11 inputs []float64
12 want float64
13 }
14 testCases := []testCase{
15 {inputs: []float64{}, want: 0},
16 {inputs: []float64{2}, want: 2},

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected