Beispiel #1
0
 public void GetIPAddresses_CIDRRange_Succeeds()
 {
     IPRange range = new IPRange("192.168.0.0/24");
     IEnumerable<IPAddress> ipAddresses = range.GetIPAddresses();
     int actualCount = ipAddresses.Count();
     Assert.IsTrue(actualCount == 256);
 }
Beispiel #2
0
        public void GetIPAddresses_CIDRRange_Succeeds()
        {
            IPRange range = new IPRange("192.168.0.0/24");
            IEnumerable <IPAddress> ipAddresses = range.GetIPAddresses();
            int actualCount = ipAddresses.Count();

            Assert.IsTrue(actualCount == 256);
        }