MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / TestMap

Function TestMap

module/system/dto/input_test.go:8–20  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

6)
7
8func TestMap(t *testing.T) {
9 invokeAddress := "http://127.0.0.1:8080"
10 ollamaAddress := "http://127.0.0.1:8081"
11 input := &InputSetting{
12 InvokeAddress: &invokeAddress,
13 OllamaAddress: &ollamaAddress,
14 }
15 err := input.Validate()
16 if err != nil {
17 t.Error(err)
18 }
19 log.Println(ToKeyMap(input))
20}

Callers

nothing calls this directly

Calls 2

ValidateMethod · 0.95
ToKeyMapFunction · 0.85

Tested by

no test coverage detected