policy/acl/testing.go
Anatoly Prohacky a84816087c Test acl
2022-08-13 15:47:44 +10:00

20 lines
196 B
Go

package acl
import (
"testing"
)
// TestAcl
func TestAcl(t *testing.T) AclBit {
t.Helper()
var a, b AclBit
for i := 0; i < 63; i++ {
b = New(NumBit(i))
a = Unite(a, b)
}
return a
}