(t *testing.T)
| 219 | } |
| 220 | |
| 221 | func TestDecodeIPPrefix(t *testing.T) { |
| 222 | for _, tc := range internal.IPPrefixTestCases { |
| 223 | d1 := decodeTagData(getReader(tc.Binary)) |
| 224 | if string(d1) != tc.Text { |
| 225 | t.Errorf("decodeIPPrefix(0x%s)=%s, want:%s", hex.EncodeToString([]byte(tc.Binary)), d1, tc.Text) |
| 226 | } |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | var compositeCborTestCases = []struct { |
| 231 | Binary []byte |
nothing calls this directly
no test coverage detected