(b *testing.B)
| 71 | } |
| 72 | |
| 73 | func BenchmarkRightEncode(b *testing.B) { |
| 74 | d := &state{rate: 104, outputLen: 48, dsbyte: 0x06} |
| 75 | for i := 0; i < b.N; i++ { |
| 76 | rightEncode(d, 12345) |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | func BenchmarkEncodeString(b *testing.B) { |
| 81 | d := &state{rate: 104, outputLen: 48, dsbyte: 0x06} |
nothing calls this directly
no test coverage detected