(f *testing.F)
| 593 | } |
| 594 | |
| 595 | func FuzzFromBytes(f *testing.F) { |
| 596 | // Copied from TestFromBytes. |
| 597 | f.Add([]byte{ |
| 598 | 0x7d, 0x44, 0x48, 0x40, |
| 599 | 0x9d, 0xc0, |
| 600 | 0x11, 0xd1, |
| 601 | 0xb2, 0x45, |
| 602 | 0x5f, 0xfd, 0xce, 0x74, 0xfa, 0xd2, |
| 603 | }) |
| 604 | f.Fuzz(func(t *testing.T, in []byte) { |
| 605 | FromBytes(in) |
| 606 | }) |
| 607 | } |
| 608 | |
| 609 | // TestValidate checks various scenarios for the Validate function |
| 610 | func TestValidate(t *testing.T) { |
nothing calls this directly
no test coverage detected