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

Function SameBools

physicscompress/physics/encoding.go:240–253  ·  view source on GitHub ↗
(a, b []bool)

Source from the content-addressed store, hash-verified

238}
239
240func 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
255func BoolsStr(a []bool) string {
256 r := make([]byte, 0, len(a))

Callers

nothing calls this directly

Calls 1

BoolsStrFunction · 0.70

Tested by

no test coverage detected