(t *testing.T)
| 97 | } |
| 98 | |
| 99 | func 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 | |
| 106 | func TestParseGraph_None(t *testing.T) { |
| 107 | nodes := []string{"1", "2", "3", "4", "5"} |
nothing calls this directly
no test coverage detected