(t *testing.T)
| 36 | } |
| 37 | |
| 38 | func TestParallel(t *testing.T) { |
| 39 | // Root is always run sync. |
| 40 | newLevels(). |
| 41 | // Level 1: bf=20(parallel) |
| 42 | Add(20, true). |
| 43 | // Level 2: bf=5(parallel) |
| 44 | Add(5, true). |
| 45 | // Level 3: bf=2(parallel) |
| 46 | Add(2, true). |
| 47 | Build(). |
| 48 | Run(t) |
| 49 | } |
| 50 | |
| 51 | func TestMix(t *testing.T) { |
| 52 | // Root is always run sync. |