(a, b []bool)
| 238 | } |
| 239 | |
| 240 | func SameBools(a, b []bool) { |
| 241 | if len(a) != len(b) { |
| 242 | panic("different length") |
| 243 | } |
| 244 | |
| 245 | as := BoolsStr(a) |
| 246 | bs := BoolsStr(b) |
| 247 | if as != bs { |
| 248 | fmt.Println("---") |
| 249 | fmt.Println(as) |
| 250 | fmt.Println(bs) |
| 251 | fmt.Println("---") |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | func BoolsStr(a []bool) string { |
| 256 | r := make([]byte, 0, len(a)) |
nothing calls this directly
no test coverage detected