public void FixHyphensAddDash1() { var splitMerge = new DialogSplitMerge { DialogStyle = DialogType.DashBothLinesWithSpace }; var result = splitMerge.FixDashes($"Hi Joe!{Environment.NewLine}- Hi Pete!"); Assert.AreEqual($"- Hi Joe!{Environment.NewLine}- Hi Pete!", result); }
public void FixHyphensWithQuotes() { var splitMerge = new DialogSplitMerge { DialogStyle = DialogType.DashBothLinesWithSpace }; var result = splitMerge.FixDashes($"\"Into The Woods.\"{Environment.NewLine}- \"Sweeney Todd.\""); Assert.AreEqual($"- \"Into The Woods.\"{Environment.NewLine}- \"Sweeney Todd.\"", result); }
public void FixDashesDashSecondLineWithoutSpace1() { var splitMerge = new DialogSplitMerge { DialogStyle = DialogType.DashSecondLineWithoutSpace }; var result = splitMerge.FixDashes($"-How are you?{Environment.NewLine}-I'm fine."); Assert.AreEqual($"How are you?{Environment.NewLine}-I'm fine.", result); }