(b *testing.B)
| 17 | } |
| 18 | |
| 19 | func BenchmarkWrappedRecordIs(b *testing.B) { |
| 20 | a := WrapRecord(&testRecord) |
| 21 | c := WrapRecord(&testRecord) |
| 22 | |
| 23 | for i := 0; i < b.N; i++ { |
| 24 | if !a.Is(c) { |
| 25 | b.Fatal("records should match") |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | func BenchmarkWrappedRecordGet(b *testing.B) { |
| 31 | r := WrapRecord(&testRecord) |
nothing calls this directly
no test coverage detected