(t *testing.T)
| 145 | } |
| 146 | |
| 147 | func TestDetectNoCycles(t *testing.T) { |
| 148 | tasks := createTestTasks() |
| 149 | g := NewGraph(tasks) |
| 150 | |
| 151 | cycles := g.DetectCycles() |
| 152 | |
| 153 | if len(cycles) != 0 { |
| 154 | t.Errorf("Expected no cycles, found %d", len(cycles)) |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | func TestFilterTasks(t *testing.T) { |
| 159 | tasks := createTestTasks() |
nothing calls this directly
no test coverage detected