* --- BENCHMARKS --- */
(b *testing.B)
| 137 | |
| 138 | /* --- BENCHMARKS --- */ |
| 139 | func BenchmarkRLEncode(b *testing.B) { |
| 140 | for i := 0; i < b.N; i++ { |
| 141 | _ = compression.RLEncode("WWWWWWWWWWWWBWWWWWWWWWWWWBBB") |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | func BenchmarkRLEDecode(b *testing.B) { |
| 146 | for i := 0; i < b.N; i++ { |
nothing calls this directly
no test coverage detected