20 lines
196 B
Go
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
|
||
|
}
|