(t *testing.T)
| 17 | } |
| 18 | |
| 19 | func TestRange2Int(t *testing.T) { |
| 20 | tEmpty := net.IPNet{} |
| 21 | // empty item |
| 22 | _, _, _, _, _, err := Range2Ints(tEmpty) |
| 23 | if !strings.Contains(err.Error(), "converting first ip in range") { |
| 24 | t.Fatalf("unexpected: %s", err) |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | func TestAdd2Int(t *testing.T) { |
| 29 | tests := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…