Exemplo n.º 1
0
        public void IsValid_CustomRoute_RandomInvalidMask( )
        {
            var netRoute = new SUTest(
                new NetIpAddress(124, 102, 0, 0),
                new NetIpAddress(255, 255, 0, 1),
                new NetIpAddress(172, 144, 11, 201));

            Assert.AreEqual(false, netRoute.IsValid( ));
        }
Exemplo n.º 2
0
        public void IsValid_CustomRoute_Default( )
        {
            var netRoute = new SUTest(
                NetIpAddress.Zero,
                NetIpAddress.Zero,
                new NetIpAddress(172, 144, 11, 201));

            Assert.AreEqual(true, netRoute.IsValid( ));
        }
Exemplo n.º 3
0
        public void IsValid_DefaultRoute( )
        {
            var netRoute = new SUTest(new NetIpAddress(124, 102, 11, 7));

            Assert.AreEqual(true, netRoute.IsValid( ));
        }
Exemplo n.º 4
0
        public void IsValid_DefaultRoute( )
        {
            var netRoute = new SUTest(new NetIpAddress(124, 102, 11, 7));

            Assert.AreEqual(true, netRoute.IsValid( ));
        }
Exemplo n.º 5
0
        public void IsValid_CustomRoute_RandomValid( )
        {
            var netRoute = new SUTest(
                new NetIpAddress(124, 102, 0, 0),
                new NetIpAddress(255, 255, 0, 0),
                new NetIpAddress(172, 144, 11, 201));

            Assert.AreEqual(true, netRoute.IsValid( ));
        }
Exemplo n.º 6
0
        public void IsValid_CustomRoute_Default( )
        {
            var netRoute = new SUTest(
                NetIpAddress.Zero,
                NetIpAddress.Zero,
                new NetIpAddress(172, 144, 11, 201));

            Assert.AreEqual(true, netRoute.IsValid( ));
        }