policy/acl/testing.go

20 lines
196 B
Go
Raw Normal View History

2022-08-13 08:47:44 +03:00
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
}