Test acl
This commit is contained in:
19
acl/testing.go
Normal file
19
acl/testing.go
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user