Exemplo n.º 1
0
        public void IPAddressExtensions_Decrement(string ipAddressStringTest, string ipAddressStringExpected)
        {
            IPAddress ipAddressTest     = IPAddress.Parse(ipAddressStringTest);
            IPAddress ipAddressExpected = IPAddress.Parse(ipAddressStringExpected);

            var ipAddressDecrement = ipAddressTest.Decrement();

            Assert.Equal(ipAddressExpected, ipAddressDecrement);
        }