(t *testing.T, sel *Selection, is ...string)
| 89 | } |
| 90 | |
| 91 | func assertSelectionIs(t *testing.T, sel *Selection, is ...string) { |
| 92 | for i := 0; i < sel.Length(); i++ { |
| 93 | if !sel.Eq(i).Is(is[i]) { |
| 94 | t.Errorf("Expected node %d to be %s, found %+v", i, is[i], sel.Get(i)) |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | func printSel(t *testing.T, sel *Selection) { |
| 100 | if testing.Verbose() { |
no test coverage detected
searching dependent graphs…