Example #1
0
        public void Cidr_Matches_Returns_False_If_Passed_An_IPv6()
        {
            var cidr = new Cidr();

            Assert.AreEqual(false, cidr.Matches(IPAddress.Parse("2001:0DB8:AC10:FE01::")));
        }
Example #2
0
        public void Cidr_Matches_Returns_False_If_Passed_Null()
        {
            var cidr = new Cidr();

            Assert.AreEqual(false, cidr.Matches(null));
        }