MCPcopy Create free account
hub / github.com/egonelbre/exp / SameBools

Function SameBools

physicscompress2/physics/encoding.go:304–317  ·  view source on GitHub ↗
(a, b []bool)

Source from the content-addressed store, hash-verified

302}
303
304func 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
319func BoolsStr(a []bool) string {
320 r := make([]byte, 0, len(a))

Callers

nothing calls this directly

Calls 1

BoolsStrFunction · 0.70

Tested by

no test coverage detected