public void TitleCaser_Does_The_Right_Thing(string inputName, string titleCase, string blockCaps) { var caser = new Caser(); caser.ToBlockCaps(inputName).ShouldBe(blockCaps, Case.Sensitive); caser.ToTitleCase(inputName).ShouldBe(titleCase, Case.Sensitive); }
public void Surname(string inputName, string titleCase, string blockCaps) { var caser = new Caser(); caser.ToBlockCaps(inputName, NamePart.Surname).ShouldBe(blockCaps, Case.Sensitive); caser.ToTitleCase(inputName, NamePart.Surname).ShouldBe(titleCase, Case.Sensitive); }