public void ReverseEmptyText() { string testString = string.Empty; string result = LocalizationTable.ReverseString(testString); Assert.AreEqual(result, string.Empty); }
public void ReverseNullText() { string testString = null; string result = LocalizationTable.ReverseString(testString); Assert.AreEqual(result, null); }
public void ReverseTextWithMultipleParameters() { string testString = "{0} + {1} equals {2}"; string result = LocalizationTable.ReverseString(testString); Assert.AreEqual(result, "{2} slauqe {1} + {0}"); }
public void ReverseTextWithMultipleDigitParameter() { string testString = "I am {10} yrs old"; string result = LocalizationTable.ReverseString(testString); Assert.AreEqual(result, "dlo sry {10} ma I"); }
public void ReverseText() { string testString = "testing"; string result = LocalizationTable.ReverseString(testString); Assert.AreEqual(result, "gnitset"); }