Exemplo n.º 1
0
        public void AreOverlapping_1()
        {
            var left  = new PostalCodeRange(new DefaultPostalCode("1000"), new DefaultPostalCode("2000"));
            var right = new PostalCodeRange(new DefaultPostalCode("1500"), new DefaultPostalCode("2500"));

            Assert.IsTrue(PostalCodeRange.AreOverlapping(left, right));
        }
Exemplo n.º 2
0
 public bool AreOverlapping_compares_full_range(
     PostalCodeRange left,
     PostalCodeRange right)
 {
     return(PostalCodeRange.AreOverlapping(left, right));
 }