func TestNewHostsNetworkBlock6(t *testing.T) {
	hosts := NewHosts("fe80::227:10ff:fec3:b1e4/126")
	if !reflect.DeepEqual(hosts, Hosts{
		NewHost("fe80::227:10ff:fec3:b1e4"),
		NewHost("fe80::227:10ff:fec3:b1e5"),
		NewHost("fe80::227:10ff:fec3:b1e6"),
		NewHost("fe80::227:10ff:fec3:b1e7"),
	}) {
		t.Fail()
	}
}
TestNewHostsNetworkBlock6 expects a slice of IP version 6
hosts addresses computed from a CIDR notation string.
package scanner
import (
	"reflect"
	"testing"
)
func TestNewHostsNetworkBlock4(t *testing.T) {
	hosts := NewHosts("192.168.0.0/30")
	if !reflect.DeepEqual(hosts, Hosts{
		NewHost("192.168.0.1"),
		NewHost("192.168.0.2"),
	}) {
		t.Fail()
	}
}