public void DoesConvert(string template, string input, string expect) { var convert = PluralizeExtensions.ToCase(template); var result = convert(input); Assert.That(result, Is.EqualTo(expect)); }
public void DoesntConvert(string template, string input) { var convert = PluralizeExtensions.ToCase(template); Func <string, string> nop = x => x; var result = convert(input); Assert.That(result, Is.EqualTo(input)); }