示例#1
0
        public void IPv6Adress_IsInBetween(String start, String current, String end, Boolean expectedResult)
        {
            IPv6Address startAddress   = IPv6Address.FromString(start);
            IPv6Address currentAddress = IPv6Address.FromString(current);
            IPv6Address endAddress     = IPv6Address.FromString(end);

            Boolean actual = currentAddress.IsBetween(startAddress, endAddress);

            Assert.Equal(expectedResult, actual);
        }