System.Net.Tests.WebUtilityTests.UrlEncodeDecode_Roundtrip_AstralPlanes C# (CSharp) Method

UrlEncodeDecode_Roundtrip_AstralPlanes() private method

private UrlEncodeDecode_Roundtrip_AstralPlanes ( ) : void
return void
        public static void UrlEncodeDecode_Roundtrip_AstralPlanes()
        {
            // These were separated out of the UrlEncodeDecode_Roundtrip_SharedTestData member data
            // due to the CharRange calls resulting in giant (several megabyte) strings.  Since these
            // values become part of the test names, they're resulting in gigantic logs.  To avoid that,
            // they've been separated out of the theory.

            // Astral plane private use chars
            UrlEncodeDecode_Roundtrip(CharRange(0xF0000, 0xFFFFD));
            UrlEncodeDecode_Roundtrip(CharRange(0x100000, 0x10FFFD));

            // Astral plane non-chars
            UrlEncodeDecode_Roundtrip(CharRange(0x2FFFE, 0x10FFFF));
            UrlEncodeDecode_Roundtrip("\U0001FFFE");
            UrlEncodeDecode_Roundtrip("\U0001FFFF");
        }