(a, b []bool)
| 302 | } |
| 303 | |
| 304 | func SameBools(a, b []bool) { |
| 305 | if len(a) != len(b) { |
| 306 | panic("different length") |
| 307 | } |
| 308 | |
| 309 | as := BoolsStr(a) |
| 310 | bs := BoolsStr(b) |
| 311 | if as != bs { |
| 312 | fmt.Println("---") |
| 313 | fmt.Println(as) |
| 314 | fmt.Println(bs) |
| 315 | fmt.Println("---") |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | func BoolsStr(a []bool) string { |
| 320 | r := make([]byte, 0, len(a)) |
nothing calls this directly
no test coverage detected