(t *testing.T)
| 52 | } |
| 53 | |
| 54 | func TestReparent(t *testing.T) { |
| 55 | tasks := NewTaskList() |
| 56 | a := tasks.Create("do A", MEDIUM) |
| 57 | b := tasks.Create("do B", MEDIUM) |
| 58 | ReparentTask(a, b) |
| 59 | if a.Parent().Equal(b) { |
| 60 | t.Fail() |
| 61 | } |
| 62 | } |
nothing calls this directly
no test coverage detected