public void TestIPAddressCountInOneNinerTwo() { _ipAddressGenerator.IPAddressSeries = Data.IPAddressSeries.OneNinerTwo; int count = 0; foreach (var ipAddress in _ipAddressGenerator.GetIPAddresses()) { count++; } Assert.AreEqual(65536, count); }
public void TestNoIPAddressSeriesSet() { IPAddressGenerator ipAddressGenerator = new IPAddressGenerator(); foreach (var x in ipAddressGenerator.GetIPAddresses()) { } }