(t *testing.T)
| 201 | } |
| 202 | |
| 203 | func TestDecodeNetworkAddr(t *testing.T) { |
| 204 | for _, tc := range internal.IpAddrTestCases { |
| 205 | d1 := decodeTagData(getReader(tc.Binary)) |
| 206 | if string(d1) != tc.Text { |
| 207 | t.Errorf("decodeNetworkAddr(0x%s)=%s, want:%s", hex.EncodeToString([]byte(tc.Binary)), d1, tc.Text) |
| 208 | } |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | func TestDecodeMACAddr(t *testing.T) { |
| 213 | for _, tc := range internal.MacAddrTestCases { |
nothing calls this directly
no test coverage detected