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

Append_Double() private method

private Append_Double ( string original, double value, string expected ) : void
original string
value double
expected string
return void
        public static void Append_Double(string original, double value, string expected)
        {
            Helpers.PerformActionWithCulture(CultureInfo.InvariantCulture, () =>
            {
                var builder = new StringBuilder(original);
                builder.Append(value);
                Assert.Equal(expected, builder.ToString());
            });
        }
StringBuilderTests