(t *testing.T)
| 3 | import "testing" |
| 4 | |
| 5 | func TestPriorityParamIsZero(t *testing.T) { |
| 6 | var p PriorityParam |
| 7 | if !p.IsZero() { |
| 8 | t.Fatal("zero PriorityParam should be zero") |
| 9 | } |
| 10 | p = PriorityParam{StreamDep: 1} |
| 11 | if p.IsZero() { |
| 12 | t.Fatal("PriorityParam with StreamDep=1 should not be zero") |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | func TestSettingIDString(t *testing.T) { |
| 17 | tests := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…