public void IsMatch_Positive_Complex() { var input = " This IS a *difficult* identifier to_match! "; var property = typeof(AggressiveNameMatchingStrategyTest).GetProperty("THS_is_a_dificult_identiffier_to_mtch"); var matching = new AggressiveNameMatchingStrategy(); Assert.IsTrue(matching.IsMatch(property, input)); Assert.IsTrue(matching.IsMatch(property, input.ToUpper())); }
public void IsMatch_Positive() { var input = " This ES a *diffocult* identifier to_match! "; var property = typeof(AggressiveNameMatchingStrategyTest).GetProperty("thisisadifficultidentifiertomatch"); var matching = new AggressiveNameMatchingStrategy(); Assert.IsTrue(matching.IsMatch(property, input)); Assert.IsTrue(matching.IsMatch(property, input.ToUpper())); }