Exemplo n.º 1
0
 /// <summary>
 /// Asserts that a string ends with another string.
 /// </summary>
 /// <param name="expected">The expected string</param>
 /// <param name="actual">The string to be examined</param>
 /// <param name="message">The message to display in case of failure</param>
 /// <param name="args">Arguments used in formatting the message</param>
 static public void EndsWith(string expected, string actual, string message, params object[] args)
 {
     Assert.That(actual, Is.StringEnding(expected), message, args);
 }