(t *testing.T)
| 119 | } |
| 120 | |
| 121 | func TestGraph_ValidateColorsOfVertex(t *testing.T) { |
| 122 | for i, tt := range getTestGraphs() { |
| 123 | t.Run(strconv.Itoa(i), func(t *testing.T) { |
| 124 | if err := tt.Graph.ValidateColorsOfVertex(tt.VertexColors); err != nil { |
| 125 | t.Errorf("ValidateColorsOfVertex() error = %v, wantErr nil", err) |
| 126 | } |
| 127 | }) |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | func getTestGraphsForNegativeTests() (list []*testGraph) { |
| 132 | list = getTestGraphs() |
nothing calls this directly
no test coverage detected