public void EmptyRuleIsCorrectlyApplied() { CyrRule rule = new CyrRule(string.Empty); string a = "text"; string b = rule.Apply(a); Assert.Equal(a, b); }
public void AddCutRuleIsCorrectlyApplied() { CyrRule rule = new CyrRule("add2"); string a = "text"; string b = rule.Apply(a); Assert.Equal("teadd", b); }
public void UnavailableRulelIsCorrectlyApplied() { CyrRule rule = new CyrRule("*"); string a = "text"; string b = rule.Apply(a); Assert.Equal(string.Empty, b); }