(t *testing.T)
| 210 | } |
| 211 | |
| 212 | func TestDecodeMACAddr(t *testing.T) { |
| 213 | for _, tc := range internal.MacAddrTestCases { |
| 214 | d1 := decodeTagData(getReader(tc.Binary)) |
| 215 | if string(d1) != tc.Text { |
| 216 | t.Errorf("decodeNetworkAddr(0x%s)=%s, want:%s", hex.EncodeToString([]byte(tc.Binary)), d1, tc.Text) |
| 217 | } |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | func TestDecodeIPPrefix(t *testing.T) { |
| 222 | for _, tc := range internal.IPPrefixTestCases { |
nothing calls this directly
no test coverage detected