(b *testing.B)
| 64 | } |
| 65 | |
| 66 | func BenchmarkLeftEncode(b *testing.B) { |
| 67 | d := &state{rate: 104, outputLen: 48, dsbyte: 0x06} |
| 68 | for i := 0; i < b.N; i++ { |
| 69 | leftEncode(d, 12345) |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | func BenchmarkRightEncode(b *testing.B) { |
| 74 | d := &state{rate: 104, outputLen: 48, dsbyte: 0x06} |
nothing calls this directly
no test coverage detected