public void NoPunctuationStringComparer_Should_Return_False()
            {
                string source      = "*SuperHigh! APARTMENTS (Sydney)";
                string compareWith = "Super High Apartments, Sydney";
                var    result      = PrimitiveRules.NoPunctuationStringComparer(source, compareWith);

                Assert.IsFalse(result);
            }
            public void NoPunctuationStringComparer_Should_Return_True_For_Dash()
            {
                string source      = "32 Sir John-Young Crescent, Sydney, NSW.";
                string compareWith = "32 Sir John Young Crescent, Sydney NSW";
                var    result      = PrimitiveRules.NoPunctuationStringComparer(source, compareWith);

                Assert.IsTrue(result);
            }
Ejemplo n.º 3
0
 public bool Test(Property match, Property matchWith)
 {
     return(PrimitiveRules.NoPunctuationStringComparer(match.Address, matchWith.Address));
 }