MCPcopy Create free account
hub / github.com/diillson/chatcli / TestGraphViewToolDefinition

Function TestGraphViewToolDefinition

cli/chat_graphview_test.go:33–41  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

31}
32
33func TestGraphViewToolDefinition(t *testing.T) {
34 def := graphViewToolDefinition()
35 if def.Function.Name != "graphview" {
36 t.Fatalf("name = %q", def.Function.Name)
37 }
38 if def.Function.Parameters == nil {
39 t.Fatal("missing parameters")
40 }
41}
42
43func TestIsGraphViewToolName(t *testing.T) {
44 for _, n := range []string{"graphview", "@graphview", " GraphView "} {

Callers

nothing calls this directly

Calls 1

graphViewToolDefinitionFunction · 0.85

Tested by

no test coverage detected