private Insert_Object ( string original, int index, object value, string expected ) : void | ||
original | string | |
index | int | |
value | object | |
expected | string | |
return | void |
public static void Insert_Object(string original, int index, object value, string expected)
{
var builder = new StringBuilder(original);
builder.Insert(index, value);
Assert.Equal(expected, builder.ToString());
}