public void SegmentParser_UnescapeLiterals_2() { string escaped = "<ut Type=\"start\" RightEdge=\"angle\"><f"TimesNewRomanPSMT"></ut>Effectively managing employee meals means balancing profit objectives with people objectives."; var result = SegmentParser.UnescapeLiterals(escaped); Assert.AreEqual("<ut Type=\"start\" RightEdge=\"angle\"><f\"TimesNewRomanPSMT\"></ut>Effectively managing employee meals means balancing profit objectives with people objectives.", result); }
public void SegmentParser_UnescapeLiterals_1() { string escaped = "some & text with <pseudo-tags>"; var result = SegmentParser.UnescapeLiterals(escaped); Assert.AreEqual(@"some & text with <pseudo-tags>", result); }