コード例 #1
0
 /// <summary>
 /// Asserts that a string starts 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 StartsWith(string expected, string actual, string message, params object[] args)
 {
     Assert.That(actual, Is.StringStarting(expected), message, args);
 }