System.Text.Tests.StringBuilderTests.Insert_Short C# (CSharp) Method

Insert_Short() private method

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