(b *testing.B)
| 230 | } |
| 231 | |
| 232 | func BenchmarkNewRedirection(b *testing.B) { |
| 233 | for i := 0; i < b.N; i++ { |
| 234 | _ = NewRedirection("eth0", "tcp", 80, "192.168.1.1", 8080) |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | func BenchmarkRedirectionString(b *testing.B) { |
| 239 | r := Redirection{ |
nothing calls this directly
no test coverage detected