public void ReverseWordsMatch_Should_Return_False_For_Non_Match()
            {
                string source      = "Apartments Summit This";
                string compareWith = "The Summit Apartments";
                var    result      = PrimitiveRules.ReverseWordsMatch(source, compareWith);

                Assert.IsFalse(result);
            }
Beispiel #2
0
 /// <summary>
 /// Tests the rule
 /// </summary>
 /// <param name="match"></param>
 /// <param name="matchWith"></param>
 /// <returns></returns>
 public bool Test(Property match, Property matchWith)
 {
     return(PrimitiveRules.ReverseWordsMatch(match.Name, matchWith.Name));
 }