func newTestAllocator(cidr *net.IPNet) (*Allocator, error) { … } func TestAllocateIPAllocator(t *testing.T) { … } func TestAllocateTinyIPAllocator(t *testing.T) { … } func TestAllocateReservedIPAllocator(t *testing.T) { … } func TestAllocateSmallIPAllocator(t *testing.T) { … } func TestForEachIPAllocator(t *testing.T) { … } func TestIPAllocatorClusterIPMetrics(t *testing.T) { … } func TestIPAllocatorClusterIPAllocatedMetrics(t *testing.T) { … } func Test_addOffsetAddress(t *testing.T) { … } func Test_broadcastAddress(t *testing.T) { … } func Test_hostsPerNetwork(t *testing.T) { … } func Test_ipIterator(t *testing.T) { … } func Test_ipIterator_Number(t *testing.T) { … } func TestAllocateNextFC(t *testing.T) { … } func BenchmarkIPAllocatorAllocateNextIPv4Size1048574(b *testing.B) { … } func BenchmarkIPAllocatorAllocateNextIPv6Size65535(b *testing.B) { … }