public void Capitalise_SingleWord_ReturnsCapitalised() { var titleCase = new TitleCase(); var response = titleCase.Format("capThisPLEASE"); Assert.AreEqual("Capthisplease", response); }
public void Capitalise_MultipleWordWithReservedFirstAndLast_ReturnsCapitalised() { var titleCase = new TitleCase(); var response = titleCase.Format("A capThisPLEASE a THE tO THISToO ThE"); Assert.AreEqual("A Capthisplease a the to Thistoo The", response); }
public void Capitalise_MultipleWord_ReturnsCapitalised() { var titleCase = new TitleCase(); var response = titleCase.Format("capThisPLEASE THISToO"); Assert.AreEqual("Capthisplease Thistoo", response); }
public void Capitalise_EmptyString_ReturnsEmptyString() { var titleCase = new TitleCase(); var response = titleCase.Format(""); Assert.AreEqual("", response); }