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

Insert_Float() private method

private Insert_Float ( string original, int index, float value, string expected ) : void
original string
index int
value float
expected string
return void
        public static void Insert_Float(string original, int index, float value, string expected)
        {
            Helpers.PerformActionWithCulture(CultureInfo.InvariantCulture, () =>
            {
                var builder = new StringBuilder(original);
                builder.Insert(index, value);
                Assert.Equal(expected, builder.ToString());
            });
        }
StringBuilderTests