Esempio n. 1
0
        public void GetAddressRange_DocumentationAddressMin_3Range()
        {
            // arrange
            var input    = new Ipv4Address(203, 0, 113, 0);
            var expected = new DocumentationIpv4Range();

            // act
            var result = _utils.GetAddressRange(input);

            // assert
            Assert.NotNull(result);
            Assert.AreEqual(expected, result);
        }
Esempio n. 2
0
        public void GetAddressRange_DocumentationAddressMax_2Range()
        {
            // arrange
            var input    = new Ipv4Address(198, 51, 100, 255);
            var expected = new DocumentationIpv4Range();

            // act
            var result = _utils.GetAddressRange(input);

            // assert
            Assert.NotNull(result);
            Assert.AreEqual(expected, result);
        }