(b *testing.B)
| 40 | } |
| 41 | |
| 42 | func BenchmarkWrappedRecordMeta(b *testing.B) { |
| 43 | r := WrapRecord(&testRecord) |
| 44 | for i := 0; i < b.N; i++ { |
| 45 | if got := r.Meta("foo"); got != "bar" { |
| 46 | b.Fatalf("expecting '%s' for meta '%s', got '%s'", "bar", "foot", got) |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | func BenchmarkWrappedRecordDot(b *testing.B) { |
| 52 | testRecord.Data = []float32{3, 6, 9} |
nothing calls this directly
no test coverage detected