MCPcopy Create free account
hub / github.com/encodeous/nylon / TestParseGraph_Single

Function TestParseGraph_Single

state/config_test.go:99–104  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

97}
98
99func TestParseGraph_Single(t *testing.T) {
100 nodes := []string{"1", "2", "3", "4", "5"}
101 input := `1`
102 _, err := ParseGraph(strings.Split(input, "\n"), nodes)
103 assert.ErrorContains(t, err, "invalid pairing, [1]")
104}
105
106func TestParseGraph_None(t *testing.T) {
107 nodes := []string{"1", "2", "3", "4", "5"}

Callers

nothing calls this directly

Calls 1

ParseGraphFunction · 0.85

Tested by

no test coverage detected