1// This file is part of Unicode IDNA Compatibility Processing
2// For documentation, see http://www.unicode.org/reports/tr46/
3//
4
5// Based on the source file: https://www.unicode.org/Public/17.0.0/idna/IdnaTestV2.txt
6//
7// zig fmt: off
8
9const std = @import("std");
10const idna = @import("unicode-idna");
11const expect = @import("expect").expect;
12
13fn toUnicodePass(
14 source: []const u8,
15 expected: []const u8,
16) !void {
17 const allocator = std.testing.allocator;
18 const result = try idna.ToUnicode(allocator, source, true, true, true, true, false, false);
19 defer allocator.free(result);
20 try expect(result).toEqualString(expected);
21}
22
23fn toUnicodeFail(
24 source: []const u8,
25) !void {
26 const allocator = std.testing.allocator;
27 const result = idna.ToUnicode(allocator, source, true, true, true, true, false, false) catch |err| switch (err) {
28 error.IDNAFailure => return,
29 error.OutOfMemory => return error.OutOfMemory,
30 };
31 defer allocator.free(result);
32 return error.ShouldHaveFailed;
33}
34
35fn toAsciiPass(
36 source: []const u8,
37 expected: []const u8,
38 Transitional_Processing: bool,
39) !void {
40 const allocator = std.testing.allocator;
41 const result = try idna.ToASCII(allocator, source, true, true, true, true, Transitional_Processing, true, false);
42 defer allocator.free(result);
43 try expect(result).toEqualString(expected);
44}
45
46fn toAsciiFail(
47 source: []const u8,
48 Transitional_Processing: bool,
49) !void {
50 const allocator = std.testing.allocator;
51 const result = idna.ToASCII(allocator, source, true, true, true, true, Transitional_Processing, true, false) catch |err| switch (err) {
52 error.IDNAFailure => return,
53 error.OutOfMemory => return error.OutOfMemory,
54 };
55 defer allocator.free(result);
56 return error.ShouldHaveFailed;
57}
58
59test { try toUnicodePass("fass.de", "fass.de"); }
60test { try toAsciiPass("fass.de", "fass.de", false); }
61test { try toAsciiPass("fass.de", "fass.de", true); }
62test { try toUnicodePass("fa\xc3\x9f.de", "fa\xc3\x9f.de"); }
63test { try toAsciiPass("fa\xc3\x9f.de", "xn--fa-hia.de", false); }
64test { try toAsciiPass("fa\xc3\x9f.de", "fass.de", true); }
65test { try toUnicodePass("Fa\xc3\x9f.de", "fa\xc3\x9f.de"); }
66test { try toAsciiPass("Fa\xc3\x9f.de", "xn--fa-hia.de", false); }
67test { try toAsciiPass("Fa\xc3\x9f.de", "fass.de", true); }
68test { try toUnicodePass("xn--fa-hia.de", "fa\xc3\x9f.de"); }
69test { try toAsciiPass("xn--fa-hia.de", "xn--fa-hia.de", false); }
70test { try toAsciiPass("xn--fa-hia.de", "xn--fa-hia.de", true); }
71test { try toUnicodeFail("\xc3\xa0\xd7\x90"); } // [B5, B6]
72test { try toAsciiFail("\xc3\xa0\xd7\x90", false); } // [B5, B6]
73test { try toAsciiFail("\xc3\xa0\xd7\x90", true); } // [B5, B6]
74test { try toUnicodeFail("a\xcc\x80\xd7\x90"); } // [B5, B6]
75test { try toAsciiFail("a\xcc\x80\xd7\x90", false); } // [B5, B6]
76test { try toAsciiFail("a\xcc\x80\xd7\x90", true); } // [B5, B6]
77test { try toUnicodeFail("A\xcc\x80\xd7\x90"); } // [B5, B6]
78test { try toAsciiFail("A\xcc\x80\xd7\x90", false); } // [B5, B6]
79test { try toAsciiFail("A\xcc\x80\xd7\x90", true); } // [B5, B6]
80test { try toUnicodeFail("\xc3\x80\xd7\x90"); } // [B5, B6]
81test { try toAsciiFail("\xc3\x80\xd7\x90", false); } // [B5, B6]
82test { try toAsciiFail("\xc3\x80\xd7\x90", true); } // [B5, B6]
83test { try toUnicodeFail("xn--0ca24w"); } // [B5, B6]
84test { try toAsciiFail("xn--0ca24w", false); } // [B5, B6]
85test { try toAsciiFail("xn--0ca24w", true); } // [B5, B6]
86test { try toUnicodeFail("0\xc3\xa0.\xd7\x90"); } // [B1]
87test { try toAsciiFail("0\xc3\xa0.\xd7\x90", false); } // [B1]
88test { try toAsciiFail("0\xc3\xa0.\xd7\x90", true); } // [B1]
89test { try toUnicodeFail("0a\xcc\x80.\xd7\x90"); } // [B1]
90test { try toAsciiFail("0a\xcc\x80.\xd7\x90", false); } // [B1]
91test { try toAsciiFail("0a\xcc\x80.\xd7\x90", true); } // [B1]
92test { try toUnicodeFail("0A\xcc\x80.\xd7\x90"); } // [B1]
93test { try toAsciiFail("0A\xcc\x80.\xd7\x90", false); } // [B1]
94test { try toAsciiFail("0A\xcc\x80.\xd7\x90", true); } // [B1]
95test { try toUnicodeFail("0\xc3\x80.\xd7\x90"); } // [B1]
96test { try toAsciiFail("0\xc3\x80.\xd7\x90", false); } // [B1]
97test { try toAsciiFail("0\xc3\x80.\xd7\x90", true); } // [B1]
98test { try toUnicodeFail("xn--0-sfa.xn--4db"); } // [B1]
99test { try toAsciiFail("xn--0-sfa.xn--4db", false); } // [B1]
100test { try toAsciiFail("xn--0-sfa.xn--4db", true); } // [B1]
101test { try toUnicodePass("\xc3\xa0.\xd7\x90\xcc\x88", "\xc3\xa0.\xd7\x90\xcc\x88"); }
102test { try toAsciiPass("\xc3\xa0.\xd7\x90\xcc\x88", "xn--0ca.xn--ssa73l", false); }
103test { try toAsciiPass("\xc3\xa0.\xd7\x90\xcc\x88", "xn--0ca.xn--ssa73l", true); }
104test { try toUnicodePass("a\xcc\x80.\xd7\x90\xcc\x88", "\xc3\xa0.\xd7\x90\xcc\x88"); }
105test { try toAsciiPass("a\xcc\x80.\xd7\x90\xcc\x88", "xn--0ca.xn--ssa73l", false); }
106test { try toAsciiPass("a\xcc\x80.\xd7\x90\xcc\x88", "xn--0ca.xn--ssa73l", true); }
107test { try toUnicodePass("A\xcc\x80.\xd7\x90\xcc\x88", "\xc3\xa0.\xd7\x90\xcc\x88"); }
108test { try toAsciiPass("A\xcc\x80.\xd7\x90\xcc\x88", "xn--0ca.xn--ssa73l", false); }
109test { try toAsciiPass("A\xcc\x80.\xd7\x90\xcc\x88", "xn--0ca.xn--ssa73l", true); }
110test { try toUnicodePass("\xc3\x80.\xd7\x90\xcc\x88", "\xc3\xa0.\xd7\x90\xcc\x88"); }
111test { try toAsciiPass("\xc3\x80.\xd7\x90\xcc\x88", "xn--0ca.xn--ssa73l", false); }
112test { try toAsciiPass("\xc3\x80.\xd7\x90\xcc\x88", "xn--0ca.xn--ssa73l", true); }
113test { try toUnicodePass("xn--0ca.xn--ssa73l", "\xc3\xa0.\xd7\x90\xcc\x88"); }
114test { try toAsciiPass("xn--0ca.xn--ssa73l", "xn--0ca.xn--ssa73l", false); }
115test { try toAsciiPass("xn--0ca.xn--ssa73l", "xn--0ca.xn--ssa73l", true); }
116test { try toUnicodeFail("\xc3\xa0.\xd7\x900\xd9\xa0\xd7\x90"); } // [B4]
117test { try toAsciiFail("\xc3\xa0.\xd7\x900\xd9\xa0\xd7\x90", false); } // [B4]
118test { try toAsciiFail("\xc3\xa0.\xd7\x900\xd9\xa0\xd7\x90", true); } // [B4]
119test { try toUnicodeFail("a\xcc\x80.\xd7\x900\xd9\xa0\xd7\x90"); } // [B4]
120test { try toAsciiFail("a\xcc\x80.\xd7\x900\xd9\xa0\xd7\x90", false); } // [B4]
121test { try toAsciiFail("a\xcc\x80.\xd7\x900\xd9\xa0\xd7\x90", true); } // [B4]
122test { try toUnicodeFail("A\xcc\x80.\xd7\x900\xd9\xa0\xd7\x90"); } // [B4]
123test { try toAsciiFail("A\xcc\x80.\xd7\x900\xd9\xa0\xd7\x90", false); } // [B4]
124test { try toAsciiFail("A\xcc\x80.\xd7\x900\xd9\xa0\xd7\x90", true); } // [B4]
125test { try toUnicodeFail("\xc3\x80.\xd7\x900\xd9\xa0\xd7\x90"); } // [B4]
126test { try toAsciiFail("\xc3\x80.\xd7\x900\xd9\xa0\xd7\x90", false); } // [B4]
127test { try toAsciiFail("\xc3\x80.\xd7\x900\xd9\xa0\xd7\x90", true); } // [B4]
128test { try toUnicodeFail("xn--0ca.xn--0-zhcb98c"); } // [B4]
129test { try toAsciiFail("xn--0ca.xn--0-zhcb98c", false); } // [B4]
130test { try toAsciiFail("xn--0ca.xn--0-zhcb98c", true); } // [B4]
131test { try toUnicodeFail("\xcc\x88.\xd7\x90"); } // [B1, V6]
132test { try toAsciiFail("\xcc\x88.\xd7\x90", false); } // [B1, V6]
133test { try toAsciiFail("\xcc\x88.\xd7\x90", true); } // [B1, V6]
134test { try toUnicodeFail("xn--ssa.xn--4db"); } // [B1, V6]
135test { try toAsciiFail("xn--ssa.xn--4db", false); } // [B1, V6]
136test { try toAsciiFail("xn--ssa.xn--4db", true); } // [B1, V6]
137test { try toUnicodeFail("\xc3\xa0.\xd7\x900\xd9\xa0"); } // [B4]
138test { try toAsciiFail("\xc3\xa0.\xd7\x900\xd9\xa0", false); } // [B4]
139test { try toAsciiFail("\xc3\xa0.\xd7\x900\xd9\xa0", true); } // [B4]
140test { try toUnicodeFail("a\xcc\x80.\xd7\x900\xd9\xa0"); } // [B4]
141test { try toAsciiFail("a\xcc\x80.\xd7\x900\xd9\xa0", false); } // [B4]
142test { try toAsciiFail("a\xcc\x80.\xd7\x900\xd9\xa0", true); } // [B4]
143test { try toUnicodeFail("A\xcc\x80.\xd7\x900\xd9\xa0"); } // [B4]
144test { try toAsciiFail("A\xcc\x80.\xd7\x900\xd9\xa0", false); } // [B4]
145test { try toAsciiFail("A\xcc\x80.\xd7\x900\xd9\xa0", true); } // [B4]
146test { try toUnicodeFail("\xc3\x80.\xd7\x900\xd9\xa0"); } // [B4]
147test { try toAsciiFail("\xc3\x80.\xd7\x900\xd9\xa0", false); } // [B4]
148test { try toAsciiFail("\xc3\x80.\xd7\x900\xd9\xa0", true); } // [B4]
149test { try toUnicodeFail("xn--0ca.xn--0-zhc74b"); } // [B4]
150test { try toAsciiFail("xn--0ca.xn--0-zhc74b", false); } // [B4]
151test { try toAsciiFail("xn--0ca.xn--0-zhc74b", true); } // [B4]
152test { try toUnicodeFail("\xc3\xa0\xcb\x87.\xd7\x90"); } // [B6]
153test { try toAsciiFail("\xc3\xa0\xcb\x87.\xd7\x90", false); } // [B6]
154test { try toAsciiFail("\xc3\xa0\xcb\x87.\xd7\x90", true); } // [B6]
155test { try toUnicodeFail("a\xcc\x80\xcb\x87.\xd7\x90"); } // [B6]
156test { try toAsciiFail("a\xcc\x80\xcb\x87.\xd7\x90", false); } // [B6]
157test { try toAsciiFail("a\xcc\x80\xcb\x87.\xd7\x90", true); } // [B6]
158test { try toUnicodeFail("A\xcc\x80\xcb\x87.\xd7\x90"); } // [B6]
159test { try toAsciiFail("A\xcc\x80\xcb\x87.\xd7\x90", false); } // [B6]
160test { try toAsciiFail("A\xcc\x80\xcb\x87.\xd7\x90", true); } // [B6]
161test { try toUnicodeFail("\xc3\x80\xcb\x87.\xd7\x90"); } // [B6]
162test { try toAsciiFail("\xc3\x80\xcb\x87.\xd7\x90", false); } // [B6]
163test { try toAsciiFail("\xc3\x80\xcb\x87.\xd7\x90", true); } // [B6]
164test { try toUnicodeFail("xn--0ca88g.xn--4db"); } // [B6]
165test { try toAsciiFail("xn--0ca88g.xn--4db", false); } // [B6]
166test { try toAsciiFail("xn--0ca88g.xn--4db", true); } // [B6]
167test { try toUnicodePass("\xc3\xa0\xcc\x88.\xd7\x90", "\xc3\xa0\xcc\x88.\xd7\x90"); }
168test { try toAsciiPass("\xc3\xa0\xcc\x88.\xd7\x90", "xn--0ca81i.xn--4db", false); }
169test { try toAsciiPass("\xc3\xa0\xcc\x88.\xd7\x90", "xn--0ca81i.xn--4db", true); }
170test { try toUnicodePass("a\xcc\x80\xcc\x88.\xd7\x90", "\xc3\xa0\xcc\x88.\xd7\x90"); }
171test { try toAsciiPass("a\xcc\x80\xcc\x88.\xd7\x90", "xn--0ca81i.xn--4db", false); }
172test { try toAsciiPass("a\xcc\x80\xcc\x88.\xd7\x90", "xn--0ca81i.xn--4db", true); }
173test { try toUnicodePass("A\xcc\x80\xcc\x88.\xd7\x90", "\xc3\xa0\xcc\x88.\xd7\x90"); }
174test { try toAsciiPass("A\xcc\x80\xcc\x88.\xd7\x90", "xn--0ca81i.xn--4db", false); }
175test { try toAsciiPass("A\xcc\x80\xcc\x88.\xd7\x90", "xn--0ca81i.xn--4db", true); }
176test { try toUnicodePass("\xc3\x80\xcc\x88.\xd7\x90", "\xc3\xa0\xcc\x88.\xd7\x90"); }
177test { try toAsciiPass("\xc3\x80\xcc\x88.\xd7\x90", "xn--0ca81i.xn--4db", false); }
178test { try toAsciiPass("\xc3\x80\xcc\x88.\xd7\x90", "xn--0ca81i.xn--4db", true); }
179test { try toUnicodePass("xn--0ca81i.xn--4db", "\xc3\xa0\xcc\x88.\xd7\x90"); }
180test { try toAsciiPass("xn--0ca81i.xn--4db", "xn--0ca81i.xn--4db", false); }
181test { try toAsciiPass("xn--0ca81i.xn--4db", "xn--0ca81i.xn--4db", true); }
182test { try toAsciiPass("a\xe2\x80\x8cb", "ab", true); }
183test { try toUnicodeFail("a\xe2\x80\x8cb"); } // [C1]
184test { try toAsciiFail("a\xe2\x80\x8cb", false); } // [C1]
185test { try toAsciiPass("A\xe2\x80\x8cB", "ab", true); }
186test { try toUnicodeFail("A\xe2\x80\x8cB"); } // [C1]
187test { try toAsciiFail("A\xe2\x80\x8cB", false); } // [C1]
188test { try toAsciiPass("A\xe2\x80\x8cb", "ab", true); }
189test { try toUnicodeFail("A\xe2\x80\x8cb"); } // [C1]
190test { try toAsciiFail("A\xe2\x80\x8cb", false); } // [C1]
191test { try toUnicodePass("ab", "ab"); }
192test { try toAsciiPass("ab", "ab", false); }
193test { try toAsciiPass("ab", "ab", true); }
194test { try toUnicodeFail("xn--ab-j1t"); } // [C1]
195test { try toAsciiFail("xn--ab-j1t", false); } // [C1]
196test { try toAsciiFail("xn--ab-j1t", true); } // [C1]
197test { try toUnicodePass("a\xe0\xa5\x8d\xe2\x80\x8cb", "a\xe0\xa5\x8d\xe2\x80\x8cb"); }
198test { try toAsciiPass("a\xe0\xa5\x8d\xe2\x80\x8cb", "xn--ab-fsf604u", false); }
199test { try toAsciiPass("a\xe0\xa5\x8d\xe2\x80\x8cb", "xn--ab-fsf", true); }
200test { try toUnicodePass("A\xe0\xa5\x8d\xe2\x80\x8cB", "a\xe0\xa5\x8d\xe2\x80\x8cb"); }
201test { try toAsciiPass("A\xe0\xa5\x8d\xe2\x80\x8cB", "xn--ab-fsf604u", false); }
202test { try toAsciiPass("A\xe0\xa5\x8d\xe2\x80\x8cB", "xn--ab-fsf", true); }
203test { try toUnicodePass("A\xe0\xa5\x8d\xe2\x80\x8cb", "a\xe0\xa5\x8d\xe2\x80\x8cb"); }
204test { try toAsciiPass("A\xe0\xa5\x8d\xe2\x80\x8cb", "xn--ab-fsf604u", false); }
205test { try toAsciiPass("A\xe0\xa5\x8d\xe2\x80\x8cb", "xn--ab-fsf", true); }
206test { try toUnicodePass("xn--ab-fsf", "a\xe0\xa5\x8db"); }
207test { try toAsciiPass("xn--ab-fsf", "xn--ab-fsf", false); }
208test { try toAsciiPass("xn--ab-fsf", "xn--ab-fsf", true); }
209test { try toUnicodePass("a\xe0\xa5\x8db", "a\xe0\xa5\x8db"); }
210test { try toAsciiPass("a\xe0\xa5\x8db", "xn--ab-fsf", false); }
211test { try toAsciiPass("a\xe0\xa5\x8db", "xn--ab-fsf", true); }
212test { try toUnicodePass("A\xe0\xa5\x8dB", "a\xe0\xa5\x8db"); }
213test { try toAsciiPass("A\xe0\xa5\x8dB", "xn--ab-fsf", false); }
214test { try toAsciiPass("A\xe0\xa5\x8dB", "xn--ab-fsf", true); }
215test { try toUnicodePass("A\xe0\xa5\x8db", "a\xe0\xa5\x8db"); }
216test { try toAsciiPass("A\xe0\xa5\x8db", "xn--ab-fsf", false); }
217test { try toAsciiPass("A\xe0\xa5\x8db", "xn--ab-fsf", true); }
218test { try toUnicodePass("xn--ab-fsf604u", "a\xe0\xa5\x8d\xe2\x80\x8cb"); }
219test { try toAsciiPass("xn--ab-fsf604u", "xn--ab-fsf604u", false); }
220test { try toAsciiPass("xn--ab-fsf604u", "xn--ab-fsf604u", true); }
221test { try toUnicodeFail("\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8b"); } // [B1, C1, V6]
222test { try toAsciiFail("\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8b", false); } // [B1, C1, V6]
223test { try toAsciiFail("\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8b", true); } // [B1, V6]
224test { try toUnicodeFail("\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8B"); } // [B1, C1, V6]
225test { try toAsciiFail("\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8B", false); } // [B1, C1, V6]
226test { try toAsciiFail("\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8B", true); } // [B1, V6]
227test { try toUnicodeFail("xn--b-bcba413a"); } // [B1, V6]
228test { try toAsciiFail("xn--b-bcba413a", false); } // [B1, V6]
229test { try toAsciiFail("xn--b-bcba413a", true); } // [B1, V6]
230test { try toUnicodeFail("xn--b-bcba413a2w8b"); } // [B1, C1, V6]
231test { try toAsciiFail("xn--b-bcba413a2w8b", false); } // [B1, C1, V6]
232test { try toAsciiFail("xn--b-bcba413a2w8b", true); } // [B1, C1, V6]
233test { try toUnicodeFail("a\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88"); } // [B5, B6, C1]
234test { try toAsciiFail("a\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88", false); } // [B5, B6, C1]
235test { try toAsciiFail("a\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88", true); } // [B5, B6]
236test { try toUnicodeFail("A\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88"); } // [B5, B6, C1]
237test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88", false); } // [B5, B6, C1]
238test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88", true); } // [B5, B6]
239test { try toUnicodeFail("xn--a-ccba213a"); } // [B5, B6]
240test { try toAsciiFail("xn--a-ccba213a", false); } // [B5, B6]
241test { try toAsciiFail("xn--a-ccba213a", true); } // [B5, B6]
242test { try toUnicodeFail("xn--a-ccba213a5w8b"); } // [B5, B6, C1]
243test { try toAsciiFail("xn--a-ccba213a5w8b", false); } // [B5, B6, C1]
244test { try toAsciiFail("xn--a-ccba213a5w8b", true); } // [B5, B6, C1]
245test { try toUnicodeFail("a\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8b"); } // [B5]
246test { try toAsciiFail("a\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8b", false); } // [B5]
247test { try toAsciiFail("a\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8b", true); } // [B5]
248test { try toUnicodeFail("A\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8B"); } // [B5]
249test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8B", false); } // [B5]
250test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8B", true); } // [B5]
251test { try toUnicodeFail("A\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8b"); } // [B5]
252test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8b", false); } // [B5]
253test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8c\xcc\x88\xd8\xa8b", true); } // [B5]
254test { try toUnicodeFail("xn--ab-uuba211bca"); } // [B5]
255test { try toAsciiFail("xn--ab-uuba211bca", false); } // [B5]
256test { try toAsciiFail("xn--ab-uuba211bca", true); } // [B5]
257test { try toUnicodeFail("xn--ab-uuba211bca8057b"); } // [B5]
258test { try toAsciiFail("xn--ab-uuba211bca8057b", false); } // [B5]
259test { try toAsciiFail("xn--ab-uuba211bca8057b", true); } // [B5]
260test { try toAsciiPass("a\xe2\x80\x8db", "ab", true); }
261test { try toUnicodeFail("a\xe2\x80\x8db"); } // [C2]
262test { try toAsciiFail("a\xe2\x80\x8db", false); } // [C2]
263test { try toAsciiPass("A\xe2\x80\x8dB", "ab", true); }
264test { try toUnicodeFail("A\xe2\x80\x8dB"); } // [C2]
265test { try toAsciiFail("A\xe2\x80\x8dB", false); } // [C2]
266test { try toAsciiPass("A\xe2\x80\x8db", "ab", true); }
267test { try toUnicodeFail("A\xe2\x80\x8db"); } // [C2]
268test { try toAsciiFail("A\xe2\x80\x8db", false); } // [C2]
269test { try toUnicodeFail("xn--ab-m1t"); } // [C2]
270test { try toAsciiFail("xn--ab-m1t", false); } // [C2]
271test { try toAsciiFail("xn--ab-m1t", true); } // [C2]
272test { try toUnicodePass("a\xe0\xa5\x8d\xe2\x80\x8db", "a\xe0\xa5\x8d\xe2\x80\x8db"); }
273test { try toAsciiPass("a\xe0\xa5\x8d\xe2\x80\x8db", "xn--ab-fsf014u", false); }
274test { try toAsciiPass("a\xe0\xa5\x8d\xe2\x80\x8db", "xn--ab-fsf", true); }
275test { try toUnicodePass("A\xe0\xa5\x8d\xe2\x80\x8dB", "a\xe0\xa5\x8d\xe2\x80\x8db"); }
276test { try toAsciiPass("A\xe0\xa5\x8d\xe2\x80\x8dB", "xn--ab-fsf014u", false); }
277test { try toAsciiPass("A\xe0\xa5\x8d\xe2\x80\x8dB", "xn--ab-fsf", true); }
278test { try toUnicodePass("A\xe0\xa5\x8d\xe2\x80\x8db", "a\xe0\xa5\x8d\xe2\x80\x8db"); }
279test { try toAsciiPass("A\xe0\xa5\x8d\xe2\x80\x8db", "xn--ab-fsf014u", false); }
280test { try toAsciiPass("A\xe0\xa5\x8d\xe2\x80\x8db", "xn--ab-fsf", true); }
281test { try toUnicodePass("xn--ab-fsf014u", "a\xe0\xa5\x8d\xe2\x80\x8db"); }
282test { try toAsciiPass("xn--ab-fsf014u", "xn--ab-fsf014u", false); }
283test { try toAsciiPass("xn--ab-fsf014u", "xn--ab-fsf014u", true); }
284test { try toUnicodeFail("\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8b"); } // [B1, C2, V6]
285test { try toAsciiFail("\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8b", false); } // [B1, C2, V6]
286test { try toAsciiFail("\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8b", true); } // [B1, V6]
287test { try toUnicodeFail("\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8B"); } // [B1, C2, V6]
288test { try toAsciiFail("\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8B", false); } // [B1, C2, V6]
289test { try toAsciiFail("\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8B", true); } // [B1, V6]
290test { try toUnicodeFail("xn--b-bcba413a7w8b"); } // [B1, C2, V6]
291test { try toAsciiFail("xn--b-bcba413a7w8b", false); } // [B1, C2, V6]
292test { try toAsciiFail("xn--b-bcba413a7w8b", true); } // [B1, C2, V6]
293test { try toUnicodeFail("a\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88"); } // [B5, B6, C2]
294test { try toAsciiFail("a\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88", false); } // [B5, B6, C2]
295test { try toAsciiFail("a\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88", true); } // [B5, B6]
296test { try toUnicodeFail("A\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88"); } // [B5, B6, C2]
297test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88", false); } // [B5, B6, C2]
298test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88", true); } // [B5, B6]
299test { try toUnicodeFail("xn--a-ccba213abx8b"); } // [B5, B6, C2]
300test { try toAsciiFail("xn--a-ccba213abx8b", false); } // [B5, B6, C2]
301test { try toAsciiFail("xn--a-ccba213abx8b", true); } // [B5, B6, C2]
302test { try toUnicodeFail("a\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8b"); } // [B5, C2]
303test { try toAsciiFail("a\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8b", false); } // [B5, C2]
304test { try toAsciiFail("a\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8b", true); } // [B5]
305test { try toUnicodeFail("A\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8B"); } // [B5, C2]
306test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8B", false); } // [B5, C2]
307test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8B", true); } // [B5]
308test { try toUnicodeFail("A\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8b"); } // [B5, C2]
309test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8b", false); } // [B5, C2]
310test { try toAsciiFail("A\xd8\xa8\xcc\x88\xe2\x80\x8d\xcc\x88\xd8\xa8b", true); } // [B5]
311test { try toUnicodeFail("xn--ab-uuba211bca5157b"); } // [B5, C2]
312test { try toAsciiFail("xn--ab-uuba211bca5157b", false); } // [B5, C2]
313test { try toAsciiFail("xn--ab-uuba211bca5157b", true); } // [B5, C2]
314test { try toUnicodePass("\xc2\xa1", "\xc2\xa1"); }
315test { try toAsciiPass("\xc2\xa1", "xn--7a", false); }
316test { try toAsciiPass("\xc2\xa1", "xn--7a", true); }
317test { try toUnicodePass("xn--7a", "\xc2\xa1"); }
318test { try toAsciiPass("xn--7a", "xn--7a", false); }
319test { try toAsciiPass("xn--7a", "xn--7a", true); }
320test { try toUnicodePass("\xe1\xa7\x9a", "\xe1\xa7\x9a"); }
321test { try toAsciiPass("\xe1\xa7\x9a", "xn--pkf", false); }
322test { try toAsciiPass("\xe1\xa7\x9a", "xn--pkf", true); }
323test { try toUnicodePass("xn--pkf", "\xe1\xa7\x9a"); }
324test { try toAsciiPass("xn--pkf", "xn--pkf", false); }
325test { try toAsciiPass("xn--pkf", "xn--pkf", true); }
326test { try toAsciiFail("\"\"", false); } // [A4_1, A4_2]
327test { try toAsciiFail("\"\"", true); } // [A4_1, A4_2]
328test { try toAsciiFail("\xe3\x80\x82", false); } // [A4_1, A4_2]
329test { try toAsciiFail("\xe3\x80\x82", true); } // [A4_1, A4_2]
330test { try toAsciiFail(".", false); } // [A4_1, A4_2]
331test { try toAsciiFail(".", true); } // [A4_1, A4_2]
332test { try toUnicodePass("\xea\xad\xa0", "\xea\xad\xa0"); }
333test { try toAsciiPass("\xea\xad\xa0", "xn--3y9a", false); }
334test { try toAsciiPass("\xea\xad\xa0", "xn--3y9a", true); }
335test { try toUnicodePass("xn--3y9a", "\xea\xad\xa0"); }
336test { try toAsciiPass("xn--3y9a", "xn--3y9a", false); }
337test { try toAsciiPass("xn--3y9a", "xn--3y9a", true); }
338test { try toUnicodePass("1234567890\xc3\xa41234567890123456789012345678901234567890123456", "1234567890\xc3\xa41234567890123456789012345678901234567890123456"); }
339test { try toAsciiFail("1234567890\xc3\xa41234567890123456789012345678901234567890123456", false); } // [A4_2]
340test { try toAsciiFail("1234567890\xc3\xa41234567890123456789012345678901234567890123456", true); } // [A4_2]
341test { try toUnicodePass("1234567890a\xcc\x881234567890123456789012345678901234567890123456", "1234567890\xc3\xa41234567890123456789012345678901234567890123456"); }
342test { try toAsciiFail("1234567890a\xcc\x881234567890123456789012345678901234567890123456", false); } // [A4_2]
343test { try toAsciiFail("1234567890a\xcc\x881234567890123456789012345678901234567890123456", true); } // [A4_2]
344test { try toUnicodePass("1234567890A\xcc\x881234567890123456789012345678901234567890123456", "1234567890\xc3\xa41234567890123456789012345678901234567890123456"); }
345test { try toAsciiFail("1234567890A\xcc\x881234567890123456789012345678901234567890123456", false); } // [A4_2]
346test { try toAsciiFail("1234567890A\xcc\x881234567890123456789012345678901234567890123456", true); } // [A4_2]
347test { try toUnicodePass("1234567890\xc3\x841234567890123456789012345678901234567890123456", "1234567890\xc3\xa41234567890123456789012345678901234567890123456"); }
348test { try toAsciiFail("1234567890\xc3\x841234567890123456789012345678901234567890123456", false); } // [A4_2]
349test { try toAsciiFail("1234567890\xc3\x841234567890123456789012345678901234567890123456", true); } // [A4_2]
350test { try toUnicodePass("xn--12345678901234567890123456789012345678901234567890123456-fxe", "1234567890\xc3\xa41234567890123456789012345678901234567890123456"); }
351test { try toAsciiFail("xn--12345678901234567890123456789012345678901234567890123456-fxe", false); } // [A4_2]
352test { try toAsciiFail("xn--12345678901234567890123456789012345678901234567890123456-fxe", true); } // [A4_2]
353test { try toUnicodePass("www.eXample.cOm", "www.example.com"); }
354test { try toAsciiPass("www.eXample.cOm", "www.example.com", false); }
355test { try toAsciiPass("www.eXample.cOm", "www.example.com", true); }
356test { try toUnicodePass("B\xc3\xbccher.de", "b\xc3\xbccher.de"); }
357test { try toAsciiPass("B\xc3\xbccher.de", "xn--bcher-kva.de", false); }
358test { try toAsciiPass("B\xc3\xbccher.de", "xn--bcher-kva.de", true); }
359test { try toUnicodePass("Bu\xcc\x88cher.de", "b\xc3\xbccher.de"); }
360test { try toAsciiPass("Bu\xcc\x88cher.de", "xn--bcher-kva.de", false); }
361test { try toAsciiPass("Bu\xcc\x88cher.de", "xn--bcher-kva.de", true); }
362test { try toUnicodePass("bu\xcc\x88cher.de", "b\xc3\xbccher.de"); }
363test { try toAsciiPass("bu\xcc\x88cher.de", "xn--bcher-kva.de", false); }
364test { try toAsciiPass("bu\xcc\x88cher.de", "xn--bcher-kva.de", true); }
365test { try toUnicodePass("b\xc3\xbccher.de", "b\xc3\xbccher.de"); }
366test { try toAsciiPass("b\xc3\xbccher.de", "xn--bcher-kva.de", false); }
367test { try toAsciiPass("b\xc3\xbccher.de", "xn--bcher-kva.de", true); }
368test { try toUnicodePass("B\xc3\x9cCHER.DE", "b\xc3\xbccher.de"); }
369test { try toAsciiPass("B\xc3\x9cCHER.DE", "xn--bcher-kva.de", false); }
370test { try toAsciiPass("B\xc3\x9cCHER.DE", "xn--bcher-kva.de", true); }
371test { try toUnicodePass("BU\xcc\x88CHER.DE", "b\xc3\xbccher.de"); }
372test { try toAsciiPass("BU\xcc\x88CHER.DE", "xn--bcher-kva.de", false); }
373test { try toAsciiPass("BU\xcc\x88CHER.DE", "xn--bcher-kva.de", true); }
374test { try toUnicodePass("xn--bcher-kva.de", "b\xc3\xbccher.de"); }
375test { try toAsciiPass("xn--bcher-kva.de", "xn--bcher-kva.de", false); }
376test { try toAsciiPass("xn--bcher-kva.de", "xn--bcher-kva.de", true); }
377test { try toUnicodePass("\xc3\x96BB", "\xc3\xb6bb"); }
378test { try toAsciiPass("\xc3\x96BB", "xn--bb-eka", false); }
379test { try toAsciiPass("\xc3\x96BB", "xn--bb-eka", true); }
380test { try toUnicodePass("O\xcc\x88BB", "\xc3\xb6bb"); }
381test { try toAsciiPass("O\xcc\x88BB", "xn--bb-eka", false); }
382test { try toAsciiPass("O\xcc\x88BB", "xn--bb-eka", true); }
383test { try toUnicodePass("o\xcc\x88bb", "\xc3\xb6bb"); }
384test { try toAsciiPass("o\xcc\x88bb", "xn--bb-eka", false); }
385test { try toAsciiPass("o\xcc\x88bb", "xn--bb-eka", true); }
386test { try toUnicodePass("\xc3\xb6bb", "\xc3\xb6bb"); }
387test { try toAsciiPass("\xc3\xb6bb", "xn--bb-eka", false); }
388test { try toAsciiPass("\xc3\xb6bb", "xn--bb-eka", true); }
389test { try toUnicodePass("\xc3\x96bb", "\xc3\xb6bb"); }
390test { try toAsciiPass("\xc3\x96bb", "xn--bb-eka", false); }
391test { try toAsciiPass("\xc3\x96bb", "xn--bb-eka", true); }
392test { try toUnicodePass("O\xcc\x88bb", "\xc3\xb6bb"); }
393test { try toAsciiPass("O\xcc\x88bb", "xn--bb-eka", false); }
394test { try toAsciiPass("O\xcc\x88bb", "xn--bb-eka", true); }
395test { try toUnicodePass("xn--bb-eka", "\xc3\xb6bb"); }
396test { try toAsciiPass("xn--bb-eka", "xn--bb-eka", false); }
397test { try toAsciiPass("xn--bb-eka", "xn--bb-eka", true); }
398test { try toUnicodePass("FA\xe1\xba\x9e.de", "fa\xc3\x9f.de"); }
399test { try toAsciiPass("FA\xe1\xba\x9e.de", "xn--fa-hia.de", false); }
400test { try toAsciiPass("FA\xe1\xba\x9e.de", "fass.de", true); }
401test { try toUnicodePass("FA\xe1\xba\x9e.DE", "fa\xc3\x9f.de"); }
402test { try toAsciiPass("FA\xe1\xba\x9e.DE", "xn--fa-hia.de", false); }
403test { try toAsciiPass("FA\xe1\xba\x9e.DE", "fass.de", true); }
404test { try toUnicodePass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com"); }
405test { try toAsciiPass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com", "xn--nxasmm1c.com", false); }
406test { try toAsciiPass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com", "xn--nxasmq6b.com", true); }
407test { try toUnicodePass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82.com", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com"); }
408test { try toAsciiPass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82.com", "xn--nxasmm1c.com", false); }
409test { try toAsciiPass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82.com", "xn--nxasmq6b.com", true); }
410test { try toUnicodePass("\xce\x92\xce\x9f\xcc\x81\xce\x9b\xce\x9f\xce\xa3.COM", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com"); }
411test { try toAsciiPass("\xce\x92\xce\x9f\xcc\x81\xce\x9b\xce\x9f\xce\xa3.COM", "xn--nxasmq6b.com", false); }
412test { try toAsciiPass("\xce\x92\xce\x9f\xcc\x81\xce\x9b\xce\x9f\xce\xa3.COM", "xn--nxasmq6b.com", true); }
413test { try toUnicodePass("\xce\x92\xce\x8c\xce\x9b\xce\x9f\xce\xa3.COM", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com"); }
414test { try toAsciiPass("\xce\x92\xce\x8c\xce\x9b\xce\x9f\xce\xa3.COM", "xn--nxasmq6b.com", false); }
415test { try toAsciiPass("\xce\x92\xce\x8c\xce\x9b\xce\x9f\xce\xa3.COM", "xn--nxasmq6b.com", true); }
416test { try toUnicodePass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com"); }
417test { try toAsciiPass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com", "xn--nxasmq6b.com", false); }
418test { try toAsciiPass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com", "xn--nxasmq6b.com", true); }
419test { try toUnicodePass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83.com", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com"); }
420test { try toAsciiPass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83.com", "xn--nxasmq6b.com", false); }
421test { try toAsciiPass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83.com", "xn--nxasmq6b.com", true); }
422test { try toUnicodePass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83.com", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com"); }
423test { try toAsciiPass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83.com", "xn--nxasmq6b.com", false); }
424test { try toAsciiPass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83.com", "xn--nxasmq6b.com", true); }
425test { try toUnicodePass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com"); }
426test { try toAsciiPass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com", "xn--nxasmq6b.com", false); }
427test { try toAsciiPass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com", "xn--nxasmq6b.com", true); }
428test { try toUnicodePass("xn--nxasmq6b.com", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83.com"); }
429test { try toAsciiPass("xn--nxasmq6b.com", "xn--nxasmq6b.com", false); }
430test { try toAsciiPass("xn--nxasmq6b.com", "xn--nxasmq6b.com", true); }
431test { try toUnicodePass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82.com", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com"); }
432test { try toAsciiPass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82.com", "xn--nxasmm1c.com", false); }
433test { try toAsciiPass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82.com", "xn--nxasmq6b.com", true); }
434test { try toUnicodePass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com"); }
435test { try toAsciiPass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com", "xn--nxasmm1c.com", false); }
436test { try toAsciiPass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com", "xn--nxasmq6b.com", true); }
437test { try toUnicodePass("xn--nxasmm1c.com", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82.com"); }
438test { try toAsciiPass("xn--nxasmm1c.com", "xn--nxasmm1c.com", false); }
439test { try toAsciiPass("xn--nxasmm1c.com", "xn--nxasmm1c.com", true); }
440test { try toUnicodePass("xn--nxasmm1c", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82"); }
441test { try toAsciiPass("xn--nxasmm1c", "xn--nxasmm1c", false); }
442test { try toAsciiPass("xn--nxasmm1c", "xn--nxasmm1c", true); }
443test { try toUnicodePass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82"); }
444test { try toAsciiPass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82", "xn--nxasmm1c", false); }
445test { try toAsciiPass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82", "xn--nxasmq6b", true); }
446test { try toUnicodePass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82"); }
447test { try toAsciiPass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82", "xn--nxasmm1c", false); }
448test { try toAsciiPass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82", "xn--nxasmq6b", true); }
449test { try toUnicodePass("\xce\x92\xce\x9f\xcc\x81\xce\x9b\xce\x9f\xce\xa3", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83"); }
450test { try toAsciiPass("\xce\x92\xce\x9f\xcc\x81\xce\x9b\xce\x9f\xce\xa3", "xn--nxasmq6b", false); }
451test { try toAsciiPass("\xce\x92\xce\x9f\xcc\x81\xce\x9b\xce\x9f\xce\xa3", "xn--nxasmq6b", true); }
452test { try toUnicodePass("\xce\x92\xce\x8c\xce\x9b\xce\x9f\xce\xa3", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83"); }
453test { try toAsciiPass("\xce\x92\xce\x8c\xce\x9b\xce\x9f\xce\xa3", "xn--nxasmq6b", false); }
454test { try toAsciiPass("\xce\x92\xce\x8c\xce\x9b\xce\x9f\xce\xa3", "xn--nxasmq6b", true); }
455test { try toUnicodePass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83"); }
456test { try toAsciiPass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83", "xn--nxasmq6b", false); }
457test { try toAsciiPass("\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83", "xn--nxasmq6b", true); }
458test { try toUnicodePass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83"); }
459test { try toAsciiPass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83", "xn--nxasmq6b", false); }
460test { try toAsciiPass("\xce\xb2\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83", "xn--nxasmq6b", true); }
461test { try toUnicodePass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83"); }
462test { try toAsciiPass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83", "xn--nxasmq6b", false); }
463test { try toAsciiPass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x83", "xn--nxasmq6b", true); }
464test { try toUnicodePass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x83", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83"); }
465test { try toAsciiPass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x83", "xn--nxasmq6b", false); }
466test { try toAsciiPass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x83", "xn--nxasmq6b", true); }
467test { try toUnicodePass("xn--nxasmq6b", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x83"); }
468test { try toAsciiPass("xn--nxasmq6b", "xn--nxasmq6b", false); }
469test { try toAsciiPass("xn--nxasmq6b", "xn--nxasmq6b", true); }
470test { try toUnicodePass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x82", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82"); }
471test { try toAsciiPass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x82", "xn--nxasmm1c", false); }
472test { try toAsciiPass("\xce\x92\xcf\x8c\xce\xbb\xce\xbf\xcf\x82", "xn--nxasmq6b", true); }
473test { try toUnicodePass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82", "\xce\xb2\xcf\x8c\xce\xbb\xce\xbf\xcf\x82"); }
474test { try toAsciiPass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82", "xn--nxasmm1c", false); }
475test { try toAsciiPass("\xce\x92\xce\xbf\xcc\x81\xce\xbb\xce\xbf\xcf\x82", "xn--nxasmq6b", true); }
476test { try toUnicodePass("www.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.com", "www.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.com"); }
477test { try toAsciiPass("www.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.com", "www.xn--10cl1a0b660p.com", false); }
478test { try toAsciiPass("www.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.com", "www.xn--10cl1a0b.com", true); }
479test { try toUnicodePass("WWW.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.COM", "www.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.com"); }
480test { try toAsciiPass("WWW.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.COM", "www.xn--10cl1a0b660p.com", false); }
481test { try toAsciiPass("WWW.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.COM", "www.xn--10cl1a0b.com", true); }
482test { try toUnicodePass("Www.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.com", "www.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.com"); }
483test { try toAsciiPass("Www.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.com", "www.xn--10cl1a0b660p.com", false); }
484test { try toAsciiPass("Www.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.com", "www.xn--10cl1a0b.com", true); }
485test { try toUnicodePass("www.xn--10cl1a0b.com", "www.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.com"); }
486test { try toAsciiPass("www.xn--10cl1a0b.com", "www.xn--10cl1a0b.com", false); }
487test { try toAsciiPass("www.xn--10cl1a0b.com", "www.xn--10cl1a0b.com", true); }
488test { try toUnicodePass("www.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.com", "www.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.com"); }
489test { try toAsciiPass("www.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.com", "www.xn--10cl1a0b.com", false); }
490test { try toAsciiPass("www.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.com", "www.xn--10cl1a0b.com", true); }
491test { try toUnicodePass("WWW.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.COM", "www.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.com"); }
492test { try toAsciiPass("WWW.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.COM", "www.xn--10cl1a0b.com", false); }
493test { try toAsciiPass("WWW.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.COM", "www.xn--10cl1a0b.com", true); }
494test { try toUnicodePass("Www.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.com", "www.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.com"); }
495test { try toAsciiPass("Www.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.com", "www.xn--10cl1a0b.com", false); }
496test { try toAsciiPass("Www.\xe0\xb7\x81\xe0\xb7\x8a\xe0\xb6\xbb\xe0\xb7\x93.com", "www.xn--10cl1a0b.com", true); }
497test { try toUnicodePass("www.xn--10cl1a0b660p.com", "www.\xe0\xb7\x81\xe0\xb7\x8a\xe2\x80\x8d\xe0\xb6\xbb\xe0\xb7\x93.com"); }
498test { try toAsciiPass("www.xn--10cl1a0b660p.com", "www.xn--10cl1a0b660p.com", false); }
499test { try toAsciiPass("www.xn--10cl1a0b660p.com", "www.xn--10cl1a0b660p.com", true); }
500test { try toUnicodePass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c", "\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c"); }
501test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c", "xn--mgba3gch31f060k", false); }
502test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c", "xn--mgba3gch31f", true); }
503test { try toUnicodePass("xn--mgba3gch31f", "\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c"); }
504test { try toAsciiPass("xn--mgba3gch31f", "xn--mgba3gch31f", false); }
505test { try toAsciiPass("xn--mgba3gch31f", "xn--mgba3gch31f", true); }
506test { try toUnicodePass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c", "\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c"); }
507test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c", "xn--mgba3gch31f", false); }
508test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c", "xn--mgba3gch31f", true); }
509test { try toUnicodePass("xn--mgba3gch31f060k", "\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c"); }
510test { try toAsciiPass("xn--mgba3gch31f060k", "xn--mgba3gch31f060k", false); }
511test { try toAsciiPass("xn--mgba3gch31f060k", "xn--mgba3gch31f060k", true); }
512test { try toUnicodePass("xn--mgba3gch31f060k.com", "\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c.com"); }
513test { try toAsciiPass("xn--mgba3gch31f060k.com", "xn--mgba3gch31f060k.com", false); }
514test { try toAsciiPass("xn--mgba3gch31f060k.com", "xn--mgba3gch31f060k.com", true); }
515test { try toUnicodePass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c.com", "\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c.com"); }
516test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c.com", "xn--mgba3gch31f060k.com", false); }
517test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c.com", "xn--mgba3gch31f.com", true); }
518test { try toUnicodePass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c.COM", "\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c.com"); }
519test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c.COM", "xn--mgba3gch31f060k.com", false); }
520test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xe2\x80\x8c\xd8\xa7\xdb\x8c.COM", "xn--mgba3gch31f.com", true); }
521test { try toUnicodePass("xn--mgba3gch31f.com", "\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c.com"); }
522test { try toAsciiPass("xn--mgba3gch31f.com", "xn--mgba3gch31f.com", false); }
523test { try toAsciiPass("xn--mgba3gch31f.com", "xn--mgba3gch31f.com", true); }
524test { try toUnicodePass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c.com", "\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c.com"); }
525test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c.com", "xn--mgba3gch31f.com", false); }
526test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c.com", "xn--mgba3gch31f.com", true); }
527test { try toUnicodePass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c.COM", "\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c.com"); }
528test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c.COM", "xn--mgba3gch31f.com", false); }
529test { try toAsciiPass("\xd9\x86\xd8\xa7\xd9\x85\xd9\x87\xd8\xa7\xdb\x8c.COM", "xn--mgba3gch31f.com", true); }
530test { try toUnicodePass("a.b\xef\xbc\x8ec\xe3\x80\x82d\xef\xbd\xa1", "a.b.c.d."); }
531test { try toAsciiFail("a.b\xef\xbc\x8ec\xe3\x80\x82d\xef\xbd\xa1", false); } // [A4_2]
532test { try toAsciiFail("a.b\xef\xbc\x8ec\xe3\x80\x82d\xef\xbd\xa1", true); } // [A4_2]
533test { try toUnicodePass("a.b.c\xe3\x80\x82d\xe3\x80\x82", "a.b.c.d."); }
534test { try toAsciiFail("a.b.c\xe3\x80\x82d\xe3\x80\x82", false); } // [A4_2]
535test { try toAsciiFail("a.b.c\xe3\x80\x82d\xe3\x80\x82", true); } // [A4_2]
536test { try toUnicodePass("A.B.C\xe3\x80\x82D\xe3\x80\x82", "a.b.c.d."); }
537test { try toAsciiFail("A.B.C\xe3\x80\x82D\xe3\x80\x82", false); } // [A4_2]
538test { try toAsciiFail("A.B.C\xe3\x80\x82D\xe3\x80\x82", true); } // [A4_2]
539test { try toUnicodePass("A.b.c\xe3\x80\x82D\xe3\x80\x82", "a.b.c.d."); }
540test { try toAsciiFail("A.b.c\xe3\x80\x82D\xe3\x80\x82", false); } // [A4_2]
541test { try toAsciiFail("A.b.c\xe3\x80\x82D\xe3\x80\x82", true); } // [A4_2]
542test { try toUnicodePass("a.b.c.d.", "a.b.c.d."); }
543test { try toAsciiFail("a.b.c.d.", false); } // [A4_2]
544test { try toAsciiFail("a.b.c.d.", true); } // [A4_2]
545test { try toUnicodePass("A.B\xef\xbc\x8eC\xe3\x80\x82D\xef\xbd\xa1", "a.b.c.d."); }
546test { try toAsciiFail("A.B\xef\xbc\x8eC\xe3\x80\x82D\xef\xbd\xa1", false); } // [A4_2]
547test { try toAsciiFail("A.B\xef\xbc\x8eC\xe3\x80\x82D\xef\xbd\xa1", true); } // [A4_2]
548test { try toUnicodePass("A.b\xef\xbc\x8ec\xe3\x80\x82D\xef\xbd\xa1", "a.b.c.d."); }
549test { try toAsciiFail("A.b\xef\xbc\x8ec\xe3\x80\x82D\xef\xbd\xa1", false); } // [A4_2]
550test { try toAsciiFail("A.b\xef\xbc\x8ec\xe3\x80\x82D\xef\xbd\xa1", true); } // [A4_2]
551test { try toUnicodePass("U\xcc\x88.xn--tda", "\xc3\xbc.\xc3\xbc"); }
552test { try toAsciiPass("U\xcc\x88.xn--tda", "xn--tda.xn--tda", false); }
553test { try toAsciiPass("U\xcc\x88.xn--tda", "xn--tda.xn--tda", true); }
554test { try toUnicodePass("\xc3\x9c.xn--tda", "\xc3\xbc.\xc3\xbc"); }
555test { try toAsciiPass("\xc3\x9c.xn--tda", "xn--tda.xn--tda", false); }
556test { try toAsciiPass("\xc3\x9c.xn--tda", "xn--tda.xn--tda", true); }
557test { try toUnicodePass("\xc3\xbc.xn--tda", "\xc3\xbc.\xc3\xbc"); }
558test { try toAsciiPass("\xc3\xbc.xn--tda", "xn--tda.xn--tda", false); }
559test { try toAsciiPass("\xc3\xbc.xn--tda", "xn--tda.xn--tda", true); }
560test { try toUnicodePass("u\xcc\x88.xn--tda", "\xc3\xbc.\xc3\xbc"); }
561test { try toAsciiPass("u\xcc\x88.xn--tda", "xn--tda.xn--tda", false); }
562test { try toAsciiPass("u\xcc\x88.xn--tda", "xn--tda.xn--tda", true); }
563test { try toUnicodePass("U\xcc\x88.XN--TDA", "\xc3\xbc.\xc3\xbc"); }
564test { try toAsciiPass("U\xcc\x88.XN--TDA", "xn--tda.xn--tda", false); }
565test { try toAsciiPass("U\xcc\x88.XN--TDA", "xn--tda.xn--tda", true); }
566test { try toUnicodePass("\xc3\x9c.XN--TDA", "\xc3\xbc.\xc3\xbc"); }
567test { try toAsciiPass("\xc3\x9c.XN--TDA", "xn--tda.xn--tda", false); }
568test { try toAsciiPass("\xc3\x9c.XN--TDA", "xn--tda.xn--tda", true); }
569test { try toUnicodePass("\xc3\x9c.xn--Tda", "\xc3\xbc.\xc3\xbc"); }
570test { try toAsciiPass("\xc3\x9c.xn--Tda", "xn--tda.xn--tda", false); }
571test { try toAsciiPass("\xc3\x9c.xn--Tda", "xn--tda.xn--tda", true); }
572test { try toUnicodePass("U\xcc\x88.xn--Tda", "\xc3\xbc.\xc3\xbc"); }
573test { try toAsciiPass("U\xcc\x88.xn--Tda", "xn--tda.xn--tda", false); }
574test { try toAsciiPass("U\xcc\x88.xn--Tda", "xn--tda.xn--tda", true); }
575test { try toUnicodePass("xn--tda.xn--tda", "\xc3\xbc.\xc3\xbc"); }
576test { try toAsciiPass("xn--tda.xn--tda", "xn--tda.xn--tda", false); }
577test { try toAsciiPass("xn--tda.xn--tda", "xn--tda.xn--tda", true); }
578test { try toUnicodePass("\xc3\xbc.\xc3\xbc", "\xc3\xbc.\xc3\xbc"); }
579test { try toAsciiPass("\xc3\xbc.\xc3\xbc", "xn--tda.xn--tda", false); }
580test { try toAsciiPass("\xc3\xbc.\xc3\xbc", "xn--tda.xn--tda", true); }
581test { try toUnicodePass("u\xcc\x88.u\xcc\x88", "\xc3\xbc.\xc3\xbc"); }
582test { try toAsciiPass("u\xcc\x88.u\xcc\x88", "xn--tda.xn--tda", false); }
583test { try toAsciiPass("u\xcc\x88.u\xcc\x88", "xn--tda.xn--tda", true); }
584test { try toUnicodePass("U\xcc\x88.U\xcc\x88", "\xc3\xbc.\xc3\xbc"); }
585test { try toAsciiPass("U\xcc\x88.U\xcc\x88", "xn--tda.xn--tda", false); }
586test { try toAsciiPass("U\xcc\x88.U\xcc\x88", "xn--tda.xn--tda", true); }
587test { try toUnicodePass("\xc3\x9c.\xc3\x9c", "\xc3\xbc.\xc3\xbc"); }
588test { try toAsciiPass("\xc3\x9c.\xc3\x9c", "xn--tda.xn--tda", false); }
589test { try toAsciiPass("\xc3\x9c.\xc3\x9c", "xn--tda.xn--tda", true); }
590test { try toUnicodePass("\xc3\x9c.\xc3\xbc", "\xc3\xbc.\xc3\xbc"); }
591test { try toAsciiPass("\xc3\x9c.\xc3\xbc", "xn--tda.xn--tda", false); }
592test { try toAsciiPass("\xc3\x9c.\xc3\xbc", "xn--tda.xn--tda", true); }
593test { try toUnicodePass("U\xcc\x88.u\xcc\x88", "\xc3\xbc.\xc3\xbc"); }
594test { try toAsciiPass("U\xcc\x88.u\xcc\x88", "xn--tda.xn--tda", false); }
595test { try toAsciiPass("U\xcc\x88.u\xcc\x88", "xn--tda.xn--tda", true); }
596test { try toUnicodeFail("xn--u-ccb"); } // [V1]
597test { try toAsciiFail("xn--u-ccb", false); } // [V1]
598test { try toAsciiFail("xn--u-ccb", true); } // [V1]
599test { try toUnicodeFail("a\xe2\x92\x88com"); } // [V7]
600test { try toAsciiFail("a\xe2\x92\x88com", false); } // [V7]
601test { try toAsciiFail("a\xe2\x92\x88com", true); } // [V7]
602test { try toUnicodePass("a1.com", "a1.com"); }
603test { try toAsciiPass("a1.com", "a1.com", false); }
604test { try toAsciiPass("a1.com", "a1.com", true); }
605test { try toUnicodeFail("A\xe2\x92\x88COM"); } // [V7]
606test { try toAsciiFail("A\xe2\x92\x88COM", false); } // [V7]
607test { try toAsciiFail("A\xe2\x92\x88COM", true); } // [V7]
608test { try toUnicodeFail("A\xe2\x92\x88Com"); } // [V7]
609test { try toAsciiFail("A\xe2\x92\x88Com", false); } // [V7]
610test { try toAsciiFail("A\xe2\x92\x88Com", true); } // [V7]
611test { try toUnicodeFail("xn--acom-0w1b"); } // [V7]
612test { try toAsciiFail("xn--acom-0w1b", false); } // [V7]
613test { try toAsciiFail("xn--acom-0w1b", true); } // [V7]
614test { try toUnicodeFail("xn--a-ecp.ru"); } // [V7]
615test { try toAsciiFail("xn--a-ecp.ru", false); } // [V7]
616test { try toAsciiFail("xn--a-ecp.ru", true); } // [V7]
617test { try toUnicodeFail("xn--0.pt"); } // [P4]
618test { try toAsciiFail("xn--0.pt", false); } // [P4]
619test { try toAsciiFail("xn--0.pt", true); } // [P4]
620test { try toUnicodeFail("xn--a.pt"); } // [V7]
621test { try toAsciiFail("xn--a.pt", false); } // [V7]
622test { try toAsciiFail("xn--a.pt", true); } // [V7]
623test { try toUnicodeFail("xn--a-\xc3\x84.pt"); } // [P4]
624test { try toAsciiFail("xn--a-\xc3\x84.pt", false); } // [P4]
625test { try toAsciiFail("xn--a-\xc3\x84.pt", true); } // [P4]
626test { try toUnicodeFail("xn--a-A\xcc\x88.pt"); } // [P4]
627test { try toAsciiFail("xn--a-A\xcc\x88.pt", false); } // [P4]
628test { try toAsciiFail("xn--a-A\xcc\x88.pt", true); } // [P4]
629test { try toUnicodeFail("xn--a-a\xcc\x88.pt"); } // [P4]
630test { try toAsciiFail("xn--a-a\xcc\x88.pt", false); } // [P4]
631test { try toAsciiFail("xn--a-a\xcc\x88.pt", true); } // [P4]
632test { try toUnicodeFail("xn--a-\xc3\xa4.pt"); } // [P4]
633test { try toAsciiFail("xn--a-\xc3\xa4.pt", false); } // [P4]
634test { try toAsciiFail("xn--a-\xc3\xa4.pt", true); } // [P4]
635test { try toUnicodeFail("XN--A-\xc3\x84.PT"); } // [P4]
636test { try toAsciiFail("XN--A-\xc3\x84.PT", false); } // [P4]
637test { try toAsciiFail("XN--A-\xc3\x84.PT", true); } // [P4]
638test { try toUnicodeFail("XN--A-A\xcc\x88.PT"); } // [P4]
639test { try toAsciiFail("XN--A-A\xcc\x88.PT", false); } // [P4]
640test { try toAsciiFail("XN--A-A\xcc\x88.PT", true); } // [P4]
641test { try toUnicodeFail("Xn--A-A\xcc\x88.pt"); } // [P4]
642test { try toAsciiFail("Xn--A-A\xcc\x88.pt", false); } // [P4]
643test { try toAsciiFail("Xn--A-A\xcc\x88.pt", true); } // [P4]
644test { try toUnicodeFail("Xn--A-\xc3\x84.pt"); } // [P4]
645test { try toAsciiFail("Xn--A-\xc3\x84.pt", false); } // [P4]
646test { try toAsciiFail("Xn--A-\xc3\x84.pt", true); } // [P4]
647test { try toUnicodeFail("xn--xn--a--gua.pt"); } // [V2, V4]
648test { try toAsciiFail("xn--xn--a--gua.pt", false); } // [V2, V4]
649test { try toAsciiFail("xn--xn--a--gua.pt", true); } // [V2, V4]
650test { try toUnicodePass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82\xef\xbc\xaa\xef\xbc\xb0", "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp"); }
651test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82\xef\xbc\xaa\xef\xbc\xb0", "xn--wgv71a119e.jp", false); }
652test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82\xef\xbc\xaa\xef\xbc\xb0", "xn--wgv71a119e.jp", true); }
653test { try toUnicodePass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82JP", "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp"); }
654test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82JP", "xn--wgv71a119e.jp", false); }
655test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82JP", "xn--wgv71a119e.jp", true); }
656test { try toUnicodePass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82jp", "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp"); }
657test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82jp", "xn--wgv71a119e.jp", false); }
658test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82jp", "xn--wgv71a119e.jp", true); }
659test { try toUnicodePass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82Jp", "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp"); }
660test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82Jp", "xn--wgv71a119e.jp", false); }
661test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82Jp", "xn--wgv71a119e.jp", true); }
662test { try toUnicodePass("xn--wgv71a119e.jp", "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp"); }
663test { try toAsciiPass("xn--wgv71a119e.jp", "xn--wgv71a119e.jp", false); }
664test { try toAsciiPass("xn--wgv71a119e.jp", "xn--wgv71a119e.jp", true); }
665test { try toUnicodePass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp", "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp"); }
666test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp", "xn--wgv71a119e.jp", false); }
667test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp", "xn--wgv71a119e.jp", true); }
668test { try toUnicodePass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.JP", "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp"); }
669test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.JP", "xn--wgv71a119e.jp", false); }
670test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.JP", "xn--wgv71a119e.jp", true); }
671test { try toUnicodePass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.Jp", "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp"); }
672test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.Jp", "xn--wgv71a119e.jp", false); }
673test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.Jp", "xn--wgv71a119e.jp", true); }
674test { try toUnicodePass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82\xef\xbd\x8a\xef\xbd\x90", "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp"); }
675test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82\xef\xbd\x8a\xef\xbd\x90", "xn--wgv71a119e.jp", false); }
676test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82\xef\xbd\x8a\xef\xbd\x90", "xn--wgv71a119e.jp", true); }
677test { try toUnicodePass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82\xef\xbc\xaa\xef\xbd\x90", "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e.jp"); }
678test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82\xef\xbc\xaa\xef\xbd\x90", "xn--wgv71a119e.jp", false); }
679test { try toAsciiPass("\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe3\x80\x82\xef\xbc\xaa\xef\xbd\x90", "xn--wgv71a119e.jp", true); }
680test { try toUnicodePass("\xe2\x98\x95", "\xe2\x98\x95"); }
681test { try toAsciiPass("\xe2\x98\x95", "xn--53h", false); }
682test { try toAsciiPass("\xe2\x98\x95", "xn--53h", true); }
683test { try toUnicodePass("xn--53h", "\xe2\x98\x95"); }
684test { try toAsciiPass("xn--53h", "xn--53h", false); }
685test { try toAsciiPass("xn--53h", "xn--53h", true); }
686test { try toUnicodeFail("1.a\xc3\x9f\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dc\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fd\xcf\x82\xcf\x83\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fe\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fx\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fy\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xcc\x82\xc3\x9fz"); } // [C1, C2]
687test { try toAsciiFail("1.a\xc3\x9f\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dc\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fd\xcf\x82\xcf\x83\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fe\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fx\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fy\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xcc\x82\xc3\x9fz", false); } // [C1, C2, A4_2]
688test { try toAsciiFail("1.a\xc3\x9f\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dc\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fd\xcf\x82\xcf\x83\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fe\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fx\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fy\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xcc\x82\xc3\x9fz", true); } // [A4_2]
689test { try toUnicodeFail("1.ASS\xe2\x80\x8c\xe2\x80\x8dB\xe2\x80\x8c\xe2\x80\x8dCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSSS\xcc\x82SSZ"); } // [C1, C2]
690test { try toAsciiFail("1.ASS\xe2\x80\x8c\xe2\x80\x8dB\xe2\x80\x8c\xe2\x80\x8dCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSSS\xcc\x82SSZ", false); } // [C1, C2, A4_2]
691test { try toAsciiFail("1.ASS\xe2\x80\x8c\xe2\x80\x8dB\xe2\x80\x8c\xe2\x80\x8dCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSSS\xcc\x82SSZ", true); } // [A4_2]
692test { try toUnicodeFail("1.ASS\xe2\x80\x8c\xe2\x80\x8dB\xe2\x80\x8c\xe2\x80\x8dCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSS\xc5\x9cSSZ"); } // [C1, C2]
693test { try toAsciiFail("1.ASS\xe2\x80\x8c\xe2\x80\x8dB\xe2\x80\x8c\xe2\x80\x8dCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSS\xc5\x9cSSZ", false); } // [C1, C2, A4_2]
694test { try toAsciiFail("1.ASS\xe2\x80\x8c\xe2\x80\x8dB\xe2\x80\x8c\xe2\x80\x8dCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSS\xc5\x9cSSZ", true); } // [A4_2]
695test { try toUnicodeFail("1.ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz"); } // [C1, C2]
696test { try toAsciiFail("1.ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz", false); } // [C1, C2, A4_2]
697test { try toAsciiFail("1.ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz", true); } // [A4_2]
698test { try toUnicodeFail("1.ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz"); } // [C1, C2]
699test { try toAsciiFail("1.ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz", false); } // [C1, C2, A4_2]
700test { try toAsciiFail("1.ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz", true); } // [A4_2]
701test { try toUnicodeFail("1.Ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz"); } // [C1, C2]
702test { try toAsciiFail("1.Ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz", false); } // [C1, C2, A4_2]
703test { try toAsciiFail("1.Ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz", true); } // [A4_2]
704test { try toUnicodeFail("1.Ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz"); } // [C1, C2]
705test { try toAsciiFail("1.Ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz", false); } // [C1, C2, A4_2]
706test { try toAsciiFail("1.Ass\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz", true); } // [A4_2]
707test { try toUnicodePass("1.xn--assbcssssssssdssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssssssz-pxq1419aa", "1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz"); }
708test { try toAsciiFail("1.xn--assbcssssssssdssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssssssz-pxq1419aa", false); } // [A4_2]
709test { try toAsciiFail("1.xn--assbcssssssssdssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssssssz-pxq1419aa", true); } // [A4_2]
710test { try toUnicodePass("1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz", "1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz"); }
711test { try toAsciiFail("1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz", false); } // [A4_2]
712test { try toAsciiFail("1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz", true); } // [A4_2]
713test { try toUnicodePass("1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz", "1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz"); }
714test { try toAsciiFail("1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz", false); } // [A4_2]
715test { try toAsciiFail("1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz", true); } // [A4_2]
716test { try toUnicodePass("1.ASSBCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSSS\xcc\x82SSZ", "1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz"); }
717test { try toAsciiFail("1.ASSBCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSSS\xcc\x82SSZ", false); } // [A4_2]
718test { try toAsciiFail("1.ASSBCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSSS\xcc\x82SSZ", true); } // [A4_2]
719test { try toUnicodePass("1.ASSBCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSS\xc5\x9cSSZ", "1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz"); }
720test { try toAsciiFail("1.ASSBCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSS\xc5\x9cSSZ", false); } // [A4_2]
721test { try toAsciiFail("1.ASSBCSSSSSSSSD\xce\xa3\xce\xa3SSSSSSSSSSSSSSSSESSSSSSSSSSSSSSSSSSSSXSSSSSSSSSSSSSSSSSSSSYSSSSSSSSSSSSSSS\xc5\x9cSSZ", true); } // [A4_2]
722test { try toUnicodePass("1.Assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz", "1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz"); }
723test { try toAsciiFail("1.Assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz", false); } // [A4_2]
724test { try toAsciiFail("1.Assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz", true); } // [A4_2]
725test { try toUnicodePass("1.Assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz", "1.assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssss\xc5\x9dssz"); }
726test { try toAsciiFail("1.Assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz", false); } // [A4_2]
727test { try toAsciiFail("1.Assbcssssssssd\xcf\x83\xcf\x83ssssssssssssssssessssssssssssssssssssxssssssssssssssssssssyssssssssssssssss\xcc\x82ssz", true); } // [A4_2]
728test { try toUnicodeFail("1.xn--assbcssssssssdssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssssssz-pxq1419aa69989dba9gc"); } // [C1, C2]
729test { try toAsciiFail("1.xn--assbcssssssssdssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssssssz-pxq1419aa69989dba9gc", false); } // [C1, C2, A4_2]
730test { try toAsciiFail("1.xn--assbcssssssssdssssssssssssssssessssssssssssssssssssxssssssssssssssssssssysssssssssssssssssz-pxq1419aa69989dba9gc", true); } // [C1, C2, A4_2]
731test { try toUnicodeFail("1.A\xc3\x9f\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dc\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fd\xcf\x82\xcf\x83\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fe\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fx\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fy\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xcc\x82\xc3\x9fz"); } // [C1, C2]
732test { try toAsciiFail("1.A\xc3\x9f\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dc\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fd\xcf\x82\xcf\x83\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fe\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fx\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fy\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xcc\x82\xc3\x9fz", false); } // [C1, C2, A4_2]
733test { try toAsciiFail("1.A\xc3\x9f\xe2\x80\x8c\xe2\x80\x8db\xe2\x80\x8c\xe2\x80\x8dc\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fd\xcf\x82\xcf\x83\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fe\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fx\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9fy\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xc3\x9f\xcc\x82\xc3\x9fz", true); } // [A4_2]
734test { try toUnicodeFail("1.xn--abcdexyz-qyacaaabaaaaaaabaaaaaaaaabaaaaaaaaabaaaaaaaa010ze2isb1140zba8cc"); } // [C1, C2]
735test { try toAsciiFail("1.xn--abcdexyz-qyacaaabaaaaaaabaaaaaaaaabaaaaaaaaabaaaaaaaa010ze2isb1140zba8cc", false); } // [C1, C2, A4_2]
736test { try toAsciiFail("1.xn--abcdexyz-qyacaaabaaaaaaabaaaaaaaaabaaaaaaaaabaaaaaaaa010ze2isb1140zba8cc", true); } // [C1, C2, A4_2]
737test { try toAsciiPass("\xe2\x80\x8cx\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-b\xc3\x9f", "xn--bss", true); }
738test { try toUnicodeFail("\xe2\x80\x8cx\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-b\xc3\x9f"); } // [C1, C2]
739test { try toAsciiFail("\xe2\x80\x8cx\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-b\xc3\x9f", false); } // [C1, C2]
740test { try toAsciiPass("\xe2\x80\x8cX\xe2\x80\x8dN\xe2\x80\x8c-\xe2\x80\x8d-BSS", "xn--bss", true); }
741test { try toUnicodeFail("\xe2\x80\x8cX\xe2\x80\x8dN\xe2\x80\x8c-\xe2\x80\x8d-BSS"); } // [C1, C2]
742test { try toAsciiFail("\xe2\x80\x8cX\xe2\x80\x8dN\xe2\x80\x8c-\xe2\x80\x8d-BSS", false); } // [C1, C2]
743test { try toAsciiPass("\xe2\x80\x8cx\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-bss", "xn--bss", true); }
744test { try toUnicodeFail("\xe2\x80\x8cx\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-bss"); } // [C1, C2]
745test { try toAsciiFail("\xe2\x80\x8cx\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-bss", false); } // [C1, C2]
746test { try toAsciiPass("\xe2\x80\x8cX\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-Bss", "xn--bss", true); }
747test { try toUnicodeFail("\xe2\x80\x8cX\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-Bss"); } // [C1, C2]
748test { try toAsciiFail("\xe2\x80\x8cX\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-Bss", false); } // [C1, C2]
749test { try toUnicodePass("xn--bss", "\xe5\xa4\x99"); }
750test { try toAsciiPass("xn--bss", "xn--bss", false); }
751test { try toAsciiPass("xn--bss", "xn--bss", true); }
752test { try toUnicodePass("\xe5\xa4\x99", "\xe5\xa4\x99"); }
753test { try toAsciiPass("\xe5\xa4\x99", "xn--bss", false); }
754test { try toAsciiPass("\xe5\xa4\x99", "xn--bss", true); }
755test { try toUnicodeFail("xn--xn--bss-7z6ccid"); } // [C1, C2]
756test { try toAsciiFail("xn--xn--bss-7z6ccid", false); } // [C1, C2]
757test { try toAsciiFail("xn--xn--bss-7z6ccid", true); } // [C1, C2]
758test { try toAsciiPass("\xe2\x80\x8cX\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-B\xc3\x9f", "xn--bss", true); }
759test { try toUnicodeFail("\xe2\x80\x8cX\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-B\xc3\x9f"); } // [C1, C2]
760test { try toAsciiFail("\xe2\x80\x8cX\xe2\x80\x8dn\xe2\x80\x8c-\xe2\x80\x8d-B\xc3\x9f", false); } // [C1, C2]
761test { try toUnicodeFail("xn--xn--b-pqa5796ccahd"); } // [C1, C2]
762test { try toAsciiFail("xn--xn--b-pqa5796ccahd", false); } // [C1, C2]
763test { try toAsciiFail("xn--xn--b-pqa5796ccahd", true); } // [C1, C2]
764test { try toUnicodePass("\xcb\xa3\xcd\x8f\xe2\x84\x95\xe2\x80\x8b\xef\xb9\xa3\xc2\xad\xef\xbc\x8d\xe1\xa0\x8c\xe2\x84\xac\xef\xb8\x80\xc5\xbf\xe2\x81\xa4\xf0\x9d\x94\xb0\xf3\xa0\x87\xaf\xef\xac\x84", "\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99"); }
765test { try toAsciiPass("\xcb\xa3\xcd\x8f\xe2\x84\x95\xe2\x80\x8b\xef\xb9\xa3\xc2\xad\xef\xbc\x8d\xe1\xa0\x8c\xe2\x84\xac\xef\xb8\x80\xc5\xbf\xe2\x81\xa4\xf0\x9d\x94\xb0\xf3\xa0\x87\xaf\xef\xac\x84", "xn--bssffl", false); }
766test { try toAsciiPass("\xcb\xa3\xcd\x8f\xe2\x84\x95\xe2\x80\x8b\xef\xb9\xa3\xc2\xad\xef\xbc\x8d\xe1\xa0\x8c\xe2\x84\xac\xef\xb8\x80\xc5\xbf\xe2\x81\xa4\xf0\x9d\x94\xb0\xf3\xa0\x87\xaf\xef\xac\x84", "xn--bssffl", true); }
767test { try toUnicodePass("x\xcd\x8fN\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80s\xe2\x81\xa4s\xf3\xa0\x87\xafffl", "\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99"); }
768test { try toAsciiPass("x\xcd\x8fN\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80s\xe2\x81\xa4s\xf3\xa0\x87\xafffl", "xn--bssffl", false); }
769test { try toAsciiPass("x\xcd\x8fN\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80s\xe2\x81\xa4s\xf3\xa0\x87\xafffl", "xn--bssffl", true); }
770test { try toUnicodePass("x\xcd\x8fn\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cb\xef\xb8\x80s\xe2\x81\xa4s\xf3\xa0\x87\xafffl", "\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99"); }
771test { try toAsciiPass("x\xcd\x8fn\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cb\xef\xb8\x80s\xe2\x81\xa4s\xf3\xa0\x87\xafffl", "xn--bssffl", false); }
772test { try toAsciiPass("x\xcd\x8fn\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cb\xef\xb8\x80s\xe2\x81\xa4s\xf3\xa0\x87\xafffl", "xn--bssffl", true); }
773test { try toUnicodePass("X\xcd\x8fN\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80S\xe2\x81\xa4S\xf3\xa0\x87\xafFFL", "\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99"); }
774test { try toAsciiPass("X\xcd\x8fN\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80S\xe2\x81\xa4S\xf3\xa0\x87\xafFFL", "xn--bssffl", false); }
775test { try toAsciiPass("X\xcd\x8fN\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80S\xe2\x81\xa4S\xf3\xa0\x87\xafFFL", "xn--bssffl", true); }
776test { try toUnicodePass("X\xcd\x8fn\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80s\xe2\x81\xa4s\xf3\xa0\x87\xafffl", "\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99"); }
777test { try toAsciiPass("X\xcd\x8fn\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80s\xe2\x81\xa4s\xf3\xa0\x87\xafffl", "xn--bssffl", false); }
778test { try toAsciiPass("X\xcd\x8fn\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80s\xe2\x81\xa4s\xf3\xa0\x87\xafffl", "xn--bssffl", true); }
779test { try toUnicodePass("xn--bssffl", "\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99"); }
780test { try toAsciiPass("xn--bssffl", "xn--bssffl", false); }
781test { try toAsciiPass("xn--bssffl", "xn--bssffl", true); }
782test { try toUnicodePass("\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99", "\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99"); }
783test { try toAsciiPass("\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99", "xn--bssffl", false); }
784test { try toAsciiPass("\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99", "xn--bssffl", true); }
785test { try toUnicodePass("\xcb\xa3\xcd\x8f\xe2\x84\x95\xe2\x80\x8b\xef\xb9\xa3\xc2\xad\xef\xbc\x8d\xe1\xa0\x8c\xe2\x84\xac\xef\xb8\x80S\xe2\x81\xa4\xf0\x9d\x94\xb0\xf3\xa0\x87\xafFFL", "\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99"); }
786test { try toAsciiPass("\xcb\xa3\xcd\x8f\xe2\x84\x95\xe2\x80\x8b\xef\xb9\xa3\xc2\xad\xef\xbc\x8d\xe1\xa0\x8c\xe2\x84\xac\xef\xb8\x80S\xe2\x81\xa4\xf0\x9d\x94\xb0\xf3\xa0\x87\xafFFL", "xn--bssffl", false); }
787test { try toAsciiPass("\xcb\xa3\xcd\x8f\xe2\x84\x95\xe2\x80\x8b\xef\xb9\xa3\xc2\xad\xef\xbc\x8d\xe1\xa0\x8c\xe2\x84\xac\xef\xb8\x80S\xe2\x81\xa4\xf0\x9d\x94\xb0\xf3\xa0\x87\xafFFL", "xn--bssffl", true); }
788test { try toUnicodePass("x\xcd\x8fN\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80S\xe2\x81\xa4s\xf3\xa0\x87\xafFFL", "\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99"); }
789test { try toAsciiPass("x\xcd\x8fN\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80S\xe2\x81\xa4s\xf3\xa0\x87\xafFFL", "xn--bssffl", false); }
790test { try toAsciiPass("x\xcd\x8fN\xe2\x80\x8b-\xc2\xad-\xe1\xa0\x8cB\xef\xb8\x80S\xe2\x81\xa4s\xf3\xa0\x87\xafFFL", "xn--bssffl", true); }
791test { try toUnicodePass("\xcb\xa3\xcd\x8f\xe2\x84\x95\xe2\x80\x8b\xef\xb9\xa3\xc2\xad\xef\xbc\x8d\xe1\xa0\x8c\xe2\x84\xac\xef\xb8\x80s\xe2\x81\xa4\xf0\x9d\x94\xb0\xf3\xa0\x87\xafffl", "\xe5\xa4\xa1\xe5\xa4\x9e\xe5\xa4\x9c\xe5\xa4\x99"); }
792test { try toAsciiPass("\xcb\xa3\xcd\x8f\xe2\x84\x95\xe2\x80\x8b\xef\xb9\xa3\xc2\xad\xef\xbc\x8d\xe1\xa0\x8c\xe2\x84\xac\xef\xb8\x80s\xe2\x81\xa4\xf0\x9d\x94\xb0\xf3\xa0\x87\xafffl", "xn--bssffl", false); }
793test { try toAsciiPass("\xcb\xa3\xcd\x8f\xe2\x84\x95\xe2\x80\x8b\xef\xb9\xa3\xc2\xad\xef\xbc\x8d\xe1\xa0\x8c\xe2\x84\xac\xef\xb8\x80s\xe2\x81\xa4\xf0\x9d\x94\xb0\xf3\xa0\x87\xafffl", "xn--bssffl", true); }
794test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
795test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); }
796test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); }
797test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", "123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b."); }
798test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", false); } // [A4_2]
799test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", true); } // [A4_2]
800test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", "123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c"); }
801test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", false); } // [A4_1]
802test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", true); } // [A4_1]
803test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", "123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a"); }
804test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", false); } // [A4_2]
805test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", true); } // [A4_2]
806test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", "123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a."); }
807test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", false); } // [A4_2]
808test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", true); } // [A4_2]
809test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
810test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); } // [A4_1, A4_2]
811test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901234.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); } // [A4_1, A4_2]
812test { try toUnicodePass("\xc3\xa41234567890123456789012345678901234567890123456789012345", "\xc3\xa41234567890123456789012345678901234567890123456789012345"); }
813test { try toAsciiPass("\xc3\xa41234567890123456789012345678901234567890123456789012345", "xn--1234567890123456789012345678901234567890123456789012345-9te", false); }
814test { try toAsciiPass("\xc3\xa41234567890123456789012345678901234567890123456789012345", "xn--1234567890123456789012345678901234567890123456789012345-9te", true); }
815test { try toUnicodePass("a\xcc\x881234567890123456789012345678901234567890123456789012345", "\xc3\xa41234567890123456789012345678901234567890123456789012345"); }
816test { try toAsciiPass("a\xcc\x881234567890123456789012345678901234567890123456789012345", "xn--1234567890123456789012345678901234567890123456789012345-9te", false); }
817test { try toAsciiPass("a\xcc\x881234567890123456789012345678901234567890123456789012345", "xn--1234567890123456789012345678901234567890123456789012345-9te", true); }
818test { try toUnicodePass("A\xcc\x881234567890123456789012345678901234567890123456789012345", "\xc3\xa41234567890123456789012345678901234567890123456789012345"); }
819test { try toAsciiPass("A\xcc\x881234567890123456789012345678901234567890123456789012345", "xn--1234567890123456789012345678901234567890123456789012345-9te", false); }
820test { try toAsciiPass("A\xcc\x881234567890123456789012345678901234567890123456789012345", "xn--1234567890123456789012345678901234567890123456789012345-9te", true); }
821test { try toUnicodePass("\xc3\x841234567890123456789012345678901234567890123456789012345", "\xc3\xa41234567890123456789012345678901234567890123456789012345"); }
822test { try toAsciiPass("\xc3\x841234567890123456789012345678901234567890123456789012345", "xn--1234567890123456789012345678901234567890123456789012345-9te", false); }
823test { try toAsciiPass("\xc3\x841234567890123456789012345678901234567890123456789012345", "xn--1234567890123456789012345678901234567890123456789012345-9te", true); }
824test { try toUnicodePass("xn--1234567890123456789012345678901234567890123456789012345-9te", "\xc3\xa41234567890123456789012345678901234567890123456789012345"); }
825test { try toAsciiPass("xn--1234567890123456789012345678901234567890123456789012345-9te", "xn--1234567890123456789012345678901234567890123456789012345-9te", false); }
826test { try toAsciiPass("xn--1234567890123456789012345678901234567890123456789012345-9te", "xn--1234567890123456789012345678901234567890123456789012345-9te", true); }
827test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
828test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); }
829test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); }
830test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
831test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); }
832test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); }
833test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
834test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); }
835test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); }
836test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
837test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); }
838test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); }
839test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
840test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); }
841test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); }
842test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b."); }
843test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", false); } // [A4_2]
844test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", true); } // [A4_2]
845test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b."); }
846test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", false); } // [A4_2]
847test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", true); } // [A4_2]
848test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b."); }
849test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B.", false); } // [A4_2]
850test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B.", true); } // [A4_2]
851test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b."); }
852test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B.", false); } // [A4_2]
853test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B.", true); } // [A4_2]
854test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b."); }
855test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", false); } // [A4_2]
856test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", true); } // [A4_2]
857test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c"); }
858test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", false); } // [A4_1]
859test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", true); } // [A4_1]
860test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c"); }
861test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", false); } // [A4_1]
862test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", true); } // [A4_1]
863test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901C", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c"); }
864test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901C", false); } // [A4_1]
865test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901C", true); } // [A4_1]
866test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901C", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c"); }
867test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901C", false); } // [A4_1]
868test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901C", true); } // [A4_1]
869test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c"); }
870test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", false); } // [A4_1]
871test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", true); } // [A4_1]
872test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a"); }
873test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", false); } // [A4_2]
874test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", true); } // [A4_2]
875test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a"); }
876test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", false); } // [A4_2]
877test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", true); } // [A4_2]
878test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a"); }
879test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A", false); } // [A4_2]
880test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A", true); } // [A4_2]
881test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a"); }
882test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A", false); } // [A4_2]
883test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A", true); } // [A4_2]
884test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.xn--12345678901234567890123456789012345678901234567890123456-fxe.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a"); }
885test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.xn--12345678901234567890123456789012345678901234567890123456-fxe.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", false); } // [A4_2]
886test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.xn--12345678901234567890123456789012345678901234567890123456-fxe.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", true); } // [A4_2]
887test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a."); }
888test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", false); } // [A4_2]
889test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", true); } // [A4_2]
890test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a."); }
891test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", false); } // [A4_2]
892test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", true); } // [A4_2]
893test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a."); }
894test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A.", false); } // [A4_2]
895test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A.", true); } // [A4_2]
896test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a."); }
897test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A.", false); } // [A4_2]
898test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789A.", true); } // [A4_2]
899test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.xn--12345678901234567890123456789012345678901234567890123456-fxe.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a."); }
900test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.xn--12345678901234567890123456789012345678901234567890123456-fxe.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", false); } // [A4_2]
901test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.xn--12345678901234567890123456789012345678901234567890123456-fxe.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", true); } // [A4_2]
902test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
903test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); } // [A4_1, A4_2]
904test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); } // [A4_1, A4_2]
905test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
906test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); } // [A4_1, A4_2]
907test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890a\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); } // [A4_1, A4_2]
908test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
909test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", false); } // [A4_1, A4_2]
910test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", true); } // [A4_1, A4_2]
911test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
912test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", false); } // [A4_1, A4_2]
913test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890B", true); } // [A4_1, A4_2]
914test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.xn--12345678901234567890123456789012345678901234567890123456-fxe.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
915test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.xn--12345678901234567890123456789012345678901234567890123456-fxe.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); } // [A4_1, A4_2]
916test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.xn--12345678901234567890123456789012345678901234567890123456-fxe.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); } // [A4_1, A4_2]
917test { try toUnicodeFail("a.b..-q--a-.e"); } // [V2, V3, X4_2]
918test { try toAsciiFail("a.b..-q--a-.e", false); } // [V2, V3, A4_2]
919test { try toAsciiFail("a.b..-q--a-.e", true); } // [V2, V3, A4_2]
920test { try toUnicodeFail("a.b..-q--\xc3\xa4-.e"); } // [V2, V3, X4_2]
921test { try toAsciiFail("a.b..-q--\xc3\xa4-.e", false); } // [V2, V3, A4_2]
922test { try toAsciiFail("a.b..-q--\xc3\xa4-.e", true); } // [V2, V3, A4_2]
923test { try toUnicodeFail("a.b..-q--a\xcc\x88-.e"); } // [V2, V3, X4_2]
924test { try toAsciiFail("a.b..-q--a\xcc\x88-.e", false); } // [V2, V3, A4_2]
925test { try toAsciiFail("a.b..-q--a\xcc\x88-.e", true); } // [V2, V3, A4_2]
926test { try toUnicodeFail("A.B..-Q--A\xcc\x88-.E"); } // [V2, V3, X4_2]
927test { try toAsciiFail("A.B..-Q--A\xcc\x88-.E", false); } // [V2, V3, A4_2]
928test { try toAsciiFail("A.B..-Q--A\xcc\x88-.E", true); } // [V2, V3, A4_2]
929test { try toUnicodeFail("A.B..-Q--\xc3\x84-.E"); } // [V2, V3, X4_2]
930test { try toAsciiFail("A.B..-Q--\xc3\x84-.E", false); } // [V2, V3, A4_2]
931test { try toAsciiFail("A.B..-Q--\xc3\x84-.E", true); } // [V2, V3, A4_2]
932test { try toUnicodeFail("A.b..-Q--\xc3\x84-.E"); } // [V2, V3, X4_2]
933test { try toAsciiFail("A.b..-Q--\xc3\x84-.E", false); } // [V2, V3, A4_2]
934test { try toAsciiFail("A.b..-Q--\xc3\x84-.E", true); } // [V2, V3, A4_2]
935test { try toUnicodeFail("A.b..-Q--A\xcc\x88-.E"); } // [V2, V3, X4_2]
936test { try toAsciiFail("A.b..-Q--A\xcc\x88-.E", false); } // [V2, V3, A4_2]
937test { try toAsciiFail("A.b..-Q--A\xcc\x88-.E", true); } // [V2, V3, A4_2]
938test { try toUnicodeFail("a.b..xn---q----jra.e"); } // [V2, V3, X4_2]
939test { try toAsciiFail("a.b..xn---q----jra.e", false); } // [V2, V3, A4_2]
940test { try toAsciiFail("a.b..xn---q----jra.e", true); } // [V2, V3, A4_2]
941test { try toAsciiFail("a..c", false); } // [A4_2]
942test { try toAsciiFail("a..c", true); } // [A4_2]
943test { try toUnicodeFail("a.-b."); } // [V3]
944test { try toAsciiFail("a.-b.", false); } // [V3, A4_2]
945test { try toAsciiFail("a.-b.", true); } // [V3, A4_2]
946test { try toUnicodeFail("a.b-.c"); } // [V3]
947test { try toAsciiFail("a.b-.c", false); } // [V3]
948test { try toAsciiFail("a.b-.c", true); } // [V3]
949test { try toUnicodeFail("a.-.c"); } // [V3]
950test { try toAsciiFail("a.-.c", false); } // [V3]
951test { try toAsciiFail("a.-.c", true); } // [V3]
952test { try toUnicodeFail("a.bc--de.f"); } // [V2]
953test { try toAsciiFail("a.bc--de.f", false); } // [V2]
954test { try toAsciiFail("a.bc--de.f", true); } // [V2]
955test { try toUnicodeFail("xn--xn---epa"); } // [V2, V4]
956test { try toAsciiFail("xn--xn---epa", false); } // [V2, V4]
957test { try toAsciiFail("xn--xn---epa", true); } // [V2, V4]
958test { try toAsciiFail("\xc3\xa4.\xc2\xad.c", false); } // [A4_2]
959test { try toAsciiFail("\xc3\xa4.\xc2\xad.c", true); } // [A4_2]
960test { try toAsciiFail("a\xcc\x88.\xc2\xad.c", false); } // [A4_2]
961test { try toAsciiFail("a\xcc\x88.\xc2\xad.c", true); } // [A4_2]
962test { try toAsciiFail("A\xcc\x88.\xc2\xad.C", false); } // [A4_2]
963test { try toAsciiFail("A\xcc\x88.\xc2\xad.C", true); } // [A4_2]
964test { try toAsciiFail("\xc3\x84.\xc2\xad.C", false); } // [A4_2]
965test { try toAsciiFail("\xc3\x84.\xc2\xad.C", true); } // [A4_2]
966test { try toAsciiFail("xn--4ca..c", false); } // [A4_2]
967test { try toAsciiFail("xn--4ca..c", true); } // [A4_2]
968test { try toUnicodeFail("\xc3\xa4.-b."); } // [V3]
969test { try toAsciiFail("\xc3\xa4.-b.", false); } // [V3, A4_2]
970test { try toAsciiFail("\xc3\xa4.-b.", true); } // [V3, A4_2]
971test { try toUnicodeFail("a\xcc\x88.-b."); } // [V3]
972test { try toAsciiFail("a\xcc\x88.-b.", false); } // [V3, A4_2]
973test { try toAsciiFail("a\xcc\x88.-b.", true); } // [V3, A4_2]
974test { try toUnicodeFail("A\xcc\x88.-B."); } // [V3]
975test { try toAsciiFail("A\xcc\x88.-B.", false); } // [V3, A4_2]
976test { try toAsciiFail("A\xcc\x88.-B.", true); } // [V3, A4_2]
977test { try toUnicodeFail("\xc3\x84.-B."); } // [V3]
978test { try toAsciiFail("\xc3\x84.-B.", false); } // [V3, A4_2]
979test { try toAsciiFail("\xc3\x84.-B.", true); } // [V3, A4_2]
980test { try toUnicodeFail("xn--4ca.-b."); } // [V3]
981test { try toAsciiFail("xn--4ca.-b.", false); } // [V3, A4_2]
982test { try toAsciiFail("xn--4ca.-b.", true); } // [V3, A4_2]
983test { try toUnicodeFail("\xc3\xa4.b-.c"); } // [V3]
984test { try toAsciiFail("\xc3\xa4.b-.c", false); } // [V3]
985test { try toAsciiFail("\xc3\xa4.b-.c", true); } // [V3]
986test { try toUnicodeFail("a\xcc\x88.b-.c"); } // [V3]
987test { try toAsciiFail("a\xcc\x88.b-.c", false); } // [V3]
988test { try toAsciiFail("a\xcc\x88.b-.c", true); } // [V3]
989test { try toUnicodeFail("A\xcc\x88.B-.C"); } // [V3]
990test { try toAsciiFail("A\xcc\x88.B-.C", false); } // [V3]
991test { try toAsciiFail("A\xcc\x88.B-.C", true); } // [V3]
992test { try toUnicodeFail("\xc3\x84.B-.C"); } // [V3]
993test { try toAsciiFail("\xc3\x84.B-.C", false); } // [V3]
994test { try toAsciiFail("\xc3\x84.B-.C", true); } // [V3]
995test { try toUnicodeFail("\xc3\x84.b-.C"); } // [V3]
996test { try toAsciiFail("\xc3\x84.b-.C", false); } // [V3]
997test { try toAsciiFail("\xc3\x84.b-.C", true); } // [V3]
998test { try toUnicodeFail("A\xcc\x88.b-.C"); } // [V3]
999test { try toAsciiFail("A\xcc\x88.b-.C", false); } // [V3]
1000test { try toAsciiFail("A\xcc\x88.b-.C", true); } // [V3]
1001test { try toUnicodeFail("xn--4ca.b-.c"); } // [V3]
1002test { try toAsciiFail("xn--4ca.b-.c", false); } // [V3]
1003test { try toAsciiFail("xn--4ca.b-.c", true); } // [V3]
1004test { try toUnicodeFail("\xc3\xa4.-.c"); } // [V3]
1005test { try toAsciiFail("\xc3\xa4.-.c", false); } // [V3]
1006test { try toAsciiFail("\xc3\xa4.-.c", true); } // [V3]
1007test { try toUnicodeFail("a\xcc\x88.-.c"); } // [V3]
1008test { try toAsciiFail("a\xcc\x88.-.c", false); } // [V3]
1009test { try toAsciiFail("a\xcc\x88.-.c", true); } // [V3]
1010test { try toUnicodeFail("A\xcc\x88.-.C"); } // [V3]
1011test { try toAsciiFail("A\xcc\x88.-.C", false); } // [V3]
1012test { try toAsciiFail("A\xcc\x88.-.C", true); } // [V3]
1013test { try toUnicodeFail("\xc3\x84.-.C"); } // [V3]
1014test { try toAsciiFail("\xc3\x84.-.C", false); } // [V3]
1015test { try toAsciiFail("\xc3\x84.-.C", true); } // [V3]
1016test { try toUnicodeFail("xn--4ca.-.c"); } // [V3]
1017test { try toAsciiFail("xn--4ca.-.c", false); } // [V3]
1018test { try toAsciiFail("xn--4ca.-.c", true); } // [V3]
1019test { try toUnicodeFail("\xc3\xa4.bc--de.f"); } // [V2]
1020test { try toAsciiFail("\xc3\xa4.bc--de.f", false); } // [V2]
1021test { try toAsciiFail("\xc3\xa4.bc--de.f", true); } // [V2]
1022test { try toUnicodeFail("a\xcc\x88.bc--de.f"); } // [V2]
1023test { try toAsciiFail("a\xcc\x88.bc--de.f", false); } // [V2]
1024test { try toAsciiFail("a\xcc\x88.bc--de.f", true); } // [V2]
1025test { try toUnicodeFail("A\xcc\x88.BC--DE.F"); } // [V2]
1026test { try toAsciiFail("A\xcc\x88.BC--DE.F", false); } // [V2]
1027test { try toAsciiFail("A\xcc\x88.BC--DE.F", true); } // [V2]
1028test { try toUnicodeFail("\xc3\x84.BC--DE.F"); } // [V2]
1029test { try toAsciiFail("\xc3\x84.BC--DE.F", false); } // [V2]
1030test { try toAsciiFail("\xc3\x84.BC--DE.F", true); } // [V2]
1031test { try toUnicodeFail("\xc3\x84.bc--De.f"); } // [V2]
1032test { try toAsciiFail("\xc3\x84.bc--De.f", false); } // [V2]
1033test { try toAsciiFail("\xc3\x84.bc--De.f", true); } // [V2]
1034test { try toUnicodeFail("A\xcc\x88.bc--De.f"); } // [V2]
1035test { try toAsciiFail("A\xcc\x88.bc--De.f", false); } // [V2]
1036test { try toAsciiFail("A\xcc\x88.bc--De.f", true); } // [V2]
1037test { try toUnicodeFail("xn--4ca.bc--de.f"); } // [V2]
1038test { try toAsciiFail("xn--4ca.bc--de.f", false); } // [V2]
1039test { try toAsciiFail("xn--4ca.bc--de.f", true); } // [V2]
1040test { try toUnicodeFail("a.b.\xcc\x88c.d"); } // [V6]
1041test { try toAsciiFail("a.b.\xcc\x88c.d", false); } // [V6]
1042test { try toAsciiFail("a.b.\xcc\x88c.d", true); } // [V6]
1043test { try toUnicodeFail("A.B.\xcc\x88C.D"); } // [V6]
1044test { try toAsciiFail("A.B.\xcc\x88C.D", false); } // [V6]
1045test { try toAsciiFail("A.B.\xcc\x88C.D", true); } // [V6]
1046test { try toUnicodeFail("A.b.\xcc\x88c.d"); } // [V6]
1047test { try toAsciiFail("A.b.\xcc\x88c.d", false); } // [V6]
1048test { try toAsciiFail("A.b.\xcc\x88c.d", true); } // [V6]
1049test { try toUnicodeFail("a.b.xn--c-bcb.d"); } // [V6]
1050test { try toAsciiFail("a.b.xn--c-bcb.d", false); } // [V6]
1051test { try toAsciiFail("a.b.xn--c-bcb.d", true); } // [V6]
1052test { try toUnicodePass("A0", "a0"); }
1053test { try toAsciiPass("A0", "a0", false); }
1054test { try toAsciiPass("A0", "a0", true); }
1055test { try toUnicodePass("0A", "0a"); }
1056test { try toAsciiPass("0A", "0a", false); }
1057test { try toAsciiPass("0A", "0a", true); }
1058test { try toUnicodeFail("0A.\xd7\x90"); } // [B1]
1059test { try toAsciiFail("0A.\xd7\x90", false); } // [B1]
1060test { try toAsciiFail("0A.\xd7\x90", true); } // [B1]
1061test { try toUnicodeFail("0a.\xd7\x90"); } // [B1]
1062test { try toAsciiFail("0a.\xd7\x90", false); } // [B1]
1063test { try toAsciiFail("0a.\xd7\x90", true); } // [B1]
1064test { try toUnicodeFail("0a.xn--4db"); } // [B1]
1065test { try toAsciiFail("0a.xn--4db", false); } // [B1]
1066test { try toAsciiFail("0a.xn--4db", true); } // [B1]
1067test { try toUnicodeFail("c.xn--0-eha.xn--4db"); } // [B1]
1068test { try toAsciiFail("c.xn--0-eha.xn--4db", false); } // [B1]
1069test { try toAsciiFail("c.xn--0-eha.xn--4db", true); } // [B1]
1070test { try toUnicodeFail("b-.\xd7\x90"); } // [B6, V3]
1071test { try toAsciiFail("b-.\xd7\x90", false); } // [B6, V3]
1072test { try toAsciiFail("b-.\xd7\x90", true); } // [B6, V3]
1073test { try toUnicodeFail("B-.\xd7\x90"); } // [B6, V3]
1074test { try toAsciiFail("B-.\xd7\x90", false); } // [B6, V3]
1075test { try toAsciiFail("B-.\xd7\x90", true); } // [B6, V3]
1076test { try toUnicodeFail("b-.xn--4db"); } // [B6, V3]
1077test { try toAsciiFail("b-.xn--4db", false); } // [B6, V3]
1078test { try toAsciiFail("b-.xn--4db", true); } // [B6, V3]
1079test { try toUnicodeFail("d.xn----dha.xn--4db"); } // [B6, V3]
1080test { try toAsciiFail("d.xn----dha.xn--4db", false); } // [B6, V3]
1081test { try toAsciiFail("d.xn----dha.xn--4db", true); } // [B6, V3]
1082test { try toUnicodeFail("a\xd7\x90"); } // [B5, B6]
1083test { try toAsciiFail("a\xd7\x90", false); } // [B5, B6]
1084test { try toAsciiFail("a\xd7\x90", true); } // [B5, B6]
1085test { try toUnicodeFail("A\xd7\x90"); } // [B5, B6]
1086test { try toAsciiFail("A\xd7\x90", false); } // [B5, B6]
1087test { try toAsciiFail("A\xd7\x90", true); } // [B5, B6]
1088test { try toUnicodeFail("xn--a-0hc"); } // [B5, B6]
1089test { try toAsciiFail("xn--a-0hc", false); } // [B5, B6]
1090test { try toAsciiFail("xn--a-0hc", true); } // [B5, B6]
1091test { try toUnicodePass("\xd7\x90\xd7\x87", "\xd7\x90\xd7\x87"); }
1092test { try toAsciiPass("\xd7\x90\xd7\x87", "xn--vdbr", false); }
1093test { try toAsciiPass("\xd7\x90\xd7\x87", "xn--vdbr", true); }
1094test { try toUnicodePass("xn--vdbr", "\xd7\x90\xd7\x87"); }
1095test { try toAsciiPass("xn--vdbr", "xn--vdbr", false); }
1096test { try toAsciiPass("xn--vdbr", "xn--vdbr", true); }
1097test { try toUnicodePass("\xd7\x909\xd7\x87", "\xd7\x909\xd7\x87"); }
1098test { try toAsciiPass("\xd7\x909\xd7\x87", "xn--9-ihcz", false); }
1099test { try toAsciiPass("\xd7\x909\xd7\x87", "xn--9-ihcz", true); }
1100test { try toUnicodePass("xn--9-ihcz", "\xd7\x909\xd7\x87"); }
1101test { try toAsciiPass("xn--9-ihcz", "xn--9-ihcz", false); }
1102test { try toAsciiPass("xn--9-ihcz", "xn--9-ihcz", true); }
1103test { try toUnicodeFail("\xd7\x90a\xd7\x87"); } // [B2, B3]
1104test { try toAsciiFail("\xd7\x90a\xd7\x87", false); } // [B2, B3]
1105test { try toAsciiFail("\xd7\x90a\xd7\x87", true); } // [B2, B3]
1106test { try toUnicodeFail("\xd7\x90A\xd7\x87"); } // [B2, B3]
1107test { try toAsciiFail("\xd7\x90A\xd7\x87", false); } // [B2, B3]
1108test { try toAsciiFail("\xd7\x90A\xd7\x87", true); } // [B2, B3]
1109test { try toUnicodeFail("xn--a-ihcz"); } // [B2, B3]
1110test { try toAsciiFail("xn--a-ihcz", false); } // [B2, B3]
1111test { try toAsciiFail("xn--a-ihcz", true); } // [B2, B3]
1112test { try toUnicodePass("\xd7\x90\xd7\xaa", "\xd7\x90\xd7\xaa"); }
1113test { try toAsciiPass("\xd7\x90\xd7\xaa", "xn--4db6c", false); }
1114test { try toAsciiPass("\xd7\x90\xd7\xaa", "xn--4db6c", true); }
1115test { try toUnicodePass("xn--4db6c", "\xd7\x90\xd7\xaa"); }
1116test { try toAsciiPass("xn--4db6c", "xn--4db6c", false); }
1117test { try toAsciiPass("xn--4db6c", "xn--4db6c", true); }
1118test { try toUnicodePass("\xd7\x90\xd7\xb3\xd7\xaa", "\xd7\x90\xd7\xb3\xd7\xaa"); }
1119test { try toAsciiPass("\xd7\x90\xd7\xb3\xd7\xaa", "xn--4db6c0a", false); }
1120test { try toAsciiPass("\xd7\x90\xd7\xb3\xd7\xaa", "xn--4db6c0a", true); }
1121test { try toUnicodePass("xn--4db6c0a", "\xd7\x90\xd7\xb3\xd7\xaa"); }
1122test { try toAsciiPass("xn--4db6c0a", "xn--4db6c0a", false); }
1123test { try toAsciiPass("xn--4db6c0a", "xn--4db6c0a", true); }
1124test { try toUnicodeFail("a\xd7\x90Tz"); } // [B5]
1125test { try toAsciiFail("a\xd7\x90Tz", false); } // [B5]
1126test { try toAsciiFail("a\xd7\x90Tz", true); } // [B5]
1127test { try toUnicodeFail("a\xd7\x90tz"); } // [B5]
1128test { try toAsciiFail("a\xd7\x90tz", false); } // [B5]
1129test { try toAsciiFail("a\xd7\x90tz", true); } // [B5]
1130test { try toUnicodeFail("A\xd7\x90TZ"); } // [B5]
1131test { try toAsciiFail("A\xd7\x90TZ", false); } // [B5]
1132test { try toAsciiFail("A\xd7\x90TZ", true); } // [B5]
1133test { try toUnicodeFail("A\xd7\x90tz"); } // [B5]
1134test { try toAsciiFail("A\xd7\x90tz", false); } // [B5]
1135test { try toAsciiFail("A\xd7\x90tz", true); } // [B5]
1136test { try toUnicodeFail("xn--atz-qpe"); } // [B5]
1137test { try toAsciiFail("xn--atz-qpe", false); } // [B5]
1138test { try toAsciiFail("xn--atz-qpe", true); } // [B5]
1139test { try toUnicodeFail("\xd7\x90T\xd7\xaa"); } // [B2]
1140test { try toAsciiFail("\xd7\x90T\xd7\xaa", false); } // [B2]
1141test { try toAsciiFail("\xd7\x90T\xd7\xaa", true); } // [B2]
1142test { try toUnicodeFail("\xd7\x90t\xd7\xaa"); } // [B2]
1143test { try toAsciiFail("\xd7\x90t\xd7\xaa", false); } // [B2]
1144test { try toAsciiFail("\xd7\x90t\xd7\xaa", true); } // [B2]
1145test { try toUnicodeFail("xn--t-zhc3f"); } // [B2]
1146test { try toAsciiFail("xn--t-zhc3f", false); } // [B2]
1147test { try toAsciiFail("xn--t-zhc3f", true); } // [B2]
1148test { try toUnicodePass("\xd7\x907\xd7\xaa", "\xd7\x907\xd7\xaa"); }
1149test { try toAsciiPass("\xd7\x907\xd7\xaa", "xn--7-zhc3f", false); }
1150test { try toAsciiPass("\xd7\x907\xd7\xaa", "xn--7-zhc3f", true); }
1151test { try toUnicodePass("xn--7-zhc3f", "\xd7\x907\xd7\xaa"); }
1152test { try toAsciiPass("xn--7-zhc3f", "xn--7-zhc3f", false); }
1153test { try toAsciiPass("xn--7-zhc3f", "xn--7-zhc3f", true); }
1154test { try toUnicodePass("\xd7\x90\xd9\xa7\xd7\xaa", "\xd7\x90\xd9\xa7\xd7\xaa"); }
1155test { try toAsciiPass("\xd7\x90\xd9\xa7\xd7\xaa", "xn--4db6c6t", false); }
1156test { try toAsciiPass("\xd7\x90\xd9\xa7\xd7\xaa", "xn--4db6c6t", true); }
1157test { try toUnicodePass("xn--4db6c6t", "\xd7\x90\xd9\xa7\xd7\xaa"); }
1158test { try toAsciiPass("xn--4db6c6t", "xn--4db6c6t", false); }
1159test { try toAsciiPass("xn--4db6c6t", "xn--4db6c6t", true); }
1160test { try toUnicodeFail("a7\xd9\xa7z"); } // [B5]
1161test { try toAsciiFail("a7\xd9\xa7z", false); } // [B5]
1162test { try toAsciiFail("a7\xd9\xa7z", true); } // [B5]
1163test { try toUnicodeFail("A7\xd9\xa7Z"); } // [B5]
1164test { try toAsciiFail("A7\xd9\xa7Z", false); } // [B5]
1165test { try toAsciiFail("A7\xd9\xa7Z", true); } // [B5]
1166test { try toUnicodeFail("A7\xd9\xa7z"); } // [B5]
1167test { try toAsciiFail("A7\xd9\xa7z", false); } // [B5]
1168test { try toAsciiFail("A7\xd9\xa7z", true); } // [B5]
1169test { try toUnicodeFail("xn--a7z-06e"); } // [B5]
1170test { try toAsciiFail("xn--a7z-06e", false); } // [B5]
1171test { try toAsciiFail("xn--a7z-06e", true); } // [B5]
1172test { try toUnicodeFail("\xd7\x907\xd9\xa7\xd7\xaa"); } // [B4]
1173test { try toAsciiFail("\xd7\x907\xd9\xa7\xd7\xaa", false); } // [B4]
1174test { try toAsciiFail("\xd7\x907\xd9\xa7\xd7\xaa", true); } // [B4]
1175test { try toUnicodeFail("xn--7-zhc3fty"); } // [B4]
1176test { try toAsciiFail("xn--7-zhc3fty", false); } // [B4]
1177test { try toAsciiFail("xn--7-zhc3fty", true); } // [B4]
1178test { try toUnicodePass("\xe0\xae\xb9\xe0\xaf\x8d\xe2\x80\x8d", "\xe0\xae\xb9\xe0\xaf\x8d\xe2\x80\x8d"); }
1179test { try toAsciiPass("\xe0\xae\xb9\xe0\xaf\x8d\xe2\x80\x8d", "xn--dmc4b194h", false); }
1180test { try toAsciiPass("\xe0\xae\xb9\xe0\xaf\x8d\xe2\x80\x8d", "xn--dmc4b", true); }
1181test { try toUnicodePass("xn--dmc4b", "\xe0\xae\xb9\xe0\xaf\x8d"); }
1182test { try toAsciiPass("xn--dmc4b", "xn--dmc4b", false); }
1183test { try toAsciiPass("xn--dmc4b", "xn--dmc4b", true); }
1184test { try toUnicodePass("\xe0\xae\xb9\xe0\xaf\x8d", "\xe0\xae\xb9\xe0\xaf\x8d"); }
1185test { try toAsciiPass("\xe0\xae\xb9\xe0\xaf\x8d", "xn--dmc4b", false); }
1186test { try toAsciiPass("\xe0\xae\xb9\xe0\xaf\x8d", "xn--dmc4b", true); }
1187test { try toUnicodePass("xn--dmc4b194h", "\xe0\xae\xb9\xe0\xaf\x8d\xe2\x80\x8d"); }
1188test { try toAsciiPass("xn--dmc4b194h", "xn--dmc4b194h", false); }
1189test { try toAsciiPass("xn--dmc4b194h", "xn--dmc4b194h", true); }
1190test { try toAsciiPass("\xe0\xae\xb9\xe2\x80\x8d", "xn--dmc", true); }
1191test { try toUnicodeFail("\xe0\xae\xb9\xe2\x80\x8d"); } // [C2]
1192test { try toAsciiFail("\xe0\xae\xb9\xe2\x80\x8d", false); } // [C2]
1193test { try toUnicodePass("xn--dmc", "\xe0\xae\xb9"); }
1194test { try toAsciiPass("xn--dmc", "xn--dmc", false); }
1195test { try toAsciiPass("xn--dmc", "xn--dmc", true); }
1196test { try toUnicodePass("\xe0\xae\xb9", "\xe0\xae\xb9"); }
1197test { try toAsciiPass("\xe0\xae\xb9", "xn--dmc", false); }
1198test { try toAsciiPass("\xe0\xae\xb9", "xn--dmc", true); }
1199test { try toUnicodeFail("xn--dmc225h"); } // [C2]
1200test { try toAsciiFail("xn--dmc225h", false); } // [C2]
1201test { try toAsciiFail("xn--dmc225h", true); } // [C2]
1202test { try toUnicodeFail("\xe2\x80\x8d"); } // [C2]
1203test { try toAsciiFail("\xe2\x80\x8d", false); } // [C2]
1204test { try toAsciiFail("\xe2\x80\x8d", true); } // [A4_1, A4_2]
1205test { try toUnicodeFail("xn--1ug"); } // [C2]
1206test { try toAsciiFail("xn--1ug", false); } // [C2]
1207test { try toAsciiFail("xn--1ug", true); } // [C2]
1208test { try toUnicodePass("\xe0\xae\xb9\xe0\xaf\x8d\xe2\x80\x8c", "\xe0\xae\xb9\xe0\xaf\x8d\xe2\x80\x8c"); }
1209test { try toAsciiPass("\xe0\xae\xb9\xe0\xaf\x8d\xe2\x80\x8c", "xn--dmc4by94h", false); }
1210test { try toAsciiPass("\xe0\xae\xb9\xe0\xaf\x8d\xe2\x80\x8c", "xn--dmc4b", true); }
1211test { try toUnicodePass("xn--dmc4by94h", "\xe0\xae\xb9\xe0\xaf\x8d\xe2\x80\x8c"); }
1212test { try toAsciiPass("xn--dmc4by94h", "xn--dmc4by94h", false); }
1213test { try toAsciiPass("xn--dmc4by94h", "xn--dmc4by94h", true); }
1214test { try toAsciiPass("\xe0\xae\xb9\xe2\x80\x8c", "xn--dmc", true); }
1215test { try toUnicodeFail("\xe0\xae\xb9\xe2\x80\x8c"); } // [C1]
1216test { try toAsciiFail("\xe0\xae\xb9\xe2\x80\x8c", false); } // [C1]
1217test { try toUnicodeFail("xn--dmc025h"); } // [C1]
1218test { try toAsciiFail("xn--dmc025h", false); } // [C1]
1219test { try toAsciiFail("xn--dmc025h", true); } // [C1]
1220test { try toUnicodeFail("\xe2\x80\x8c"); } // [C1]
1221test { try toAsciiFail("\xe2\x80\x8c", false); } // [C1]
1222test { try toAsciiFail("\xe2\x80\x8c", true); } // [A4_1, A4_2]
1223test { try toUnicodeFail("xn--0ug"); } // [C1]
1224test { try toAsciiFail("xn--0ug", false); } // [C1]
1225test { try toAsciiFail("xn--0ug", true); } // [C1]
1226test { try toUnicodePass("\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xad\xdb\xaf", "\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xad\xdb\xaf"); }
1227test { try toAsciiPass("\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xad\xdb\xaf", "xn--ghb2gxqia7523a", false); }
1228test { try toAsciiPass("\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xad\xdb\xaf", "xn--ghb2gxqia", true); }
1229test { try toUnicodePass("xn--ghb2gxqia", "\xd9\x84\xd9\xb0\xdb\xad\xdb\xaf"); }
1230test { try toAsciiPass("xn--ghb2gxqia", "xn--ghb2gxqia", false); }
1231test { try toAsciiPass("xn--ghb2gxqia", "xn--ghb2gxqia", true); }
1232test { try toUnicodePass("\xd9\x84\xd9\xb0\xdb\xad\xdb\xaf", "\xd9\x84\xd9\xb0\xdb\xad\xdb\xaf"); }
1233test { try toAsciiPass("\xd9\x84\xd9\xb0\xdb\xad\xdb\xaf", "xn--ghb2gxqia", false); }
1234test { try toAsciiPass("\xd9\x84\xd9\xb0\xdb\xad\xdb\xaf", "xn--ghb2gxqia", true); }
1235test { try toUnicodePass("xn--ghb2gxqia7523a", "\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xad\xdb\xaf"); }
1236test { try toAsciiPass("xn--ghb2gxqia7523a", "xn--ghb2gxqia7523a", false); }
1237test { try toAsciiPass("xn--ghb2gxqia7523a", "xn--ghb2gxqia7523a", true); }
1238test { try toUnicodePass("\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xaf", "\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xaf"); }
1239test { try toAsciiPass("\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xaf", "xn--ghb2g3qq34f", false); }
1240test { try toAsciiPass("\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xaf", "xn--ghb2g3q", true); }
1241test { try toUnicodePass("xn--ghb2g3q", "\xd9\x84\xd9\xb0\xdb\xaf"); }
1242test { try toAsciiPass("xn--ghb2g3q", "xn--ghb2g3q", false); }
1243test { try toAsciiPass("xn--ghb2g3q", "xn--ghb2g3q", true); }
1244test { try toUnicodePass("\xd9\x84\xd9\xb0\xdb\xaf", "\xd9\x84\xd9\xb0\xdb\xaf"); }
1245test { try toAsciiPass("\xd9\x84\xd9\xb0\xdb\xaf", "xn--ghb2g3q", false); }
1246test { try toAsciiPass("\xd9\x84\xd9\xb0\xdb\xaf", "xn--ghb2g3q", true); }
1247test { try toUnicodePass("xn--ghb2g3qq34f", "\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xaf"); }
1248test { try toAsciiPass("xn--ghb2g3qq34f", "xn--ghb2g3qq34f", false); }
1249test { try toAsciiPass("xn--ghb2g3qq34f", "xn--ghb2g3qq34f", true); }
1250test { try toUnicodePass("\xd9\x84\xe2\x80\x8c\xdb\xad\xdb\xaf", "\xd9\x84\xe2\x80\x8c\xdb\xad\xdb\xaf"); }
1251test { try toAsciiPass("\xd9\x84\xe2\x80\x8c\xdb\xad\xdb\xaf", "xn--ghb25aga828w", false); }
1252test { try toAsciiPass("\xd9\x84\xe2\x80\x8c\xdb\xad\xdb\xaf", "xn--ghb25aga", true); }
1253test { try toUnicodePass("xn--ghb25aga", "\xd9\x84\xdb\xad\xdb\xaf"); }
1254test { try toAsciiPass("xn--ghb25aga", "xn--ghb25aga", false); }
1255test { try toAsciiPass("xn--ghb25aga", "xn--ghb25aga", true); }
1256test { try toUnicodePass("\xd9\x84\xdb\xad\xdb\xaf", "\xd9\x84\xdb\xad\xdb\xaf"); }
1257test { try toAsciiPass("\xd9\x84\xdb\xad\xdb\xaf", "xn--ghb25aga", false); }
1258test { try toAsciiPass("\xd9\x84\xdb\xad\xdb\xaf", "xn--ghb25aga", true); }
1259test { try toUnicodePass("xn--ghb25aga828w", "\xd9\x84\xe2\x80\x8c\xdb\xad\xdb\xaf"); }
1260test { try toAsciiPass("xn--ghb25aga828w", "xn--ghb25aga828w", false); }
1261test { try toAsciiPass("xn--ghb25aga828w", "xn--ghb25aga828w", true); }
1262test { try toUnicodePass("\xd9\x84\xe2\x80\x8c\xdb\xaf", "\xd9\x84\xe2\x80\x8c\xdb\xaf"); }
1263test { try toAsciiPass("\xd9\x84\xe2\x80\x8c\xdb\xaf", "xn--ghb65a953d", false); }
1264test { try toAsciiPass("\xd9\x84\xe2\x80\x8c\xdb\xaf", "xn--ghb65a", true); }
1265test { try toUnicodePass("xn--ghb65a", "\xd9\x84\xdb\xaf"); }
1266test { try toAsciiPass("xn--ghb65a", "xn--ghb65a", false); }
1267test { try toAsciiPass("xn--ghb65a", "xn--ghb65a", true); }
1268test { try toUnicodePass("\xd9\x84\xdb\xaf", "\xd9\x84\xdb\xaf"); }
1269test { try toAsciiPass("\xd9\x84\xdb\xaf", "xn--ghb65a", false); }
1270test { try toAsciiPass("\xd9\x84\xdb\xaf", "xn--ghb65a", true); }
1271test { try toUnicodePass("xn--ghb65a953d", "\xd9\x84\xe2\x80\x8c\xdb\xaf"); }
1272test { try toAsciiPass("xn--ghb65a953d", "xn--ghb65a953d", false); }
1273test { try toAsciiPass("xn--ghb65a953d", "xn--ghb65a953d", true); }
1274test { try toAsciiPass("\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xad", "xn--ghb2gxq", true); }
1275test { try toUnicodeFail("\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xad"); } // [B3, C1]
1276test { try toAsciiFail("\xd9\x84\xd9\xb0\xe2\x80\x8c\xdb\xad", false); } // [B3, C1]
1277test { try toUnicodePass("xn--ghb2gxq", "\xd9\x84\xd9\xb0\xdb\xad"); }
1278test { try toAsciiPass("xn--ghb2gxq", "xn--ghb2gxq", false); }
1279test { try toAsciiPass("xn--ghb2gxq", "xn--ghb2gxq", true); }
1280test { try toUnicodePass("\xd9\x84\xd9\xb0\xdb\xad", "\xd9\x84\xd9\xb0\xdb\xad"); }
1281test { try toAsciiPass("\xd9\x84\xd9\xb0\xdb\xad", "xn--ghb2gxq", false); }
1282test { try toAsciiPass("\xd9\x84\xd9\xb0\xdb\xad", "xn--ghb2gxq", true); }
1283test { try toUnicodeFail("xn--ghb2gxqy34f"); } // [B3, C1]
1284test { try toAsciiFail("xn--ghb2gxqy34f", false); } // [B3, C1]
1285test { try toAsciiFail("xn--ghb2gxqy34f", true); } // [B3, C1]
1286test { try toAsciiPass("\xdb\xaf\xe2\x80\x8c\xdb\xaf", "xn--cmba", true); }
1287test { try toUnicodeFail("\xdb\xaf\xe2\x80\x8c\xdb\xaf"); } // [C1]
1288test { try toAsciiFail("\xdb\xaf\xe2\x80\x8c\xdb\xaf", false); } // [C1]
1289test { try toUnicodePass("xn--cmba", "\xdb\xaf\xdb\xaf"); }
1290test { try toAsciiPass("xn--cmba", "xn--cmba", false); }
1291test { try toAsciiPass("xn--cmba", "xn--cmba", true); }
1292test { try toUnicodePass("\xdb\xaf\xdb\xaf", "\xdb\xaf\xdb\xaf"); }
1293test { try toAsciiPass("\xdb\xaf\xdb\xaf", "xn--cmba", false); }
1294test { try toAsciiPass("\xdb\xaf\xdb\xaf", "xn--cmba", true); }
1295test { try toUnicodeFail("xn--cmba004q"); } // [C1]
1296test { try toAsciiFail("xn--cmba004q", false); } // [C1]
1297test { try toAsciiFail("xn--cmba004q", true); } // [C1]
1298test { try toAsciiPass("\xd9\x84\xe2\x80\x8c", "xn--ghb", true); }
1299test { try toUnicodeFail("\xd9\x84\xe2\x80\x8c"); } // [B3, C1]
1300test { try toAsciiFail("\xd9\x84\xe2\x80\x8c", false); } // [B3, C1]
1301test { try toUnicodePass("xn--ghb", "\xd9\x84"); }
1302test { try toAsciiPass("xn--ghb", "xn--ghb", false); }
1303test { try toAsciiPass("xn--ghb", "xn--ghb", true); }
1304test { try toUnicodePass("\xd9\x84", "\xd9\x84"); }
1305test { try toAsciiPass("\xd9\x84", "xn--ghb", false); }
1306test { try toAsciiPass("\xd9\x84", "xn--ghb", true); }
1307test { try toUnicodeFail("xn--ghb413k"); } // [B3, C1]
1308test { try toAsciiFail("xn--ghb413k", false); } // [B3, C1]
1309test { try toAsciiFail("xn--ghb413k", true); } // [B3, C1]
1310test { try toAsciiFail("a\xe3\x80\x82\xe3\x80\x82b", false); } // [A4_2]
1311test { try toAsciiFail("a\xe3\x80\x82\xe3\x80\x82b", true); } // [A4_2]
1312test { try toAsciiFail("A\xe3\x80\x82\xe3\x80\x82B", false); } // [A4_2]
1313test { try toAsciiFail("A\xe3\x80\x82\xe3\x80\x82B", true); } // [A4_2]
1314test { try toAsciiFail("a..b", false); } // [A4_2]
1315test { try toAsciiFail("a..b", true); } // [A4_2]
1316test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xe3\x80\x82\xda\xb9\xe2\x80\x8c"); } // [B1, B3, C1, C2, X4_2]
1317test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xe3\x80\x82\xda\xb9\xe2\x80\x8c", false); } // [B1, B3, C1, C2, A4_2]
1318test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xe3\x80\x82\xda\xb9\xe2\x80\x8c", true); } // [A4_2]
1319test { try toAsciiFail("..xn--skb", false); } // [A4_2]
1320test { try toAsciiFail("..xn--skb", true); } // [A4_2]
1321test { try toUnicodeFail("xn--1ug..xn--skb080k"); } // [B1, B3, C1, C2, X4_2]
1322test { try toAsciiFail("xn--1ug..xn--skb080k", false); } // [B1, B3, C1, C2, A4_2]
1323test { try toAsciiFail("xn--1ug..xn--skb080k", true); } // [B1, B3, C1, C2, A4_2]
1324test { try toUnicodeFail("\xd7\x900\xd9\xa0"); } // [B4]
1325test { try toAsciiFail("\xd7\x900\xd9\xa0", false); } // [B4]
1326test { try toAsciiFail("\xd7\x900\xd9\xa0", true); } // [B4]
1327test { try toUnicodeFail("xn--0-zhc74b"); } // [B4]
1328test { try toAsciiFail("xn--0-zhc74b", false); } // [B4]
1329test { try toAsciiFail("xn--0-zhc74b", true); } // [B4]
1330test { try toUnicodeFail("$"); } // [U1]
1331test { try toAsciiFail("$", false); } // [U1]
1332test { try toAsciiFail("$", true); } // [U1]
1333test { try toUnicodeFail("\xe2\x91\xb7.four"); } // [U1]
1334test { try toAsciiFail("\xe2\x91\xb7.four", false); } // [U1]
1335test { try toAsciiFail("\xe2\x91\xb7.four", true); } // [U1]
1336test { try toUnicodeFail("(4).four"); } // [U1]
1337test { try toAsciiFail("(4).four", false); } // [U1]
1338test { try toAsciiFail("(4).four", true); } // [U1]
1339test { try toUnicodeFail("\xe2\x91\xb7.FOUR"); } // [U1]
1340test { try toAsciiFail("\xe2\x91\xb7.FOUR", false); } // [U1]
1341test { try toAsciiFail("\xe2\x91\xb7.FOUR", true); } // [U1]
1342test { try toUnicodeFail("\xe2\x91\xb7.Four"); } // [U1]
1343test { try toAsciiFail("\xe2\x91\xb7.Four", false); } // [U1]
1344test { try toAsciiFail("\xe2\x91\xb7.Four", true); } // [U1]
1345test { try toUnicodeFail("a\xef\xbf\xbdz"); } // [V7]
1346test { try toAsciiFail("a\xef\xbf\xbdz", false); } // [V7, A3]
1347test { try toAsciiFail("a\xef\xbf\xbdz", true); } // [V7, A3]
1348test { try toUnicodeFail("A\xef\xbf\xbdZ"); } // [V7]
1349test { try toAsciiFail("A\xef\xbf\xbdZ", false); } // [V7, A3]
1350test { try toAsciiFail("A\xef\xbf\xbdZ", true); } // [V7, A3]
1351test { try toUnicodeFail("xn--"); } // [P4, X4_2]
1352test { try toAsciiFail("xn--", false); } // [P4, A4_1, A4_2]
1353test { try toAsciiFail("xn--", true); } // [P4, A4_1, A4_2]
1354test { try toUnicodeFail("xn---"); } // [P4]
1355test { try toAsciiFail("xn---", false); } // [P4]
1356test { try toAsciiFail("xn---", true); } // [P4]
1357test { try toUnicodeFail("xn--ASCII-"); } // [P4]
1358test { try toAsciiFail("xn--ASCII-", false); } // [P4]
1359test { try toAsciiFail("xn--ASCII-", true); } // [P4]
1360test { try toUnicodePass("ascii", "ascii"); }
1361test { try toAsciiPass("ascii", "ascii", false); }
1362test { try toAsciiPass("ascii", "ascii", true); }
1363test { try toUnicodeFail("xn--unicode-.org"); } // [P4]
1364test { try toAsciiFail("xn--unicode-.org", false); } // [P4]
1365test { try toAsciiFail("xn--unicode-.org", true); } // [P4]
1366test { try toUnicodePass("unicode.org", "unicode.org"); }
1367test { try toAsciiPass("unicode.org", "unicode.org", false); }
1368test { try toAsciiPass("unicode.org", "unicode.org", true); }
1369test { try toUnicodePass("\xef\xa5\x91\xf0\xaf\xa1\xa8\xf0\xaf\xa1\xb4\xf0\xaf\xa4\x9f\xf0\xaf\xa5\x9f\xf0\xaf\xa6\xbf", "\xe9\x99\x8b\xe3\x9b\xbc\xe5\xbd\x93\xf0\xa4\x8e\xab\xe7\xab\xae\xe4\x97\x97"); }
1370test { try toAsciiPass("\xef\xa5\x91\xf0\xaf\xa1\xa8\xf0\xaf\xa1\xb4\xf0\xaf\xa4\x9f\xf0\xaf\xa5\x9f\xf0\xaf\xa6\xbf", "xn--snl253bgitxhzwu2arn60c", false); }
1371test { try toAsciiPass("\xef\xa5\x91\xf0\xaf\xa1\xa8\xf0\xaf\xa1\xb4\xf0\xaf\xa4\x9f\xf0\xaf\xa5\x9f\xf0\xaf\xa6\xbf", "xn--snl253bgitxhzwu2arn60c", true); }
1372test { try toUnicodePass("\xe9\x99\x8b\xe3\x9b\xbc\xe5\xbd\x93\xf0\xa4\x8e\xab\xe7\xab\xae\xe4\x97\x97", "\xe9\x99\x8b\xe3\x9b\xbc\xe5\xbd\x93\xf0\xa4\x8e\xab\xe7\xab\xae\xe4\x97\x97"); }
1373test { try toAsciiPass("\xe9\x99\x8b\xe3\x9b\xbc\xe5\xbd\x93\xf0\xa4\x8e\xab\xe7\xab\xae\xe4\x97\x97", "xn--snl253bgitxhzwu2arn60c", false); }
1374test { try toAsciiPass("\xe9\x99\x8b\xe3\x9b\xbc\xe5\xbd\x93\xf0\xa4\x8e\xab\xe7\xab\xae\xe4\x97\x97", "xn--snl253bgitxhzwu2arn60c", true); }
1375test { try toUnicodePass("xn--snl253bgitxhzwu2arn60c", "\xe9\x99\x8b\xe3\x9b\xbc\xe5\xbd\x93\xf0\xa4\x8e\xab\xe7\xab\xae\xe4\x97\x97"); }
1376test { try toAsciiPass("xn--snl253bgitxhzwu2arn60c", "xn--snl253bgitxhzwu2arn60c", false); }
1377test { try toAsciiPass("xn--snl253bgitxhzwu2arn60c", "xn--snl253bgitxhzwu2arn60c", true); }
1378test { try toUnicodePass("\xe9\x9b\xbb\xf0\xa1\x8d\xaa\xe5\xbc\xb3\xe4\x8e\xab\xe7\xaa\xae\xe4\xb5\x97", "\xe9\x9b\xbb\xf0\xa1\x8d\xaa\xe5\xbc\xb3\xe4\x8e\xab\xe7\xaa\xae\xe4\xb5\x97"); }
1379test { try toAsciiPass("\xe9\x9b\xbb\xf0\xa1\x8d\xaa\xe5\xbc\xb3\xe4\x8e\xab\xe7\xaa\xae\xe4\xb5\x97", "xn--kbo60w31ob3z6t3av9z5b", false); }
1380test { try toAsciiPass("\xe9\x9b\xbb\xf0\xa1\x8d\xaa\xe5\xbc\xb3\xe4\x8e\xab\xe7\xaa\xae\xe4\xb5\x97", "xn--kbo60w31ob3z6t3av9z5b", true); }
1381test { try toUnicodePass("xn--kbo60w31ob3z6t3av9z5b", "\xe9\x9b\xbb\xf0\xa1\x8d\xaa\xe5\xbc\xb3\xe4\x8e\xab\xe7\xaa\xae\xe4\xb5\x97"); }
1382test { try toAsciiPass("xn--kbo60w31ob3z6t3av9z5b", "xn--kbo60w31ob3z6t3av9z5b", false); }
1383test { try toAsciiPass("xn--kbo60w31ob3z6t3av9z5b", "xn--kbo60w31ob3z6t3av9z5b", true); }
1384test { try toUnicodePass("xn--A-1ga", "a\xc3\xb6"); }
1385test { try toAsciiPass("xn--A-1ga", "xn--a-1ga", false); }
1386test { try toAsciiPass("xn--A-1ga", "xn--a-1ga", true); }
1387test { try toUnicodePass("a\xc3\xb6", "a\xc3\xb6"); }
1388test { try toAsciiPass("a\xc3\xb6", "xn--a-1ga", false); }
1389test { try toAsciiPass("a\xc3\xb6", "xn--a-1ga", true); }
1390test { try toUnicodePass("ao\xcc\x88", "a\xc3\xb6"); }
1391test { try toAsciiPass("ao\xcc\x88", "xn--a-1ga", false); }
1392test { try toAsciiPass("ao\xcc\x88", "xn--a-1ga", true); }
1393test { try toUnicodePass("AO\xcc\x88", "a\xc3\xb6"); }
1394test { try toAsciiPass("AO\xcc\x88", "xn--a-1ga", false); }
1395test { try toAsciiPass("AO\xcc\x88", "xn--a-1ga", true); }
1396test { try toUnicodePass("A\xc3\x96", "a\xc3\xb6"); }
1397test { try toAsciiPass("A\xc3\x96", "xn--a-1ga", false); }
1398test { try toAsciiPass("A\xc3\x96", "xn--a-1ga", true); }
1399test { try toUnicodePass("A\xc3\xb6", "a\xc3\xb6"); }
1400test { try toAsciiPass("A\xc3\xb6", "xn--a-1ga", false); }
1401test { try toAsciiPass("A\xc3\xb6", "xn--a-1ga", true); }
1402test { try toUnicodePass("Ao\xcc\x88", "a\xc3\xb6"); }
1403test { try toAsciiPass("Ao\xcc\x88", "xn--a-1ga", false); }
1404test { try toAsciiPass("Ao\xcc\x88", "xn--a-1ga", true); }
1405test { try toUnicodePass("\xef\xbc\x9d\xcc\xb8", "\xe2\x89\xa0"); }
1406test { try toAsciiPass("\xef\xbc\x9d\xcc\xb8", "xn--1ch", false); }
1407test { try toAsciiPass("\xef\xbc\x9d\xcc\xb8", "xn--1ch", true); }
1408test { try toUnicodePass("\xe2\x89\xa0", "\xe2\x89\xa0"); }
1409test { try toAsciiPass("\xe2\x89\xa0", "xn--1ch", false); }
1410test { try toAsciiPass("\xe2\x89\xa0", "xn--1ch", true); }
1411test { try toUnicodePass("=\xcc\xb8", "\xe2\x89\xa0"); }
1412test { try toAsciiPass("=\xcc\xb8", "xn--1ch", false); }
1413test { try toAsciiPass("=\xcc\xb8", "xn--1ch", true); }
1414test { try toUnicodePass("xn--1ch", "\xe2\x89\xa0"); }
1415test { try toAsciiPass("xn--1ch", "xn--1ch", false); }
1416test { try toAsciiPass("xn--1ch", "xn--1ch", true); }
1417test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
1418test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); }
1419test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); }
1420test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
1421test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); }
1422test { try toAsciiPass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.xn--1234567890123456789012345678901234567890123456789012345-kue.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); }
1423test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b."); }
1424test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", false); } // [A4_2]
1425test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", true); } // [A4_2]
1426test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b."); }
1427test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", false); } // [A4_2]
1428test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b.", true); } // [A4_2]
1429test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c"); }
1430test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", false); } // [A4_1]
1431test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x88123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", true); } // [A4_1]
1432test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa4123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c"); }
1433test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", false); } // [A4_1]
1434test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x84123456789012345678901234567890123456789012345.123456789012345678901234567890123456789012345678901234567890123.1234567890123456789012345678901234567890123456789012345678901c", true); } // [A4_1]
1435test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a"); }
1436test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", false); } // [A4_2]
1437test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", true); } // [A4_2]
1438test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a"); }
1439test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", false); } // [A4_2]
1440test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a", true); } // [A4_2]
1441test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a."); }
1442test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", false); } // [A4_2]
1443test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", true); } // [A4_2]
1444test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a."); }
1445test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", false); } // [A4_2]
1446test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.12345678901234567890123456789012345678901234567890123456789a.", true); } // [A4_2]
1447test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
1448test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); } // [A4_1, A4_2]
1449test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890A\xcc\x881234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); } // [A4_1, A4_2]
1450test { try toUnicodePass("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", "123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\xa41234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b"); }
1451test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", false); } // [A4_1, A4_2]
1452test { try toAsciiFail("123456789012345678901234567890123456789012345678901234567890123.1234567890\xc3\x841234567890123456789012345678901234567890123456.123456789012345678901234567890123456789012345678901234567890123.123456789012345678901234567890123456789012345678901234567890b", true); } // [A4_1, A4_2]
1453test { try toUnicodeFail("c.0\xc3\xbc.\xd7\x90"); } // [B1]
1454test { try toAsciiFail("c.0\xc3\xbc.\xd7\x90", false); } // [B1]
1455test { try toAsciiFail("c.0\xc3\xbc.\xd7\x90", true); } // [B1]
1456test { try toUnicodeFail("c.0u\xcc\x88.\xd7\x90"); } // [B1]
1457test { try toAsciiFail("c.0u\xcc\x88.\xd7\x90", false); } // [B1]
1458test { try toAsciiFail("c.0u\xcc\x88.\xd7\x90", true); } // [B1]
1459test { try toUnicodeFail("C.0U\xcc\x88.\xd7\x90"); } // [B1]
1460test { try toAsciiFail("C.0U\xcc\x88.\xd7\x90", false); } // [B1]
1461test { try toAsciiFail("C.0U\xcc\x88.\xd7\x90", true); } // [B1]
1462test { try toUnicodeFail("C.0\xc3\x9c.\xd7\x90"); } // [B1]
1463test { try toAsciiFail("C.0\xc3\x9c.\xd7\x90", false); } // [B1]
1464test { try toAsciiFail("C.0\xc3\x9c.\xd7\x90", true); } // [B1]
1465test { try toUnicodeFail("C.0\xc3\xbc.\xd7\x90"); } // [B1]
1466test { try toAsciiFail("C.0\xc3\xbc.\xd7\x90", false); } // [B1]
1467test { try toAsciiFail("C.0\xc3\xbc.\xd7\x90", true); } // [B1]
1468test { try toUnicodeFail("C.0u\xcc\x88.\xd7\x90"); } // [B1]
1469test { try toAsciiFail("C.0u\xcc\x88.\xd7\x90", false); } // [B1]
1470test { try toAsciiFail("C.0u\xcc\x88.\xd7\x90", true); } // [B1]
1471test { try toUnicodeFail("\xe2\x92\x95\xe2\x88\x9d\xd9\x9f\xf2\x93\xa4\xa6\xef\xbc\x8e-\xf3\xa0\x84\xaf"); } // [V3, V7]
1472test { try toAsciiFail("\xe2\x92\x95\xe2\x88\x9d\xd9\x9f\xf2\x93\xa4\xa6\xef\xbc\x8e-\xf3\xa0\x84\xaf", false); } // [V3, V7]
1473test { try toAsciiFail("\xe2\x92\x95\xe2\x88\x9d\xd9\x9f\xf2\x93\xa4\xa6\xef\xbc\x8e-\xf3\xa0\x84\xaf", true); } // [V3, V7]
1474test { try toUnicodeFail("14.\xe2\x88\x9d\xd9\x9f\xf2\x93\xa4\xa6.-\xf3\xa0\x84\xaf"); } // [V3, V7]
1475test { try toAsciiFail("14.\xe2\x88\x9d\xd9\x9f\xf2\x93\xa4\xa6.-\xf3\xa0\x84\xaf", false); } // [V3, V7]
1476test { try toAsciiFail("14.\xe2\x88\x9d\xd9\x9f\xf2\x93\xa4\xa6.-\xf3\xa0\x84\xaf", true); } // [V3, V7]
1477test { try toUnicodeFail("14.xn--7hb713l3v90n.-"); } // [V3, V7]
1478test { try toAsciiFail("14.xn--7hb713l3v90n.-", false); } // [V3, V7]
1479test { try toAsciiFail("14.xn--7hb713l3v90n.-", true); } // [V3, V7]
1480test { try toUnicodeFail("xn--7hb713lfwbi1311b.-"); } // [V3, V7]
1481test { try toAsciiFail("xn--7hb713lfwbi1311b.-", false); } // [V3, V7]
1482test { try toAsciiFail("xn--7hb713lfwbi1311b.-", true); } // [V3, V7]
1483test { try toUnicodePass("\xea\xa1\xa3.\xdf\x8f", "\xea\xa1\xa3.\xdf\x8f"); }
1484test { try toAsciiPass("\xea\xa1\xa3.\xdf\x8f", "xn--8c9a.xn--qsb", false); }
1485test { try toAsciiPass("\xea\xa1\xa3.\xdf\x8f", "xn--8c9a.xn--qsb", true); }
1486test { try toUnicodePass("xn--8c9a.xn--qsb", "\xea\xa1\xa3.\xdf\x8f"); }
1487test { try toAsciiPass("xn--8c9a.xn--qsb", "xn--8c9a.xn--qsb", false); }
1488test { try toAsciiPass("xn--8c9a.xn--qsb", "xn--8c9a.xn--qsb", true); }
1489test { try toUnicodeFail("\xe2\x89\xaf\xd8\x83\xef\xbd\xa1-"); } // [B1, V3, V7]
1490test { try toAsciiFail("\xe2\x89\xaf\xd8\x83\xef\xbd\xa1-", false); } // [B1, V3, V7]
1491test { try toAsciiFail("\xe2\x89\xaf\xd8\x83\xef\xbd\xa1-", true); } // [B1, V3, V7]
1492test { try toUnicodeFail(">\xcc\xb8\xd8\x83\xef\xbd\xa1-"); } // [B1, V3, V7]
1493test { try toAsciiFail(">\xcc\xb8\xd8\x83\xef\xbd\xa1-", false); } // [B1, V3, V7]
1494test { try toAsciiFail(">\xcc\xb8\xd8\x83\xef\xbd\xa1-", true); } // [B1, V3, V7]
1495test { try toUnicodeFail("\xe2\x89\xaf\xd8\x83\xe3\x80\x82-"); } // [B1, V3, V7]
1496test { try toAsciiFail("\xe2\x89\xaf\xd8\x83\xe3\x80\x82-", false); } // [B1, V3, V7]
1497test { try toAsciiFail("\xe2\x89\xaf\xd8\x83\xe3\x80\x82-", true); } // [B1, V3, V7]
1498test { try toUnicodeFail(">\xcc\xb8\xd8\x83\xe3\x80\x82-"); } // [B1, V3, V7]
1499test { try toAsciiFail(">\xcc\xb8\xd8\x83\xe3\x80\x82-", false); } // [B1, V3, V7]
1500test { try toAsciiFail(">\xcc\xb8\xd8\x83\xe3\x80\x82-", true); } // [B1, V3, V7]
1501test { try toUnicodeFail("xn--lfb566l.-"); } // [B1, V3, V7]
1502test { try toAsciiFail("xn--lfb566l.-", false); } // [B1, V3, V7]
1503test { try toAsciiFail("xn--lfb566l.-", true); } // [B1, V3, V7]
1504test { try toUnicodeFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe1\x82\xad"); } // [B1, B5, V7]
1505test { try toAsciiFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe1\x82\xad", false); } // [B1, B5, V7]
1506test { try toAsciiFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe1\x82\xad", true); } // [B1, B5, V7]
1507test { try toUnicodeFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe1\x82\xad"); } // [B1, B5, V7]
1508test { try toAsciiFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe1\x82\xad", false); } // [B1, B5, V7]
1509test { try toAsciiFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe1\x82\xad", true); } // [B1, B5, V7]
1510test { try toUnicodeFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe2\xb4\x8d"); } // [B1, B5, V7]
1511test { try toAsciiFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe2\xb4\x8d", false); } // [B1, B5, V7]
1512test { try toAsciiFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe2\xb4\x8d", true); } // [B1, B5, V7]
1513test { try toUnicodeFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe1\x82\xad"); } // [B1, B5, V7]
1514test { try toAsciiFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe1\x82\xad", false); } // [B1, B5, V7]
1515test { try toAsciiFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe1\x82\xad", true); } // [B1, B5, V7]
1516test { try toUnicodeFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x83\xe2\xb4\x8d"); } // [B1, B5, V7]
1517test { try toAsciiFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x83\xe2\xb4\x8d", false); } // [B1, B5, V7]
1518test { try toAsciiFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x83\xe2\xb4\x8d", true); } // [B1, B5, V7]
1519test { try toUnicodeFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe2\xb4\x8d"); } // [B1, B5, V7]
1520test { try toAsciiFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe2\xb4\x8d", false); } // [B1, B5, V7]
1521test { try toAsciiFail("\xe8\xb5\xb0\xf0\x90\xb9\xa7\xe8\xb0\xb7.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe2\xb4\x8d", true); } // [B1, B5, V7]
1522test { try toUnicodeFail("xn--6g3a1x434z.xn--4xa452s5d17u"); } // [B1, B5, V7]
1523test { try toAsciiFail("xn--6g3a1x434z.xn--4xa452s5d17u", false); } // [B1, B5, V7]
1524test { try toAsciiFail("xn--6g3a1x434z.xn--4xa452s5d17u", true); } // [B1, B5, V7]
1525test { try toUnicodeFail("xn--6g3a1x434z.xn--3xa652s5d17u"); } // [B1, B5, V7]
1526test { try toAsciiFail("xn--6g3a1x434z.xn--3xa652s5d17u", false); } // [B1, B5, V7]
1527test { try toAsciiFail("xn--6g3a1x434z.xn--3xa652s5d17u", true); } // [B1, B5, V7]
1528test { try toUnicodeFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe2\xb4\x8d"); } // [B1, B5, V7]
1529test { try toAsciiFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe2\xb4\x8d", false); } // [B1, B5, V7]
1530test { try toAsciiFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x82\xe2\xb4\x8d", true); } // [B1, B5, V7]
1531test { try toUnicodeFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe1\x82\xad"); } // [B1, B5, V7]
1532test { try toAsciiFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe1\x82\xad", false); } // [B1, B5, V7]
1533test { try toAsciiFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe1\x82\xad", true); } // [B1, B5, V7]
1534test { try toUnicodeFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x83\xe2\xb4\x8d"); } // [B1, B5, V7]
1535test { try toAsciiFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x83\xe2\xb4\x8d", false); } // [B1, B5, V7]
1536test { try toAsciiFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xcf\x83\xe2\xb4\x8d", true); } // [B1, B5, V7]
1537test { try toUnicodeFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe2\xb4\x8d"); } // [B1, B5, V7]
1538test { try toAsciiFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe2\xb4\x8d", false); } // [B1, B5, V7]
1539test { try toAsciiFail("\xe2\xbe\x9b\xf0\x90\xb9\xa7\xe2\xbe\x95.\xe1\x85\x9f\xf3\xa0\x97\xb0\xce\xa3\xe2\xb4\x8d", true); } // [B1, B5, V7]
1540test { try toUnicodeFail("xn--6g3a1x434z.xn--4xa180eotvh7453a"); } // [B5, V7]
1541test { try toAsciiFail("xn--6g3a1x434z.xn--4xa180eotvh7453a", false); } // [B5, V7]
1542test { try toAsciiFail("xn--6g3a1x434z.xn--4xa180eotvh7453a", true); } // [B5, V7]
1543test { try toUnicodeFail("xn--6g3a1x434z.xn--4xa627dhpae6345i"); } // [B5, V7]
1544test { try toAsciiFail("xn--6g3a1x434z.xn--4xa627dhpae6345i", false); } // [B5, V7]
1545test { try toAsciiFail("xn--6g3a1x434z.xn--4xa627dhpae6345i", true); } // [B5, V7]
1546test { try toUnicodeFail("xn--6g3a1x434z.xn--3xa380eotvh7453a"); } // [B5, V7]
1547test { try toAsciiFail("xn--6g3a1x434z.xn--3xa380eotvh7453a", false); } // [B5, V7]
1548test { try toAsciiFail("xn--6g3a1x434z.xn--3xa380eotvh7453a", true); } // [B5, V7]
1549test { try toUnicodeFail("xn--6g3a1x434z.xn--3xa827dhpae6345i"); } // [B5, V7]
1550test { try toAsciiFail("xn--6g3a1x434z.xn--3xa827dhpae6345i", false); } // [B5, V7]
1551test { try toAsciiFail("xn--6g3a1x434z.xn--3xa827dhpae6345i", true); } // [B5, V7]
1552test { try toAsciiPass("\xe2\x80\x8d\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe1\x82\xa0", "xn--jbf911clb.xn----p9j493ivi4l", true); }
1553test { try toUnicodeFail("\xe2\x80\x8d\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe1\x82\xa0"); } // [C2]
1554test { try toAsciiFail("\xe2\x80\x8d\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe1\x82\xa0", false); } // [C2]
1555test { try toAsciiPass("\xe2\x80\x8d=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe1\x82\xa0", "xn--jbf911clb.xn----p9j493ivi4l", true); }
1556test { try toUnicodeFail("\xe2\x80\x8d=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe1\x82\xa0"); } // [C2]
1557test { try toAsciiFail("\xe2\x80\x8d=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe1\x82\xa0", false); } // [C2]
1558test { try toAsciiPass("\xe2\x80\x8d=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe2\xb4\x80", "xn--jbf911clb.xn----p9j493ivi4l", true); }
1559test { try toUnicodeFail("\xe2\x80\x8d=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe2\xb4\x80"); } // [C2]
1560test { try toAsciiFail("\xe2\x80\x8d=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe2\xb4\x80", false); } // [C2]
1561test { try toAsciiPass("\xe2\x80\x8d\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80", "xn--jbf911clb.xn----p9j493ivi4l", true); }
1562test { try toUnicodeFail("\xe2\x80\x8d\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80"); } // [C2]
1563test { try toAsciiFail("\xe2\x80\x8d\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80", false); } // [C2]
1564test { try toUnicodePass("xn--jbf911clb.xn----p9j493ivi4l", "\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80"); }
1565test { try toAsciiPass("xn--jbf911clb.xn----p9j493ivi4l", "xn--jbf911clb.xn----p9j493ivi4l", false); }
1566test { try toAsciiPass("xn--jbf911clb.xn----p9j493ivi4l", "xn--jbf911clb.xn----p9j493ivi4l", true); }
1567test { try toUnicodePass("\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80", "\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80"); }
1568test { try toAsciiPass("\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80", "xn--jbf911clb.xn----p9j493ivi4l", false); }
1569test { try toAsciiPass("\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80", "xn--jbf911clb.xn----p9j493ivi4l", true); }
1570test { try toUnicodePass("=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe2\xb4\x80", "\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80"); }
1571test { try toAsciiPass("=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe2\xb4\x80", "xn--jbf911clb.xn----p9j493ivi4l", false); }
1572test { try toAsciiPass("=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe2\xb4\x80", "xn--jbf911clb.xn----p9j493ivi4l", true); }
1573test { try toUnicodePass("=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe1\x82\xa0", "\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80"); }
1574test { try toAsciiPass("=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe1\x82\xa0", "xn--jbf911clb.xn----p9j493ivi4l", false); }
1575test { try toAsciiPass("=\xcc\xb8\xe1\xa2\x99>\xcc\xb8.\xe1\x84\x89\xe1\x85\xa9\xe1\x86\xbe-\xe1\xa1\xb4\xe1\x82\xa0", "xn--jbf911clb.xn----p9j493ivi4l", true); }
1576test { try toUnicodePass("\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe1\x82\xa0", "\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe2\xb4\x80"); }
1577test { try toAsciiPass("\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe1\x82\xa0", "xn--jbf911clb.xn----p9j493ivi4l", false); }
1578test { try toAsciiPass("\xe2\x89\xa0\xe1\xa2\x99\xe2\x89\xaf.\xec\x86\xa3-\xe1\xa1\xb4\xe1\x82\xa0", "xn--jbf911clb.xn----p9j493ivi4l", true); }
1579test { try toUnicodeFail("xn--jbf929a90b0b.xn----p9j493ivi4l"); } // [C2]
1580test { try toAsciiFail("xn--jbf929a90b0b.xn----p9j493ivi4l", false); } // [C2]
1581test { try toAsciiFail("xn--jbf929a90b0b.xn----p9j493ivi4l", true); } // [C2]
1582test { try toUnicodeFail("xn--jbf911clb.xn----6zg521d196p"); } // [V7]
1583test { try toAsciiFail("xn--jbf911clb.xn----6zg521d196p", false); } // [V7]
1584test { try toAsciiFail("xn--jbf911clb.xn----6zg521d196p", true); } // [V7]
1585test { try toUnicodeFail("xn--jbf929a90b0b.xn----6zg521d196p"); } // [C2, V7]
1586test { try toAsciiFail("xn--jbf929a90b0b.xn----6zg521d196p", false); } // [C2, V7]
1587test { try toAsciiFail("xn--jbf929a90b0b.xn----6zg521d196p", true); } // [C2, V7]
1588test { try toUnicodeFail("\xf1\xaf\x9e\x9c\xef\xbc\x8e\xf0\x90\xbf\x87\xe0\xbe\xa2\xdd\xbd\xd8\x80"); } // [V7]
1589test { try toAsciiFail("\xf1\xaf\x9e\x9c\xef\xbc\x8e\xf0\x90\xbf\x87\xe0\xbe\xa2\xdd\xbd\xd8\x80", false); } // [V7]
1590test { try toAsciiFail("\xf1\xaf\x9e\x9c\xef\xbc\x8e\xf0\x90\xbf\x87\xe0\xbe\xa2\xdd\xbd\xd8\x80", true); } // [V7]
1591test { try toUnicodeFail("\xf1\xaf\x9e\x9c\xef\xbc\x8e\xf0\x90\xbf\x87\xe0\xbe\xa1\xe0\xbe\xb7\xdd\xbd\xd8\x80"); } // [V7]
1592test { try toAsciiFail("\xf1\xaf\x9e\x9c\xef\xbc\x8e\xf0\x90\xbf\x87\xe0\xbe\xa1\xe0\xbe\xb7\xdd\xbd\xd8\x80", false); } // [V7]
1593test { try toAsciiFail("\xf1\xaf\x9e\x9c\xef\xbc\x8e\xf0\x90\xbf\x87\xe0\xbe\xa1\xe0\xbe\xb7\xdd\xbd\xd8\x80", true); } // [V7]
1594test { try toUnicodeFail("\xf1\xaf\x9e\x9c.\xf0\x90\xbf\x87\xe0\xbe\xa1\xe0\xbe\xb7\xdd\xbd\xd8\x80"); } // [V7]
1595test { try toAsciiFail("\xf1\xaf\x9e\x9c.\xf0\x90\xbf\x87\xe0\xbe\xa1\xe0\xbe\xb7\xdd\xbd\xd8\x80", false); } // [V7]
1596test { try toAsciiFail("\xf1\xaf\x9e\x9c.\xf0\x90\xbf\x87\xe0\xbe\xa1\xe0\xbe\xb7\xdd\xbd\xd8\x80", true); } // [V7]
1597test { try toUnicodeFail("xn--gw68a.xn--ifb57ev2psc6027m"); } // [V7]
1598test { try toAsciiFail("xn--gw68a.xn--ifb57ev2psc6027m", false); } // [V7]
1599test { try toAsciiFail("xn--gw68a.xn--ifb57ev2psc6027m", true); } // [V7]
1600test { try toUnicodeFail("\xf0\xa3\xb3\x94\xcc\x83.\xf0\x91\x93\x82"); } // [V6]
1601test { try toAsciiFail("\xf0\xa3\xb3\x94\xcc\x83.\xf0\x91\x93\x82", false); } // [V6]
1602test { try toAsciiFail("\xf0\xa3\xb3\x94\xcc\x83.\xf0\x91\x93\x82", true); } // [V6]
1603test { try toUnicodeFail("xn--nsa95820a.xn--wz1d"); } // [V6]
1604test { try toAsciiFail("xn--nsa95820a.xn--wz1d", false); } // [V6]
1605test { try toAsciiFail("xn--nsa95820a.xn--wz1d", true); } // [V6]
1606test { try toUnicodeFail("\xf0\x9e\xa4\x80\xf0\x9e\xa5\x85\xf1\x98\x90\xb1\xe3\x80\x82\xf3\xa0\x84\x8c\xe1\x83\x83\xea\xa1\xa5"); } // [B2, B3, V7]
1607test { try toAsciiFail("\xf0\x9e\xa4\x80\xf0\x9e\xa5\x85\xf1\x98\x90\xb1\xe3\x80\x82\xf3\xa0\x84\x8c\xe1\x83\x83\xea\xa1\xa5", false); } // [B2, B3, V7]
1608test { try toAsciiFail("\xf0\x9e\xa4\x80\xf0\x9e\xa5\x85\xf1\x98\x90\xb1\xe3\x80\x82\xf3\xa0\x84\x8c\xe1\x83\x83\xea\xa1\xa5", true); } // [B2, B3, V7]
1609test { try toUnicodeFail("\xf0\x9e\xa4\xa2\xf0\x9e\xa5\x85\xf1\x98\x90\xb1\xe3\x80\x82\xf3\xa0\x84\x8c\xe2\xb4\xa3\xea\xa1\xa5"); } // [B2, B3, V7]
1610test { try toAsciiFail("\xf0\x9e\xa4\xa2\xf0\x9e\xa5\x85\xf1\x98\x90\xb1\xe3\x80\x82\xf3\xa0\x84\x8c\xe2\xb4\xa3\xea\xa1\xa5", false); } // [B2, B3, V7]
1611test { try toAsciiFail("\xf0\x9e\xa4\xa2\xf0\x9e\xa5\x85\xf1\x98\x90\xb1\xe3\x80\x82\xf3\xa0\x84\x8c\xe2\xb4\xa3\xea\xa1\xa5", true); } // [B2, B3, V7]
1612test { try toUnicodeFail("xn--9d6hgcy3556a.xn--rlju750b"); } // [B2, B3, V7]
1613test { try toAsciiFail("xn--9d6hgcy3556a.xn--rlju750b", false); } // [B2, B3, V7]
1614test { try toAsciiFail("xn--9d6hgcy3556a.xn--rlju750b", true); } // [B2, B3, V7]
1615test { try toUnicodeFail("xn--9d6hgcy3556a.xn--7nd0578e"); } // [B2, B3, V7]
1616test { try toAsciiFail("xn--9d6hgcy3556a.xn--7nd0578e", false); } // [B2, B3, V7]
1617test { try toAsciiFail("xn--9d6hgcy3556a.xn--7nd0578e", true); } // [B2, B3, V7]
1618test { try toUnicodeFail("\xf0\x9e\xa4\x80\xf0\x9e\xa5\x85\xf1\x98\x90\xb1\xe3\x80\x82\xf3\xa0\x84\x8c\xe2\xb4\xa3\xea\xa1\xa5"); } // [B2, B3, V7]
1619test { try toAsciiFail("\xf0\x9e\xa4\x80\xf0\x9e\xa5\x85\xf1\x98\x90\xb1\xe3\x80\x82\xf3\xa0\x84\x8c\xe2\xb4\xa3\xea\xa1\xa5", false); } // [B2, B3, V7]
1620test { try toAsciiFail("\xf0\x9e\xa4\x80\xf0\x9e\xa5\x85\xf1\x98\x90\xb1\xe3\x80\x82\xf3\xa0\x84\x8c\xe2\xb4\xa3\xea\xa1\xa5", true); } // [B2, B3, V7]
1621test { try toUnicodeFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x82\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xeb\xa0\xa7"); } // [B1, V7]
1622test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x82\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xeb\xa0\xa7", false); } // [B1, V7]
1623test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x82\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xeb\xa0\xa7", true); } // [B1, V7]
1624test { try toUnicodeFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x82\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xe1\x84\x85\xe1\x85\xa7\xe1\x86\xaa"); } // [B1, V7]
1625test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x82\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xe1\x84\x85\xe1\x85\xa7\xe1\x86\xaa", false); } // [B1, V7]
1626test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x82\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xe1\x84\x85\xe1\x85\xa7\xe1\x86\xaa", true); } // [B1, V7]
1627test { try toUnicodeFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xce\xa3\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xe1\x84\x85\xe1\x85\xa7\xe1\x86\xaa"); } // [B1, V7]
1628test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xce\xa3\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xe1\x84\x85\xe1\x85\xa7\xe1\x86\xaa", false); } // [B1, V7]
1629test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xce\xa3\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xe1\x84\x85\xe1\x85\xa7\xe1\x86\xaa", true); } // [B1, V7]
1630test { try toUnicodeFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xce\xa3\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xeb\xa0\xa7"); } // [B1, V7]
1631test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xce\xa3\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xeb\xa0\xa7", false); } // [B1, V7]
1632test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xce\xa3\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xeb\xa0\xa7", true); } // [B1, V7]
1633test { try toUnicodeFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x83\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xeb\xa0\xa7"); } // [B1, V7]
1634test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x83\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xeb\xa0\xa7", false); } // [B1, V7]
1635test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x83\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xeb\xa0\xa7", true); } // [B1, V7]
1636test { try toUnicodeFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x83\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xe1\x84\x85\xe1\x85\xa7\xe1\x86\xaa"); } // [B1, V7]
1637test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x83\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xe1\x84\x85\xe1\x85\xa7\xe1\x86\xaa", false); } // [B1, V7]
1638test { try toAsciiFail("\xe0\xa3\xa2\xf0\x91\x81\xbf\xcf\x83\xf0\x96\xac\xb1\xe3\x80\x82\xf3\xa0\x85\xa1\xe1\x84\x85\xe1\x85\xa7\xe1\x86\xaa", true); } // [B1, V7]
1639test { try toUnicodeFail("xn--4xa53xp48ys2xc.xn--kn2b"); } // [B1, V7]
1640test { try toAsciiFail("xn--4xa53xp48ys2xc.xn--kn2b", false); } // [B1, V7]
1641test { try toAsciiFail("xn--4xa53xp48ys2xc.xn--kn2b", true); } // [B1, V7]
1642test { try toUnicodeFail("xn--3xa73xp48ys2xc.xn--kn2b"); } // [B1, V7]
1643test { try toAsciiFail("xn--3xa73xp48ys2xc.xn--kn2b", false); } // [B1, V7]
1644test { try toAsciiFail("xn--3xa73xp48ys2xc.xn--kn2b", true); } // [B1, V7]
1645test { try toUnicodeFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\x8d\xe2\x80\x8c\xe2\x80\x8d\xe2\x92\x88"); } // [B1, C1, C2, V3, V7]
1646test { try toAsciiFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\x8d\xe2\x80\x8c\xe2\x80\x8d\xe2\x92\x88", false); } // [B1, C1, C2, V3, V7]
1647test { try toAsciiFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\x8d\xe2\x80\x8c\xe2\x80\x8d\xe2\x92\x88", true); } // [B1, V3, V7]
1648test { try toUnicodeFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\x8d\xe2\x80\x8c\xe2\x80\x8d1."); } // [B1, C1, C2, V3]
1649test { try toAsciiFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\x8d\xe2\x80\x8c\xe2\x80\x8d1.", false); } // [B1, C1, C2, V3, A4_2]
1650test { try toAsciiFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\x8d\xe2\x80\x8c\xe2\x80\x8d1.", true); } // [B1, V3, A4_2]
1651test { try toUnicodeFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\xaf\xe2\x80\x8c\xe2\x80\x8d1."); } // [B1, C1, C2, V3]
1652test { try toAsciiFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\xaf\xe2\x80\x8c\xe2\x80\x8d1.", false); } // [B1, C1, C2, V3, A4_2]
1653test { try toAsciiFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\xaf\xe2\x80\x8c\xe2\x80\x8d1.", true); } // [B1, V3, A4_2]
1654test { try toUnicodeFail("-.xn--1-0i8r."); } // [B1, V3]
1655test { try toAsciiFail("-.xn--1-0i8r.", false); } // [B1, V3, A4_2]
1656test { try toAsciiFail("-.xn--1-0i8r.", true); } // [B1, V3, A4_2]
1657test { try toUnicodeFail("xn----ugn.xn--1-rgnd61297b."); } // [B1, C1, C2, V3]
1658test { try toAsciiFail("xn----ugn.xn--1-rgnd61297b.", false); } // [B1, C1, C2, V3, A4_2]
1659test { try toAsciiFail("xn----ugn.xn--1-rgnd61297b.", true); } // [B1, C1, C2, V3, A4_2]
1660test { try toUnicodeFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\xaf\xe2\x80\x8c\xe2\x80\x8d\xe2\x92\x88"); } // [B1, C1, C2, V3, V7]
1661test { try toAsciiFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\xaf\xe2\x80\x8c\xe2\x80\x8d\xe2\x92\x88", false); } // [B1, C1, C2, V3, V7]
1662test { try toAsciiFail("-\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\xaf\xe2\x80\x8c\xe2\x80\x8d\xe2\x92\x88", true); } // [B1, V3, V7]
1663test { try toUnicodeFail("-.xn--tsh3666n"); } // [B1, V3, V7]
1664test { try toAsciiFail("-.xn--tsh3666n", false); } // [B1, V3, V7]
1665test { try toAsciiFail("-.xn--tsh3666n", true); } // [B1, V3, V7]
1666test { try toUnicodeFail("xn----ugn.xn--0ugc555aiv51d"); } // [B1, C1, C2, V3, V7]
1667test { try toAsciiFail("xn----ugn.xn--0ugc555aiv51d", false); } // [B1, C1, C2, V3, V7]
1668test { try toAsciiFail("xn----ugn.xn--0ugc555aiv51d", true); } // [B1, C1, C2, V3, V7]
1669test { try toUnicodeFail("\xe2\x80\x8c\xf2\x85\x8e\xad.\xe1\x82\xb2\xf0\x91\x87\x80"); } // [C1, V7]
1670test { try toAsciiFail("\xe2\x80\x8c\xf2\x85\x8e\xad.\xe1\x82\xb2\xf0\x91\x87\x80", false); } // [C1, V7]
1671test { try toAsciiFail("\xe2\x80\x8c\xf2\x85\x8e\xad.\xe1\x82\xb2\xf0\x91\x87\x80", true); } // [V7]
1672test { try toUnicodeFail("\xe2\x80\x8c\xf2\x85\x8e\xad.\xe2\xb4\x92\xf0\x91\x87\x80"); } // [C1, V7]
1673test { try toAsciiFail("\xe2\x80\x8c\xf2\x85\x8e\xad.\xe2\xb4\x92\xf0\x91\x87\x80", false); } // [C1, V7]
1674test { try toAsciiFail("\xe2\x80\x8c\xf2\x85\x8e\xad.\xe2\xb4\x92\xf0\x91\x87\x80", true); } // [V7]
1675test { try toUnicodeFail("xn--bn95b.xn--9kj2034e"); } // [V7]
1676test { try toAsciiFail("xn--bn95b.xn--9kj2034e", false); } // [V7]
1677test { try toAsciiFail("xn--bn95b.xn--9kj2034e", true); } // [V7]
1678test { try toUnicodeFail("xn--0ug15083f.xn--9kj2034e"); } // [C1, V7]
1679test { try toAsciiFail("xn--0ug15083f.xn--9kj2034e", false); } // [C1, V7]
1680test { try toAsciiFail("xn--0ug15083f.xn--9kj2034e", true); } // [C1, V7]
1681test { try toUnicodeFail("xn--bn95b.xn--qnd6272k"); } // [V7]
1682test { try toAsciiFail("xn--bn95b.xn--qnd6272k", false); } // [V7]
1683test { try toAsciiFail("xn--bn95b.xn--qnd6272k", true); } // [V7]
1684test { try toUnicodeFail("xn--0ug15083f.xn--qnd6272k"); } // [C1, V7]
1685test { try toAsciiFail("xn--0ug15083f.xn--qnd6272k", false); } // [C1, V7]
1686test { try toAsciiFail("xn--0ug15083f.xn--qnd6272k", true); } // [C1, V7]
1687test { try toUnicodeFail("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.\xef\xbc\x98\xef\xb8\x92"); } // [V7]
1688test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.\xef\xbc\x98\xef\xb8\x92", false); } // [V7]
1689test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.\xef\xbc\x98\xef\xb8\x92", true); } // [V7]
1690test { try toUnicodePass("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.8\xe3\x80\x82", "\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.8."); }
1691test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.8\xe3\x80\x82", false); } // [A4_2]
1692test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.8\xe3\x80\x82", true); } // [A4_2]
1693test { try toUnicodePass("xn--gl0as212a.i.", "\xe7\xb9\xb1\xf0\x91\x96\xbf.i."); }
1694test { try toAsciiFail("xn--gl0as212a.i.", false); } // [A4_2]
1695test { try toAsciiFail("xn--gl0as212a.i.", true); } // [A4_2]
1696test { try toUnicodePass("\xe7\xb9\xb1\xf0\x91\x96\xbf.i.", "\xe7\xb9\xb1\xf0\x91\x96\xbf.i."); }
1697test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf.i.", false); } // [A4_2]
1698test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf.i.", true); } // [A4_2]
1699test { try toUnicodePass("\xe7\xb9\xb1\xf0\x91\x96\xbf.I.", "\xe7\xb9\xb1\xf0\x91\x96\xbf.i."); }
1700test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf.I.", false); } // [A4_2]
1701test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf.I.", true); } // [A4_2]
1702test { try toUnicodePass("xn--1ug6928ac48e.i.", "\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.i."); }
1703test { try toAsciiFail("xn--1ug6928ac48e.i.", false); } // [A4_2]
1704test { try toAsciiFail("xn--1ug6928ac48e.i.", true); } // [A4_2]
1705test { try toUnicodePass("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.i.", "\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.i."); }
1706test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.i.", false); } // [A4_2]
1707test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.i.", true); } // [A4_2]
1708test { try toUnicodePass("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.I.", "\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.i."); }
1709test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.I.", false); } // [A4_2]
1710test { try toAsciiFail("\xe7\xb9\xb1\xf0\x91\x96\xbf\xe2\x80\x8d.I.", true); } // [A4_2]
1711test { try toUnicodeFail("xn--gl0as212a.xn--8-o89h"); } // [V7]
1712test { try toAsciiFail("xn--gl0as212a.xn--8-o89h", false); } // [V7]
1713test { try toAsciiFail("xn--gl0as212a.xn--8-o89h", true); } // [V7]
1714test { try toUnicodeFail("xn--1ug6928ac48e.xn--8-o89h"); } // [V7]
1715test { try toAsciiFail("xn--1ug6928ac48e.xn--8-o89h", false); } // [V7]
1716test { try toAsciiFail("xn--1ug6928ac48e.xn--8-o89h", true); } // [V7]
1717test { try toUnicodeFail("\xf3\xa0\x86\xbe\xef\xbc\x8e\xf0\x9e\x80\x88"); } // [V6, X4_2]
1718test { try toAsciiFail("\xf3\xa0\x86\xbe\xef\xbc\x8e\xf0\x9e\x80\x88", false); } // [V6, A4_2]
1719test { try toAsciiFail("\xf3\xa0\x86\xbe\xef\xbc\x8e\xf0\x9e\x80\x88", true); } // [V6, A4_2]
1720test { try toUnicodeFail("\xf3\xa0\x86\xbe.\xf0\x9e\x80\x88"); } // [V6, X4_2]
1721test { try toAsciiFail("\xf3\xa0\x86\xbe.\xf0\x9e\x80\x88", false); } // [V6, A4_2]
1722test { try toAsciiFail("\xf3\xa0\x86\xbe.\xf0\x9e\x80\x88", true); } // [V6, A4_2]
1723test { try toUnicodeFail(".xn--ph4h"); } // [V6, X4_2]
1724test { try toAsciiFail(".xn--ph4h", false); } // [V6, A4_2]
1725test { try toAsciiFail(".xn--ph4h", true); } // [V6, A4_2]
1726test { try toUnicodeFail("\xc3\x9f\xdb\xab\xe3\x80\x82\xe2\x80\x8d"); } // [C2]
1727test { try toAsciiFail("\xc3\x9f\xdb\xab\xe3\x80\x82\xe2\x80\x8d", false); } // [C2]
1728test { try toAsciiFail("\xc3\x9f\xdb\xab\xe3\x80\x82\xe2\x80\x8d", true); } // [A4_2]
1729test { try toUnicodeFail("SS\xdb\xab\xe3\x80\x82\xe2\x80\x8d"); } // [C2]
1730test { try toAsciiFail("SS\xdb\xab\xe3\x80\x82\xe2\x80\x8d", false); } // [C2]
1731test { try toAsciiFail("SS\xdb\xab\xe3\x80\x82\xe2\x80\x8d", true); } // [A4_2]
1732test { try toUnicodeFail("ss\xdb\xab\xe3\x80\x82\xe2\x80\x8d"); } // [C2]
1733test { try toAsciiFail("ss\xdb\xab\xe3\x80\x82\xe2\x80\x8d", false); } // [C2]
1734test { try toAsciiFail("ss\xdb\xab\xe3\x80\x82\xe2\x80\x8d", true); } // [A4_2]
1735test { try toUnicodeFail("Ss\xdb\xab\xe3\x80\x82\xe2\x80\x8d"); } // [C2]
1736test { try toAsciiFail("Ss\xdb\xab\xe3\x80\x82\xe2\x80\x8d", false); } // [C2]
1737test { try toAsciiFail("Ss\xdb\xab\xe3\x80\x82\xe2\x80\x8d", true); } // [A4_2]
1738test { try toUnicodePass("xn--ss-59d.", "ss\xdb\xab."); }
1739test { try toAsciiFail("xn--ss-59d.", false); } // [A4_2]
1740test { try toAsciiFail("xn--ss-59d.", true); } // [A4_2]
1741test { try toUnicodePass("ss\xdb\xab.", "ss\xdb\xab."); }
1742test { try toAsciiFail("ss\xdb\xab.", false); } // [A4_2]
1743test { try toAsciiFail("ss\xdb\xab.", true); } // [A4_2]
1744test { try toUnicodePass("SS\xdb\xab.", "ss\xdb\xab."); }
1745test { try toAsciiFail("SS\xdb\xab.", false); } // [A4_2]
1746test { try toAsciiFail("SS\xdb\xab.", true); } // [A4_2]
1747test { try toUnicodePass("Ss\xdb\xab.", "ss\xdb\xab."); }
1748test { try toAsciiFail("Ss\xdb\xab.", false); } // [A4_2]
1749test { try toAsciiFail("Ss\xdb\xab.", true); } // [A4_2]
1750test { try toUnicodeFail("xn--ss-59d.xn--1ug"); } // [C2]
1751test { try toAsciiFail("xn--ss-59d.xn--1ug", false); } // [C2]
1752test { try toAsciiFail("xn--ss-59d.xn--1ug", true); } // [C2]
1753test { try toUnicodeFail("xn--zca012a.xn--1ug"); } // [C2]
1754test { try toAsciiFail("xn--zca012a.xn--1ug", false); } // [C2]
1755test { try toAsciiFail("xn--zca012a.xn--1ug", true); } // [C2]
1756test { try toUnicodeFail("\xf3\xa0\x90\xb5\xe2\x80\x8c\xe2\x92\x88\xef\xbc\x8e\xf3\xa0\x8e\x87"); } // [C1, V7]
1757test { try toAsciiFail("\xf3\xa0\x90\xb5\xe2\x80\x8c\xe2\x92\x88\xef\xbc\x8e\xf3\xa0\x8e\x87", false); } // [C1, V7]
1758test { try toAsciiFail("\xf3\xa0\x90\xb5\xe2\x80\x8c\xe2\x92\x88\xef\xbc\x8e\xf3\xa0\x8e\x87", true); } // [V7]
1759test { try toUnicodeFail("\xf3\xa0\x90\xb5\xe2\x80\x8c1..\xf3\xa0\x8e\x87"); } // [C1, V7, X4_2]
1760test { try toAsciiFail("\xf3\xa0\x90\xb5\xe2\x80\x8c1..\xf3\xa0\x8e\x87", false); } // [C1, V7, A4_2]
1761test { try toAsciiFail("\xf3\xa0\x90\xb5\xe2\x80\x8c1..\xf3\xa0\x8e\x87", true); } // [V7, A4_2]
1762test { try toUnicodeFail("xn--1-bs31m..xn--tv36e"); } // [V7, X4_2]
1763test { try toAsciiFail("xn--1-bs31m..xn--tv36e", false); } // [V7, A4_2]
1764test { try toAsciiFail("xn--1-bs31m..xn--tv36e", true); } // [V7, A4_2]
1765test { try toUnicodeFail("xn--1-rgn37671n..xn--tv36e"); } // [C1, V7, X4_2]
1766test { try toAsciiFail("xn--1-rgn37671n..xn--tv36e", false); } // [C1, V7, A4_2]
1767test { try toAsciiFail("xn--1-rgn37671n..xn--tv36e", true); } // [C1, V7, A4_2]
1768test { try toUnicodeFail("xn--tshz2001k.xn--tv36e"); } // [V7]
1769test { try toAsciiFail("xn--tshz2001k.xn--tv36e", false); } // [V7]
1770test { try toAsciiFail("xn--tshz2001k.xn--tv36e", true); } // [V7]
1771test { try toUnicodeFail("xn--0ug88o47900b.xn--tv36e"); } // [C1, V7]
1772test { try toAsciiFail("xn--0ug88o47900b.xn--tv36e", false); } // [C1, V7]
1773test { try toAsciiFail("xn--0ug88o47900b.xn--tv36e", true); } // [C1, V7]
1774test { try toUnicodeFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2\xc3\x9f\xe3\x80\x82\xf3\x8c\x93\xa7"); } // [V7]
1775test { try toAsciiFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2\xc3\x9f\xe3\x80\x82\xf3\x8c\x93\xa7", false); } // [V7]
1776test { try toAsciiFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2\xc3\x9f\xe3\x80\x82\xf3\x8c\x93\xa7", true); } // [V7]
1777test { try toUnicodeFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2SS\xe3\x80\x82\xf3\x8c\x93\xa7"); } // [V7]
1778test { try toAsciiFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2SS\xe3\x80\x82\xf3\x8c\x93\xa7", false); } // [V7]
1779test { try toAsciiFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2SS\xe3\x80\x82\xf3\x8c\x93\xa7", true); } // [V7]
1780test { try toUnicodeFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2ss\xe3\x80\x82\xf3\x8c\x93\xa7"); } // [V7]
1781test { try toAsciiFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2ss\xe3\x80\x82\xf3\x8c\x93\xa7", false); } // [V7]
1782test { try toAsciiFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2ss\xe3\x80\x82\xf3\x8c\x93\xa7", true); } // [V7]
1783test { try toUnicodeFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2Ss\xe3\x80\x82\xf3\x8c\x93\xa7"); } // [V7]
1784test { try toAsciiFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2Ss\xe3\x80\x82\xf3\x8c\x93\xa7", false); } // [V7]
1785test { try toAsciiFail("\xf3\x9f\x88\xa3\xd9\x9f\xea\xaa\xb2Ss\xe3\x80\x82\xf3\x8c\x93\xa7", true); } // [V7]
1786test { try toUnicodeFail("xn--ss-3xd2839nncy1m.xn--bb79d"); } // [V7]
1787test { try toAsciiFail("xn--ss-3xd2839nncy1m.xn--bb79d", false); } // [V7]
1788test { try toAsciiFail("xn--ss-3xd2839nncy1m.xn--bb79d", true); } // [V7]
1789test { try toUnicodeFail("xn--zca92z0t7n5w96j.xn--bb79d"); } // [V7]
1790test { try toAsciiFail("xn--zca92z0t7n5w96j.xn--bb79d", false); } // [V7]
1791test { try toAsciiFail("xn--zca92z0t7n5w96j.xn--bb79d", true); } // [V7]
1792test { try toUnicodeFail("\xdd\xb4\xe2\x80\x8c\xf0\x9e\xa4\xbf\xe3\x80\x82\xf0\xbd\x98\x90\xe4\x89\x9c\xe2\x80\x8d\xf1\xbf\xa4\xbc"); } // [C1, C2, V7]
1793test { try toAsciiFail("\xdd\xb4\xe2\x80\x8c\xf0\x9e\xa4\xbf\xe3\x80\x82\xf0\xbd\x98\x90\xe4\x89\x9c\xe2\x80\x8d\xf1\xbf\xa4\xbc", false); } // [C1, C2, V7]
1794test { try toAsciiFail("\xdd\xb4\xe2\x80\x8c\xf0\x9e\xa4\xbf\xe3\x80\x82\xf0\xbd\x98\x90\xe4\x89\x9c\xe2\x80\x8d\xf1\xbf\xa4\xbc", true); } // [V7]
1795test { try toUnicodeFail("\xdd\xb4\xe2\x80\x8c\xf0\x9e\xa4\x9d\xe3\x80\x82\xf0\xbd\x98\x90\xe4\x89\x9c\xe2\x80\x8d\xf1\xbf\xa4\xbc"); } // [C1, C2, V7]
1796test { try toAsciiFail("\xdd\xb4\xe2\x80\x8c\xf0\x9e\xa4\x9d\xe3\x80\x82\xf0\xbd\x98\x90\xe4\x89\x9c\xe2\x80\x8d\xf1\xbf\xa4\xbc", false); } // [C1, C2, V7]
1797test { try toAsciiFail("\xdd\xb4\xe2\x80\x8c\xf0\x9e\xa4\x9d\xe3\x80\x82\xf0\xbd\x98\x90\xe4\x89\x9c\xe2\x80\x8d\xf1\xbf\xa4\xbc", true); } // [V7]
1798test { try toUnicodeFail("xn--4pb2977v.xn--z0nt555ukbnv"); } // [V7]
1799test { try toAsciiFail("xn--4pb2977v.xn--z0nt555ukbnv", false); } // [V7]
1800test { try toAsciiFail("xn--4pb2977v.xn--z0nt555ukbnv", true); } // [V7]
1801test { try toUnicodeFail("xn--4pb607jjt73a.xn--1ug236ke314donv1a"); } // [C1, C2, V7]
1802test { try toAsciiFail("xn--4pb607jjt73a.xn--1ug236ke314donv1a", false); } // [C1, C2, V7]
1803test { try toAsciiFail("xn--4pb607jjt73a.xn--1ug236ke314donv1a", true); } // [C1, C2, V7]
1804test { try toUnicodeFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb1\xe2\x92\x88.\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7]
1805test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb1\xe2\x92\x88.\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7]
1806test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb1\xe2\x92\x88.\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7]
1807test { try toUnicodeFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb1\xe2\x92\x88.<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7]
1808test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb1\xe2\x92\x88.<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7]
1809test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb1\xe2\x92\x88.<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7]
1810test { try toUnicodeFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb11..\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7, X4_2]
1811test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb11..\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7, A4_2]
1812test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb11..\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7, A4_2]
1813test { try toUnicodeFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb11..<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7, X4_2]
1814test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb11..<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7, A4_2]
1815test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x82\xe1\xa1\xb11..<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7, A4_2]
1816test { try toUnicodeFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb11..<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7, X4_2]
1817test { try toAsciiFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb11..<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7, A4_2]
1818test { try toAsciiFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb11..<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7, A4_2]
1819test { try toUnicodeFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb11..\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7, X4_2]
1820test { try toAsciiFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb11..\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7, A4_2]
1821test { try toAsciiFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb11..\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7, A4_2]
1822test { try toUnicodeFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb11..\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7, X4_2]
1823test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb11..\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7, A4_2]
1824test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb11..\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7, A4_2]
1825test { try toUnicodeFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb11..<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7, X4_2]
1826test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb11..<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7, A4_2]
1827test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb11..<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7, A4_2]
1828test { try toUnicodeFail("xn--1-zmb699meq63t..xn--gdh5392g6sd"); } // [B1, V7, X4_2]
1829test { try toAsciiFail("xn--1-zmb699meq63t..xn--gdh5392g6sd", false); } // [B1, V7, A4_2]
1830test { try toAsciiFail("xn--1-zmb699meq63t..xn--gdh5392g6sd", true); } // [B1, V7, A4_2]
1831test { try toUnicodeFail("xn--1-zmb699meq63t..xn--1ug85gn777ahze"); } // [B1, V7, X4_2]
1832test { try toAsciiFail("xn--1-zmb699meq63t..xn--1ug85gn777ahze", false); } // [B1, V7, A4_2]
1833test { try toAsciiFail("xn--1-zmb699meq63t..xn--1ug85gn777ahze", true); } // [B1, V7, A4_2]
1834test { try toUnicodeFail("xn--1-xmb999meq63t..xn--1ug85gn777ahze"); } // [B1, V7, X4_2]
1835test { try toAsciiFail("xn--1-xmb999meq63t..xn--1ug85gn777ahze", false); } // [B1, V7, A4_2]
1836test { try toAsciiFail("xn--1-xmb999meq63t..xn--1ug85gn777ahze", true); } // [B1, V7, A4_2]
1837test { try toUnicodeFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb1\xe2\x92\x88.<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7]
1838test { try toAsciiFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb1\xe2\x92\x88.<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7]
1839test { try toAsciiFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb1\xe2\x92\x88.<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7]
1840test { try toUnicodeFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb1\xe2\x92\x88.\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7]
1841test { try toAsciiFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb1\xe2\x92\x88.\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7]
1842test { try toAsciiFail("\xf2\x94\xad\x9c\xce\xa3\xe1\xa1\xb1\xe2\x92\x88.\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7]
1843test { try toUnicodeFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb1\xe2\x92\x88.\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7]
1844test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb1\xe2\x92\x88.\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7]
1845test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb1\xe2\x92\x88.\xe2\x89\xae\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7]
1846test { try toUnicodeFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb1\xe2\x92\x88.<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d"); } // [B1, V7]
1847test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb1\xe2\x92\x88.<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", false); } // [B1, V7]
1848test { try toAsciiFail("\xf2\x94\xad\x9c\xcf\x83\xe1\xa1\xb1\xe2\x92\x88.<\xcc\xb8\xf0\x91\x84\xb3\xe2\x80\x8d\xf0\x90\xae\x8d", true); } // [B1, V7]
1849test { try toUnicodeFail("xn--4xa207hkzinr77u.xn--gdh5392g6sd"); } // [B1, V7]
1850test { try toAsciiFail("xn--4xa207hkzinr77u.xn--gdh5392g6sd", false); } // [B1, V7]
1851test { try toAsciiFail("xn--4xa207hkzinr77u.xn--gdh5392g6sd", true); } // [B1, V7]
1852test { try toUnicodeFail("xn--4xa207hkzinr77u.xn--1ug85gn777ahze"); } // [B1, V7]
1853test { try toAsciiFail("xn--4xa207hkzinr77u.xn--1ug85gn777ahze", false); } // [B1, V7]
1854test { try toAsciiFail("xn--4xa207hkzinr77u.xn--1ug85gn777ahze", true); } // [B1, V7]
1855test { try toUnicodeFail("xn--3xa407hkzinr77u.xn--1ug85gn777ahze"); } // [B1, V7]
1856test { try toAsciiFail("xn--3xa407hkzinr77u.xn--1ug85gn777ahze", false); } // [B1, V7]
1857test { try toAsciiFail("xn--3xa407hkzinr77u.xn--1ug85gn777ahze", true); } // [B1, V7]
1858test { try toUnicodeFail("\xe3\x85\xa4\xe0\xa5\x8d\xe1\x82\xa0\xe1\x9f\x90.\xe1\xa0\x8b"); } // [V6]
1859test { try toAsciiFail("\xe3\x85\xa4\xe0\xa5\x8d\xe1\x82\xa0\xe1\x9f\x90.\xe1\xa0\x8b", false); } // [V6, A4_2]
1860test { try toAsciiFail("\xe3\x85\xa4\xe0\xa5\x8d\xe1\x82\xa0\xe1\x9f\x90.\xe1\xa0\x8b", true); } // [V6, A4_2]
1861test { try toUnicodeFail("\xe1\x85\xa0\xe0\xa5\x8d\xe1\x82\xa0\xe1\x9f\x90.\xe1\xa0\x8b"); } // [V6]
1862test { try toAsciiFail("\xe1\x85\xa0\xe0\xa5\x8d\xe1\x82\xa0\xe1\x9f\x90.\xe1\xa0\x8b", false); } // [V6, A4_2]
1863test { try toAsciiFail("\xe1\x85\xa0\xe0\xa5\x8d\xe1\x82\xa0\xe1\x9f\x90.\xe1\xa0\x8b", true); } // [V6, A4_2]
1864test { try toUnicodeFail("\xe1\x85\xa0\xe0\xa5\x8d\xe2\xb4\x80\xe1\x9f\x90.\xe1\xa0\x8b"); } // [V6]
1865test { try toAsciiFail("\xe1\x85\xa0\xe0\xa5\x8d\xe2\xb4\x80\xe1\x9f\x90.\xe1\xa0\x8b", false); } // [V6, A4_2]
1866test { try toAsciiFail("\xe1\x85\xa0\xe0\xa5\x8d\xe2\xb4\x80\xe1\x9f\x90.\xe1\xa0\x8b", true); } // [V6, A4_2]
1867test { try toUnicodeFail("xn--n3b445e53p."); } // [V6]
1868test { try toAsciiFail("xn--n3b445e53p.", false); } // [V6, A4_2]
1869test { try toAsciiFail("xn--n3b445e53p.", true); } // [V6, A4_2]
1870test { try toUnicodeFail("\xe3\x85\xa4\xe0\xa5\x8d\xe2\xb4\x80\xe1\x9f\x90.\xe1\xa0\x8b"); } // [V6]
1871test { try toAsciiFail("\xe3\x85\xa4\xe0\xa5\x8d\xe2\xb4\x80\xe1\x9f\x90.\xe1\xa0\x8b", false); } // [V6, A4_2]
1872test { try toAsciiFail("\xe3\x85\xa4\xe0\xa5\x8d\xe2\xb4\x80\xe1\x9f\x90.\xe1\xa0\x8b", true); } // [V6, A4_2]
1873test { try toUnicodeFail("xn--n3b742bkqf4ty."); } // [V7]
1874test { try toAsciiFail("xn--n3b742bkqf4ty.", false); } // [V7, A4_2]
1875test { try toAsciiFail("xn--n3b742bkqf4ty.", true); } // [V7, A4_2]
1876test { try toUnicodeFail("xn--n3b468aoqa89r."); } // [V7]
1877test { try toAsciiFail("xn--n3b468aoqa89r.", false); } // [V7, A4_2]
1878test { try toAsciiFail("xn--n3b468aoqa89r.", true); } // [V7, A4_2]
1879test { try toUnicodeFail("xn--n3b445e53po6d."); } // [V7]
1880test { try toAsciiFail("xn--n3b445e53po6d.", false); } // [V7, A4_2]
1881test { try toAsciiFail("xn--n3b445e53po6d.", true); } // [V7, A4_2]
1882test { try toUnicodeFail("xn--n3b468azngju2a."); } // [V7]
1883test { try toAsciiFail("xn--n3b468azngju2a.", false); } // [V7, A4_2]
1884test { try toAsciiFail("xn--n3b468azngju2a.", true); } // [V7, A4_2]
1885test { try toUnicodeFail("\xe2\x9d\xa3\xe2\x80\x8d\xef\xbc\x8e\xe0\xa7\x8d\xf0\x91\xb0\xbd\xd8\x92\xea\xa4\xa9"); } // [C2, V6]
1886test { try toAsciiFail("\xe2\x9d\xa3\xe2\x80\x8d\xef\xbc\x8e\xe0\xa7\x8d\xf0\x91\xb0\xbd\xd8\x92\xea\xa4\xa9", false); } // [C2, V6]
1887test { try toAsciiFail("\xe2\x9d\xa3\xe2\x80\x8d\xef\xbc\x8e\xe0\xa7\x8d\xf0\x91\xb0\xbd\xd8\x92\xea\xa4\xa9", true); } // [V6]
1888test { try toUnicodeFail("\xe2\x9d\xa3\xe2\x80\x8d.\xe0\xa7\x8d\xf0\x91\xb0\xbd\xd8\x92\xea\xa4\xa9"); } // [C2, V6]
1889test { try toAsciiFail("\xe2\x9d\xa3\xe2\x80\x8d.\xe0\xa7\x8d\xf0\x91\xb0\xbd\xd8\x92\xea\xa4\xa9", false); } // [C2, V6]
1890test { try toAsciiFail("\xe2\x9d\xa3\xe2\x80\x8d.\xe0\xa7\x8d\xf0\x91\xb0\xbd\xd8\x92\xea\xa4\xa9", true); } // [V6]
1891test { try toUnicodeFail("xn--pei.xn--0fb32q3w7q2g4d"); } // [V6]
1892test { try toAsciiFail("xn--pei.xn--0fb32q3w7q2g4d", false); } // [V6]
1893test { try toAsciiFail("xn--pei.xn--0fb32q3w7q2g4d", true); } // [V6]
1894test { try toUnicodeFail("xn--1ugy10a.xn--0fb32q3w7q2g4d"); } // [C2, V6]
1895test { try toAsciiFail("xn--1ugy10a.xn--0fb32q3w7q2g4d", false); } // [C2, V6]
1896test { try toAsciiFail("xn--1ugy10a.xn--0fb32q3w7q2g4d", true); } // [C2, V6]
1897test { try toUnicodeFail("\xe2\x89\xae\xf0\x90\xb3\xba\xf0\x90\xb9\x84.\xe2\x89\xaf\xf1\xaa\xae\xb8\xea\xa1\x85"); } // [B1, V7]
1898test { try toAsciiFail("\xe2\x89\xae\xf0\x90\xb3\xba\xf0\x90\xb9\x84.\xe2\x89\xaf\xf1\xaa\xae\xb8\xea\xa1\x85", false); } // [B1, V7]
1899test { try toAsciiFail("\xe2\x89\xae\xf0\x90\xb3\xba\xf0\x90\xb9\x84.\xe2\x89\xaf\xf1\xaa\xae\xb8\xea\xa1\x85", true); } // [B1, V7]
1900test { try toUnicodeFail("<\xcc\xb8\xf0\x90\xb3\xba\xf0\x90\xb9\x84.>\xcc\xb8\xf1\xaa\xae\xb8\xea\xa1\x85"); } // [B1, V7]
1901test { try toAsciiFail("<\xcc\xb8\xf0\x90\xb3\xba\xf0\x90\xb9\x84.>\xcc\xb8\xf1\xaa\xae\xb8\xea\xa1\x85", false); } // [B1, V7]
1902test { try toAsciiFail("<\xcc\xb8\xf0\x90\xb3\xba\xf0\x90\xb9\x84.>\xcc\xb8\xf1\xaa\xae\xb8\xea\xa1\x85", true); } // [B1, V7]
1903test { try toUnicodeFail("xn--gdh7943gk2a.xn--hdh1383c5e36c"); } // [B1, V7]
1904test { try toAsciiFail("xn--gdh7943gk2a.xn--hdh1383c5e36c", false); } // [B1, V7]
1905test { try toAsciiFail("xn--gdh7943gk2a.xn--hdh1383c5e36c", true); } // [B1, V7]
1906test { try toUnicodeFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb3\x8f\xf3\xa0\xb2\xba\xef\xbd\xa1\xe0\xb3\x8d\xe1\xa0\xa6"); } // [B1, V6, V7]
1907test { try toAsciiFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb3\x8f\xf3\xa0\xb2\xba\xef\xbd\xa1\xe0\xb3\x8d\xe1\xa0\xa6", false); } // [B1, V6, V7]
1908test { try toAsciiFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb3\x8f\xf3\xa0\xb2\xba\xef\xbd\xa1\xe0\xb3\x8d\xe1\xa0\xa6", true); } // [B1, V6, V7]
1909test { try toUnicodeFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb3\x8f\xf3\xa0\xb2\xba\xe3\x80\x82\xe0\xb3\x8d\xe1\xa0\xa6"); } // [B1, V6, V7]
1910test { try toAsciiFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb3\x8f\xf3\xa0\xb2\xba\xe3\x80\x82\xe0\xb3\x8d\xe1\xa0\xa6", false); } // [B1, V6, V7]
1911test { try toAsciiFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb3\x8f\xf3\xa0\xb2\xba\xe3\x80\x82\xe0\xb3\x8d\xe1\xa0\xa6", true); } // [B1, V6, V7]
1912test { try toUnicodeFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb2\x8f\xf3\xa0\xb2\xba\xe3\x80\x82\xe0\xb3\x8d\xe1\xa0\xa6"); } // [B1, V6, V7]
1913test { try toAsciiFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb2\x8f\xf3\xa0\xb2\xba\xe3\x80\x82\xe0\xb3\x8d\xe1\xa0\xa6", false); } // [B1, V6, V7]
1914test { try toAsciiFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb2\x8f\xf3\xa0\xb2\xba\xe3\x80\x82\xe0\xb3\x8d\xe1\xa0\xa6", true); } // [B1, V6, V7]
1915test { try toUnicodeFail("xn--7tc6360ky5bn2732c.xn--8tc429c"); } // [B1, V6, V7]
1916test { try toAsciiFail("xn--7tc6360ky5bn2732c.xn--8tc429c", false); } // [B1, V6, V7]
1917test { try toAsciiFail("xn--7tc6360ky5bn2732c.xn--8tc429c", true); } // [B1, V6, V7]
1918test { try toUnicodeFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb2\x8f\xf3\xa0\xb2\xba\xef\xbd\xa1\xe0\xb3\x8d\xe1\xa0\xa6"); } // [B1, V6, V7]
1919test { try toAsciiFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb2\x8f\xf3\xa0\xb2\xba\xef\xbd\xa1\xe0\xb3\x8d\xe1\xa0\xa6", false); } // [B1, V6, V7]
1920test { try toAsciiFail("\xe0\xb3\x8c\xf0\x90\xa7\x85\xf0\x90\xb2\x8f\xf3\xa0\xb2\xba\xef\xbd\xa1\xe0\xb3\x8d\xe1\xa0\xa6", true); } // [B1, V6, V7]
1921test { try toUnicodeFail("\xcd\x89\xe3\x80\x82\xf0\xa7\xa1\xab"); } // [V6]
1922test { try toAsciiFail("\xcd\x89\xe3\x80\x82\xf0\xa7\xa1\xab", false); } // [V6]
1923test { try toAsciiFail("\xcd\x89\xe3\x80\x82\xf0\xa7\xa1\xab", true); } // [V6]
1924test { try toUnicodeFail("xn--nua.xn--bc6k"); } // [V6]
1925test { try toAsciiFail("xn--nua.xn--bc6k", false); } // [V6]
1926test { try toAsciiFail("xn--nua.xn--bc6k", true); } // [V6]
1927test { try toUnicodeFail("\xf0\x91\xb0\xbf\xf3\xa0\x85\xa6\xef\xbc\x8e\xe1\x85\xa0"); } // [V6]
1928test { try toAsciiFail("\xf0\x91\xb0\xbf\xf3\xa0\x85\xa6\xef\xbc\x8e\xe1\x85\xa0", false); } // [V6, A4_2]
1929test { try toAsciiFail("\xf0\x91\xb0\xbf\xf3\xa0\x85\xa6\xef\xbc\x8e\xe1\x85\xa0", true); } // [V6, A4_2]
1930test { try toUnicodeFail("\xf0\x91\xb0\xbf\xf3\xa0\x85\xa6.\xe1\x85\xa0"); } // [V6]
1931test { try toAsciiFail("\xf0\x91\xb0\xbf\xf3\xa0\x85\xa6.\xe1\x85\xa0", false); } // [V6, A4_2]
1932test { try toAsciiFail("\xf0\x91\xb0\xbf\xf3\xa0\x85\xa6.\xe1\x85\xa0", true); } // [V6, A4_2]
1933test { try toUnicodeFail("xn--ok3d."); } // [V6]
1934test { try toAsciiFail("xn--ok3d.", false); } // [V6, A4_2]
1935test { try toAsciiFail("xn--ok3d.", true); } // [V6, A4_2]
1936test { try toUnicodeFail("xn--ok3d.xn--psd"); } // [V6, V7]
1937test { try toAsciiFail("xn--ok3d.xn--psd", false); } // [V6, V7]
1938test { try toAsciiFail("xn--ok3d.xn--psd", true); } // [V6, V7]
1939test { try toUnicodeFail("-\xf0\x9e\xa4\x86\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xbc\x84\xf0\x9e\xb3\x92"); } // [B1, B5, B6, C2, V3, V7]
1940test { try toAsciiFail("-\xf0\x9e\xa4\x86\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xbc\x84\xf0\x9e\xb3\x92", false); } // [B1, B5, B6, C2, V3, V7]
1941test { try toAsciiFail("-\xf0\x9e\xa4\x86\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xbc\x84\xf0\x9e\xb3\x92", true); } // [B1, B5, B6, V3, V7]
1942test { try toUnicodeFail("-\xf0\x9e\xa4\xa8\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xbc\x84\xf0\x9e\xb3\x92"); } // [B1, B5, B6, C2, V3, V7]
1943test { try toAsciiFail("-\xf0\x9e\xa4\xa8\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xbc\x84\xf0\x9e\xb3\x92", false); } // [B1, B5, B6, C2, V3, V7]
1944test { try toAsciiFail("-\xf0\x9e\xa4\xa8\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xbc\x84\xf0\x9e\xb3\x92", true); } // [B1, B5, B6, V3, V7]
1945test { try toUnicodeFail("xn----ni8r.xn--846h96596c"); } // [B1, B5, B6, V3, V7]
1946test { try toAsciiFail("xn----ni8r.xn--846h96596c", false); } // [B1, B5, B6, V3, V7]
1947test { try toAsciiFail("xn----ni8r.xn--846h96596c", true); } // [B1, B5, B6, V3, V7]
1948test { try toUnicodeFail("xn----ugnx367r.xn--846h96596c"); } // [B1, B5, B6, C2, V3, V7]
1949test { try toAsciiFail("xn----ugnx367r.xn--846h96596c", false); } // [B1, B5, B6, C2, V3, V7]
1950test { try toAsciiFail("xn----ugnx367r.xn--846h96596c", true); } // [B1, B5, B6, C2, V3, V7]
1951test { try toUnicodeFail("\xea\xa1\x8f\xf3\xa0\x87\xb6\xe2\x89\xaf\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe2\xbe\x87\xe6\xbb\xb8\xf0\x90\xb9\xb0"); } // [B1, V6, V7]
1952test { try toAsciiFail("\xea\xa1\x8f\xf3\xa0\x87\xb6\xe2\x89\xaf\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe2\xbe\x87\xe6\xbb\xb8\xf0\x90\xb9\xb0", false); } // [B1, V6, V7]
1953test { try toAsciiFail("\xea\xa1\x8f\xf3\xa0\x87\xb6\xe2\x89\xaf\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe2\xbe\x87\xe6\xbb\xb8\xf0\x90\xb9\xb0", true); } // [B1, V6, V7]
1954test { try toUnicodeFail("\xea\xa1\x8f\xf3\xa0\x87\xb6>\xcc\xb8\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe2\xbe\x87\xe6\xbb\xb8\xf0\x90\xb9\xb0"); } // [B1, V6, V7]
1955test { try toAsciiFail("\xea\xa1\x8f\xf3\xa0\x87\xb6>\xcc\xb8\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe2\xbe\x87\xe6\xbb\xb8\xf0\x90\xb9\xb0", false); } // [B1, V6, V7]
1956test { try toAsciiFail("\xea\xa1\x8f\xf3\xa0\x87\xb6>\xcc\xb8\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe2\xbe\x87\xe6\xbb\xb8\xf0\x90\xb9\xb0", true); } // [B1, V6, V7]
1957test { try toUnicodeFail("\xea\xa1\x8f\xf3\xa0\x87\xb6\xe2\x89\xaf\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe8\x88\x9b\xe6\xbb\xb8\xf0\x90\xb9\xb0"); } // [B1, V6, V7]
1958test { try toAsciiFail("\xea\xa1\x8f\xf3\xa0\x87\xb6\xe2\x89\xaf\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe8\x88\x9b\xe6\xbb\xb8\xf0\x90\xb9\xb0", false); } // [B1, V6, V7]
1959test { try toAsciiFail("\xea\xa1\x8f\xf3\xa0\x87\xb6\xe2\x89\xaf\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe8\x88\x9b\xe6\xbb\xb8\xf0\x90\xb9\xb0", true); } // [B1, V6, V7]
1960test { try toUnicodeFail("\xea\xa1\x8f\xf3\xa0\x87\xb6>\xcc\xb8\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe8\x88\x9b\xe6\xbb\xb8\xf0\x90\xb9\xb0"); } // [B1, V6, V7]
1961test { try toAsciiFail("\xea\xa1\x8f\xf3\xa0\x87\xb6>\xcc\xb8\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe8\x88\x9b\xe6\xbb\xb8\xf0\x90\xb9\xb0", false); } // [B1, V6, V7]
1962test { try toAsciiFail("\xea\xa1\x8f\xf3\xa0\x87\xb6>\xcc\xb8\xf0\xb3\xbe\xbd\xe3\x80\x82\xe1\xb7\xbd\xe8\x88\x9b\xe6\xbb\xb8\xf0\x90\xb9\xb0", true); } // [B1, V6, V7]
1963test { try toUnicodeFail("xn--hdh7483cu6twwki8e.xn--yfg0765a58l0n6k"); } // [B1, V6, V7]
1964test { try toAsciiFail("xn--hdh7483cu6twwki8e.xn--yfg0765a58l0n6k", false); } // [B1, V6, V7]
1965test { try toAsciiFail("xn--hdh7483cu6twwki8e.xn--yfg0765a58l0n6k", true); } // [B1, V6, V7]
1966test { try toUnicodeFail("\xe8\x94\x8f\xef\xbd\xa1\xf0\x91\xb0\xba"); } // [V6]
1967test { try toAsciiFail("\xe8\x94\x8f\xef\xbd\xa1\xf0\x91\xb0\xba", false); } // [V6]
1968test { try toAsciiFail("\xe8\x94\x8f\xef\xbd\xa1\xf0\x91\xb0\xba", true); } // [V6]
1969test { try toUnicodeFail("\xe8\x94\x8f\xe3\x80\x82\xf0\x91\xb0\xba"); } // [V6]
1970test { try toAsciiFail("\xe8\x94\x8f\xe3\x80\x82\xf0\x91\xb0\xba", false); } // [V6]
1971test { try toAsciiFail("\xe8\x94\x8f\xe3\x80\x82\xf0\x91\xb0\xba", true); } // [V6]
1972test { try toUnicodeFail("xn--uy1a.xn--jk3d"); } // [V6]
1973test { try toAsciiFail("xn--uy1a.xn--jk3d", false); } // [V6]
1974test { try toAsciiFail("xn--uy1a.xn--jk3d", true); } // [V6]
1975test { try toUnicodeFail("\xf0\x9d\x9f\xbf\xf0\x90\xae\x8b\xe3\x80\x82\xf3\xa0\x84\x8a"); } // [B1]
1976test { try toAsciiFail("\xf0\x9d\x9f\xbf\xf0\x90\xae\x8b\xe3\x80\x82\xf3\xa0\x84\x8a", false); } // [B1, A4_2]
1977test { try toAsciiFail("\xf0\x9d\x9f\xbf\xf0\x90\xae\x8b\xe3\x80\x82\xf3\xa0\x84\x8a", true); } // [B1, A4_2]
1978test { try toUnicodeFail("9\xf0\x90\xae\x8b\xe3\x80\x82\xf3\xa0\x84\x8a"); } // [B1]
1979test { try toAsciiFail("9\xf0\x90\xae\x8b\xe3\x80\x82\xf3\xa0\x84\x8a", false); } // [B1, A4_2]
1980test { try toAsciiFail("9\xf0\x90\xae\x8b\xe3\x80\x82\xf3\xa0\x84\x8a", true); } // [B1, A4_2]
1981test { try toUnicodeFail("xn--9-rv5i."); } // [B1]
1982test { try toAsciiFail("xn--9-rv5i.", false); } // [B1, A4_2]
1983test { try toAsciiFail("xn--9-rv5i.", true); } // [B1, A4_2]
1984test { try toUnicodeFail("\xf3\x9f\x87\x87-\xe4\x9f\x96F\xe3\x80\x82\xdf\x8b\xe2\x92\x88\xd9\xa2"); } // [B4, V7]
1985test { try toAsciiFail("\xf3\x9f\x87\x87-\xe4\x9f\x96F\xe3\x80\x82\xdf\x8b\xe2\x92\x88\xd9\xa2", false); } // [B4, V7]
1986test { try toAsciiFail("\xf3\x9f\x87\x87-\xe4\x9f\x96F\xe3\x80\x82\xdf\x8b\xe2\x92\x88\xd9\xa2", true); } // [B4, V7]
1987test { try toUnicodeFail("\xf3\x9f\x87\x87-\xe4\x9f\x96F\xe3\x80\x82\xdf\x8b1.\xd9\xa2"); } // [B1, V7]
1988test { try toAsciiFail("\xf3\x9f\x87\x87-\xe4\x9f\x96F\xe3\x80\x82\xdf\x8b1.\xd9\xa2", false); } // [B1, V7]
1989test { try toAsciiFail("\xf3\x9f\x87\x87-\xe4\x9f\x96F\xe3\x80\x82\xdf\x8b1.\xd9\xa2", true); } // [B1, V7]
1990test { try toUnicodeFail("\xf3\x9f\x87\x87-\xe4\x9f\x96f\xe3\x80\x82\xdf\x8b1.\xd9\xa2"); } // [B1, V7]
1991test { try toAsciiFail("\xf3\x9f\x87\x87-\xe4\x9f\x96f\xe3\x80\x82\xdf\x8b1.\xd9\xa2", false); } // [B1, V7]
1992test { try toAsciiFail("\xf3\x9f\x87\x87-\xe4\x9f\x96f\xe3\x80\x82\xdf\x8b1.\xd9\xa2", true); } // [B1, V7]
1993test { try toUnicodeFail("xn---f-mz8b08788k.xn--1-ybd.xn--bib"); } // [B1, V7]
1994test { try toAsciiFail("xn---f-mz8b08788k.xn--1-ybd.xn--bib", false); } // [B1, V7]
1995test { try toAsciiFail("xn---f-mz8b08788k.xn--1-ybd.xn--bib", true); } // [B1, V7]
1996test { try toUnicodeFail("\xf3\x9f\x87\x87-\xe4\x9f\x96f\xe3\x80\x82\xdf\x8b\xe2\x92\x88\xd9\xa2"); } // [B4, V7]
1997test { try toAsciiFail("\xf3\x9f\x87\x87-\xe4\x9f\x96f\xe3\x80\x82\xdf\x8b\xe2\x92\x88\xd9\xa2", false); } // [B4, V7]
1998test { try toAsciiFail("\xf3\x9f\x87\x87-\xe4\x9f\x96f\xe3\x80\x82\xdf\x8b\xe2\x92\x88\xd9\xa2", true); } // [B4, V7]
1999test { try toUnicodeFail("xn---f-mz8b08788k.xn--bib53ev44d"); } // [B4, V7]
2000test { try toAsciiFail("xn---f-mz8b08788k.xn--bib53ev44d", false); } // [B4, V7]
2001test { try toAsciiFail("xn---f-mz8b08788k.xn--bib53ev44d", true); } // [B4, V7]
2002test { try toUnicodeFail("\xe2\x80\x8c\xef\xbd\xa1\xf0\x90\xb9\xba"); } // [B1, C1]
2003test { try toAsciiFail("\xe2\x80\x8c\xef\xbd\xa1\xf0\x90\xb9\xba", false); } // [B1, C1]
2004test { try toAsciiFail("\xe2\x80\x8c\xef\xbd\xa1\xf0\x90\xb9\xba", true); } // [B1, A4_2]
2005test { try toUnicodeFail("\xe2\x80\x8c\xe3\x80\x82\xf0\x90\xb9\xba"); } // [B1, C1]
2006test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xf0\x90\xb9\xba", false); } // [B1, C1]
2007test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xf0\x90\xb9\xba", true); } // [B1, A4_2]
2008test { try toUnicodeFail(".xn--yo0d"); } // [B1, X4_2]
2009test { try toAsciiFail(".xn--yo0d", false); } // [B1, A4_2]
2010test { try toAsciiFail(".xn--yo0d", true); } // [B1, A4_2]
2011test { try toUnicodeFail("xn--0ug.xn--yo0d"); } // [B1, C1]
2012test { try toAsciiFail("xn--0ug.xn--yo0d", false); } // [B1, C1]
2013test { try toAsciiFail("xn--0ug.xn--yo0d", true); } // [B1, C1]
2014test { try toUnicodeFail("\xf0\x90\xa1\x86.\xe2\x89\xaf\xe2\x80\x8c-\xf0\x9e\xa5\x80"); } // [B1, C1]
2015test { try toAsciiFail("\xf0\x90\xa1\x86.\xe2\x89\xaf\xe2\x80\x8c-\xf0\x9e\xa5\x80", false); } // [B1, C1]
2016test { try toAsciiFail("\xf0\x90\xa1\x86.\xe2\x89\xaf\xe2\x80\x8c-\xf0\x9e\xa5\x80", true); } // [B1]
2017test { try toUnicodeFail("\xf0\x90\xa1\x86.>\xcc\xb8\xe2\x80\x8c-\xf0\x9e\xa5\x80"); } // [B1, C1]
2018test { try toAsciiFail("\xf0\x90\xa1\x86.>\xcc\xb8\xe2\x80\x8c-\xf0\x9e\xa5\x80", false); } // [B1, C1]
2019test { try toAsciiFail("\xf0\x90\xa1\x86.>\xcc\xb8\xe2\x80\x8c-\xf0\x9e\xa5\x80", true); } // [B1]
2020test { try toUnicodeFail("\xf0\x90\xa1\x86.>\xcc\xb8\xe2\x80\x8c-\xf0\x9e\xa4\x9e"); } // [B1, C1]
2021test { try toAsciiFail("\xf0\x90\xa1\x86.>\xcc\xb8\xe2\x80\x8c-\xf0\x9e\xa4\x9e", false); } // [B1, C1]
2022test { try toAsciiFail("\xf0\x90\xa1\x86.>\xcc\xb8\xe2\x80\x8c-\xf0\x9e\xa4\x9e", true); } // [B1]
2023test { try toUnicodeFail("\xf0\x90\xa1\x86.\xe2\x89\xaf\xe2\x80\x8c-\xf0\x9e\xa4\x9e"); } // [B1, C1]
2024test { try toAsciiFail("\xf0\x90\xa1\x86.\xe2\x89\xaf\xe2\x80\x8c-\xf0\x9e\xa4\x9e", false); } // [B1, C1]
2025test { try toAsciiFail("\xf0\x90\xa1\x86.\xe2\x89\xaf\xe2\x80\x8c-\xf0\x9e\xa4\x9e", true); } // [B1]
2026test { try toUnicodeFail("xn--le9c.xn----ogo9956r"); } // [B1]
2027test { try toAsciiFail("xn--le9c.xn----ogo9956r", false); } // [B1]
2028test { try toAsciiFail("xn--le9c.xn----ogo9956r", true); } // [B1]
2029test { try toUnicodeFail("xn--le9c.xn----rgn40iy359e"); } // [B1, C1]
2030test { try toAsciiFail("xn--le9c.xn----rgn40iy359e", false); } // [B1, C1]
2031test { try toAsciiFail("xn--le9c.xn----rgn40iy359e", true); } // [B1, C1]
2032test { try toUnicodeFail("\xf3\xa0\x81\x80-\xe3\x80\x82\xe2\x89\xa0\xef\xb3\x97"); } // [B1, V3, V7]
2033test { try toAsciiFail("\xf3\xa0\x81\x80-\xe3\x80\x82\xe2\x89\xa0\xef\xb3\x97", false); } // [B1, V3, V7]
2034test { try toAsciiFail("\xf3\xa0\x81\x80-\xe3\x80\x82\xe2\x89\xa0\xef\xb3\x97", true); } // [B1, V3, V7]
2035test { try toUnicodeFail("\xf3\xa0\x81\x80-\xe3\x80\x82=\xcc\xb8\xef\xb3\x97"); } // [B1, V3, V7]
2036test { try toAsciiFail("\xf3\xa0\x81\x80-\xe3\x80\x82=\xcc\xb8\xef\xb3\x97", false); } // [B1, V3, V7]
2037test { try toAsciiFail("\xf3\xa0\x81\x80-\xe3\x80\x82=\xcc\xb8\xef\xb3\x97", true); } // [B1, V3, V7]
2038test { try toUnicodeFail("\xf3\xa0\x81\x80-\xe3\x80\x82\xe2\x89\xa0\xd9\x87\xd8\xac"); } // [B1, V3, V7]
2039test { try toAsciiFail("\xf3\xa0\x81\x80-\xe3\x80\x82\xe2\x89\xa0\xd9\x87\xd8\xac", false); } // [B1, V3, V7]
2040test { try toAsciiFail("\xf3\xa0\x81\x80-\xe3\x80\x82\xe2\x89\xa0\xd9\x87\xd8\xac", true); } // [B1, V3, V7]
2041test { try toUnicodeFail("\xf3\xa0\x81\x80-\xe3\x80\x82=\xcc\xb8\xd9\x87\xd8\xac"); } // [B1, V3, V7]
2042test { try toAsciiFail("\xf3\xa0\x81\x80-\xe3\x80\x82=\xcc\xb8\xd9\x87\xd8\xac", false); } // [B1, V3, V7]
2043test { try toAsciiFail("\xf3\xa0\x81\x80-\xe3\x80\x82=\xcc\xb8\xd9\x87\xd8\xac", true); } // [B1, V3, V7]
2044test { try toUnicodeFail("xn----f411m.xn--rgb7c611j"); } // [B1, V3, V7]
2045test { try toAsciiFail("xn----f411m.xn--rgb7c611j", false); } // [B1, V3, V7]
2046test { try toAsciiFail("xn----f411m.xn--rgb7c611j", true); } // [B1, V3, V7]
2047test { try toUnicodeFail("\xf1\xbb\xac\xb9\xf0\x91\x88\xb5\xe3\x80\x82\xe2\x80\x8d\xf0\x9e\xa8\xb6"); } // [B1, C2, V7]
2048test { try toAsciiFail("\xf1\xbb\xac\xb9\xf0\x91\x88\xb5\xe3\x80\x82\xe2\x80\x8d\xf0\x9e\xa8\xb6", false); } // [B1, C2, V7]
2049test { try toAsciiFail("\xf1\xbb\xac\xb9\xf0\x91\x88\xb5\xe3\x80\x82\xe2\x80\x8d\xf0\x9e\xa8\xb6", true); } // [V7]
2050test { try toUnicodeFail("xn--8g1d12120a.xn--5l6h"); } // [V7]
2051test { try toAsciiFail("xn--8g1d12120a.xn--5l6h", false); } // [V7]
2052test { try toAsciiFail("xn--8g1d12120a.xn--5l6h", true); } // [V7]
2053test { try toUnicodeFail("xn--8g1d12120a.xn--1ug6651p"); } // [B1, C2, V7]
2054test { try toAsciiFail("xn--8g1d12120a.xn--1ug6651p", false); } // [B1, C2, V7]
2055test { try toAsciiFail("xn--8g1d12120a.xn--1ug6651p", true); } // [B1, C2, V7]
2056test { try toUnicodeFail("\xf0\x91\x8b\xa7\xea\xa7\x802\xef\xbd\xa1\xe3\xa7\x89\xf2\x92\x96\x84"); } // [V6, V7]
2057test { try toAsciiFail("\xf0\x91\x8b\xa7\xea\xa7\x802\xef\xbd\xa1\xe3\xa7\x89\xf2\x92\x96\x84", false); } // [V6, V7]
2058test { try toAsciiFail("\xf0\x91\x8b\xa7\xea\xa7\x802\xef\xbd\xa1\xe3\xa7\x89\xf2\x92\x96\x84", true); } // [V6, V7]
2059test { try toUnicodeFail("\xf0\x91\x8b\xa7\xea\xa7\x802\xe3\x80\x82\xe3\xa7\x89\xf2\x92\x96\x84"); } // [V6, V7]
2060test { try toAsciiFail("\xf0\x91\x8b\xa7\xea\xa7\x802\xe3\x80\x82\xe3\xa7\x89\xf2\x92\x96\x84", false); } // [V6, V7]
2061test { try toAsciiFail("\xf0\x91\x8b\xa7\xea\xa7\x802\xe3\x80\x82\xe3\xa7\x89\xf2\x92\x96\x84", true); } // [V6, V7]
2062test { try toUnicodeFail("xn--2-5z4eu89y.xn--97l02706d"); } // [V6, V7]
2063test { try toAsciiFail("xn--2-5z4eu89y.xn--97l02706d", false); } // [V6, V7]
2064test { try toAsciiFail("xn--2-5z4eu89y.xn--97l02706d", true); } // [V6, V7]
2065test { try toUnicodeFail("\xe2\x80\x8c\xf0\xbd\xac\x84\xf0\x90\xb9\xb4\xf0\x9e\xa9\xa5\xe3\x80\x82\xe2\x89\xaf6"); } // [B1, C1, V7]
2066test { try toAsciiFail("\xe2\x80\x8c\xf0\xbd\xac\x84\xf0\x90\xb9\xb4\xf0\x9e\xa9\xa5\xe3\x80\x82\xe2\x89\xaf6", false); } // [B1, C1, V7]
2067test { try toAsciiFail("\xe2\x80\x8c\xf0\xbd\xac\x84\xf0\x90\xb9\xb4\xf0\x9e\xa9\xa5\xe3\x80\x82\xe2\x89\xaf6", true); } // [B1, B5, B6, V7]
2068test { try toUnicodeFail("\xe2\x80\x8c\xf0\xbd\xac\x84\xf0\x90\xb9\xb4\xf0\x9e\xa9\xa5\xe3\x80\x82>\xcc\xb86"); } // [B1, C1, V7]
2069test { try toAsciiFail("\xe2\x80\x8c\xf0\xbd\xac\x84\xf0\x90\xb9\xb4\xf0\x9e\xa9\xa5\xe3\x80\x82>\xcc\xb86", false); } // [B1, C1, V7]
2070test { try toAsciiFail("\xe2\x80\x8c\xf0\xbd\xac\x84\xf0\x90\xb9\xb4\xf0\x9e\xa9\xa5\xe3\x80\x82>\xcc\xb86", true); } // [B1, B5, B6, V7]
2071test { try toUnicodeFail("xn--so0du768aim9m.xn--6-ogo"); } // [B1, B5, B6, V7]
2072test { try toAsciiFail("xn--so0du768aim9m.xn--6-ogo", false); } // [B1, B5, B6, V7]
2073test { try toAsciiFail("xn--so0du768aim9m.xn--6-ogo", true); } // [B1, B5, B6, V7]
2074test { try toUnicodeFail("xn--0ug7105gf5wfxepq.xn--6-ogo"); } // [B1, C1, V7]
2075test { try toAsciiFail("xn--0ug7105gf5wfxepq.xn--6-ogo", false); } // [B1, C1, V7]
2076test { try toAsciiFail("xn--0ug7105gf5wfxepq.xn--6-ogo", true); } // [B1, C1, V7]
2077test { try toUnicodeFail("\xf0\x91\x81\xbf\xef\xbc\x8e\xf0\x90\xb9\xa6\xf0\xbb\x9e\xb5-\xe2\x80\x8d"); } // [B1, C2, V6, V7]
2078test { try toAsciiFail("\xf0\x91\x81\xbf\xef\xbc\x8e\xf0\x90\xb9\xa6\xf0\xbb\x9e\xb5-\xe2\x80\x8d", false); } // [B1, C2, V6, V7]
2079test { try toAsciiFail("\xf0\x91\x81\xbf\xef\xbc\x8e\xf0\x90\xb9\xa6\xf0\xbb\x9e\xb5-\xe2\x80\x8d", true); } // [B1, V3, V6, V7]
2080test { try toUnicodeFail("\xf0\x91\x81\xbf.\xf0\x90\xb9\xa6\xf0\xbb\x9e\xb5-\xe2\x80\x8d"); } // [B1, C2, V6, V7]
2081test { try toAsciiFail("\xf0\x91\x81\xbf.\xf0\x90\xb9\xa6\xf0\xbb\x9e\xb5-\xe2\x80\x8d", false); } // [B1, C2, V6, V7]
2082test { try toAsciiFail("\xf0\x91\x81\xbf.\xf0\x90\xb9\xa6\xf0\xbb\x9e\xb5-\xe2\x80\x8d", true); } // [B1, V3, V6, V7]
2083test { try toUnicodeFail("xn--q30d.xn----i26i1299n"); } // [B1, V3, V6, V7]
2084test { try toAsciiFail("xn--q30d.xn----i26i1299n", false); } // [B1, V3, V6, V7]
2085test { try toAsciiFail("xn--q30d.xn----i26i1299n", true); } // [B1, V3, V6, V7]
2086test { try toUnicodeFail("xn--q30d.xn----ugn1088hfsxv"); } // [B1, C2, V6, V7]
2087test { try toAsciiFail("xn--q30d.xn----ugn1088hfsxv", false); } // [B1, C2, V6, V7]
2088test { try toAsciiFail("xn--q30d.xn----ugn1088hfsxv", true); } // [B1, C2, V6, V7]
2089test { try toUnicodeFail("\xe2\xa4\xb8\xcf\x82\xf0\xba\xb1\x80\xef\xbd\xa1\xef\xbe\xa0"); } // [V7]
2090test { try toAsciiFail("\xe2\xa4\xb8\xcf\x82\xf0\xba\xb1\x80\xef\xbd\xa1\xef\xbe\xa0", false); } // [V7, A4_2]
2091test { try toAsciiFail("\xe2\xa4\xb8\xcf\x82\xf0\xba\xb1\x80\xef\xbd\xa1\xef\xbe\xa0", true); } // [V7, A4_2]
2092test { try toUnicodeFail("\xe2\xa4\xb8\xcf\x82\xf0\xba\xb1\x80\xe3\x80\x82\xe1\x85\xa0"); } // [V7]
2093test { try toAsciiFail("\xe2\xa4\xb8\xcf\x82\xf0\xba\xb1\x80\xe3\x80\x82\xe1\x85\xa0", false); } // [V7, A4_2]
2094test { try toAsciiFail("\xe2\xa4\xb8\xcf\x82\xf0\xba\xb1\x80\xe3\x80\x82\xe1\x85\xa0", true); } // [V7, A4_2]
2095test { try toUnicodeFail("\xe2\xa4\xb8\xce\xa3\xf0\xba\xb1\x80\xe3\x80\x82\xe1\x85\xa0"); } // [V7]
2096test { try toAsciiFail("\xe2\xa4\xb8\xce\xa3\xf0\xba\xb1\x80\xe3\x80\x82\xe1\x85\xa0", false); } // [V7, A4_2]
2097test { try toAsciiFail("\xe2\xa4\xb8\xce\xa3\xf0\xba\xb1\x80\xe3\x80\x82\xe1\x85\xa0", true); } // [V7, A4_2]
2098test { try toUnicodeFail("\xe2\xa4\xb8\xcf\x83\xf0\xba\xb1\x80\xe3\x80\x82\xe1\x85\xa0"); } // [V7]
2099test { try toAsciiFail("\xe2\xa4\xb8\xcf\x83\xf0\xba\xb1\x80\xe3\x80\x82\xe1\x85\xa0", false); } // [V7, A4_2]
2100test { try toAsciiFail("\xe2\xa4\xb8\xcf\x83\xf0\xba\xb1\x80\xe3\x80\x82\xe1\x85\xa0", true); } // [V7, A4_2]
2101test { try toUnicodeFail("xn--4xa192qmp03d."); } // [V7]
2102test { try toAsciiFail("xn--4xa192qmp03d.", false); } // [V7, A4_2]
2103test { try toAsciiFail("xn--4xa192qmp03d.", true); } // [V7, A4_2]
2104test { try toUnicodeFail("xn--3xa392qmp03d."); } // [V7]
2105test { try toAsciiFail("xn--3xa392qmp03d.", false); } // [V7, A4_2]
2106test { try toAsciiFail("xn--3xa392qmp03d.", true); } // [V7, A4_2]
2107test { try toUnicodeFail("\xe2\xa4\xb8\xce\xa3\xf0\xba\xb1\x80\xef\xbd\xa1\xef\xbe\xa0"); } // [V7]
2108test { try toAsciiFail("\xe2\xa4\xb8\xce\xa3\xf0\xba\xb1\x80\xef\xbd\xa1\xef\xbe\xa0", false); } // [V7, A4_2]
2109test { try toAsciiFail("\xe2\xa4\xb8\xce\xa3\xf0\xba\xb1\x80\xef\xbd\xa1\xef\xbe\xa0", true); } // [V7, A4_2]
2110test { try toUnicodeFail("\xe2\xa4\xb8\xcf\x83\xf0\xba\xb1\x80\xef\xbd\xa1\xef\xbe\xa0"); } // [V7]
2111test { try toAsciiFail("\xe2\xa4\xb8\xcf\x83\xf0\xba\xb1\x80\xef\xbd\xa1\xef\xbe\xa0", false); } // [V7, A4_2]
2112test { try toAsciiFail("\xe2\xa4\xb8\xcf\x83\xf0\xba\xb1\x80\xef\xbd\xa1\xef\xbe\xa0", true); } // [V7, A4_2]
2113test { try toUnicodeFail("xn--4xa192qmp03d.xn--psd"); } // [V7]
2114test { try toAsciiFail("xn--4xa192qmp03d.xn--psd", false); } // [V7]
2115test { try toAsciiFail("xn--4xa192qmp03d.xn--psd", true); } // [V7]
2116test { try toUnicodeFail("xn--3xa392qmp03d.xn--psd"); } // [V7]
2117test { try toAsciiFail("xn--3xa392qmp03d.xn--psd", false); } // [V7]
2118test { try toAsciiFail("xn--3xa392qmp03d.xn--psd", true); } // [V7]
2119test { try toUnicodeFail("xn--4xa192qmp03d.xn--cl7c"); } // [V7]
2120test { try toAsciiFail("xn--4xa192qmp03d.xn--cl7c", false); } // [V7]
2121test { try toAsciiFail("xn--4xa192qmp03d.xn--cl7c", true); } // [V7]
2122test { try toUnicodeFail("xn--3xa392qmp03d.xn--cl7c"); } // [V7]
2123test { try toAsciiFail("xn--3xa392qmp03d.xn--cl7c", false); } // [V7]
2124test { try toAsciiFail("xn--3xa392qmp03d.xn--cl7c", true); } // [V7]
2125test { try toUnicodeFail("\xdd\xa5\xe1\x80\xb5\xf0\x90\xab\x94\xdb\x95.\xf0\x90\xa6\xac\xf0\x91\x8b\xaa\xe1\x82\xa3"); } // [B2, B3]
2126test { try toAsciiFail("\xdd\xa5\xe1\x80\xb5\xf0\x90\xab\x94\xdb\x95.\xf0\x90\xa6\xac\xf0\x91\x8b\xaa\xe1\x82\xa3", false); } // [B2, B3]
2127test { try toAsciiFail("\xdd\xa5\xe1\x80\xb5\xf0\x90\xab\x94\xdb\x95.\xf0\x90\xa6\xac\xf0\x91\x8b\xaa\xe1\x82\xa3", true); } // [B2, B3]
2128test { try toUnicodeFail("\xdd\xa5\xe1\x80\xb5\xf0\x90\xab\x94\xdb\x95.\xf0\x90\xa6\xac\xf0\x91\x8b\xaa\xe2\xb4\x83"); } // [B2, B3]
2129test { try toAsciiFail("\xdd\xa5\xe1\x80\xb5\xf0\x90\xab\x94\xdb\x95.\xf0\x90\xa6\xac\xf0\x91\x8b\xaa\xe2\xb4\x83", false); } // [B2, B3]
2130test { try toAsciiFail("\xdd\xa5\xe1\x80\xb5\xf0\x90\xab\x94\xdb\x95.\xf0\x90\xa6\xac\xf0\x91\x8b\xaa\xe2\xb4\x83", true); } // [B2, B3]
2131test { try toUnicodeFail("xn--llb10as9tqp5y.xn--ukj7371e21f"); } // [B2, B3]
2132test { try toAsciiFail("xn--llb10as9tqp5y.xn--ukj7371e21f", false); } // [B2, B3]
2133test { try toAsciiFail("xn--llb10as9tqp5y.xn--ukj7371e21f", true); } // [B2, B3]
2134test { try toUnicodeFail("xn--llb10as9tqp5y.xn--bnd9168j21f"); } // [B2, B3, V7]
2135test { try toAsciiFail("xn--llb10as9tqp5y.xn--bnd9168j21f", false); } // [B2, B3, V7]
2136test { try toAsciiFail("xn--llb10as9tqp5y.xn--bnd9168j21f", true); } // [B2, B3, V7]
2137test { try toUnicodeFail("\xd9\xa1\xe1\xad\x84-\xed\x82\xbc.\xe1\xae\xaa\xd8\x96\xd9\xac\xe2\x89\xaf"); } // [B1, B5, B6, V6]
2138test { try toAsciiFail("\xd9\xa1\xe1\xad\x84-\xed\x82\xbc.\xe1\xae\xaa\xd8\x96\xd9\xac\xe2\x89\xaf", false); } // [B1, B5, B6, V6]
2139test { try toAsciiFail("\xd9\xa1\xe1\xad\x84-\xed\x82\xbc.\xe1\xae\xaa\xd8\x96\xd9\xac\xe2\x89\xaf", true); } // [B1, B5, B6, V6]
2140test { try toUnicodeFail("\xd9\xa1\xe1\xad\x84-\xe1\x84\x8f\xe1\x85\xb5\xe1\x86\xbf.\xe1\xae\xaa\xd8\x96\xd9\xac>\xcc\xb8"); } // [B1, B5, B6, V6]
2141test { try toAsciiFail("\xd9\xa1\xe1\xad\x84-\xe1\x84\x8f\xe1\x85\xb5\xe1\x86\xbf.\xe1\xae\xaa\xd8\x96\xd9\xac>\xcc\xb8", false); } // [B1, B5, B6, V6]
2142test { try toAsciiFail("\xd9\xa1\xe1\xad\x84-\xe1\x84\x8f\xe1\x85\xb5\xe1\x86\xbf.\xe1\xae\xaa\xd8\x96\xd9\xac>\xcc\xb8", true); } // [B1, B5, B6, V6]
2143test { try toUnicodeFail("xn----9pc551nk39n.xn--4fb6o571degg"); } // [B1, B5, B6, V6]
2144test { try toAsciiFail("xn----9pc551nk39n.xn--4fb6o571degg", false); } // [B1, B5, B6, V6]
2145test { try toAsciiFail("xn----9pc551nk39n.xn--4fb6o571degg", true); } // [B1, B5, B6, V6]
2146test { try toUnicodeFail("-\xe3\x80\x82\xdb\x82\xd8\x84\xf2\x85\x96\xa1\xf0\x91\x93\x82"); } // [B1, B2, B3, V3, V7]
2147test { try toAsciiFail("-\xe3\x80\x82\xdb\x82\xd8\x84\xf2\x85\x96\xa1\xf0\x91\x93\x82", false); } // [B1, B2, B3, V3, V7]
2148test { try toAsciiFail("-\xe3\x80\x82\xdb\x82\xd8\x84\xf2\x85\x96\xa1\xf0\x91\x93\x82", true); } // [B1, B2, B3, V3, V7]
2149test { try toUnicodeFail("-\xe3\x80\x82\xdb\x81\xd9\x94\xd8\x84\xf2\x85\x96\xa1\xf0\x91\x93\x82"); } // [B1, B2, B3, V3, V7]
2150test { try toAsciiFail("-\xe3\x80\x82\xdb\x81\xd9\x94\xd8\x84\xf2\x85\x96\xa1\xf0\x91\x93\x82", false); } // [B1, B2, B3, V3, V7]
2151test { try toAsciiFail("-\xe3\x80\x82\xdb\x81\xd9\x94\xd8\x84\xf2\x85\x96\xa1\xf0\x91\x93\x82", true); } // [B1, B2, B3, V3, V7]
2152test { try toUnicodeFail("-.xn--mfb39a7208dzgs3d"); } // [B1, B2, B3, V3, V7]
2153test { try toAsciiFail("-.xn--mfb39a7208dzgs3d", false); } // [B1, B2, B3, V3, V7]
2154test { try toAsciiFail("-.xn--mfb39a7208dzgs3d", true); } // [B1, B2, B3, V3, V7]
2155test { try toUnicodeFail("\xe2\x80\x8d\xf3\xaf\x91\x96\xf3\xa0\x81\x90\xef\xbc\x8e\xd6\xbd\xf0\x99\xae\xb0\xea\xa1\x9d\xf0\x90\x8b\xa1"); } // [C2, V6, V7]
2156test { try toAsciiFail("\xe2\x80\x8d\xf3\xaf\x91\x96\xf3\xa0\x81\x90\xef\xbc\x8e\xd6\xbd\xf0\x99\xae\xb0\xea\xa1\x9d\xf0\x90\x8b\xa1", false); } // [C2, V6, V7]
2157test { try toAsciiFail("\xe2\x80\x8d\xf3\xaf\x91\x96\xf3\xa0\x81\x90\xef\xbc\x8e\xd6\xbd\xf0\x99\xae\xb0\xea\xa1\x9d\xf0\x90\x8b\xa1", true); } // [V6, V7]
2158test { try toUnicodeFail("\xe2\x80\x8d\xf3\xaf\x91\x96\xf3\xa0\x81\x90.\xd6\xbd\xf0\x99\xae\xb0\xea\xa1\x9d\xf0\x90\x8b\xa1"); } // [C2, V6, V7]
2159test { try toAsciiFail("\xe2\x80\x8d\xf3\xaf\x91\x96\xf3\xa0\x81\x90.\xd6\xbd\xf0\x99\xae\xb0\xea\xa1\x9d\xf0\x90\x8b\xa1", false); } // [C2, V6, V7]
2160test { try toAsciiFail("\xe2\x80\x8d\xf3\xaf\x91\x96\xf3\xa0\x81\x90.\xd6\xbd\xf0\x99\xae\xb0\xea\xa1\x9d\xf0\x90\x8b\xa1", true); } // [V6, V7]
2161test { try toUnicodeFail("xn--b726ey18m.xn--ldb8734fg0qcyzzg"); } // [V6, V7]
2162test { try toAsciiFail("xn--b726ey18m.xn--ldb8734fg0qcyzzg", false); } // [V6, V7]
2163test { try toAsciiFail("xn--b726ey18m.xn--ldb8734fg0qcyzzg", true); } // [V6, V7]
2164test { try toUnicodeFail("xn--1ug66101lt8me.xn--ldb8734fg0qcyzzg"); } // [C2, V6, V7]
2165test { try toAsciiFail("xn--1ug66101lt8me.xn--ldb8734fg0qcyzzg", false); } // [C2, V6, V7]
2166test { try toAsciiFail("xn--1ug66101lt8me.xn--ldb8734fg0qcyzzg", true); } // [C2, V6, V7]
2167test { try toUnicodeFail("\xef\xb8\x92\xf4\x83\x88\xb5\xcf\x82\xf1\x80\xa0\x87\xef\xbd\xa1\xf0\x90\xae\x88"); } // [B1, V7]
2168test { try toAsciiFail("\xef\xb8\x92\xf4\x83\x88\xb5\xcf\x82\xf1\x80\xa0\x87\xef\xbd\xa1\xf0\x90\xae\x88", false); } // [B1, V7]
2169test { try toAsciiFail("\xef\xb8\x92\xf4\x83\x88\xb5\xcf\x82\xf1\x80\xa0\x87\xef\xbd\xa1\xf0\x90\xae\x88", true); } // [B1, V7]
2170test { try toUnicodeFail("\xe3\x80\x82\xf4\x83\x88\xb5\xcf\x82\xf1\x80\xa0\x87\xe3\x80\x82\xf0\x90\xae\x88"); } // [V7, X4_2]
2171test { try toAsciiFail("\xe3\x80\x82\xf4\x83\x88\xb5\xcf\x82\xf1\x80\xa0\x87\xe3\x80\x82\xf0\x90\xae\x88", false); } // [V7, A4_2]
2172test { try toAsciiFail("\xe3\x80\x82\xf4\x83\x88\xb5\xcf\x82\xf1\x80\xa0\x87\xe3\x80\x82\xf0\x90\xae\x88", true); } // [V7, A4_2]
2173test { try toUnicodeFail("\xe3\x80\x82\xf4\x83\x88\xb5\xce\xa3\xf1\x80\xa0\x87\xe3\x80\x82\xf0\x90\xae\x88"); } // [V7, X4_2]
2174test { try toAsciiFail("\xe3\x80\x82\xf4\x83\x88\xb5\xce\xa3\xf1\x80\xa0\x87\xe3\x80\x82\xf0\x90\xae\x88", false); } // [V7, A4_2]
2175test { try toAsciiFail("\xe3\x80\x82\xf4\x83\x88\xb5\xce\xa3\xf1\x80\xa0\x87\xe3\x80\x82\xf0\x90\xae\x88", true); } // [V7, A4_2]
2176test { try toUnicodeFail("\xe3\x80\x82\xf4\x83\x88\xb5\xcf\x83\xf1\x80\xa0\x87\xe3\x80\x82\xf0\x90\xae\x88"); } // [V7, X4_2]
2177test { try toAsciiFail("\xe3\x80\x82\xf4\x83\x88\xb5\xcf\x83\xf1\x80\xa0\x87\xe3\x80\x82\xf0\x90\xae\x88", false); } // [V7, A4_2]
2178test { try toAsciiFail("\xe3\x80\x82\xf4\x83\x88\xb5\xcf\x83\xf1\x80\xa0\x87\xe3\x80\x82\xf0\x90\xae\x88", true); } // [V7, A4_2]
2179test { try toUnicodeFail(".xn--4xa68573c7n64d.xn--f29c"); } // [V7, X4_2]
2180test { try toAsciiFail(".xn--4xa68573c7n64d.xn--f29c", false); } // [V7, A4_2]
2181test { try toAsciiFail(".xn--4xa68573c7n64d.xn--f29c", true); } // [V7, A4_2]
2182test { try toUnicodeFail(".xn--3xa88573c7n64d.xn--f29c"); } // [V7, X4_2]
2183test { try toAsciiFail(".xn--3xa88573c7n64d.xn--f29c", false); } // [V7, A4_2]
2184test { try toAsciiFail(".xn--3xa88573c7n64d.xn--f29c", true); } // [V7, A4_2]
2185test { try toUnicodeFail("\xef\xb8\x92\xf4\x83\x88\xb5\xce\xa3\xf1\x80\xa0\x87\xef\xbd\xa1\xf0\x90\xae\x88"); } // [B1, V7]
2186test { try toAsciiFail("\xef\xb8\x92\xf4\x83\x88\xb5\xce\xa3\xf1\x80\xa0\x87\xef\xbd\xa1\xf0\x90\xae\x88", false); } // [B1, V7]
2187test { try toAsciiFail("\xef\xb8\x92\xf4\x83\x88\xb5\xce\xa3\xf1\x80\xa0\x87\xef\xbd\xa1\xf0\x90\xae\x88", true); } // [B1, V7]
2188test { try toUnicodeFail("\xef\xb8\x92\xf4\x83\x88\xb5\xcf\x83\xf1\x80\xa0\x87\xef\xbd\xa1\xf0\x90\xae\x88"); } // [B1, V7]
2189test { try toAsciiFail("\xef\xb8\x92\xf4\x83\x88\xb5\xcf\x83\xf1\x80\xa0\x87\xef\xbd\xa1\xf0\x90\xae\x88", false); } // [B1, V7]
2190test { try toAsciiFail("\xef\xb8\x92\xf4\x83\x88\xb5\xcf\x83\xf1\x80\xa0\x87\xef\xbd\xa1\xf0\x90\xae\x88", true); } // [B1, V7]
2191test { try toUnicodeFail("xn--4xa1729jwz5t7gl5f.xn--f29c"); } // [B1, V7]
2192test { try toAsciiFail("xn--4xa1729jwz5t7gl5f.xn--f29c", false); } // [B1, V7]
2193test { try toAsciiFail("xn--4xa1729jwz5t7gl5f.xn--f29c", true); } // [B1, V7]
2194test { try toUnicodeFail("xn--3xa3729jwz5t7gl5f.xn--f29c"); } // [B1, V7]
2195test { try toAsciiFail("xn--3xa3729jwz5t7gl5f.xn--f29c", false); } // [B1, V7]
2196test { try toAsciiFail("xn--3xa3729jwz5t7gl5f.xn--f29c", true); } // [B1, V7]
2197test { try toUnicodeFail("\xdf\x99\xef\xbc\x8e\xdb\xae\xf3\x86\xbe\x83\xe2\x89\xaf\xf3\xa0\x85\xb2"); } // [B2, B3, V7]
2198test { try toAsciiFail("\xdf\x99\xef\xbc\x8e\xdb\xae\xf3\x86\xbe\x83\xe2\x89\xaf\xf3\xa0\x85\xb2", false); } // [B2, B3, V7]
2199test { try toAsciiFail("\xdf\x99\xef\xbc\x8e\xdb\xae\xf3\x86\xbe\x83\xe2\x89\xaf\xf3\xa0\x85\xb2", true); } // [B2, B3, V7]
2200test { try toUnicodeFail("\xdf\x99\xef\xbc\x8e\xdb\xae\xf3\x86\xbe\x83>\xcc\xb8\xf3\xa0\x85\xb2"); } // [B2, B3, V7]
2201test { try toAsciiFail("\xdf\x99\xef\xbc\x8e\xdb\xae\xf3\x86\xbe\x83>\xcc\xb8\xf3\xa0\x85\xb2", false); } // [B2, B3, V7]
2202test { try toAsciiFail("\xdf\x99\xef\xbc\x8e\xdb\xae\xf3\x86\xbe\x83>\xcc\xb8\xf3\xa0\x85\xb2", true); } // [B2, B3, V7]
2203test { try toUnicodeFail("\xdf\x99.\xdb\xae\xf3\x86\xbe\x83\xe2\x89\xaf\xf3\xa0\x85\xb2"); } // [B2, B3, V7]
2204test { try toAsciiFail("\xdf\x99.\xdb\xae\xf3\x86\xbe\x83\xe2\x89\xaf\xf3\xa0\x85\xb2", false); } // [B2, B3, V7]
2205test { try toAsciiFail("\xdf\x99.\xdb\xae\xf3\x86\xbe\x83\xe2\x89\xaf\xf3\xa0\x85\xb2", true); } // [B2, B3, V7]
2206test { try toUnicodeFail("\xdf\x99.\xdb\xae\xf3\x86\xbe\x83>\xcc\xb8\xf3\xa0\x85\xb2"); } // [B2, B3, V7]
2207test { try toAsciiFail("\xdf\x99.\xdb\xae\xf3\x86\xbe\x83>\xcc\xb8\xf3\xa0\x85\xb2", false); } // [B2, B3, V7]
2208test { try toAsciiFail("\xdf\x99.\xdb\xae\xf3\x86\xbe\x83>\xcc\xb8\xf3\xa0\x85\xb2", true); } // [B2, B3, V7]
2209test { try toUnicodeFail("xn--0sb.xn--bmb691l0524t"); } // [B2, B3, V7]
2210test { try toAsciiFail("xn--0sb.xn--bmb691l0524t", false); } // [B2, B3, V7]
2211test { try toAsciiFail("xn--0sb.xn--bmb691l0524t", true); } // [B2, B3, V7]
2212test { try toUnicodeFail("\xe1\xa9\xb3\xf3\x9a\x99\xb8.\xf0\x90\xad\x8d"); } // [B1, V6, V7]
2213test { try toAsciiFail("\xe1\xa9\xb3\xf3\x9a\x99\xb8.\xf0\x90\xad\x8d", false); } // [B1, V6, V7]
2214test { try toAsciiFail("\xe1\xa9\xb3\xf3\x9a\x99\xb8.\xf0\x90\xad\x8d", true); } // [B1, V6, V7]
2215test { try toUnicodeFail("xn--2of22352n.xn--q09c"); } // [B1, V6, V7]
2216test { try toAsciiFail("xn--2of22352n.xn--q09c", false); } // [B1, V6, V7]
2217test { try toAsciiFail("xn--2of22352n.xn--q09c", true); } // [B1, V6, V7]
2218test { try toUnicodeFail("\xe2\x92\x89\xf3\xa0\x8a\x93\xe2\x89\xa0\xef\xbd\xa1\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8"); } // [V7]
2219test { try toAsciiFail("\xe2\x92\x89\xf3\xa0\x8a\x93\xe2\x89\xa0\xef\xbd\xa1\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8", false); } // [V7]
2220test { try toAsciiFail("\xe2\x92\x89\xf3\xa0\x8a\x93\xe2\x89\xa0\xef\xbd\xa1\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8", true); } // [V7]
2221test { try toUnicodeFail("\xe2\x92\x89\xf3\xa0\x8a\x93=\xcc\xb8\xef\xbd\xa1\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8"); } // [V7]
2222test { try toAsciiFail("\xe2\x92\x89\xf3\xa0\x8a\x93=\xcc\xb8\xef\xbd\xa1\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8", false); } // [V7]
2223test { try toAsciiFail("\xe2\x92\x89\xf3\xa0\x8a\x93=\xcc\xb8\xef\xbd\xa1\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8", true); } // [V7]
2224test { try toUnicodeFail("2.\xf3\xa0\x8a\x93\xe2\x89\xa0\xe3\x80\x82\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8"); } // [V7]
2225test { try toAsciiFail("2.\xf3\xa0\x8a\x93\xe2\x89\xa0\xe3\x80\x82\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8", false); } // [V7]
2226test { try toAsciiFail("2.\xf3\xa0\x8a\x93\xe2\x89\xa0\xe3\x80\x82\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8", true); } // [V7]
2227test { try toUnicodeFail("2.\xf3\xa0\x8a\x93=\xcc\xb8\xe3\x80\x82\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8"); } // [V7]
2228test { try toAsciiFail("2.\xf3\xa0\x8a\x93=\xcc\xb8\xe3\x80\x82\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8", false); } // [V7]
2229test { try toAsciiFail("2.\xf3\xa0\x8a\x93=\xcc\xb8\xe3\x80\x82\xe1\x82\xbf\xe2\xac\xa3\xe1\x82\xa8", true); } // [V7]
2230test { try toUnicodeFail("2.\xf3\xa0\x8a\x93=\xcc\xb8\xe3\x80\x82\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88"); } // [V7]
2231test { try toAsciiFail("2.\xf3\xa0\x8a\x93=\xcc\xb8\xe3\x80\x82\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88", false); } // [V7]
2232test { try toAsciiFail("2.\xf3\xa0\x8a\x93=\xcc\xb8\xe3\x80\x82\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88", true); } // [V7]
2233test { try toUnicodeFail("2.\xf3\xa0\x8a\x93\xe2\x89\xa0\xe3\x80\x82\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88"); } // [V7]
2234test { try toAsciiFail("2.\xf3\xa0\x8a\x93\xe2\x89\xa0\xe3\x80\x82\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88", false); } // [V7]
2235test { try toAsciiFail("2.\xf3\xa0\x8a\x93\xe2\x89\xa0\xe3\x80\x82\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88", true); } // [V7]
2236test { try toUnicodeFail("2.xn--1chz4101l.xn--45iz7d6b"); } // [V7]
2237test { try toAsciiFail("2.xn--1chz4101l.xn--45iz7d6b", false); } // [V7]
2238test { try toAsciiFail("2.xn--1chz4101l.xn--45iz7d6b", true); } // [V7]
2239test { try toUnicodeFail("\xe2\x92\x89\xf3\xa0\x8a\x93=\xcc\xb8\xef\xbd\xa1\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88"); } // [V7]
2240test { try toAsciiFail("\xe2\x92\x89\xf3\xa0\x8a\x93=\xcc\xb8\xef\xbd\xa1\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88", false); } // [V7]
2241test { try toAsciiFail("\xe2\x92\x89\xf3\xa0\x8a\x93=\xcc\xb8\xef\xbd\xa1\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88", true); } // [V7]
2242test { try toUnicodeFail("\xe2\x92\x89\xf3\xa0\x8a\x93\xe2\x89\xa0\xef\xbd\xa1\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88"); } // [V7]
2243test { try toAsciiFail("\xe2\x92\x89\xf3\xa0\x8a\x93\xe2\x89\xa0\xef\xbd\xa1\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88", false); } // [V7]
2244test { try toAsciiFail("\xe2\x92\x89\xf3\xa0\x8a\x93\xe2\x89\xa0\xef\xbd\xa1\xe2\xb4\x9f\xe2\xac\xa3\xe2\xb4\x88", true); } // [V7]
2245test { try toUnicodeFail("xn--1ch07f91401d.xn--45iz7d6b"); } // [V7]
2246test { try toAsciiFail("xn--1ch07f91401d.xn--45iz7d6b", false); } // [V7]
2247test { try toAsciiFail("xn--1ch07f91401d.xn--45iz7d6b", true); } // [V7]
2248test { try toUnicodeFail("2.xn--1chz4101l.xn--gnd9b297j"); } // [V7]
2249test { try toAsciiFail("2.xn--1chz4101l.xn--gnd9b297j", false); } // [V7]
2250test { try toAsciiFail("2.xn--1chz4101l.xn--gnd9b297j", true); } // [V7]
2251test { try toUnicodeFail("xn--1ch07f91401d.xn--gnd9b297j"); } // [V7]
2252test { try toAsciiFail("xn--1ch07f91401d.xn--gnd9b297j", false); } // [V7]
2253test { try toAsciiFail("xn--1ch07f91401d.xn--gnd9b297j", true); } // [V7]
2254test { try toUnicodeFail("-\xf3\xa0\x89\xb1\xe0\xbe\xb8\xe1\x83\x85\xe3\x80\x82-\xf0\x90\xb9\xbd\xdd\xb4\xf0\x9e\xa3\x91"); } // [B1, V3, V7]
2255test { try toAsciiFail("-\xf3\xa0\x89\xb1\xe0\xbe\xb8\xe1\x83\x85\xe3\x80\x82-\xf0\x90\xb9\xbd\xdd\xb4\xf0\x9e\xa3\x91", false); } // [B1, V3, V7]
2256test { try toAsciiFail("-\xf3\xa0\x89\xb1\xe0\xbe\xb8\xe1\x83\x85\xe3\x80\x82-\xf0\x90\xb9\xbd\xdd\xb4\xf0\x9e\xa3\x91", true); } // [B1, V3, V7]
2257test { try toUnicodeFail("-\xf3\xa0\x89\xb1\xe0\xbe\xb8\xe2\xb4\xa5\xe3\x80\x82-\xf0\x90\xb9\xbd\xdd\xb4\xf0\x9e\xa3\x91"); } // [B1, V3, V7]
2258test { try toAsciiFail("-\xf3\xa0\x89\xb1\xe0\xbe\xb8\xe2\xb4\xa5\xe3\x80\x82-\xf0\x90\xb9\xbd\xdd\xb4\xf0\x9e\xa3\x91", false); } // [B1, V3, V7]
2259test { try toAsciiFail("-\xf3\xa0\x89\xb1\xe0\xbe\xb8\xe2\xb4\xa5\xe3\x80\x82-\xf0\x90\xb9\xbd\xdd\xb4\xf0\x9e\xa3\x91", true); } // [B1, V3, V7]
2260test { try toUnicodeFail("xn----xmg317tgv352a.xn----05c4213ryr0g"); } // [B1, V3, V7]
2261test { try toAsciiFail("xn----xmg317tgv352a.xn----05c4213ryr0g", false); } // [B1, V3, V7]
2262test { try toAsciiFail("xn----xmg317tgv352a.xn----05c4213ryr0g", true); } // [B1, V3, V7]
2263test { try toUnicodeFail("xn----xmg12fm2555h.xn----05c4213ryr0g"); } // [B1, V3, V7]
2264test { try toAsciiFail("xn----xmg12fm2555h.xn----05c4213ryr0g", false); } // [B1, V3, V7]
2265test { try toAsciiFail("xn----xmg12fm2555h.xn----05c4213ryr0g", true); } // [B1, V3, V7]
2266test { try toUnicodeFail("\xd9\x99\xe3\x80\x82\xf0\x91\x84\xb4\xef\xb8\x92\xd8\xa7\xdf\x9d"); } // [B1, V6, V7]
2267test { try toAsciiFail("\xd9\x99\xe3\x80\x82\xf0\x91\x84\xb4\xef\xb8\x92\xd8\xa7\xdf\x9d", false); } // [B1, V6, V7]
2268test { try toAsciiFail("\xd9\x99\xe3\x80\x82\xf0\x91\x84\xb4\xef\xb8\x92\xd8\xa7\xdf\x9d", true); } // [B1, V6, V7]
2269test { try toUnicodeFail("\xd9\x99\xe3\x80\x82\xf0\x91\x84\xb4\xe3\x80\x82\xd8\xa7\xdf\x9d"); } // [B1, V6]
2270test { try toAsciiFail("\xd9\x99\xe3\x80\x82\xf0\x91\x84\xb4\xe3\x80\x82\xd8\xa7\xdf\x9d", false); } // [B1, V6]
2271test { try toAsciiFail("\xd9\x99\xe3\x80\x82\xf0\x91\x84\xb4\xe3\x80\x82\xd8\xa7\xdf\x9d", true); } // [B1, V6]
2272test { try toUnicodeFail("xn--1hb.xn--w80d.xn--mgb09f"); } // [B1, V6]
2273test { try toAsciiFail("xn--1hb.xn--w80d.xn--mgb09f", false); } // [B1, V6]
2274test { try toAsciiFail("xn--1hb.xn--w80d.xn--mgb09f", true); } // [B1, V6]
2275test { try toUnicodeFail("xn--1hb.xn--mgb09fp820c08pa"); } // [B1, V6, V7]
2276test { try toAsciiFail("xn--1hb.xn--mgb09fp820c08pa", false); } // [B1, V6, V7]
2277test { try toAsciiFail("xn--1hb.xn--mgb09fp820c08pa", true); } // [B1, V6, V7]
2278test { try toUnicodeFail("\xe1\x82\xb9\xd8\xb8.\xf3\xa0\x86\x93\xe2\x80\x8d"); } // [B1, B5, B6, C2]
2279test { try toAsciiFail("\xe1\x82\xb9\xd8\xb8.\xf3\xa0\x86\x93\xe2\x80\x8d", false); } // [B1, B5, B6, C2]
2280test { try toAsciiFail("\xe1\x82\xb9\xd8\xb8.\xf3\xa0\x86\x93\xe2\x80\x8d", true); } // [B5, B6, A4_2]
2281test { try toUnicodeFail("\xe2\xb4\x99\xd8\xb8.\xf3\xa0\x86\x93\xe2\x80\x8d"); } // [B1, B5, B6, C2]
2282test { try toAsciiFail("\xe2\xb4\x99\xd8\xb8.\xf3\xa0\x86\x93\xe2\x80\x8d", false); } // [B1, B5, B6, C2]
2283test { try toAsciiFail("\xe2\xb4\x99\xd8\xb8.\xf3\xa0\x86\x93\xe2\x80\x8d", true); } // [B5, B6, A4_2]
2284test { try toUnicodeFail("xn--3gb910r."); } // [B5, B6]
2285test { try toAsciiFail("xn--3gb910r.", false); } // [B5, B6, A4_2]
2286test { try toAsciiFail("xn--3gb910r.", true); } // [B5, B6, A4_2]
2287test { try toUnicodeFail("xn--3gb910r.xn--1ug"); } // [B1, B5, B6, C2]
2288test { try toAsciiFail("xn--3gb910r.xn--1ug", false); } // [B1, B5, B6, C2]
2289test { try toAsciiFail("xn--3gb910r.xn--1ug", true); } // [B1, B5, B6, C2]
2290test { try toUnicodeFail("xn--3gb194c."); } // [B5, B6, V7]
2291test { try toAsciiFail("xn--3gb194c.", false); } // [B5, B6, V7, A4_2]
2292test { try toAsciiFail("xn--3gb194c.", true); } // [B5, B6, V7, A4_2]
2293test { try toUnicodeFail("xn--3gb194c.xn--1ug"); } // [B1, B5, B6, C2, V7]
2294test { try toAsciiFail("xn--3gb194c.xn--1ug", false); } // [B1, B5, B6, C2, V7]
2295test { try toAsciiFail("xn--3gb194c.xn--1ug", true); } // [B1, B5, B6, C2, V7]
2296test { try toUnicodeFail("\xf3\xa0\x86\xb8\xef\xbd\xa1\xe2\x82\x86\xef\xbc\x90\xf0\x90\xba\xa7\xdd\x96"); } // [B1, X4_2]
2297test { try toAsciiFail("\xf3\xa0\x86\xb8\xef\xbd\xa1\xe2\x82\x86\xef\xbc\x90\xf0\x90\xba\xa7\xdd\x96", false); } // [B1, A4_2]
2298test { try toAsciiFail("\xf3\xa0\x86\xb8\xef\xbd\xa1\xe2\x82\x86\xef\xbc\x90\xf0\x90\xba\xa7\xdd\x96", true); } // [B1, A4_2]
2299test { try toUnicodeFail("\xf3\xa0\x86\xb8\xe3\x80\x8260\xf0\x90\xba\xa7\xdd\x96"); } // [B1, X4_2]
2300test { try toAsciiFail("\xf3\xa0\x86\xb8\xe3\x80\x8260\xf0\x90\xba\xa7\xdd\x96", false); } // [B1, A4_2]
2301test { try toAsciiFail("\xf3\xa0\x86\xb8\xe3\x80\x8260\xf0\x90\xba\xa7\xdd\x96", true); } // [B1, A4_2]
2302test { try toUnicodeFail(".xn--60-cke9470y"); } // [B1, X4_2]
2303test { try toAsciiFail(".xn--60-cke9470y", false); } // [B1, A4_2]
2304test { try toAsciiFail(".xn--60-cke9470y", true); } // [B1, A4_2]
2305test { try toUnicodeFail("6\xe0\xa1\x8f\xef\xbd\xa1-\xf0\x91\x88\xb4"); } // [B1, V3]
2306test { try toAsciiFail("6\xe0\xa1\x8f\xef\xbd\xa1-\xf0\x91\x88\xb4", false); } // [B1, V3]
2307test { try toAsciiFail("6\xe0\xa1\x8f\xef\xbd\xa1-\xf0\x91\x88\xb4", true); } // [B1, V3]
2308test { try toUnicodeFail("6\xe0\xa1\x8f\xe3\x80\x82-\xf0\x91\x88\xb4"); } // [B1, V3]
2309test { try toAsciiFail("6\xe0\xa1\x8f\xe3\x80\x82-\xf0\x91\x88\xb4", false); } // [B1, V3]
2310test { try toAsciiFail("6\xe0\xa1\x8f\xe3\x80\x82-\xf0\x91\x88\xb4", true); } // [B1, V3]
2311test { try toUnicodeFail("xn--6-jjd.xn----6n8i"); } // [B1, V3]
2312test { try toAsciiFail("xn--6-jjd.xn----6n8i", false); } // [B1, V3]
2313test { try toAsciiFail("xn--6-jjd.xn----6n8i", true); } // [B1, V3]
2314test { try toUnicodeFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xef\xbd\xa1\xe0\xab\x8d\xcf\x82\xf0\x9e\xb0\x8e\xe0\xa3\x96"); } // [B1, C2, V6, V7]
2315test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xef\xbd\xa1\xe0\xab\x8d\xcf\x82\xf0\x9e\xb0\x8e\xe0\xa3\x96", false); } // [B1, C2, V6, V7]
2316test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xef\xbd\xa1\xe0\xab\x8d\xcf\x82\xf0\x9e\xb0\x8e\xe0\xa3\x96", true); } // [B1, B5, B6, V6, V7]
2317test { try toUnicodeFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xe3\x80\x82\xe0\xab\x8d\xcf\x82\xf0\x9e\xb0\x8e\xe0\xa3\x96"); } // [B1, C2, V6, V7]
2318test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xe3\x80\x82\xe0\xab\x8d\xcf\x82\xf0\x9e\xb0\x8e\xe0\xa3\x96", false); } // [B1, C2, V6, V7]
2319test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xe3\x80\x82\xe0\xab\x8d\xcf\x82\xf0\x9e\xb0\x8e\xe0\xa3\x96", true); } // [B1, B5, B6, V6, V7]
2320test { try toUnicodeFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xe3\x80\x82\xe0\xab\x8d\xce\xa3\xf0\x9e\xb0\x8e\xe0\xa3\x96"); } // [B1, C2, V6, V7]
2321test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xe3\x80\x82\xe0\xab\x8d\xce\xa3\xf0\x9e\xb0\x8e\xe0\xa3\x96", false); } // [B1, C2, V6, V7]
2322test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xe3\x80\x82\xe0\xab\x8d\xce\xa3\xf0\x9e\xb0\x8e\xe0\xa3\x96", true); } // [B1, B5, B6, V6, V7]
2323test { try toUnicodeFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xe3\x80\x82\xe0\xab\x8d\xcf\x83\xf0\x9e\xb0\x8e\xe0\xa3\x96"); } // [B1, C2, V6, V7]
2324test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xe3\x80\x82\xe0\xab\x8d\xcf\x83\xf0\x9e\xb0\x8e\xe0\xa3\x96", false); } // [B1, C2, V6, V7]
2325test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xe3\x80\x82\xe0\xab\x8d\xcf\x83\xf0\x9e\xb0\x8e\xe0\xa3\x96", true); } // [B1, B5, B6, V6, V7]
2326test { try toUnicodeFail("xn--oo0d1330n.xn--4xa21xcwbfz15g"); } // [B1, B5, B6, V6, V7]
2327test { try toAsciiFail("xn--oo0d1330n.xn--4xa21xcwbfz15g", false); } // [B1, B5, B6, V6, V7]
2328test { try toAsciiFail("xn--oo0d1330n.xn--4xa21xcwbfz15g", true); } // [B1, B5, B6, V6, V7]
2329test { try toUnicodeFail("xn--1ugx105gq26y.xn--4xa21xcwbfz15g"); } // [B1, C2, V6, V7]
2330test { try toAsciiFail("xn--1ugx105gq26y.xn--4xa21xcwbfz15g", false); } // [B1, C2, V6, V7]
2331test { try toAsciiFail("xn--1ugx105gq26y.xn--4xa21xcwbfz15g", true); } // [B1, C2, V6, V7]
2332test { try toUnicodeFail("xn--1ugx105gq26y.xn--3xa41xcwbfz15g"); } // [B1, C2, V6, V7]
2333test { try toAsciiFail("xn--1ugx105gq26y.xn--3xa41xcwbfz15g", false); } // [B1, C2, V6, V7]
2334test { try toAsciiFail("xn--1ugx105gq26y.xn--3xa41xcwbfz15g", true); } // [B1, C2, V6, V7]
2335test { try toUnicodeFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xef\xbd\xa1\xe0\xab\x8d\xce\xa3\xf0\x9e\xb0\x8e\xe0\xa3\x96"); } // [B1, C2, V6, V7]
2336test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xef\xbd\xa1\xe0\xab\x8d\xce\xa3\xf0\x9e\xb0\x8e\xe0\xa3\x96", false); } // [B1, C2, V6, V7]
2337test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xef\xbd\xa1\xe0\xab\x8d\xce\xa3\xf0\x9e\xb0\x8e\xe0\xa3\x96", true); } // [B1, B5, B6, V6, V7]
2338test { try toUnicodeFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xef\xbd\xa1\xe0\xab\x8d\xcf\x83\xf0\x9e\xb0\x8e\xe0\xa3\x96"); } // [B1, C2, V6, V7]
2339test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xef\xbd\xa1\xe0\xab\x8d\xcf\x83\xf0\x9e\xb0\x8e\xe0\xa3\x96", false); } // [B1, C2, V6, V7]
2340test { try toAsciiFail("\xe2\x80\x8d\xf1\x8b\x8c\xbf\xf0\x90\xb9\xb0\xef\xbd\xa1\xe0\xab\x8d\xcf\x83\xf0\x9e\xb0\x8e\xe0\xa3\x96", true); } // [B1, B5, B6, V6, V7]
2341test { try toUnicodeFail("\xe2\x92\x88\xf1\x9f\x84\x9c\xe1\x82\xb3\xe2\x92\xaa\xef\xbc\x8e\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2"); } // [B1, V6, V7, U1]
2342test { try toAsciiFail("\xe2\x92\x88\xf1\x9f\x84\x9c\xe1\x82\xb3\xe2\x92\xaa\xef\xbc\x8e\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2", false); } // [B1, V6, V7, U1]
2343test { try toAsciiFail("\xe2\x92\x88\xf1\x9f\x84\x9c\xe1\x82\xb3\xe2\x92\xaa\xef\xbc\x8e\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2", true); } // [B1, V6, V7, U1]
2344test { try toUnicodeFail("1.\xf1\x9f\x84\x9c\xe1\x82\xb3(o).\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2"); } // [B1, B6, V6, V7, U1]
2345test { try toAsciiFail("1.\xf1\x9f\x84\x9c\xe1\x82\xb3(o).\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2", false); } // [B1, B6, V6, V7, U1]
2346test { try toAsciiFail("1.\xf1\x9f\x84\x9c\xe1\x82\xb3(o).\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2", true); } // [B1, B6, V6, V7, U1]
2347test { try toUnicodeFail("1.\xf1\x9f\x84\x9c\xe2\xb4\x93(o).\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2"); } // [B1, B6, V6, V7, U1]
2348test { try toAsciiFail("1.\xf1\x9f\x84\x9c\xe2\xb4\x93(o).\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2", false); } // [B1, B6, V6, V7, U1]
2349test { try toAsciiFail("1.\xf1\x9f\x84\x9c\xe2\xb4\x93(o).\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2", true); } // [B1, B6, V6, V7, U1]
2350test { try toUnicodeFail("1.\xf1\x9f\x84\x9c\xe1\x82\xb3(O).\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2"); } // [B1, B6, V6, V7, U1]
2351test { try toAsciiFail("1.\xf1\x9f\x84\x9c\xe1\x82\xb3(O).\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2", false); } // [B1, B6, V6, V7, U1]
2352test { try toAsciiFail("1.\xf1\x9f\x84\x9c\xe1\x82\xb3(O).\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2", true); } // [B1, B6, V6, V7, U1]
2353test { try toUnicodeFail("1.xn--(o)-ej1bu5389e.xn--3xb99xpx1yoes3e"); } // [B1, B6, V6, V7, U1]
2354test { try toAsciiFail("1.xn--(o)-ej1bu5389e.xn--3xb99xpx1yoes3e", false); } // [B1, B6, V6, V7, U1]
2355test { try toAsciiFail("1.xn--(o)-ej1bu5389e.xn--3xb99xpx1yoes3e", true); } // [B1, B6, V6, V7, U1]
2356test { try toUnicodeFail("\xe2\x92\x88\xf1\x9f\x84\x9c\xe2\xb4\x93\xe2\x92\xaa\xef\xbc\x8e\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2"); } // [B1, V6, V7, U1]
2357test { try toAsciiFail("\xe2\x92\x88\xf1\x9f\x84\x9c\xe2\xb4\x93\xe2\x92\xaa\xef\xbc\x8e\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2", false); } // [B1, V6, V7, U1]
2358test { try toAsciiFail("\xe2\x92\x88\xf1\x9f\x84\x9c\xe2\xb4\x93\xe2\x92\xaa\xef\xbc\x8e\xe0\xb7\x8a\xf2\x98\x98\xb6\xe0\xa2\x8b\xf0\x90\xb9\xa2", true); } // [B1, V6, V7, U1]
2359test { try toUnicodeFail("xn--(o)-ge4ax01c3t74t.xn--3xb99xpx1yoes3e"); } // [B1, V6, V7, U1]
2360test { try toAsciiFail("xn--(o)-ge4ax01c3t74t.xn--3xb99xpx1yoes3e", false); } // [B1, V6, V7, U1]
2361test { try toAsciiFail("xn--(o)-ge4ax01c3t74t.xn--3xb99xpx1yoes3e", true); } // [B1, V6, V7, U1]
2362test { try toUnicodeFail("1.xn--(o)-7sn88849j.xn--3xb99xpx1yoes3e"); } // [B1, B6, V6, V7, U1]
2363test { try toAsciiFail("1.xn--(o)-7sn88849j.xn--3xb99xpx1yoes3e", false); } // [B1, B6, V6, V7, U1]
2364test { try toAsciiFail("1.xn--(o)-7sn88849j.xn--3xb99xpx1yoes3e", true); } // [B1, B6, V6, V7, U1]
2365test { try toUnicodeFail("xn--tsh0ds63atl31n.xn--3xb99xpx1yoes3e"); } // [B1, V6, V7]
2366test { try toAsciiFail("xn--tsh0ds63atl31n.xn--3xb99xpx1yoes3e", false); } // [B1, V6, V7]
2367test { try toAsciiFail("xn--tsh0ds63atl31n.xn--3xb99xpx1yoes3e", true); } // [B1, V6, V7]
2368test { try toUnicodeFail("xn--rnd762h7cx3027d.xn--3xb99xpx1yoes3e"); } // [B1, V6, V7]
2369test { try toAsciiFail("xn--rnd762h7cx3027d.xn--3xb99xpx1yoes3e", false); } // [B1, V6, V7]
2370test { try toAsciiFail("xn--rnd762h7cx3027d.xn--3xb99xpx1yoes3e", true); } // [B1, V6, V7]
2371test { try toUnicodePass("\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4", "\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4"); }
2372test { try toAsciiPass("\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4", "xn--ve6h.xn--jgb1694kz0b2176a", false); }
2373test { try toAsciiPass("\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4", "xn--ve6h.xn--jgb1694kz0b2176a", true); }
2374test { try toUnicodePass("\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd9\x88\xd9\x94", "\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4"); }
2375test { try toAsciiPass("\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd9\x88\xd9\x94", "xn--ve6h.xn--jgb1694kz0b2176a", false); }
2376test { try toAsciiPass("\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd9\x88\xd9\x94", "xn--ve6h.xn--jgb1694kz0b2176a", true); }
2377test { try toUnicodePass("\xf0\x9e\xa4\x95.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd9\x88\xd9\x94", "\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4"); }
2378test { try toAsciiPass("\xf0\x9e\xa4\x95.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd9\x88\xd9\x94", "xn--ve6h.xn--jgb1694kz0b2176a", false); }
2379test { try toAsciiPass("\xf0\x9e\xa4\x95.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd9\x88\xd9\x94", "xn--ve6h.xn--jgb1694kz0b2176a", true); }
2380test { try toUnicodePass("\xf0\x9e\xa4\x95.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4", "\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4"); }
2381test { try toAsciiPass("\xf0\x9e\xa4\x95.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4", "xn--ve6h.xn--jgb1694kz0b2176a", false); }
2382test { try toAsciiPass("\xf0\x9e\xa4\x95.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4", "xn--ve6h.xn--jgb1694kz0b2176a", true); }
2383test { try toUnicodePass("xn--ve6h.xn--jgb1694kz0b2176a", "\xf0\x9e\xa4\xb7.\xf0\x90\xae\x90\xf0\x9e\xa2\x81\xf0\x90\xb9\xa0\xd8\xa4"); }
2384test { try toAsciiPass("xn--ve6h.xn--jgb1694kz0b2176a", "xn--ve6h.xn--jgb1694kz0b2176a", false); }
2385test { try toAsciiPass("xn--ve6h.xn--jgb1694kz0b2176a", "xn--ve6h.xn--jgb1694kz0b2176a", true); }
2386test { try toUnicodeFail("\xf0\x90\xb2\x88-\xef\xbd\xa1\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb"); } // [B1, B3, V3, V6, V7]
2387test { try toAsciiFail("\xf0\x90\xb2\x88-\xef\xbd\xa1\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb", false); } // [B1, B3, V3, V6, V7]
2388test { try toAsciiFail("\xf0\x90\xb2\x88-\xef\xbd\xa1\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb", true); } // [B1, B3, V3, V6, V7]
2389test { try toUnicodeFail("\xf0\x90\xb2\x88-\xe3\x80\x82\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb"); } // [B1, B3, V3, V6, V7]
2390test { try toAsciiFail("\xf0\x90\xb2\x88-\xe3\x80\x82\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb", false); } // [B1, B3, V3, V6, V7]
2391test { try toAsciiFail("\xf0\x90\xb2\x88-\xe3\x80\x82\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb", true); } // [B1, B3, V3, V6, V7]
2392test { try toUnicodeFail("\xf0\x90\xb3\x88-\xe3\x80\x82\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb"); } // [B1, B3, V3, V6, V7]
2393test { try toAsciiFail("\xf0\x90\xb3\x88-\xe3\x80\x82\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb", false); } // [B1, B3, V3, V6, V7]
2394test { try toAsciiFail("\xf0\x90\xb3\x88-\xe3\x80\x82\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb", true); } // [B1, B3, V3, V6, V7]
2395test { try toUnicodeFail("xn----ue6i.xn--v80d6662t"); } // [B1, B3, V3, V6, V7]
2396test { try toAsciiFail("xn----ue6i.xn--v80d6662t", false); } // [B1, B3, V3, V6, V7]
2397test { try toAsciiFail("xn----ue6i.xn--v80d6662t", true); } // [B1, B3, V3, V6, V7]
2398test { try toUnicodeFail("\xf0\x90\xb3\x88-\xef\xbd\xa1\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb"); } // [B1, B3, V3, V6, V7]
2399test { try toAsciiFail("\xf0\x90\xb3\x88-\xef\xbd\xa1\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb", false); } // [B1, B3, V3, V6, V7]
2400test { try toAsciiFail("\xf0\x90\xb3\x88-\xef\xbd\xa1\xf0\x91\x84\xb3\xf1\xa2\x8c\xbb", true); } // [B1, B3, V3, V6, V7]
2401test { try toUnicodeFail("-\xf3\xa0\x89\x96\xea\xa1\xa7\xef\xbc\x8e\xf3\xa0\x8a\x82\xf1\x87\x86\x83\xf0\x9f\x84\x89"); } // [V3, V7, U1]
2402test { try toAsciiFail("-\xf3\xa0\x89\x96\xea\xa1\xa7\xef\xbc\x8e\xf3\xa0\x8a\x82\xf1\x87\x86\x83\xf0\x9f\x84\x89", false); } // [V3, V7, U1]
2403test { try toAsciiFail("-\xf3\xa0\x89\x96\xea\xa1\xa7\xef\xbc\x8e\xf3\xa0\x8a\x82\xf1\x87\x86\x83\xf0\x9f\x84\x89", true); } // [V3, V7, U1]
2404test { try toUnicodeFail("-\xf3\xa0\x89\x96\xea\xa1\xa7.\xf3\xa0\x8a\x82\xf1\x87\x86\x838,"); } // [V3, V7, U1]
2405test { try toAsciiFail("-\xf3\xa0\x89\x96\xea\xa1\xa7.\xf3\xa0\x8a\x82\xf1\x87\x86\x838,", false); } // [V3, V7, U1]
2406test { try toAsciiFail("-\xf3\xa0\x89\x96\xea\xa1\xa7.\xf3\xa0\x8a\x82\xf1\x87\x86\x838,", true); } // [V3, V7, U1]
2407test { try toUnicodeFail("xn----hg4ei0361g.xn--8,-k362evu488a"); } // [V3, V7, U1]
2408test { try toAsciiFail("xn----hg4ei0361g.xn--8,-k362evu488a", false); } // [V3, V7, U1]
2409test { try toAsciiFail("xn----hg4ei0361g.xn--8,-k362evu488a", true); } // [V3, V7, U1]
2410test { try toUnicodeFail("xn----hg4ei0361g.xn--207ht163h7m94c"); } // [V3, V7]
2411test { try toAsciiFail("xn----hg4ei0361g.xn--207ht163h7m94c", false); } // [V3, V7]
2412test { try toAsciiFail("xn----hg4ei0361g.xn--207ht163h7m94c", true); } // [V3, V7]
2413test { try toUnicodeFail("\xf3\xa0\xbe\x9b\xf3\xa0\x88\xb4\xe8\x87\xaf\xf0\xa7\x94\xa4.\xdd\xa8\xf0\x9d\x9f\x9d"); } // [B1, V7]
2414test { try toAsciiFail("\xf3\xa0\xbe\x9b\xf3\xa0\x88\xb4\xe8\x87\xaf\xf0\xa7\x94\xa4.\xdd\xa8\xf0\x9d\x9f\x9d", false); } // [B1, V7]
2415test { try toAsciiFail("\xf3\xa0\xbe\x9b\xf3\xa0\x88\xb4\xe8\x87\xaf\xf0\xa7\x94\xa4.\xdd\xa8\xf0\x9d\x9f\x9d", true); } // [B1, V7]
2416test { try toUnicodeFail("\xf3\xa0\xbe\x9b\xf3\xa0\x88\xb4\xe8\x87\xaf\xf0\xa7\x94\xa4.\xdd\xa85"); } // [B1, V7]
2417test { try toAsciiFail("\xf3\xa0\xbe\x9b\xf3\xa0\x88\xb4\xe8\x87\xaf\xf0\xa7\x94\xa4.\xdd\xa85", false); } // [B1, V7]
2418test { try toAsciiFail("\xf3\xa0\xbe\x9b\xf3\xa0\x88\xb4\xe8\x87\xaf\xf0\xa7\x94\xa4.\xdd\xa85", true); } // [B1, V7]
2419test { try toUnicodeFail("xn--zb1at733hm579ddhla.xn--5-b5c"); } // [B1, V7]
2420test { try toAsciiFail("xn--zb1at733hm579ddhla.xn--5-b5c", false); } // [B1, V7]
2421test { try toAsciiFail("xn--zb1at733hm579ddhla.xn--5-b5c", true); } // [B1, V7]
2422test { try toUnicodeFail("\xe2\x89\xae\xf0\x90\xb9\xa3\xef\xbc\x8e\xf0\x9d\xa8\xbf"); } // [B1, V6]
2423test { try toAsciiFail("\xe2\x89\xae\xf0\x90\xb9\xa3\xef\xbc\x8e\xf0\x9d\xa8\xbf", false); } // [B1, V6]
2424test { try toAsciiFail("\xe2\x89\xae\xf0\x90\xb9\xa3\xef\xbc\x8e\xf0\x9d\xa8\xbf", true); } // [B1, V6]
2425test { try toUnicodeFail("<\xcc\xb8\xf0\x90\xb9\xa3\xef\xbc\x8e\xf0\x9d\xa8\xbf"); } // [B1, V6]
2426test { try toAsciiFail("<\xcc\xb8\xf0\x90\xb9\xa3\xef\xbc\x8e\xf0\x9d\xa8\xbf", false); } // [B1, V6]
2427test { try toAsciiFail("<\xcc\xb8\xf0\x90\xb9\xa3\xef\xbc\x8e\xf0\x9d\xa8\xbf", true); } // [B1, V6]
2428test { try toUnicodeFail("\xe2\x89\xae\xf0\x90\xb9\xa3.\xf0\x9d\xa8\xbf"); } // [B1, V6]
2429test { try toAsciiFail("\xe2\x89\xae\xf0\x90\xb9\xa3.\xf0\x9d\xa8\xbf", false); } // [B1, V6]
2430test { try toAsciiFail("\xe2\x89\xae\xf0\x90\xb9\xa3.\xf0\x9d\xa8\xbf", true); } // [B1, V6]
2431test { try toUnicodeFail("<\xcc\xb8\xf0\x90\xb9\xa3.\xf0\x9d\xa8\xbf"); } // [B1, V6]
2432test { try toAsciiFail("<\xcc\xb8\xf0\x90\xb9\xa3.\xf0\x9d\xa8\xbf", false); } // [B1, V6]
2433test { try toAsciiFail("<\xcc\xb8\xf0\x90\xb9\xa3.\xf0\x9d\xa8\xbf", true); } // [B1, V6]
2434test { try toUnicodeFail("xn--gdh1504g.xn--e92h"); } // [B1, V6]
2435test { try toAsciiFail("xn--gdh1504g.xn--e92h", false); } // [B1, V6]
2436test { try toAsciiFail("xn--gdh1504g.xn--e92h", true); } // [B1, V6]
2437test { try toUnicodeFail("\xf0\x90\xb9\xaf\xe1\xaf\x9b\xe0\xa9\x8d\xef\xbd\xa1\xe8\x84\xa5"); } // [B1]
2438test { try toAsciiFail("\xf0\x90\xb9\xaf\xe1\xaf\x9b\xe0\xa9\x8d\xef\xbd\xa1\xe8\x84\xa5", false); } // [B1]
2439test { try toAsciiFail("\xf0\x90\xb9\xaf\xe1\xaf\x9b\xe0\xa9\x8d\xef\xbd\xa1\xe8\x84\xa5", true); } // [B1]
2440test { try toUnicodeFail("\xf0\x90\xb9\xaf\xe1\xaf\x9b\xe0\xa9\x8d\xe3\x80\x82\xe8\x84\xa5"); } // [B1]
2441test { try toAsciiFail("\xf0\x90\xb9\xaf\xe1\xaf\x9b\xe0\xa9\x8d\xe3\x80\x82\xe8\x84\xa5", false); } // [B1]
2442test { try toAsciiFail("\xf0\x90\xb9\xaf\xe1\xaf\x9b\xe0\xa9\x8d\xe3\x80\x82\xe8\x84\xa5", true); } // [B1]
2443test { try toUnicodeFail("xn--ybc101g3m1p.xn--740a"); } // [B1]
2444test { try toAsciiFail("xn--ybc101g3m1p.xn--740a", false); } // [B1]
2445test { try toAsciiFail("xn--ybc101g3m1p.xn--740a", true); } // [B1]
2446test { try toUnicodeFail("\xe1\xad\x84\xe1\x85\x9f\xf0\x9e\xb7\xbf\xf2\x83\x80\x8d.-"); } // [B1, B5, V3, V6, V7]
2447test { try toAsciiFail("\xe1\xad\x84\xe1\x85\x9f\xf0\x9e\xb7\xbf\xf2\x83\x80\x8d.-", false); } // [B1, B5, V3, V6, V7]
2448test { try toAsciiFail("\xe1\xad\x84\xe1\x85\x9f\xf0\x9e\xb7\xbf\xf2\x83\x80\x8d.-", true); } // [B1, B5, V3, V6, V7]
2449test { try toUnicodeFail("xn--1uf9538sxny9a.-"); } // [B1, B5, V3, V6, V7]
2450test { try toAsciiFail("xn--1uf9538sxny9a.-", false); } // [B1, B5, V3, V6, V7]
2451test { try toAsciiFail("xn--1uf9538sxny9a.-", true); } // [B1, B5, V3, V6, V7]
2452test { try toUnicodeFail("xn--osd971cpx70btgt8b.-"); } // [B1, B5, V3, V6, V7]
2453test { try toAsciiFail("xn--osd971cpx70btgt8b.-", false); } // [B1, B5, V3, V6, V7]
2454test { try toAsciiFail("xn--osd971cpx70btgt8b.-", true); } // [B1, B5, V3, V6, V7]
2455test { try toUnicodeFail("\xe2\x80\x8c\xef\xbd\xa1\xcd\x94"); } // [C1, V6]
2456test { try toAsciiFail("\xe2\x80\x8c\xef\xbd\xa1\xcd\x94", false); } // [C1, V6]
2457test { try toAsciiFail("\xe2\x80\x8c\xef\xbd\xa1\xcd\x94", true); } // [V6, A4_2]
2458test { try toUnicodeFail("\xe2\x80\x8c\xe3\x80\x82\xcd\x94"); } // [C1, V6]
2459test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xcd\x94", false); } // [C1, V6]
2460test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xcd\x94", true); } // [V6, A4_2]
2461test { try toUnicodeFail(".xn--yua"); } // [V6, X4_2]
2462test { try toAsciiFail(".xn--yua", false); } // [V6, A4_2]
2463test { try toAsciiFail(".xn--yua", true); } // [V6, A4_2]
2464test { try toUnicodeFail("xn--0ug.xn--yua"); } // [C1, V6]
2465test { try toAsciiFail("xn--0ug.xn--yua", false); } // [C1, V6]
2466test { try toAsciiFail("xn--0ug.xn--yua", true); } // [C1, V6]
2467test { try toUnicodePass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe1\x82\xae", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2468test { try toAsciiPass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", false); }
2469test { try toAsciiPass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", true); }
2470test { try toUnicodePass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae.\xe1\xa1\x84\xe1\x82\xae", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2471test { try toAsciiPass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae.\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", false); }
2472test { try toAsciiPass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae.\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", true); }
2473test { try toUnicodePass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae.\xe1\xa1\x84\xe2\xb4\x8e", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2474test { try toAsciiPass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae.\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", false); }
2475test { try toAsciiPass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae.\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", true); }
2476test { try toUnicodePass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae.\xe1\xa1\x84\xe1\x82\xae", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2477test { try toAsciiPass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae.\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", false); }
2478test { try toAsciiPass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae.\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", true); }
2479test { try toUnicodePass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae.\xe1\xa1\x84\xe2\xb4\x8e", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2480test { try toAsciiPass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae.\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", false); }
2481test { try toAsciiPass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae.\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", true); }
2482test { try toUnicodePass("xn--de6h.xn--37e857h", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2483test { try toAsciiPass("xn--de6h.xn--37e857h", "xn--de6h.xn--37e857h", false); }
2484test { try toAsciiPass("xn--de6h.xn--37e857h", "xn--de6h.xn--37e857h", true); }
2485test { try toUnicodePass("\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2486test { try toAsciiPass("\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", false); }
2487test { try toAsciiPass("\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", true); }
2488test { try toUnicodePass("\xf0\x9e\xa4\x83.\xe1\xa1\x84\xe1\x82\xae", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2489test { try toAsciiPass("\xf0\x9e\xa4\x83.\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", false); }
2490test { try toAsciiPass("\xf0\x9e\xa4\x83.\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", true); }
2491test { try toUnicodePass("\xf0\x9e\xa4\x83.\xe1\xa1\x84\xe2\xb4\x8e", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2492test { try toAsciiPass("\xf0\x9e\xa4\x83.\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", false); }
2493test { try toAsciiPass("\xf0\x9e\xa4\x83.\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", true); }
2494test { try toUnicodePass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe2\xb4\x8e", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2495test { try toAsciiPass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", false); }
2496test { try toAsciiPass("\xf0\x9e\xa4\xa5\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", true); }
2497test { try toUnicodePass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe1\x82\xae", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2498test { try toAsciiPass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", false); }
2499test { try toAsciiPass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", true); }
2500test { try toUnicodePass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe2\xb4\x8e", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2501test { try toAsciiPass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", false); }
2502test { try toAsciiPass("\xf0\x9e\xa4\x83\xf3\xa0\x85\xae\xef\xbc\x8e\xe1\xa1\x84\xe2\xb4\x8e", "xn--de6h.xn--37e857h", true); }
2503test { try toUnicodeFail("xn--de6h.xn--mnd799a"); } // [V7]
2504test { try toAsciiFail("xn--de6h.xn--mnd799a", false); } // [V7]
2505test { try toAsciiFail("xn--de6h.xn--mnd799a", true); } // [V7]
2506test { try toUnicodePass("\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe1\x82\xae", "\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe2\xb4\x8e"); }
2507test { try toAsciiPass("\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", false); }
2508test { try toAsciiPass("\xf0\x9e\xa4\xa5.\xe1\xa1\x84\xe1\x82\xae", "xn--de6h.xn--37e857h", true); }
2509test { try toUnicodeFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\x9e\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8"); } // [B2, B3, B6]
2510test { try toAsciiFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\x9e\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", false); } // [B2, B3, B6]
2511test { try toAsciiFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\x9e\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", true); } // [B2, B3, B6]
2512test { try toUnicodeFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\x9e.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8"); } // [B2, B3, B6]
2513test { try toAsciiFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\x9e.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", false); } // [B2, B3, B6]
2514test { try toAsciiFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\x9e.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", true); } // [B2, B3, B6]
2515test { try toUnicodeFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\xbe.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8"); } // [B2, B3, B6]
2516test { try toAsciiFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\xbe.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", false); } // [B2, B3, B6]
2517test { try toAsciiFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\xbe.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", true); } // [B2, B3, B6]
2518test { try toUnicodeFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\x9e.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8"); } // [B2, B3, B6]
2519test { try toAsciiFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\x9e.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", false); } // [B2, B3, B6]
2520test { try toAsciiFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\x9e.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", true); } // [B2, B3, B6]
2521test { try toUnicodeFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\xbe.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8"); } // [B2, B3, B6]
2522test { try toAsciiFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\xbe.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", false); } // [B2, B3, B6]
2523test { try toAsciiFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\xbe.\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", true); } // [B2, B3, B6]
2524test { try toUnicodeFail("xn--zxa5691vboja.xn--bfi293ci119b"); } // [B2, B3, B6]
2525test { try toAsciiFail("xn--zxa5691vboja.xn--bfi293ci119b", false); } // [B2, B3, B6]
2526test { try toAsciiFail("xn--zxa5691vboja.xn--bfi293ci119b", true); } // [B2, B3, B6]
2527test { try toUnicodeFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\xbe\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8"); } // [B2, B3, B6]
2528test { try toAsciiFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\xbe\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", false); } // [B2, B3, B6]
2529test { try toAsciiFail("\xf0\x9e\xa4\xa7\xf0\x9d\xa8\xa8\xce\xbe\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", true); } // [B2, B3, B6]
2530test { try toUnicodeFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\x9e\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8"); } // [B2, B3, B6]
2531test { try toAsciiFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\x9e\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", false); } // [B2, B3, B6]
2532test { try toAsciiFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\x9e\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", true); } // [B2, B3, B6]
2533test { try toUnicodeFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\xbe\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8"); } // [B2, B3, B6]
2534test { try toAsciiFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\xbe\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", false); } // [B2, B3, B6]
2535test { try toAsciiFail("\xf0\x9e\xa4\x85\xf0\x9d\xa8\xa8\xce\xbe\xef\xbc\x8e\xf0\xaa\xba\x8f\xe3\x9b\xa8\xe2\x9d\xb8", true); } // [B2, B3, B6]
2536test { try toUnicodeFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xef\xbd\xa1\xe1\x82\xbb\xf0\x90\xa6\x85\xef\xb8\x92"); } // [B1, B5, B6, C1, V3, V7]
2537test { try toAsciiFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xef\xbd\xa1\xe1\x82\xbb\xf0\x90\xa6\x85\xef\xb8\x92", false); } // [B1, B5, B6, C1, V3, V7]
2538test { try toAsciiFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xef\xbd\xa1\xe1\x82\xbb\xf0\x90\xa6\x85\xef\xb8\x92", true); } // [B1, B5, B6, V3, V7]
2539test { try toUnicodeFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xef\xbd\xa1\xe1\x82\xbb\xf0\x90\xa6\x85\xef\xb8\x92"); } // [B1, B5, B6, C1, V3, V7]
2540test { try toAsciiFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xef\xbd\xa1\xe1\x82\xbb\xf0\x90\xa6\x85\xef\xb8\x92", false); } // [B1, B5, B6, C1, V3, V7]
2541test { try toAsciiFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xef\xbd\xa1\xe1\x82\xbb\xf0\x90\xa6\x85\xef\xb8\x92", true); } // [B1, B5, B6, V3, V7]
2542test { try toUnicodeFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xe3\x80\x82\xe1\x82\xbb\xf0\x90\xa6\x85\xe3\x80\x82"); } // [B1, B5, B6, C1, V3]
2543test { try toAsciiFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xe3\x80\x82\xe1\x82\xbb\xf0\x90\xa6\x85\xe3\x80\x82", false); } // [B1, B5, B6, C1, V3, A4_2]
2544test { try toAsciiFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xe3\x80\x82\xe1\x82\xbb\xf0\x90\xa6\x85\xe3\x80\x82", true); } // [B1, B5, B6, V3, A4_2]
2545test { try toUnicodeFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xe3\x80\x82\xe1\x82\xbb\xf0\x90\xa6\x85\xe3\x80\x82"); } // [B1, B5, B6, C1, V3]
2546test { try toAsciiFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xe3\x80\x82\xe1\x82\xbb\xf0\x90\xa6\x85\xe3\x80\x82", false); } // [B1, B5, B6, C1, V3, A4_2]
2547test { try toAsciiFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xe3\x80\x82\xe1\x82\xbb\xf0\x90\xa6\x85\xe3\x80\x82", true); } // [B1, B5, B6, V3, A4_2]
2548test { try toUnicodeFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xe3\x80\x82\xe2\xb4\x9b\xf0\x90\xa6\x85\xe3\x80\x82"); } // [B1, B5, B6, C1, V3]
2549test { try toAsciiFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xe3\x80\x82\xe2\xb4\x9b\xf0\x90\xa6\x85\xe3\x80\x82", false); } // [B1, B5, B6, C1, V3, A4_2]
2550test { try toAsciiFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xe3\x80\x82\xe2\xb4\x9b\xf0\x90\xa6\x85\xe3\x80\x82", true); } // [B1, B5, B6, V3, A4_2]
2551test { try toUnicodeFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xe3\x80\x82\xe2\xb4\x9b\xf0\x90\xa6\x85\xe3\x80\x82"); } // [B1, B5, B6, C1, V3]
2552test { try toAsciiFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xe3\x80\x82\xe2\xb4\x9b\xf0\x90\xa6\x85\xe3\x80\x82", false); } // [B1, B5, B6, C1, V3, A4_2]
2553test { try toAsciiFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xe3\x80\x82\xe2\xb4\x9b\xf0\x90\xa6\x85\xe3\x80\x82", true); } // [B1, B5, B6, V3, A4_2]
2554test { try toUnicodeFail("xn----e3j6620g.xn--jlju661e."); } // [B1, B5, B6, V3]
2555test { try toAsciiFail("xn----e3j6620g.xn--jlju661e.", false); } // [B1, B5, B6, V3, A4_2]
2556test { try toAsciiFail("xn----e3j6620g.xn--jlju661e.", true); } // [B1, B5, B6, V3, A4_2]
2557test { try toUnicodeFail("xn----e3j425bsk1o.xn--jlju661e."); } // [B1, B5, B6, C1, V3]
2558test { try toAsciiFail("xn----e3j425bsk1o.xn--jlju661e.", false); } // [B1, B5, B6, C1, V3, A4_2]
2559test { try toAsciiFail("xn----e3j425bsk1o.xn--jlju661e.", true); } // [B1, B5, B6, C1, V3, A4_2]
2560test { try toUnicodeFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xef\xbd\xa1\xe2\xb4\x9b\xf0\x90\xa6\x85\xef\xb8\x92"); } // [B1, B5, B6, C1, V3, V7]
2561test { try toAsciiFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xef\xbd\xa1\xe2\xb4\x9b\xf0\x90\xa6\x85\xef\xb8\x92", false); } // [B1, B5, B6, C1, V3, V7]
2562test { try toAsciiFail("\xe1\xa0\x86\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xbd\xe2\x80\x8c-\xef\xbd\xa1\xe2\xb4\x9b\xf0\x90\xa6\x85\xef\xb8\x92", true); } // [B1, B5, B6, V3, V7]
2563test { try toUnicodeFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xef\xbd\xa1\xe2\xb4\x9b\xf0\x90\xa6\x85\xef\xb8\x92"); } // [B1, B5, B6, C1, V3, V7]
2564test { try toAsciiFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xef\xbd\xa1\xe2\xb4\x9b\xf0\x90\xa6\x85\xef\xb8\x92", false); } // [B1, B5, B6, C1, V3, V7]
2565test { try toAsciiFail("\xe1\xa0\x86\xeb\xaa\x86\xe2\x80\x8c-\xef\xbd\xa1\xe2\xb4\x9b\xf0\x90\xa6\x85\xef\xb8\x92", true); } // [B1, B5, B6, V3, V7]
2566test { try toUnicodeFail("xn----e3j6620g.xn--jlj4997dhgh"); } // [B1, B5, B6, V3, V7]
2567test { try toAsciiFail("xn----e3j6620g.xn--jlj4997dhgh", false); } // [B1, B5, B6, V3, V7]
2568test { try toAsciiFail("xn----e3j6620g.xn--jlj4997dhgh", true); } // [B1, B5, B6, V3, V7]
2569test { try toUnicodeFail("xn----e3j425bsk1o.xn--jlj4997dhgh"); } // [B1, B5, B6, C1, V3, V7]
2570test { try toAsciiFail("xn----e3j425bsk1o.xn--jlj4997dhgh", false); } // [B1, B5, B6, C1, V3, V7]
2571test { try toAsciiFail("xn----e3j425bsk1o.xn--jlj4997dhgh", true); } // [B1, B5, B6, C1, V3, V7]
2572test { try toUnicodeFail("xn----e3j6620g.xn--znd4948j."); } // [B1, B5, B6, V3, V7]
2573test { try toAsciiFail("xn----e3j6620g.xn--znd4948j.", false); } // [B1, B5, B6, V3, V7, A4_2]
2574test { try toAsciiFail("xn----e3j6620g.xn--znd4948j.", true); } // [B1, B5, B6, V3, V7, A4_2]
2575test { try toUnicodeFail("xn----e3j425bsk1o.xn--znd4948j."); } // [B1, B5, B6, C1, V3, V7]
2576test { try toAsciiFail("xn----e3j425bsk1o.xn--znd4948j.", false); } // [B1, B5, B6, C1, V3, V7, A4_2]
2577test { try toAsciiFail("xn----e3j425bsk1o.xn--znd4948j.", true); } // [B1, B5, B6, C1, V3, V7, A4_2]
2578test { try toUnicodeFail("xn----e3j6620g.xn--znd2362jhgh"); } // [B1, B5, B6, V3, V7]
2579test { try toAsciiFail("xn----e3j6620g.xn--znd2362jhgh", false); } // [B1, B5, B6, V3, V7]
2580test { try toAsciiFail("xn----e3j6620g.xn--znd2362jhgh", true); } // [B1, B5, B6, V3, V7]
2581test { try toUnicodeFail("xn----e3j425bsk1o.xn--znd2362jhgh"); } // [B1, B5, B6, C1, V3, V7]
2582test { try toAsciiFail("xn----e3j425bsk1o.xn--znd2362jhgh", false); } // [B1, B5, B6, C1, V3, V7]
2583test { try toAsciiFail("xn----e3j425bsk1o.xn--znd2362jhgh", true); } // [B1, B5, B6, C1, V3, V7]
2584test { try toUnicodeFail("\xf3\xa0\xbe\xb3.\xef\xb8\x92\xe2\xa5\xb1\xe2\x80\x8c\xf0\x90\xb9\xac"); } // [B1, C1, V7]
2585test { try toAsciiFail("\xf3\xa0\xbe\xb3.\xef\xb8\x92\xe2\xa5\xb1\xe2\x80\x8c\xf0\x90\xb9\xac", false); } // [B1, C1, V7]
2586test { try toAsciiFail("\xf3\xa0\xbe\xb3.\xef\xb8\x92\xe2\xa5\xb1\xe2\x80\x8c\xf0\x90\xb9\xac", true); } // [B1, V7]
2587test { try toUnicodeFail("\xf3\xa0\xbe\xb3.\xe3\x80\x82\xe2\xa5\xb1\xe2\x80\x8c\xf0\x90\xb9\xac"); } // [B1, C1, V7, X4_2]
2588test { try toAsciiFail("\xf3\xa0\xbe\xb3.\xe3\x80\x82\xe2\xa5\xb1\xe2\x80\x8c\xf0\x90\xb9\xac", false); } // [B1, C1, V7, A4_2]
2589test { try toAsciiFail("\xf3\xa0\xbe\xb3.\xe3\x80\x82\xe2\xa5\xb1\xe2\x80\x8c\xf0\x90\xb9\xac", true); } // [B1, V7, A4_2]
2590test { try toUnicodeFail("xn--uf66e..xn--qti2829e"); } // [B1, V7, X4_2]
2591test { try toAsciiFail("xn--uf66e..xn--qti2829e", false); } // [B1, V7, A4_2]
2592test { try toAsciiFail("xn--uf66e..xn--qti2829e", true); } // [B1, V7, A4_2]
2593test { try toUnicodeFail("xn--uf66e..xn--0ugz28as66q"); } // [B1, C1, V7, X4_2]
2594test { try toAsciiFail("xn--uf66e..xn--0ugz28as66q", false); } // [B1, C1, V7, A4_2]
2595test { try toAsciiFail("xn--uf66e..xn--0ugz28as66q", true); } // [B1, C1, V7, A4_2]
2596test { try toUnicodeFail("xn--uf66e.xn--qtiz073e3ik"); } // [B1, V7]
2597test { try toAsciiFail("xn--uf66e.xn--qtiz073e3ik", false); } // [B1, V7]
2598test { try toAsciiFail("xn--uf66e.xn--qtiz073e3ik", true); } // [B1, V7]
2599test { try toUnicodeFail("xn--uf66e.xn--0ugz28axl3pqxna"); } // [B1, C1, V7]
2600test { try toAsciiFail("xn--uf66e.xn--0ugz28axl3pqxna", false); } // [B1, C1, V7]
2601test { try toAsciiFail("xn--uf66e.xn--0ugz28axl3pqxna", true); } // [B1, C1, V7]
2602test { try toUnicodeFail("\xf0\x90\xaf\x96.\xf0\x90\xb9\xa0\xe1\x82\xb1\xf1\x9a\x87\x9c\xf0\x90\xab\x8a"); } // [B1, V7]
2603test { try toAsciiFail("\xf0\x90\xaf\x96.\xf0\x90\xb9\xa0\xe1\x82\xb1\xf1\x9a\x87\x9c\xf0\x90\xab\x8a", false); } // [B1, V7]
2604test { try toAsciiFail("\xf0\x90\xaf\x96.\xf0\x90\xb9\xa0\xe1\x82\xb1\xf1\x9a\x87\x9c\xf0\x90\xab\x8a", true); } // [B1, V7]
2605test { try toUnicodeFail("\xf0\x90\xaf\x96.\xf0\x90\xb9\xa0\xe2\xb4\x91\xf1\x9a\x87\x9c\xf0\x90\xab\x8a"); } // [B1, V7]
2606test { try toAsciiFail("\xf0\x90\xaf\x96.\xf0\x90\xb9\xa0\xe2\xb4\x91\xf1\x9a\x87\x9c\xf0\x90\xab\x8a", false); } // [B1, V7]
2607test { try toAsciiFail("\xf0\x90\xaf\x96.\xf0\x90\xb9\xa0\xe2\xb4\x91\xf1\x9a\x87\x9c\xf0\x90\xab\x8a", true); } // [B1, V7]
2608test { try toUnicodeFail("xn--n49c.xn--8kj8702ewicl862o"); } // [B1, V7]
2609test { try toAsciiFail("xn--n49c.xn--8kj8702ewicl862o", false); } // [B1, V7]
2610test { try toAsciiFail("xn--n49c.xn--8kj8702ewicl862o", true); } // [B1, V7]
2611test { try toUnicodeFail("xn--n49c.xn--pnd4619jwicl862o"); } // [B1, V7]
2612test { try toAsciiFail("xn--n49c.xn--pnd4619jwicl862o", false); } // [B1, V7]
2613test { try toAsciiFail("xn--n49c.xn--pnd4619jwicl862o", true); } // [B1, V7]
2614test { try toUnicodeFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf\xef\xbc\x8e\xf0\x9d\x9f\xad\xe1\x82\xbb"); } // [V6, V7]
2615test { try toAsciiFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf\xef\xbc\x8e\xf0\x9d\x9f\xad\xe1\x82\xbb", false); } // [V6, V7]
2616test { try toAsciiFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf\xef\xbc\x8e\xf0\x9d\x9f\xad\xe1\x82\xbb", true); } // [V6, V7]
2617test { try toUnicodeFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf.1\xe1\x82\xbb"); } // [V6, V7]
2618test { try toAsciiFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf.1\xe1\x82\xbb", false); } // [V6, V7]
2619test { try toAsciiFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf.1\xe1\x82\xbb", true); } // [V6, V7]
2620test { try toUnicodeFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf.1\xe2\xb4\x9b"); } // [V6, V7]
2621test { try toAsciiFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf.1\xe2\xb4\x9b", false); } // [V6, V7]
2622test { try toAsciiFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf.1\xe2\xb4\x9b", true); } // [V6, V7]
2623test { try toUnicodeFail("xn--0fd40533g.xn--1-tws"); } // [V6, V7]
2624test { try toAsciiFail("xn--0fd40533g.xn--1-tws", false); } // [V6, V7]
2625test { try toAsciiFail("xn--0fd40533g.xn--1-tws", true); } // [V6, V7]
2626test { try toUnicodeFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf\xef\xbc\x8e\xf0\x9d\x9f\xad\xe2\xb4\x9b"); } // [V6, V7]
2627test { try toAsciiFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf\xef\xbc\x8e\xf0\x9d\x9f\xad\xe2\xb4\x9b", false); } // [V6, V7]
2628test { try toAsciiFail("\xe0\xbe\xa4\xf1\xb1\xa4\xaf\xef\xbc\x8e\xf0\x9d\x9f\xad\xe2\xb4\x9b", true); } // [V6, V7]
2629test { try toUnicodeFail("xn--0fd40533g.xn--1-q1g"); } // [V6, V7]
2630test { try toAsciiFail("xn--0fd40533g.xn--1-q1g", false); } // [V6, V7]
2631test { try toAsciiFail("xn--0fd40533g.xn--1-q1g", true); } // [V6, V7]
2632test { try toUnicodeFail("-\xe0\xa0\xa6\xe9\xbd\x80\xe3\x80\x82\xeb\xa6\xbf\xf0\x90\xb8\x8b"); } // [B1, B5, B6, V3, V7]
2633test { try toAsciiFail("-\xe0\xa0\xa6\xe9\xbd\x80\xe3\x80\x82\xeb\xa6\xbf\xf0\x90\xb8\x8b", false); } // [B1, B5, B6, V3, V7]
2634test { try toAsciiFail("-\xe0\xa0\xa6\xe9\xbd\x80\xe3\x80\x82\xeb\xa6\xbf\xf0\x90\xb8\x8b", true); } // [B1, B5, B6, V3, V7]
2635test { try toUnicodeFail("-\xe0\xa0\xa6\xe9\xbd\x80\xe3\x80\x82\xe1\x84\x85\xe1\x85\xb5\xe1\x86\xba\xf0\x90\xb8\x8b"); } // [B1, B5, B6, V3, V7]
2636test { try toAsciiFail("-\xe0\xa0\xa6\xe9\xbd\x80\xe3\x80\x82\xe1\x84\x85\xe1\x85\xb5\xe1\x86\xba\xf0\x90\xb8\x8b", false); } // [B1, B5, B6, V3, V7]
2637test { try toAsciiFail("-\xe0\xa0\xa6\xe9\xbd\x80\xe3\x80\x82\xe1\x84\x85\xe1\x85\xb5\xe1\x86\xba\xf0\x90\xb8\x8b", true); } // [B1, B5, B6, V3, V7]
2638test { try toUnicodeFail("xn----6gd0617i.xn--7y2bm55m"); } // [B1, B5, B6, V3, V7]
2639test { try toAsciiFail("xn----6gd0617i.xn--7y2bm55m", false); } // [B1, B5, B6, V3, V7]
2640test { try toAsciiFail("xn----6gd0617i.xn--7y2bm55m", true); } // [B1, B5, B6, V3, V7]
2641test { try toUnicodeFail("\xf3\xa0\x94\x8a\xdc\x9c\xe9\xb9\x9d\xea\xbe\x97\xe3\x80\x82\xf1\xbe\xb5\x90\xe2\x80\x8d\xe2\x80\x8d\xe2\x8f\x83"); } // [B1, B6, C2, V7]
2642test { try toAsciiFail("\xf3\xa0\x94\x8a\xdc\x9c\xe9\xb9\x9d\xea\xbe\x97\xe3\x80\x82\xf1\xbe\xb5\x90\xe2\x80\x8d\xe2\x80\x8d\xe2\x8f\x83", false); } // [B1, B6, C2, V7]
2643test { try toAsciiFail("\xf3\xa0\x94\x8a\xdc\x9c\xe9\xb9\x9d\xea\xbe\x97\xe3\x80\x82\xf1\xbe\xb5\x90\xe2\x80\x8d\xe2\x80\x8d\xe2\x8f\x83", true); } // [B1, B6, V7]
2644test { try toUnicodeFail("\xf3\xa0\x94\x8a\xdc\x9c\xe9\xb9\x9d\xe1\x84\x81\xe1\x85\xac\xe1\x86\xbe\xe3\x80\x82\xf1\xbe\xb5\x90\xe2\x80\x8d\xe2\x80\x8d\xe2\x8f\x83"); } // [B1, B6, C2, V7]
2645test { try toAsciiFail("\xf3\xa0\x94\x8a\xdc\x9c\xe9\xb9\x9d\xe1\x84\x81\xe1\x85\xac\xe1\x86\xbe\xe3\x80\x82\xf1\xbe\xb5\x90\xe2\x80\x8d\xe2\x80\x8d\xe2\x8f\x83", false); } // [B1, B6, C2, V7]
2646test { try toAsciiFail("\xf3\xa0\x94\x8a\xdc\x9c\xe9\xb9\x9d\xe1\x84\x81\xe1\x85\xac\xe1\x86\xbe\xe3\x80\x82\xf1\xbe\xb5\x90\xe2\x80\x8d\xe2\x80\x8d\xe2\x8f\x83", true); } // [B1, B6, V7]
2647test { try toUnicodeFail("xn--mnb6558e91kyq533a.xn--6mh27269e"); } // [B1, B6, V7]
2648test { try toAsciiFail("xn--mnb6558e91kyq533a.xn--6mh27269e", false); } // [B1, B6, V7]
2649test { try toAsciiFail("xn--mnb6558e91kyq533a.xn--6mh27269e", true); } // [B1, B6, V7]
2650test { try toUnicodeFail("xn--mnb6558e91kyq533a.xn--1uga46zs309y"); } // [B1, B6, C2, V7]
2651test { try toAsciiFail("xn--mnb6558e91kyq533a.xn--1uga46zs309y", false); } // [B1, B6, C2, V7]
2652test { try toAsciiFail("xn--mnb6558e91kyq533a.xn--1uga46zs309y", true); } // [B1, B6, C2, V7]
2653test { try toUnicodeFail("\xe2\x89\xae\xef\xbc\x8e-\xdc\x88--"); } // [B1, V2, V3]
2654test { try toAsciiFail("\xe2\x89\xae\xef\xbc\x8e-\xdc\x88--", false); } // [B1, V2, V3]
2655test { try toAsciiFail("\xe2\x89\xae\xef\xbc\x8e-\xdc\x88--", true); } // [B1, V2, V3]
2656test { try toUnicodeFail("<\xcc\xb8\xef\xbc\x8e-\xdc\x88--"); } // [B1, V2, V3]
2657test { try toAsciiFail("<\xcc\xb8\xef\xbc\x8e-\xdc\x88--", false); } // [B1, V2, V3]
2658test { try toAsciiFail("<\xcc\xb8\xef\xbc\x8e-\xdc\x88--", true); } // [B1, V2, V3]
2659test { try toUnicodeFail("\xe2\x89\xae.-\xdc\x88--"); } // [B1, V2, V3]
2660test { try toAsciiFail("\xe2\x89\xae.-\xdc\x88--", false); } // [B1, V2, V3]
2661test { try toAsciiFail("\xe2\x89\xae.-\xdc\x88--", true); } // [B1, V2, V3]
2662test { try toUnicodeFail("<\xcc\xb8.-\xdc\x88--"); } // [B1, V2, V3]
2663test { try toAsciiFail("<\xcc\xb8.-\xdc\x88--", false); } // [B1, V2, V3]
2664test { try toAsciiFail("<\xcc\xb8.-\xdc\x88--", true); } // [B1, V2, V3]
2665test { try toUnicodeFail("xn--gdh.xn------eqf"); } // [B1, V2, V3]
2666test { try toAsciiFail("xn--gdh.xn------eqf", false); } // [B1, V2, V3]
2667test { try toAsciiFail("xn--gdh.xn------eqf", true); } // [B1, V2, V3]
2668test { try toUnicodeFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x82\xf0\x9d\x9f\xa9"); } // [B1, C2, V7]
2669test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x82\xf0\x9d\x9f\xa9", false); } // [B1, C2, V7]
2670test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x82\xf0\x9d\x9f\xa9", true); } // [B1, V7]
2671test { try toUnicodeFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x827"); } // [B1, C2, V7]
2672test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x827", false); } // [B1, C2, V7]
2673test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x827", true); } // [B1, V7]
2674test { try toUnicodeFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xce\xa37"); } // [B1, C2, V7]
2675test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xce\xa37", false); } // [B1, C2, V7]
2676test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xce\xa37", true); } // [B1, V7]
2677test { try toUnicodeFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x837"); } // [B1, C2, V7]
2678test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x837", false); } // [B1, C2, V7]
2679test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x837", true); } // [B1, V7]
2680test { try toUnicodeFail("xn--wo0di5177c.xn--7-zmb"); } // [B1, V7]
2681test { try toAsciiFail("xn--wo0di5177c.xn--7-zmb", false); } // [B1, V7]
2682test { try toAsciiFail("xn--wo0di5177c.xn--7-zmb", true); } // [B1, V7]
2683test { try toUnicodeFail("xn--wo0di5177c.xn--7-zmb938s"); } // [B1, C2, V7]
2684test { try toAsciiFail("xn--wo0di5177c.xn--7-zmb938s", false); } // [B1, C2, V7]
2685test { try toAsciiFail("xn--wo0di5177c.xn--7-zmb938s", true); } // [B1, C2, V7]
2686test { try toUnicodeFail("xn--wo0di5177c.xn--7-xmb248s"); } // [B1, C2, V7]
2687test { try toAsciiFail("xn--wo0di5177c.xn--7-xmb248s", false); } // [B1, C2, V7]
2688test { try toAsciiFail("xn--wo0di5177c.xn--7-xmb248s", true); } // [B1, C2, V7]
2689test { try toUnicodeFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xce\xa3\xf0\x9d\x9f\xa9"); } // [B1, C2, V7]
2690test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xce\xa3\xf0\x9d\x9f\xa9", false); } // [B1, C2, V7]
2691test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xce\xa3\xf0\x9d\x9f\xa9", true); } // [B1, V7]
2692test { try toUnicodeFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x83\xf0\x9d\x9f\xa9"); } // [B1, C2, V7]
2693test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x83\xf0\x9d\x9f\xa9", false); } // [B1, C2, V7]
2694test { try toAsciiFail("\xf0\x90\xb9\xb8\xf3\xa0\x8b\xb3\xe3\x80\x82\xe2\x80\x8d\xcf\x83\xf0\x9d\x9f\xa9", true); } // [B1, V7]
2695test { try toUnicodeFail("\xcf\x82\xf2\x85\x9c\x8c\xef\xbc\x98.\xf0\x9e\xad\xa4"); } // [V7]
2696test { try toAsciiFail("\xcf\x82\xf2\x85\x9c\x8c\xef\xbc\x98.\xf0\x9e\xad\xa4", false); } // [V7]
2697test { try toAsciiFail("\xcf\x82\xf2\x85\x9c\x8c\xef\xbc\x98.\xf0\x9e\xad\xa4", true); } // [V7]
2698test { try toUnicodeFail("\xcf\x82\xf2\x85\x9c\x8c8.\xf0\x9e\xad\xa4"); } // [V7]
2699test { try toAsciiFail("\xcf\x82\xf2\x85\x9c\x8c8.\xf0\x9e\xad\xa4", false); } // [V7]
2700test { try toAsciiFail("\xcf\x82\xf2\x85\x9c\x8c8.\xf0\x9e\xad\xa4", true); } // [V7]
2701test { try toUnicodeFail("\xce\xa3\xf2\x85\x9c\x8c8.\xf0\x9e\xad\xa4"); } // [V7]
2702test { try toAsciiFail("\xce\xa3\xf2\x85\x9c\x8c8.\xf0\x9e\xad\xa4", false); } // [V7]
2703test { try toAsciiFail("\xce\xa3\xf2\x85\x9c\x8c8.\xf0\x9e\xad\xa4", true); } // [V7]
2704test { try toUnicodeFail("\xcf\x83\xf2\x85\x9c\x8c8.\xf0\x9e\xad\xa4"); } // [V7]
2705test { try toAsciiFail("\xcf\x83\xf2\x85\x9c\x8c8.\xf0\x9e\xad\xa4", false); } // [V7]
2706test { try toAsciiFail("\xcf\x83\xf2\x85\x9c\x8c8.\xf0\x9e\xad\xa4", true); } // [V7]
2707test { try toUnicodeFail("xn--8-zmb14974n.xn--su6h"); } // [V7]
2708test { try toAsciiFail("xn--8-zmb14974n.xn--su6h", false); } // [V7]
2709test { try toAsciiFail("xn--8-zmb14974n.xn--su6h", true); } // [V7]
2710test { try toUnicodeFail("xn--8-xmb44974n.xn--su6h"); } // [V7]
2711test { try toAsciiFail("xn--8-xmb44974n.xn--su6h", false); } // [V7]
2712test { try toAsciiFail("xn--8-xmb44974n.xn--su6h", true); } // [V7]
2713test { try toUnicodeFail("\xce\xa3\xf2\x85\x9c\x8c\xef\xbc\x98.\xf0\x9e\xad\xa4"); } // [V7]
2714test { try toAsciiFail("\xce\xa3\xf2\x85\x9c\x8c\xef\xbc\x98.\xf0\x9e\xad\xa4", false); } // [V7]
2715test { try toAsciiFail("\xce\xa3\xf2\x85\x9c\x8c\xef\xbc\x98.\xf0\x9e\xad\xa4", true); } // [V7]
2716test { try toUnicodeFail("\xcf\x83\xf2\x85\x9c\x8c\xef\xbc\x98.\xf0\x9e\xad\xa4"); } // [V7]
2717test { try toAsciiFail("\xcf\x83\xf2\x85\x9c\x8c\xef\xbc\x98.\xf0\x9e\xad\xa4", false); } // [V7]
2718test { try toAsciiFail("\xcf\x83\xf2\x85\x9c\x8c\xef\xbc\x98.\xf0\x9e\xad\xa4", true); } // [V7]
2719test { try toUnicodeFail("\xe2\x80\x8c\xe1\xa1\x91\xf0\x9f\x84\x80\xda\x84\xef\xbc\x8e-\xf0\x90\xab\x84\xf0\x91\xb2\xa4"); } // [B1, C1, V3, V7]
2720test { try toAsciiFail("\xe2\x80\x8c\xe1\xa1\x91\xf0\x9f\x84\x80\xda\x84\xef\xbc\x8e-\xf0\x90\xab\x84\xf0\x91\xb2\xa4", false); } // [B1, C1, V3, V7]
2721test { try toAsciiFail("\xe2\x80\x8c\xe1\xa1\x91\xf0\x9f\x84\x80\xda\x84\xef\xbc\x8e-\xf0\x90\xab\x84\xf0\x91\xb2\xa4", true); } // [B1, B5, B6, V3, V7]
2722test { try toUnicodeFail("\xe2\x80\x8c\xe1\xa1\x910.\xda\x84.-\xf0\x90\xab\x84\xf0\x91\xb2\xa4"); } // [B1, C1, V3]
2723test { try toAsciiFail("\xe2\x80\x8c\xe1\xa1\x910.\xda\x84.-\xf0\x90\xab\x84\xf0\x91\xb2\xa4", false); } // [B1, C1, V3]
2724test { try toAsciiFail("\xe2\x80\x8c\xe1\xa1\x910.\xda\x84.-\xf0\x90\xab\x84\xf0\x91\xb2\xa4", true); } // [B1, V3]
2725test { try toUnicodeFail("xn--0-o7j.xn--9ib.xn----ek5i065b"); } // [B1, V3]
2726test { try toAsciiFail("xn--0-o7j.xn--9ib.xn----ek5i065b", false); } // [B1, V3]
2727test { try toAsciiFail("xn--0-o7j.xn--9ib.xn----ek5i065b", true); } // [B1, V3]
2728test { try toUnicodeFail("xn--0-o7j263b.xn--9ib.xn----ek5i065b"); } // [B1, C1, V3]
2729test { try toAsciiFail("xn--0-o7j263b.xn--9ib.xn----ek5i065b", false); } // [B1, C1, V3]
2730test { try toAsciiFail("xn--0-o7j263b.xn--9ib.xn----ek5i065b", true); } // [B1, C1, V3]
2731test { try toUnicodeFail("xn--9ib722gbw95a.xn----ek5i065b"); } // [B1, B5, B6, V3, V7]
2732test { try toAsciiFail("xn--9ib722gbw95a.xn----ek5i065b", false); } // [B1, B5, B6, V3, V7]
2733test { try toAsciiFail("xn--9ib722gbw95a.xn----ek5i065b", true); } // [B1, B5, B6, V3, V7]
2734test { try toUnicodeFail("xn--9ib722gvtfi563c.xn----ek5i065b"); } // [B1, C1, V3, V7]
2735test { try toAsciiFail("xn--9ib722gvtfi563c.xn----ek5i065b", false); } // [B1, C1, V3, V7]
2736test { try toAsciiFail("xn--9ib722gvtfi563c.xn----ek5i065b", true); } // [B1, C1, V3, V7]
2737test { try toUnicodeFail("\xf0\x96\xa0\x8d\xe3\x80\x82\xf0\x90\xaa\xbf\xeb\x84\xaf\xf2\x9e\xb5\xb2"); } // [B2, B3, V7]
2738test { try toAsciiFail("\xf0\x96\xa0\x8d\xe3\x80\x82\xf0\x90\xaa\xbf\xeb\x84\xaf\xf2\x9e\xb5\xb2", false); } // [B2, B3, V7]
2739test { try toAsciiFail("\xf0\x96\xa0\x8d\xe3\x80\x82\xf0\x90\xaa\xbf\xeb\x84\xaf\xf2\x9e\xb5\xb2", true); } // [B2, B3, V7]
2740test { try toUnicodeFail("\xf0\x96\xa0\x8d\xe3\x80\x82\xf0\x90\xaa\xbf\xe1\x84\x82\xe1\x85\xa6\xe1\x86\xb2\xf2\x9e\xb5\xb2"); } // [B2, B3, V7]
2741test { try toAsciiFail("\xf0\x96\xa0\x8d\xe3\x80\x82\xf0\x90\xaa\xbf\xe1\x84\x82\xe1\x85\xa6\xe1\x86\xb2\xf2\x9e\xb5\xb2", false); } // [B2, B3, V7]
2742test { try toAsciiFail("\xf0\x96\xa0\x8d\xe3\x80\x82\xf0\x90\xaa\xbf\xe1\x84\x82\xe1\x85\xa6\xe1\x86\xb2\xf2\x9e\xb5\xb2", true); } // [B2, B3, V7]
2743test { try toUnicodeFail("xn--4e9e.xn--l60bj21opd57g"); } // [B2, B3, V7]
2744test { try toAsciiFail("xn--4e9e.xn--l60bj21opd57g", false); } // [B2, B3, V7]
2745test { try toAsciiFail("xn--4e9e.xn--l60bj21opd57g", true); } // [B2, B3, V7]
2746test { try toUnicodeFail("\xe1\xa0\x87\xe1\x82\xb8\xe3\x80\x82\xd8\x83\xe1\x82\xa8\xf0\x9d\x86\x8a"); } // [B1, V7]
2747test { try toAsciiFail("\xe1\xa0\x87\xe1\x82\xb8\xe3\x80\x82\xd8\x83\xe1\x82\xa8\xf0\x9d\x86\x8a", false); } // [B1, V7]
2748test { try toAsciiFail("\xe1\xa0\x87\xe1\x82\xb8\xe3\x80\x82\xd8\x83\xe1\x82\xa8\xf0\x9d\x86\x8a", true); } // [B1, V7]
2749test { try toUnicodeFail("\xe1\xa0\x87\xe2\xb4\x98\xe3\x80\x82\xd8\x83\xe2\xb4\x88\xf0\x9d\x86\x8a"); } // [B1, V7]
2750test { try toAsciiFail("\xe1\xa0\x87\xe2\xb4\x98\xe3\x80\x82\xd8\x83\xe2\xb4\x88\xf0\x9d\x86\x8a", false); } // [B1, V7]
2751test { try toAsciiFail("\xe1\xa0\x87\xe2\xb4\x98\xe3\x80\x82\xd8\x83\xe2\xb4\x88\xf0\x9d\x86\x8a", true); } // [B1, V7]
2752test { try toUnicodeFail("xn--d6e009h.xn--lfb290rfu3z"); } // [B1, V7]
2753test { try toAsciiFail("xn--d6e009h.xn--lfb290rfu3z", false); } // [B1, V7]
2754test { try toAsciiFail("xn--d6e009h.xn--lfb290rfu3z", true); } // [B1, V7]
2755test { try toUnicodeFail("xn--wnd558a.xn--lfb465c1v87a"); } // [B1, V7]
2756test { try toAsciiFail("xn--wnd558a.xn--lfb465c1v87a", false); } // [B1, V7]
2757test { try toAsciiFail("xn--wnd558a.xn--lfb465c1v87a", true); } // [B1, V7]
2758test { try toUnicodeFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5"); } // [B1, B5, V7]
2759test { try toAsciiFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5", false); } // [B1, B5, V7]
2760test { try toAsciiFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5", true); } // [B1, B5, V7]
2761test { try toUnicodeFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5"); } // [B1, B5, V7]
2762test { try toAsciiFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5", false); } // [B1, B5, V7]
2763test { try toAsciiFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5", true); } // [B1, B5, V7]
2764test { try toUnicodeFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5"); } // [B1, B5, V7]
2765test { try toAsciiFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5", false); } // [B1, B5, V7]
2766test { try toAsciiFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5", true); } // [B1, B5, V7]
2767test { try toUnicodeFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5"); } // [B1, B5, V7]
2768test { try toAsciiFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5", false); } // [B1, B5, V7]
2769test { try toAsciiFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5", true); } // [B1, B5, V7]
2770test { try toUnicodeFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5"); } // [B1, B5, V7]
2771test { try toAsciiFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5", false); } // [B1, B5, V7]
2772test { try toAsciiFail("19.\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5", true); } // [B1, B5, V7]
2773test { try toUnicodeFail("19.xn--oe6h75760c.xn--gib285gtxo2l9d"); } // [B1, B5, V7]
2774test { try toAsciiFail("19.xn--oe6h75760c.xn--gib285gtxo2l9d", false); } // [B1, B5, V7]
2775test { try toAsciiFail("19.xn--oe6h75760c.xn--gib285gtxo2l9d", true); } // [B1, B5, V7]
2776test { try toUnicodeFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5"); } // [B1, B5, V7]
2777test { try toAsciiFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5", false); } // [B1, B5, V7]
2778test { try toAsciiFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\xb0\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5", true); } // [B1, B5, V7]
2779test { try toUnicodeFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5"); } // [B1, B5, V7]
2780test { try toAsciiFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5", false); } // [B1, B5, V7]
2781test { try toAsciiFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe1\x82\xbc\xe1\xa3\xa5", true); } // [B1, B5, V7]
2782test { try toUnicodeFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5"); } // [B1, B5, V7]
2783test { try toAsciiFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5", false); } // [B1, B5, V7]
2784test { try toAsciiFail("\xe2\x92\x9a\xf3\xa0\x8b\x91\xf0\x9e\xa4\x8e\xe3\x80\x82\xe7\x89\xa3\xd9\xa7\xe2\xb4\x9c\xe1\xa3\xa5", true); } // [B1, B5, V7]
2785test { try toUnicodeFail("xn--cthy466n29j3e.xn--gib285gtxo2l9d"); } // [B1, B5, V7]
2786test { try toAsciiFail("xn--cthy466n29j3e.xn--gib285gtxo2l9d", false); } // [B1, B5, V7]
2787test { try toAsciiFail("xn--cthy466n29j3e.xn--gib285gtxo2l9d", true); } // [B1, B5, V7]
2788test { try toUnicodeFail("19.xn--oe6h75760c.xn--gib404ccxgh00h"); } // [B1, B5, V7]
2789test { try toAsciiFail("19.xn--oe6h75760c.xn--gib404ccxgh00h", false); } // [B1, B5, V7]
2790test { try toAsciiFail("19.xn--oe6h75760c.xn--gib404ccxgh00h", true); } // [B1, B5, V7]
2791test { try toUnicodeFail("xn--cthy466n29j3e.xn--gib404ccxgh00h"); } // [B1, B5, V7]
2792test { try toAsciiFail("xn--cthy466n29j3e.xn--gib404ccxgh00h", false); } // [B1, B5, V7]
2793test { try toAsciiFail("xn--cthy466n29j3e.xn--gib404ccxgh00h", true); } // [B1, B5, V7]
2794test { try toUnicodeFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd\xe2\x92\x88.\xe1\x82\xb3"); } // [B1, V3, V7]
2795test { try toAsciiFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd\xe2\x92\x88.\xe1\x82\xb3", false); } // [B1, V3, V7]
2796test { try toAsciiFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd\xe2\x92\x88.\xe1\x82\xb3", true); } // [B1, V3, V7]
2797test { try toUnicodeFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd1..\xe1\x82\xb3"); } // [B1, V3, X4_2]
2798test { try toAsciiFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd1..\xe1\x82\xb3", false); } // [B1, V3, A4_2]
2799test { try toAsciiFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd1..\xe1\x82\xb3", true); } // [B1, V3, A4_2]
2800test { try toUnicodeFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd1..\xe2\xb4\x93"); } // [B1, V3, X4_2]
2801test { try toAsciiFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd1..\xe2\xb4\x93", false); } // [B1, V3, A4_2]
2802test { try toAsciiFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd1..\xe2\xb4\x93", true); } // [B1, V3, A4_2]
2803test { try toUnicodeFail("xn---1-895nq11a..xn--blj"); } // [B1, V3, X4_2]
2804test { try toAsciiFail("xn---1-895nq11a..xn--blj", false); } // [B1, V3, A4_2]
2805test { try toAsciiFail("xn---1-895nq11a..xn--blj", true); } // [B1, V3, A4_2]
2806test { try toUnicodeFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd\xe2\x92\x88.\xe2\xb4\x93"); } // [B1, V3, V7]
2807test { try toAsciiFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd\xe2\x92\x88.\xe2\xb4\x93", false); } // [B1, V3, V7]
2808test { try toAsciiFail("-\xf0\x90\x8b\xb1\xf0\x90\xb0\xbd\xe2\x92\x88.\xe2\xb4\x93", true); } // [B1, V3, V7]
2809test { try toUnicodeFail("xn----ecp0206g90h.xn--blj"); } // [B1, V3, V7]
2810test { try toAsciiFail("xn----ecp0206g90h.xn--blj", false); } // [B1, V3, V7]
2811test { try toAsciiFail("xn----ecp0206g90h.xn--blj", true); } // [B1, V3, V7]
2812test { try toUnicodeFail("xn---1-895nq11a..xn--rnd"); } // [B1, V3, V7, X4_2]
2813test { try toAsciiFail("xn---1-895nq11a..xn--rnd", false); } // [B1, V3, V7, A4_2]
2814test { try toAsciiFail("xn---1-895nq11a..xn--rnd", true); } // [B1, V3, V7, A4_2]
2815test { try toUnicodeFail("xn----ecp0206g90h.xn--rnd"); } // [B1, V3, V7]
2816test { try toAsciiFail("xn----ecp0206g90h.xn--rnd", false); } // [B1, V3, V7]
2817test { try toAsciiFail("xn----ecp0206g90h.xn--rnd", true); } // [B1, V3, V7]
2818test { try toUnicodeFail("\xe2\x80\x8c\xea\xb8\x83.\xe6\xa6\xb6-"); } // [C1, V3]
2819test { try toAsciiFail("\xe2\x80\x8c\xea\xb8\x83.\xe6\xa6\xb6-", false); } // [C1, V3]
2820test { try toAsciiFail("\xe2\x80\x8c\xea\xb8\x83.\xe6\xa6\xb6-", true); } // [V3]
2821test { try toUnicodeFail("\xe2\x80\x8c\xe1\x84\x80\xe1\x85\xb3\xe1\x86\xb2.\xe6\xa6\xb6-"); } // [C1, V3]
2822test { try toAsciiFail("\xe2\x80\x8c\xe1\x84\x80\xe1\x85\xb3\xe1\x86\xb2.\xe6\xa6\xb6-", false); } // [C1, V3]
2823test { try toAsciiFail("\xe2\x80\x8c\xe1\x84\x80\xe1\x85\xb3\xe1\x86\xb2.\xe6\xa6\xb6-", true); } // [V3]
2824test { try toUnicodeFail("xn--ej0b.xn----d87b"); } // [V3]
2825test { try toAsciiFail("xn--ej0b.xn----d87b", false); } // [V3]
2826test { try toAsciiFail("xn--ej0b.xn----d87b", true); } // [V3]
2827test { try toUnicodeFail("xn--0ug3307c.xn----d87b"); } // [C1, V3]
2828test { try toAsciiFail("xn--0ug3307c.xn----d87b", false); } // [C1, V3]
2829test { try toAsciiFail("xn--0ug3307c.xn----d87b", true); } // [C1, V3]
2830test { try toUnicodeFail("\xeb\x89\x93\xe6\xb3\x93\xf0\x9c\xb5\xbd.\xe0\xa7\x8d\xe2\x80\x8d"); } // [V6]
2831test { try toAsciiFail("\xeb\x89\x93\xe6\xb3\x93\xf0\x9c\xb5\xbd.\xe0\xa7\x8d\xe2\x80\x8d", false); } // [V6]
2832test { try toAsciiFail("\xeb\x89\x93\xe6\xb3\x93\xf0\x9c\xb5\xbd.\xe0\xa7\x8d\xe2\x80\x8d", true); } // [V6]
2833test { try toUnicodeFail("\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbe\xe6\xb3\x93\xf0\x9c\xb5\xbd.\xe0\xa7\x8d\xe2\x80\x8d"); } // [V6]
2834test { try toAsciiFail("\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbe\xe6\xb3\x93\xf0\x9c\xb5\xbd.\xe0\xa7\x8d\xe2\x80\x8d", false); } // [V6]
2835test { try toAsciiFail("\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbe\xe6\xb3\x93\xf0\x9c\xb5\xbd.\xe0\xa7\x8d\xe2\x80\x8d", true); } // [V6]
2836test { try toUnicodeFail("xn--lwwp69lqs7m.xn--b7b"); } // [V6]
2837test { try toAsciiFail("xn--lwwp69lqs7m.xn--b7b", false); } // [V6]
2838test { try toAsciiFail("xn--lwwp69lqs7m.xn--b7b", true); } // [V6]
2839test { try toUnicodeFail("xn--lwwp69lqs7m.xn--b7b605i"); } // [V6]
2840test { try toAsciiFail("xn--lwwp69lqs7m.xn--b7b605i", false); } // [V6]
2841test { try toAsciiFail("xn--lwwp69lqs7m.xn--b7b605i", true); } // [V6]
2842test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb4\xc3\x9f\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c"); } // [B1, C2, V6, V7]
2843test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4\xc3\x9f\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", false); } // [B1, C2, V6, V7]
2844test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4\xc3\x9f\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", true); } // [B1, V6, V7]
2845test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb4\xc3\x9f\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c"); } // [B1, C2, V6, V7]
2846test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4\xc3\x9f\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", false); } // [B1, C2, V6, V7]
2847test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4\xc3\x9f\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", true); } // [B1, V6, V7]
2848test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb4SS\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c"); } // [B1, C2, V6, V7]
2849test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4SS\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", false); } // [B1, C2, V6, V7]
2850test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4SS\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", true); } // [B1, V6, V7]
2851test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb4ss\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c"); } // [B1, C2, V6, V7]
2852test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4ss\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", false); } // [B1, C2, V6, V7]
2853test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4ss\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", true); } // [B1, V6, V7]
2854test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb4Ss\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c"); } // [B1, C2, V6, V7]
2855test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4Ss\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", false); } // [B1, C2, V6, V7]
2856test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4Ss\xe3\x80\x82\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", true); } // [B1, V6, V7]
2857test { try toUnicodeFail("xn--ss-ti3o.xn--57c638l8774i"); } // [B1, V6, V7]
2858test { try toAsciiFail("xn--ss-ti3o.xn--57c638l8774i", false); } // [B1, V6, V7]
2859test { try toAsciiFail("xn--ss-ti3o.xn--57c638l8774i", true); } // [B1, V6, V7]
2860test { try toUnicodeFail("xn--ss-l1t5169j.xn--57c638l8774i"); } // [B1, C2, V6, V7]
2861test { try toAsciiFail("xn--ss-l1t5169j.xn--57c638l8774i", false); } // [B1, C2, V6, V7]
2862test { try toAsciiFail("xn--ss-l1t5169j.xn--57c638l8774i", true); } // [B1, C2, V6, V7]
2863test { try toUnicodeFail("xn--zca770nip7n.xn--57c638l8774i"); } // [B1, C2, V6, V7]
2864test { try toAsciiFail("xn--zca770nip7n.xn--57c638l8774i", false); } // [B1, C2, V6, V7]
2865test { try toAsciiFail("xn--zca770nip7n.xn--57c638l8774i", true); } // [B1, C2, V6, V7]
2866test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb4SS\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c"); } // [B1, C2, V6, V7]
2867test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4SS\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", false); } // [B1, C2, V6, V7]
2868test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4SS\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", true); } // [B1, V6, V7]
2869test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb4ss\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c"); } // [B1, C2, V6, V7]
2870test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4ss\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", false); } // [B1, C2, V6, V7]
2871test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4ss\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", true); } // [B1, V6, V7]
2872test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb4Ss\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c"); } // [B1, C2, V6, V7]
2873test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4Ss\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", false); } // [B1, C2, V6, V7]
2874test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb4Ss\xef\xbd\xa1\xe0\xba\xb4\xe2\xad\xb5\xf1\xaa\x85\x8c", true); } // [B1, V6, V7]
2875test { try toUnicodeFail("\xe1\xad\x84\xef\xbc\x8e\xe1\xae\xaa-\xe2\x89\xae\xe2\x89\xa0"); } // [V6]
2876test { try toAsciiFail("\xe1\xad\x84\xef\xbc\x8e\xe1\xae\xaa-\xe2\x89\xae\xe2\x89\xa0", false); } // [V6]
2877test { try toAsciiFail("\xe1\xad\x84\xef\xbc\x8e\xe1\xae\xaa-\xe2\x89\xae\xe2\x89\xa0", true); } // [V6]
2878test { try toUnicodeFail("\xe1\xad\x84\xef\xbc\x8e\xe1\xae\xaa-<\xcc\xb8=\xcc\xb8"); } // [V6]
2879test { try toAsciiFail("\xe1\xad\x84\xef\xbc\x8e\xe1\xae\xaa-<\xcc\xb8=\xcc\xb8", false); } // [V6]
2880test { try toAsciiFail("\xe1\xad\x84\xef\xbc\x8e\xe1\xae\xaa-<\xcc\xb8=\xcc\xb8", true); } // [V6]
2881test { try toUnicodeFail("\xe1\xad\x84.\xe1\xae\xaa-\xe2\x89\xae\xe2\x89\xa0"); } // [V6]
2882test { try toAsciiFail("\xe1\xad\x84.\xe1\xae\xaa-\xe2\x89\xae\xe2\x89\xa0", false); } // [V6]
2883test { try toAsciiFail("\xe1\xad\x84.\xe1\xae\xaa-\xe2\x89\xae\xe2\x89\xa0", true); } // [V6]
2884test { try toUnicodeFail("\xe1\xad\x84.\xe1\xae\xaa-<\xcc\xb8=\xcc\xb8"); } // [V6]
2885test { try toAsciiFail("\xe1\xad\x84.\xe1\xae\xaa-<\xcc\xb8=\xcc\xb8", false); } // [V6]
2886test { try toAsciiFail("\xe1\xad\x84.\xe1\xae\xaa-<\xcc\xb8=\xcc\xb8", true); } // [V6]
2887test { try toUnicodeFail("xn--1uf.xn----nmlz65aub"); } // [V6]
2888test { try toAsciiFail("xn--1uf.xn----nmlz65aub", false); } // [V6]
2889test { try toAsciiFail("xn--1uf.xn----nmlz65aub", true); } // [V6]
2890test { try toUnicodeFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f\xef\xbc\x8e\xf0\x91\x84\xb4\xe2\x84\xb2"); } // [V6]
2891test { try toAsciiFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f\xef\xbc\x8e\xf0\x91\x84\xb4\xe2\x84\xb2", false); } // [V6]
2892test { try toAsciiFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f\xef\xbc\x8e\xf0\x91\x84\xb4\xe2\x84\xb2", true); } // [V6]
2893test { try toUnicodeFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f.\xf0\x91\x84\xb4\xe2\x84\xb2"); } // [V6]
2894test { try toAsciiFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f.\xf0\x91\x84\xb4\xe2\x84\xb2", false); } // [V6]
2895test { try toAsciiFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f.\xf0\x91\x84\xb4\xe2\x84\xb2", true); } // [V6]
2896test { try toUnicodeFail("\xe1\xaf\xb3\xe2\xb4\x91\xe1\x85\x9f.\xf0\x91\x84\xb4\xe2\x85\x8e"); } // [V6]
2897test { try toAsciiFail("\xe1\xaf\xb3\xe2\xb4\x91\xe1\x85\x9f.\xf0\x91\x84\xb4\xe2\x85\x8e", false); } // [V6]
2898test { try toAsciiFail("\xe1\xaf\xb3\xe2\xb4\x91\xe1\x85\x9f.\xf0\x91\x84\xb4\xe2\x85\x8e", true); } // [V6]
2899test { try toUnicodeFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f.\xf0\x91\x84\xb4\xe2\x85\x8e"); } // [V6]
2900test { try toAsciiFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f.\xf0\x91\x84\xb4\xe2\x85\x8e", false); } // [V6]
2901test { try toAsciiFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f.\xf0\x91\x84\xb4\xe2\x85\x8e", true); } // [V6]
2902test { try toUnicodeFail("xn--1zf224e.xn--73g3065g"); } // [V6]
2903test { try toAsciiFail("xn--1zf224e.xn--73g3065g", false); } // [V6]
2904test { try toAsciiFail("xn--1zf224e.xn--73g3065g", true); } // [V6]
2905test { try toUnicodeFail("\xe1\xaf\xb3\xe2\xb4\x91\xe1\x85\x9f\xef\xbc\x8e\xf0\x91\x84\xb4\xe2\x85\x8e"); } // [V6]
2906test { try toAsciiFail("\xe1\xaf\xb3\xe2\xb4\x91\xe1\x85\x9f\xef\xbc\x8e\xf0\x91\x84\xb4\xe2\x85\x8e", false); } // [V6]
2907test { try toAsciiFail("\xe1\xaf\xb3\xe2\xb4\x91\xe1\x85\x9f\xef\xbc\x8e\xf0\x91\x84\xb4\xe2\x85\x8e", true); } // [V6]
2908test { try toUnicodeFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f\xef\xbc\x8e\xf0\x91\x84\xb4\xe2\x85\x8e"); } // [V6]
2909test { try toAsciiFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f\xef\xbc\x8e\xf0\x91\x84\xb4\xe2\x85\x8e", false); } // [V6]
2910test { try toAsciiFail("\xe1\xaf\xb3\xe1\x82\xb1\xe1\x85\x9f\xef\xbc\x8e\xf0\x91\x84\xb4\xe2\x85\x8e", true); } // [V6]
2911test { try toUnicodeFail("xn--pnd26a55x.xn--73g3065g"); } // [V6, V7]
2912test { try toAsciiFail("xn--pnd26a55x.xn--73g3065g", false); } // [V6, V7]
2913test { try toAsciiFail("xn--pnd26a55x.xn--73g3065g", true); } // [V6, V7]
2914test { try toUnicodeFail("xn--osd925cvyn.xn--73g3065g"); } // [V6, V7]
2915test { try toAsciiFail("xn--osd925cvyn.xn--73g3065g", false); } // [V6, V7]
2916test { try toAsciiFail("xn--osd925cvyn.xn--73g3065g", true); } // [V6, V7]
2917test { try toUnicodeFail("xn--pnd26a55x.xn--f3g7465g"); } // [V6, V7]
2918test { try toAsciiFail("xn--pnd26a55x.xn--f3g7465g", false); } // [V6, V7]
2919test { try toAsciiFail("xn--pnd26a55x.xn--f3g7465g", true); } // [V6, V7]
2920test { try toUnicodeFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe1\x82\xa3\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xeb\x98\xaf"); } // [B5, V7]
2921test { try toAsciiFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe1\x82\xa3\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xeb\x98\xaf", false); } // [B5, V7]
2922test { try toAsciiFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe1\x82\xa3\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xeb\x98\xaf", true); } // [B5, V7]
2923test { try toUnicodeFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe1\x82\xa3\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xe1\x84\x84\xe1\x85\xaa\xe1\x86\xaa"); } // [B5, V7]
2924test { try toAsciiFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe1\x82\xa3\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xe1\x84\x84\xe1\x85\xaa\xe1\x86\xaa", false); } // [B5, V7]
2925test { try toAsciiFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe1\x82\xa3\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xe1\x84\x84\xe1\x85\xaa\xe1\x86\xaa", true); } // [B5, V7]
2926test { try toUnicodeFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe2\xb4\x83\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xe1\x84\x84\xe1\x85\xaa\xe1\x86\xaa"); } // [B5, V7]
2927test { try toAsciiFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe2\xb4\x83\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xe1\x84\x84\xe1\x85\xaa\xe1\x86\xaa", false); } // [B5, V7]
2928test { try toAsciiFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe2\xb4\x83\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xe1\x84\x84\xe1\x85\xaa\xe1\x86\xaa", true); } // [B5, V7]
2929test { try toUnicodeFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe2\xb4\x83\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xeb\x98\xaf"); } // [B5, V7]
2930test { try toAsciiFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe2\xb4\x83\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xeb\x98\xaf", false); } // [B5, V7]
2931test { try toAsciiFail("\xf0\x9c\x89\x86\xe3\x80\x82\xe2\xb4\x83\xf0\x90\xb4\xa3\xf0\x90\xb9\xb9\xeb\x98\xaf", true); } // [B5, V7]
2932test { try toUnicodeFail("xn--187g.xn--ukjy205b8rscdeb"); } // [B5, V7]
2933test { try toAsciiFail("xn--187g.xn--ukjy205b8rscdeb", false); } // [B5, V7]
2934test { try toAsciiFail("xn--187g.xn--ukjy205b8rscdeb", true); } // [B5, V7]
2935test { try toUnicodeFail("xn--187g.xn--bnd4785f8r8bdeb"); } // [B5, V7]
2936test { try toAsciiFail("xn--187g.xn--bnd4785f8r8bdeb", false); } // [B5, V7]
2937test { try toAsciiFail("xn--187g.xn--bnd4785f8r8bdeb", true); } // [B5, V7]
2938test { try toUnicodeFail("\xf0\x90\xab\x80\xef\xbd\xa1\xe2\xb3\xbb\xf3\xa0\x99\xbe\xf3\xa0\x84\xb7\xe3\x85\xa4"); } // [B1, V7]
2939test { try toAsciiFail("\xf0\x90\xab\x80\xef\xbd\xa1\xe2\xb3\xbb\xf3\xa0\x99\xbe\xf3\xa0\x84\xb7\xe3\x85\xa4", false); } // [B1, V7]
2940test { try toAsciiFail("\xf0\x90\xab\x80\xef\xbd\xa1\xe2\xb3\xbb\xf3\xa0\x99\xbe\xf3\xa0\x84\xb7\xe3\x85\xa4", true); } // [B1, V7]
2941test { try toUnicodeFail("\xf0\x90\xab\x80\xe3\x80\x82\xe2\xb3\xbb\xf3\xa0\x99\xbe\xf3\xa0\x84\xb7\xe1\x85\xa0"); } // [B1, V7]
2942test { try toAsciiFail("\xf0\x90\xab\x80\xe3\x80\x82\xe2\xb3\xbb\xf3\xa0\x99\xbe\xf3\xa0\x84\xb7\xe1\x85\xa0", false); } // [B1, V7]
2943test { try toAsciiFail("\xf0\x90\xab\x80\xe3\x80\x82\xe2\xb3\xbb\xf3\xa0\x99\xbe\xf3\xa0\x84\xb7\xe1\x85\xa0", true); } // [B1, V7]
2944test { try toUnicodeFail("xn--pw9c.xn--mkjw9654i"); } // [B1, V7]
2945test { try toAsciiFail("xn--pw9c.xn--mkjw9654i", false); } // [B1, V7]
2946test { try toAsciiFail("xn--pw9c.xn--mkjw9654i", true); } // [B1, V7]
2947test { try toUnicodeFail("xn--pw9c.xn--psd742lxt32w"); } // [B1, V7]
2948test { try toAsciiFail("xn--pw9c.xn--psd742lxt32w", false); } // [B1, V7]
2949test { try toAsciiFail("xn--pw9c.xn--psd742lxt32w", true); } // [B1, V7]
2950test { try toUnicodeFail("xn--pw9c.xn--mkj83l4v899a"); } // [B1, V7]
2951test { try toAsciiFail("xn--pw9c.xn--mkj83l4v899a", false); } // [B1, V7]
2952test { try toAsciiFail("xn--pw9c.xn--mkj83l4v899a", true); } // [B1, V7]
2953test { try toUnicodeFail("\xde\x9a\xe2\xbe\x87\xef\xbc\x8e\xdc\x9e-\xf0\x90\x8b\xb0"); } // [B2, B3]
2954test { try toAsciiFail("\xde\x9a\xe2\xbe\x87\xef\xbc\x8e\xdc\x9e-\xf0\x90\x8b\xb0", false); } // [B2, B3]
2955test { try toAsciiFail("\xde\x9a\xe2\xbe\x87\xef\xbc\x8e\xdc\x9e-\xf0\x90\x8b\xb0", true); } // [B2, B3]
2956test { try toUnicodeFail("\xde\x9a\xe8\x88\x9b.\xdc\x9e-\xf0\x90\x8b\xb0"); } // [B2, B3]
2957test { try toAsciiFail("\xde\x9a\xe8\x88\x9b.\xdc\x9e-\xf0\x90\x8b\xb0", false); } // [B2, B3]
2958test { try toAsciiFail("\xde\x9a\xe8\x88\x9b.\xdc\x9e-\xf0\x90\x8b\xb0", true); } // [B2, B3]
2959test { try toUnicodeFail("xn--7qb6383d.xn----20c3154q"); } // [B2, B3]
2960test { try toAsciiFail("xn--7qb6383d.xn----20c3154q", false); } // [B2, B3]
2961test { try toAsciiFail("xn--7qb6383d.xn----20c3154q", true); } // [B2, B3]
2962test { try toUnicodeFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae\xef\xbc\x8e\xef\xb8\x92"); } // [V7]
2963test { try toAsciiFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae\xef\xbc\x8e\xef\xb8\x92", false); } // [V7]
2964test { try toAsciiFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae\xef\xbc\x8e\xef\xb8\x92", true); } // [V7]
2965test { try toUnicodeFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8\xef\xbc\x8e\xef\xb8\x92"); } // [V7]
2966test { try toAsciiFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8\xef\xbc\x8e\xef\xb8\x92", false); } // [V7]
2967test { try toAsciiFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8\xef\xbc\x8e\xef\xb8\x92", true); } // [V7]
2968test { try toUnicodeFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae.\xe3\x80\x82"); } // [V7, X4_2]
2969test { try toAsciiFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae.\xe3\x80\x82", false); } // [V7, A4_2]
2970test { try toAsciiFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae.\xe3\x80\x82", true); } // [V7, A4_2]
2971test { try toUnicodeFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8.\xe3\x80\x82"); } // [V7, X4_2]
2972test { try toAsciiFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8.\xe3\x80\x82", false); } // [V7, A4_2]
2973test { try toAsciiFail("\xe1\x82\xa9\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8.\xe3\x80\x82", true); } // [V7, A4_2]
2974test { try toUnicodeFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8.\xe3\x80\x82"); } // [V7, X4_2]
2975test { try toAsciiFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8.\xe3\x80\x82", false); } // [V7, A4_2]
2976test { try toAsciiFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8.\xe3\x80\x82", true); } // [V7, A4_2]
2977test { try toUnicodeFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae.\xe3\x80\x82"); } // [V7, X4_2]
2978test { try toAsciiFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae.\xe3\x80\x82", false); } // [V7, A4_2]
2979test { try toAsciiFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae.\xe3\x80\x82", true); } // [V7, A4_2]
2980test { try toUnicodeFail("xn--gdh892bbz0d5438s.."); } // [V7, X4_2]
2981test { try toAsciiFail("xn--gdh892bbz0d5438s..", false); } // [V7, A4_2]
2982test { try toAsciiFail("xn--gdh892bbz0d5438s..", true); } // [V7, A4_2]
2983test { try toUnicodeFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8\xef\xbc\x8e\xef\xb8\x92"); } // [V7]
2984test { try toAsciiFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8\xef\xbc\x8e\xef\xb8\x92", false); } // [V7]
2985test { try toAsciiFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab<\xcc\xb8\xef\xbc\x8e\xef\xb8\x92", true); } // [V7]
2986test { try toUnicodeFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae\xef\xbc\x8e\xef\xb8\x92"); } // [V7]
2987test { try toAsciiFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae\xef\xbc\x8e\xef\xb8\x92", false); } // [V7]
2988test { try toAsciiFail("\xe2\xb4\x89\xe7\x8c\x95\xf3\xb9\x9b\xab\xe2\x89\xae\xef\xbc\x8e\xef\xb8\x92", true); } // [V7]
2989test { try toUnicodeFail("xn--gdh892bbz0d5438s.xn--y86c"); } // [V7]
2990test { try toAsciiFail("xn--gdh892bbz0d5438s.xn--y86c", false); } // [V7]
2991test { try toAsciiFail("xn--gdh892bbz0d5438s.xn--y86c", true); } // [V7]
2992test { try toUnicodeFail("xn--hnd212gz32d54x5r.."); } // [V7, X4_2]
2993test { try toAsciiFail("xn--hnd212gz32d54x5r..", false); } // [V7, A4_2]
2994test { try toAsciiFail("xn--hnd212gz32d54x5r..", true); } // [V7, A4_2]
2995test { try toUnicodeFail("xn--hnd212gz32d54x5r.xn--y86c"); } // [V7]
2996test { try toAsciiFail("xn--hnd212gz32d54x5r.xn--y86c", false); } // [V7]
2997test { try toAsciiFail("xn--hnd212gz32d54x5r.xn--y86c", true); } // [V7]
2998test { try toUnicodeFail("\xf0\x9f\x8f\xae\xef\xbd\xa1\xd8\xab\xe9\xb3\xb3\xdf\xa2\xf3\xa0\x85\x89"); } // [B1, B2]
2999test { try toAsciiFail("\xf0\x9f\x8f\xae\xef\xbd\xa1\xd8\xab\xe9\xb3\xb3\xdf\xa2\xf3\xa0\x85\x89", false); } // [B1, B2]
3000test { try toAsciiFail("\xf0\x9f\x8f\xae\xef\xbd\xa1\xd8\xab\xe9\xb3\xb3\xdf\xa2\xf3\xa0\x85\x89", true); } // [B1, B2]
3001test { try toUnicodeFail("\xf0\x9f\x8f\xae\xe3\x80\x82\xd8\xab\xe9\xb3\xb3\xdf\xa2\xf3\xa0\x85\x89"); } // [B1, B2]
3002test { try toAsciiFail("\xf0\x9f\x8f\xae\xe3\x80\x82\xd8\xab\xe9\xb3\xb3\xdf\xa2\xf3\xa0\x85\x89", false); } // [B1, B2]
3003test { try toAsciiFail("\xf0\x9f\x8f\xae\xe3\x80\x82\xd8\xab\xe9\xb3\xb3\xdf\xa2\xf3\xa0\x85\x89", true); } // [B1, B2]
3004test { try toUnicodeFail("xn--8m8h.xn--qgb29f6z90a"); } // [B1, B2]
3005test { try toAsciiFail("xn--8m8h.xn--qgb29f6z90a", false); } // [B1, B2]
3006test { try toAsciiFail("xn--8m8h.xn--qgb29f6z90a", true); } // [B1, B2]
3007test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82\xc3\x9f"); } // [B1, C2]
3008test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82\xc3\x9f", false); } // [B1, C2]
3009test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82\xc3\x9f", true); } // [B1]
3010test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82SS"); } // [B1, C2]
3011test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82SS", false); } // [B1, C2]
3012test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82SS", true); } // [B1]
3013test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82ss"); } // [B1, C2]
3014test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82ss", false); } // [B1, C2]
3015test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82ss", true); } // [B1]
3016test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82Ss"); } // [B1, C2]
3017test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82Ss", false); } // [B1, C2]
3018test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xb6\xe3\x80\x82Ss", true); } // [B1]
3019test { try toUnicodeFail("xn--uo0d.ss"); } // [B1]
3020test { try toAsciiFail("xn--uo0d.ss", false); } // [B1]
3021test { try toAsciiFail("xn--uo0d.ss", true); } // [B1]
3022test { try toUnicodeFail("xn--1ug9105g.ss"); } // [B1, C2]
3023test { try toAsciiFail("xn--1ug9105g.ss", false); } // [B1, C2]
3024test { try toAsciiFail("xn--1ug9105g.ss", true); } // [B1, C2]
3025test { try toUnicodeFail("xn--1ug9105g.xn--zca"); } // [B1, C2]
3026test { try toAsciiFail("xn--1ug9105g.xn--zca", false); } // [B1, C2]
3027test { try toAsciiFail("xn--1ug9105g.xn--zca", true); } // [B1, C2]
3028test { try toUnicodeFail("\xc3\x85\xeb\x91\x84-\xef\xbc\x8e\xe2\x80\x8c"); } // [C1, V3]
3029test { try toAsciiFail("\xc3\x85\xeb\x91\x84-\xef\xbc\x8e\xe2\x80\x8c", false); } // [C1, V3]
3030test { try toAsciiFail("\xc3\x85\xeb\x91\x84-\xef\xbc\x8e\xe2\x80\x8c", true); } // [V3, A4_2]
3031test { try toUnicodeFail("A\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-\xef\xbc\x8e\xe2\x80\x8c"); } // [C1, V3]
3032test { try toAsciiFail("A\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-\xef\xbc\x8e\xe2\x80\x8c", false); } // [C1, V3]
3033test { try toAsciiFail("A\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-\xef\xbc\x8e\xe2\x80\x8c", true); } // [V3, A4_2]
3034test { try toUnicodeFail("\xc3\x85\xeb\x91\x84-.\xe2\x80\x8c"); } // [C1, V3]
3035test { try toAsciiFail("\xc3\x85\xeb\x91\x84-.\xe2\x80\x8c", false); } // [C1, V3]
3036test { try toAsciiFail("\xc3\x85\xeb\x91\x84-.\xe2\x80\x8c", true); } // [V3, A4_2]
3037test { try toUnicodeFail("A\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-.\xe2\x80\x8c"); } // [C1, V3]
3038test { try toAsciiFail("A\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-.\xe2\x80\x8c", false); } // [C1, V3]
3039test { try toAsciiFail("A\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-.\xe2\x80\x8c", true); } // [V3, A4_2]
3040test { try toUnicodeFail("a\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-.\xe2\x80\x8c"); } // [C1, V3]
3041test { try toAsciiFail("a\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-.\xe2\x80\x8c", false); } // [C1, V3]
3042test { try toAsciiFail("a\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-.\xe2\x80\x8c", true); } // [V3, A4_2]
3043test { try toUnicodeFail("\xc3\xa5\xeb\x91\x84-.\xe2\x80\x8c"); } // [C1, V3]
3044test { try toAsciiFail("\xc3\xa5\xeb\x91\x84-.\xe2\x80\x8c", false); } // [C1, V3]
3045test { try toAsciiFail("\xc3\xa5\xeb\x91\x84-.\xe2\x80\x8c", true); } // [V3, A4_2]
3046test { try toUnicodeFail("xn----1fa1788k."); } // [V3]
3047test { try toAsciiFail("xn----1fa1788k.", false); } // [V3, A4_2]
3048test { try toAsciiFail("xn----1fa1788k.", true); } // [V3, A4_2]
3049test { try toUnicodeFail("xn----1fa1788k.xn--0ug"); } // [C1, V3]
3050test { try toAsciiFail("xn----1fa1788k.xn--0ug", false); } // [C1, V3]
3051test { try toAsciiFail("xn----1fa1788k.xn--0ug", true); } // [C1, V3]
3052test { try toUnicodeFail("a\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-\xef\xbc\x8e\xe2\x80\x8c"); } // [C1, V3]
3053test { try toAsciiFail("a\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-\xef\xbc\x8e\xe2\x80\x8c", false); } // [C1, V3]
3054test { try toAsciiFail("a\xcc\x8a\xe1\x84\x83\xe1\x85\xad\xe1\x86\xb7-\xef\xbc\x8e\xe2\x80\x8c", true); } // [V3, A4_2]
3055test { try toUnicodeFail("\xc3\xa5\xeb\x91\x84-\xef\xbc\x8e\xe2\x80\x8c"); } // [C1, V3]
3056test { try toAsciiFail("\xc3\xa5\xeb\x91\x84-\xef\xbc\x8e\xe2\x80\x8c", false); } // [C1, V3]
3057test { try toAsciiFail("\xc3\xa5\xeb\x91\x84-\xef\xbc\x8e\xe2\x80\x8c", true); } // [V3, A4_2]
3058test { try toUnicodeFail("\xe3\x82\x99\xf2\xac\x8e\x91\xe1\xb7\x97\xf0\x9e\xa4\x80.\xf2\xb1\xb2\xa2-\xe0\xa5\x93"); } // [B1, B6, V6, V7]
3059test { try toAsciiFail("\xe3\x82\x99\xf2\xac\x8e\x91\xe1\xb7\x97\xf0\x9e\xa4\x80.\xf2\xb1\xb2\xa2-\xe0\xa5\x93", false); } // [B1, B6, V6, V7]
3060test { try toAsciiFail("\xe3\x82\x99\xf2\xac\x8e\x91\xe1\xb7\x97\xf0\x9e\xa4\x80.\xf2\xb1\xb2\xa2-\xe0\xa5\x93", true); } // [B1, B6, V6, V7]
3061test { try toUnicodeFail("\xe3\x82\x99\xf2\xac\x8e\x91\xe1\xb7\x97\xf0\x9e\xa4\xa2.\xf2\xb1\xb2\xa2-\xe0\xa5\x93"); } // [B1, B6, V6, V7]
3062test { try toAsciiFail("\xe3\x82\x99\xf2\xac\x8e\x91\xe1\xb7\x97\xf0\x9e\xa4\xa2.\xf2\xb1\xb2\xa2-\xe0\xa5\x93", false); } // [B1, B6, V6, V7]
3063test { try toAsciiFail("\xe3\x82\x99\xf2\xac\x8e\x91\xe1\xb7\x97\xf0\x9e\xa4\xa2.\xf2\xb1\xb2\xa2-\xe0\xa5\x93", true); } // [B1, B6, V6, V7]
3064test { try toUnicodeFail("xn--veg121fwg63altj9d.xn----eyd92688s"); } // [B1, B6, V6, V7]
3065test { try toAsciiFail("xn--veg121fwg63altj9d.xn----eyd92688s", false); } // [B1, B6, V6, V7]
3066test { try toAsciiFail("xn--veg121fwg63altj9d.xn----eyd92688s", true); } // [B1, B6, V6, V7]
3067test { try toUnicodeFail("\xcf\x82.\xc3\x9f\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf"); } // [B5, B6, V7]
3068test { try toAsciiFail("\xcf\x82.\xc3\x9f\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", false); } // [B5, B6, V7]
3069test { try toAsciiFail("\xcf\x82.\xc3\x9f\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", true); } // [B5, B6, V7]
3070test { try toUnicodeFail("\xce\xa3.SS\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf"); } // [B5, B6, V7]
3071test { try toAsciiFail("\xce\xa3.SS\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", false); } // [B5, B6, V7]
3072test { try toAsciiFail("\xce\xa3.SS\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", true); } // [B5, B6, V7]
3073test { try toUnicodeFail("\xcf\x83.ss\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf"); } // [B5, B6, V7]
3074test { try toAsciiFail("\xcf\x83.ss\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", false); } // [B5, B6, V7]
3075test { try toAsciiFail("\xcf\x83.ss\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", true); } // [B5, B6, V7]
3076test { try toUnicodeFail("\xce\xa3.ss\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf"); } // [B5, B6, V7]
3077test { try toAsciiFail("\xce\xa3.ss\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", false); } // [B5, B6, V7]
3078test { try toAsciiFail("\xce\xa3.ss\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", true); } // [B5, B6, V7]
3079test { try toUnicodeFail("xn--4xa.xn--ss-y8d4760biv60n"); } // [B5, B6, V7]
3080test { try toAsciiFail("xn--4xa.xn--ss-y8d4760biv60n", false); } // [B5, B6, V7]
3081test { try toAsciiFail("xn--4xa.xn--ss-y8d4760biv60n", true); } // [B5, B6, V7]
3082test { try toUnicodeFail("\xce\xa3.\xc3\x9f\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf"); } // [B5, B6, V7]
3083test { try toAsciiFail("\xce\xa3.\xc3\x9f\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", false); } // [B5, B6, V7]
3084test { try toAsciiFail("\xce\xa3.\xc3\x9f\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", true); } // [B5, B6, V7]
3085test { try toUnicodeFail("\xcf\x83.\xc3\x9f\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf"); } // [B5, B6, V7]
3086test { try toAsciiFail("\xcf\x83.\xc3\x9f\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", false); } // [B5, B6, V7]
3087test { try toAsciiFail("\xcf\x83.\xc3\x9f\xf1\xb4\xb1\x84\xdb\x9d\xe2\xb5\xbf", true); } // [B5, B6, V7]
3088test { try toUnicodeFail("xn--4xa.xn--zca281az71b8x73m"); } // [B5, B6, V7]
3089test { try toAsciiFail("xn--4xa.xn--zca281az71b8x73m", false); } // [B5, B6, V7]
3090test { try toAsciiFail("xn--4xa.xn--zca281az71b8x73m", true); } // [B5, B6, V7]
3091test { try toUnicodeFail("xn--3xa.xn--zca281az71b8x73m"); } // [B5, B6, V7]
3092test { try toAsciiFail("xn--3xa.xn--zca281az71b8x73m", false); } // [B5, B6, V7]
3093test { try toAsciiFail("xn--3xa.xn--zca281az71b8x73m", true); } // [B5, B6, V7]
3094test { try toUnicodeFail("\xea\xa1\x80\xf0\x9e\x80\x9f\xef\xbd\xa1\xd9\xab\xd6\x99"); } // [B1]
3095test { try toAsciiFail("\xea\xa1\x80\xf0\x9e\x80\x9f\xef\xbd\xa1\xd9\xab\xd6\x99", false); } // [B1]
3096test { try toAsciiFail("\xea\xa1\x80\xf0\x9e\x80\x9f\xef\xbd\xa1\xd9\xab\xd6\x99", true); } // [B1]
3097test { try toUnicodeFail("\xea\xa1\x80\xf0\x9e\x80\x9f\xe3\x80\x82\xd9\xab\xd6\x99"); } // [B1]
3098test { try toAsciiFail("\xea\xa1\x80\xf0\x9e\x80\x9f\xe3\x80\x82\xd9\xab\xd6\x99", false); } // [B1]
3099test { try toAsciiFail("\xea\xa1\x80\xf0\x9e\x80\x9f\xe3\x80\x82\xd9\xab\xd6\x99", true); } // [B1]
3100test { try toUnicodeFail("xn--8b9a1720d.xn--kcb33b"); } // [B1]
3101test { try toAsciiFail("xn--8b9a1720d.xn--kcb33b", false); } // [B1]
3102test { try toAsciiFail("xn--8b9a1720d.xn--kcb33b", true); } // [B1]
3103test { try toUnicodeFail("\xf2\x88\x9b\x89\xe2\x80\x8c\xe0\xa2\xa9\xef\xbd\xa1\xe2\xa7\x85\xf1\x98\x98\xa1-\xf0\x90\xad\xa1"); } // [B1, B5, B6, C1, V7]
3104test { try toAsciiFail("\xf2\x88\x9b\x89\xe2\x80\x8c\xe0\xa2\xa9\xef\xbd\xa1\xe2\xa7\x85\xf1\x98\x98\xa1-\xf0\x90\xad\xa1", false); } // [B1, B5, B6, C1, V7]
3105test { try toAsciiFail("\xf2\x88\x9b\x89\xe2\x80\x8c\xe0\xa2\xa9\xef\xbd\xa1\xe2\xa7\x85\xf1\x98\x98\xa1-\xf0\x90\xad\xa1", true); } // [B1, B5, B6, V7]
3106test { try toUnicodeFail("\xf2\x88\x9b\x89\xe2\x80\x8c\xe0\xa2\xa9\xe3\x80\x82\xe2\xa7\x85\xf1\x98\x98\xa1-\xf0\x90\xad\xa1"); } // [B1, B5, B6, C1, V7]
3107test { try toAsciiFail("\xf2\x88\x9b\x89\xe2\x80\x8c\xe0\xa2\xa9\xe3\x80\x82\xe2\xa7\x85\xf1\x98\x98\xa1-\xf0\x90\xad\xa1", false); } // [B1, B5, B6, C1, V7]
3108test { try toAsciiFail("\xf2\x88\x9b\x89\xe2\x80\x8c\xe0\xa2\xa9\xe3\x80\x82\xe2\xa7\x85\xf1\x98\x98\xa1-\xf0\x90\xad\xa1", true); } // [B1, B5, B6, V7]
3109test { try toUnicodeFail("xn--yyb56242i.xn----zir1232guu71b"); } // [B1, B5, B6, V7]
3110test { try toAsciiFail("xn--yyb56242i.xn----zir1232guu71b", false); } // [B1, B5, B6, V7]
3111test { try toAsciiFail("xn--yyb56242i.xn----zir1232guu71b", true); } // [B1, B5, B6, V7]
3112test { try toUnicodeFail("xn--yyb780jll63m.xn----zir1232guu71b"); } // [B1, B5, B6, C1, V7]
3113test { try toAsciiFail("xn--yyb780jll63m.xn----zir1232guu71b", false); } // [B1, B5, B6, C1, V7]
3114test { try toAsciiFail("xn--yyb780jll63m.xn----zir1232guu71b", true); } // [B1, B5, B6, C1, V7]
3115test { try toUnicodeFail("\xeb\xa3\xb1\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xef\xb8\x92"); } // [C1, C2, V6, V7]
3116test { try toAsciiFail("\xeb\xa3\xb1\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xef\xb8\x92", false); } // [C1, C2, V6, V7]
3117test { try toAsciiFail("\xeb\xa3\xb1\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xef\xb8\x92", true); } // [V6, V7]
3118test { try toUnicodeFail("\xe1\x84\x85\xe1\x85\xae\xe1\x86\xb0\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xef\xb8\x92"); } // [C1, C2, V6, V7]
3119test { try toAsciiFail("\xe1\x84\x85\xe1\x85\xae\xe1\x86\xb0\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xef\xb8\x92", false); } // [C1, C2, V6, V7]
3120test { try toAsciiFail("\xe1\x84\x85\xe1\x85\xae\xe1\x86\xb0\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xef\xb8\x92", true); } // [V6, V7]
3121test { try toUnicodeFail("\xeb\xa3\xb1\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xe3\x80\x82"); } // [C1, C2, V6]
3122test { try toAsciiFail("\xeb\xa3\xb1\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xe3\x80\x82", false); } // [C1, C2, V6, A4_2]
3123test { try toAsciiFail("\xeb\xa3\xb1\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xe3\x80\x82", true); } // [V6, A4_2]
3124test { try toUnicodeFail("\xe1\x84\x85\xe1\x85\xae\xe1\x86\xb0\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xe3\x80\x82"); } // [C1, C2, V6]
3125test { try toAsciiFail("\xe1\x84\x85\xe1\x85\xae\xe1\x86\xb0\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xe3\x80\x82", false); } // [C1, C2, V6, A4_2]
3126test { try toAsciiFail("\xe1\x84\x85\xe1\x85\xae\xe1\x86\xb0\xe2\x80\x8d\xf0\xb0\x8d\xa8\xe2\x80\x8c\xe3\x80\x82\xf0\x9d\xa8\x96\xe3\x80\x82", true); } // [V6, A4_2]
3127test { try toUnicodeFail("xn--ct2b0738h.xn--772h."); } // [V6]
3128test { try toAsciiFail("xn--ct2b0738h.xn--772h.", false); } // [V6, A4_2]
3129test { try toAsciiFail("xn--ct2b0738h.xn--772h.", true); } // [V6, A4_2]
3130test { try toUnicodeFail("xn--0ugb3358ili2v.xn--772h."); } // [C1, C2, V6]
3131test { try toAsciiFail("xn--0ugb3358ili2v.xn--772h.", false); } // [C1, C2, V6, A4_2]
3132test { try toAsciiFail("xn--0ugb3358ili2v.xn--772h.", true); } // [C1, C2, V6, A4_2]
3133test { try toUnicodeFail("xn--ct2b0738h.xn--y86cl899a"); } // [V6, V7]
3134test { try toAsciiFail("xn--ct2b0738h.xn--y86cl899a", false); } // [V6, V7]
3135test { try toAsciiFail("xn--ct2b0738h.xn--y86cl899a", true); } // [V6, V7]
3136test { try toUnicodeFail("xn--0ugb3358ili2v.xn--y86cl899a"); } // [C1, C2, V6, V7]
3137test { try toAsciiFail("xn--0ugb3358ili2v.xn--y86cl899a", false); } // [C1, C2, V6, V7]
3138test { try toAsciiFail("xn--0ugb3358ili2v.xn--y86cl899a", true); } // [C1, C2, V6, V7]
3139test { try toUnicodeFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88\xc3\x9f"); } // [V6, V7, U1]
3140test { try toAsciiFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88\xc3\x9f", false); } // [V6, V7, U1]
3141test { try toAsciiFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88\xc3\x9f", true); } // [V6, V7, U1]
3142test { try toUnicodeFail("3,.\xe1\xb3\x9c1.\xc3\x9f"); } // [V6, U1]
3143test { try toAsciiFail("3,.\xe1\xb3\x9c1.\xc3\x9f", false); } // [V6, U1]
3144test { try toAsciiFail("3,.\xe1\xb3\x9c1.\xc3\x9f", true); } // [V6, U1]
3145test { try toUnicodeFail("3,.\xe1\xb3\x9c1.SS"); } // [V6, U1]
3146test { try toAsciiFail("3,.\xe1\xb3\x9c1.SS", false); } // [V6, U1]
3147test { try toAsciiFail("3,.\xe1\xb3\x9c1.SS", true); } // [V6, U1]
3148test { try toUnicodeFail("3,.\xe1\xb3\x9c1.ss"); } // [V6, U1]
3149test { try toAsciiFail("3,.\xe1\xb3\x9c1.ss", false); } // [V6, U1]
3150test { try toAsciiFail("3,.\xe1\xb3\x9c1.ss", true); } // [V6, U1]
3151test { try toUnicodeFail("3,.\xe1\xb3\x9c1.Ss"); } // [V6, U1]
3152test { try toAsciiFail("3,.\xe1\xb3\x9c1.Ss", false); } // [V6, U1]
3153test { try toAsciiFail("3,.\xe1\xb3\x9c1.Ss", true); } // [V6, U1]
3154test { try toUnicodeFail("3,.xn--1-43l.ss"); } // [V6, U1]
3155test { try toAsciiFail("3,.xn--1-43l.ss", false); } // [V6, U1]
3156test { try toAsciiFail("3,.xn--1-43l.ss", true); } // [V6, U1]
3157test { try toUnicodeFail("3,.xn--1-43l.xn--zca"); } // [V6, U1]
3158test { try toAsciiFail("3,.xn--1-43l.xn--zca", false); } // [V6, U1]
3159test { try toAsciiFail("3,.xn--1-43l.xn--zca", true); } // [V6, U1]
3160test { try toUnicodeFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88SS"); } // [V6, V7, U1]
3161test { try toAsciiFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88SS", false); } // [V6, V7, U1]
3162test { try toAsciiFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88SS", true); } // [V6, V7, U1]
3163test { try toUnicodeFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88ss"); } // [V6, V7, U1]
3164test { try toAsciiFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88ss", false); } // [V6, V7, U1]
3165test { try toAsciiFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88ss", true); } // [V6, V7, U1]
3166test { try toUnicodeFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88Ss"); } // [V6, V7, U1]
3167test { try toAsciiFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88Ss", false); } // [V6, V7, U1]
3168test { try toAsciiFail("\xf0\x9f\x84\x84\xef\xbc\x8e\xe1\xb3\x9c\xe2\x92\x88Ss", true); } // [V6, V7, U1]
3169test { try toUnicodeFail("3,.xn--ss-k1r094b"); } // [V6, V7, U1]
3170test { try toAsciiFail("3,.xn--ss-k1r094b", false); } // [V6, V7, U1]
3171test { try toAsciiFail("3,.xn--ss-k1r094b", true); } // [V6, V7, U1]
3172test { try toUnicodeFail("3,.xn--zca344lmif"); } // [V6, V7, U1]
3173test { try toAsciiFail("3,.xn--zca344lmif", false); } // [V6, V7, U1]
3174test { try toAsciiFail("3,.xn--zca344lmif", true); } // [V6, V7, U1]
3175test { try toUnicodeFail("xn--x07h.xn--ss-k1r094b"); } // [V6, V7]
3176test { try toAsciiFail("xn--x07h.xn--ss-k1r094b", false); } // [V6, V7]
3177test { try toAsciiFail("xn--x07h.xn--ss-k1r094b", true); } // [V6, V7]
3178test { try toUnicodeFail("xn--x07h.xn--zca344lmif"); } // [V6, V7]
3179test { try toAsciiFail("xn--x07h.xn--zca344lmif", false); } // [V6, V7]
3180test { try toAsciiFail("xn--x07h.xn--zca344lmif", true); } // [V6, V7]
3181test { try toUnicodeFail("\xf1\x87\x8c\x8d\xe2\xb5\xbf\xef\xbd\xa1\xf0\x9e\xbc\x93\xf2\xa1\x84\xa8\xf0\x91\x90\xba"); } // [B2, B3, V7]
3182test { try toAsciiFail("\xf1\x87\x8c\x8d\xe2\xb5\xbf\xef\xbd\xa1\xf0\x9e\xbc\x93\xf2\xa1\x84\xa8\xf0\x91\x90\xba", false); } // [B2, B3, V7]
3183test { try toAsciiFail("\xf1\x87\x8c\x8d\xe2\xb5\xbf\xef\xbd\xa1\xf0\x9e\xbc\x93\xf2\xa1\x84\xa8\xf0\x91\x90\xba", true); } // [B2, B3, V7]
3184test { try toUnicodeFail("\xf1\x87\x8c\x8d\xe2\xb5\xbf\xe3\x80\x82\xf0\x9e\xbc\x93\xf2\xa1\x84\xa8\xf0\x91\x90\xba"); } // [B2, B3, V7]
3185test { try toAsciiFail("\xf1\x87\x8c\x8d\xe2\xb5\xbf\xe3\x80\x82\xf0\x9e\xbc\x93\xf2\xa1\x84\xa8\xf0\x91\x90\xba", false); } // [B2, B3, V7]
3186test { try toAsciiFail("\xf1\x87\x8c\x8d\xe2\xb5\xbf\xe3\x80\x82\xf0\x9e\xbc\x93\xf2\xa1\x84\xa8\xf0\x91\x90\xba", true); } // [B2, B3, V7]
3187test { try toUnicodeFail("xn--eoj16016a.xn--0v1d3848a3lr0d"); } // [B2, B3, V7]
3188test { try toAsciiFail("xn--eoj16016a.xn--0v1d3848a3lr0d", false); } // [B2, B3, V7]
3189test { try toAsciiFail("xn--eoj16016a.xn--0v1d3848a3lr0d", true); } // [B2, B3, V7]
3190test { try toUnicodeFail("\xe1\xb7\xbd\xe1\x80\xba\xe0\xa5\x8d\xef\xbc\x8e\xe2\x89\xa0\xe2\x80\x8d\xe3\x87\x9b"); } // [C2, V6]
3191test { try toAsciiFail("\xe1\xb7\xbd\xe1\x80\xba\xe0\xa5\x8d\xef\xbc\x8e\xe2\x89\xa0\xe2\x80\x8d\xe3\x87\x9b", false); } // [C2, V6]
3192test { try toAsciiFail("\xe1\xb7\xbd\xe1\x80\xba\xe0\xa5\x8d\xef\xbc\x8e\xe2\x89\xa0\xe2\x80\x8d\xe3\x87\x9b", true); } // [V6]
3193test { try toUnicodeFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd\xef\xbc\x8e\xe2\x89\xa0\xe2\x80\x8d\xe3\x87\x9b"); } // [C2, V6]
3194test { try toAsciiFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd\xef\xbc\x8e\xe2\x89\xa0\xe2\x80\x8d\xe3\x87\x9b", false); } // [C2, V6]
3195test { try toAsciiFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd\xef\xbc\x8e\xe2\x89\xa0\xe2\x80\x8d\xe3\x87\x9b", true); } // [V6]
3196test { try toUnicodeFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd\xef\xbc\x8e=\xcc\xb8\xe2\x80\x8d\xe3\x87\x9b"); } // [C2, V6]
3197test { try toAsciiFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd\xef\xbc\x8e=\xcc\xb8\xe2\x80\x8d\xe3\x87\x9b", false); } // [C2, V6]
3198test { try toAsciiFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd\xef\xbc\x8e=\xcc\xb8\xe2\x80\x8d\xe3\x87\x9b", true); } // [V6]
3199test { try toUnicodeFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd.\xe2\x89\xa0\xe2\x80\x8d\xe3\x87\x9b"); } // [C2, V6]
3200test { try toAsciiFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd.\xe2\x89\xa0\xe2\x80\x8d\xe3\x87\x9b", false); } // [C2, V6]
3201test { try toAsciiFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd.\xe2\x89\xa0\xe2\x80\x8d\xe3\x87\x9b", true); } // [V6]
3202test { try toUnicodeFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd.=\xcc\xb8\xe2\x80\x8d\xe3\x87\x9b"); } // [C2, V6]
3203test { try toAsciiFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd.=\xcc\xb8\xe2\x80\x8d\xe3\x87\x9b", false); } // [C2, V6]
3204test { try toAsciiFail("\xe1\x80\xba\xe0\xa5\x8d\xe1\xb7\xbd.=\xcc\xb8\xe2\x80\x8d\xe3\x87\x9b", true); } // [V6]
3205test { try toUnicodeFail("xn--n3b956a9zm.xn--1ch912d"); } // [V6]
3206test { try toAsciiFail("xn--n3b956a9zm.xn--1ch912d", false); } // [V6]
3207test { try toAsciiFail("xn--n3b956a9zm.xn--1ch912d", true); } // [V6]
3208test { try toUnicodeFail("xn--n3b956a9zm.xn--1ug63gz5w"); } // [C2, V6]
3209test { try toAsciiFail("xn--n3b956a9zm.xn--1ug63gz5w", false); } // [C2, V6]
3210test { try toAsciiFail("xn--n3b956a9zm.xn--1ug63gz5w", true); } // [C2, V6]
3211test { try toUnicodeFail("\xe1\x82\xa1\xf0\x90\x8b\xa8\xe5\xa8\xa4.\xe2\x80\x8d\xcc\xbc\xd9\xa2\xf0\x91\x96\xbf"); } // [B1, C2]
3212test { try toAsciiFail("\xe1\x82\xa1\xf0\x90\x8b\xa8\xe5\xa8\xa4.\xe2\x80\x8d\xcc\xbc\xd9\xa2\xf0\x91\x96\xbf", false); } // [B1, C2]
3213test { try toAsciiFail("\xe1\x82\xa1\xf0\x90\x8b\xa8\xe5\xa8\xa4.\xe2\x80\x8d\xcc\xbc\xd9\xa2\xf0\x91\x96\xbf", true); } // [B1, V6]
3214test { try toUnicodeFail("\xe2\xb4\x81\xf0\x90\x8b\xa8\xe5\xa8\xa4.\xe2\x80\x8d\xcc\xbc\xd9\xa2\xf0\x91\x96\xbf"); } // [B1, C2]
3215test { try toAsciiFail("\xe2\xb4\x81\xf0\x90\x8b\xa8\xe5\xa8\xa4.\xe2\x80\x8d\xcc\xbc\xd9\xa2\xf0\x91\x96\xbf", false); } // [B1, C2]
3216test { try toAsciiFail("\xe2\xb4\x81\xf0\x90\x8b\xa8\xe5\xa8\xa4.\xe2\x80\x8d\xcc\xbc\xd9\xa2\xf0\x91\x96\xbf", true); } // [B1, V6]
3217test { try toUnicodeFail("xn--skjw75lg29h.xn--9ta62nrv36a"); } // [B1, V6]
3218test { try toAsciiFail("xn--skjw75lg29h.xn--9ta62nrv36a", false); } // [B1, V6]
3219test { try toAsciiFail("xn--skjw75lg29h.xn--9ta62nrv36a", true); } // [B1, V6]
3220test { try toUnicodeFail("xn--skjw75lg29h.xn--9ta62ngt6aou8t"); } // [B1, C2]
3221test { try toAsciiFail("xn--skjw75lg29h.xn--9ta62ngt6aou8t", false); } // [B1, C2]
3222test { try toAsciiFail("xn--skjw75lg29h.xn--9ta62ngt6aou8t", true); } // [B1, C2]
3223test { try toUnicodeFail("xn--8md2578ag21g.xn--9ta62nrv36a"); } // [B1, V6, V7]
3224test { try toAsciiFail("xn--8md2578ag21g.xn--9ta62nrv36a", false); } // [B1, V6, V7]
3225test { try toAsciiFail("xn--8md2578ag21g.xn--9ta62nrv36a", true); } // [B1, V6, V7]
3226test { try toUnicodeFail("xn--8md2578ag21g.xn--9ta62ngt6aou8t"); } // [B1, C2, V7]
3227test { try toAsciiFail("xn--8md2578ag21g.xn--9ta62ngt6aou8t", false); } // [B1, C2, V7]
3228test { try toAsciiFail("xn--8md2578ag21g.xn--9ta62ngt6aou8t", true); } // [B1, C2, V7]
3229test { try toUnicodeFail("\xf0\x9f\x84\x80\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6\xc3\x9f"); } // [B1, V7]
3230test { try toAsciiFail("\xf0\x9f\x84\x80\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6\xc3\x9f", false); } // [B1, V7]
3231test { try toAsciiFail("\xf0\x9f\x84\x80\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6\xc3\x9f", true); } // [B1, V7]
3232test { try toUnicodeFail("0.\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6\xc3\x9f"); } // [B1, B5, B6, V6]
3233test { try toAsciiFail("0.\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6\xc3\x9f", false); } // [B1, B5, B6, V6]
3234test { try toAsciiFail("0.\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6\xc3\x9f", true); } // [B1, B5, B6, V6]
3235test { try toUnicodeFail("0.\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6\xc3\x9f"); } // [B1, B5, B6, V6]
3236test { try toAsciiFail("0.\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6\xc3\x9f", false); } // [B1, B5, B6, V6]
3237test { try toAsciiFail("0.\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6\xc3\x9f", true); } // [B1, B5, B6, V6]
3238test { try toUnicodeFail("0.\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6SS"); } // [B1, B5, B6, V6]
3239test { try toAsciiFail("0.\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6SS", false); } // [B1, B5, B6, V6]
3240test { try toAsciiFail("0.\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6SS", true); } // [B1, B5, B6, V6]
3241test { try toUnicodeFail("0.\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6ss"); } // [B1, B5, B6, V6]
3242test { try toAsciiFail("0.\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6ss", false); } // [B1, B5, B6, V6]
3243test { try toAsciiFail("0.\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6ss", true); } // [B1, B5, B6, V6]
3244test { try toUnicodeFail("0.\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6Ss"); } // [B1, B5, B6, V6]
3245test { try toAsciiFail("0.\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6Ss", false); } // [B1, B5, B6, V6]
3246test { try toAsciiFail("0.\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x821.\xe0\xbe\xb6Ss", true); } // [B1, B5, B6, V6]
3247test { try toUnicodeFail("0.xn--iib29fp25e.1.xn--ss-1sj"); } // [B1, B5, B6, V6]
3248test { try toAsciiFail("0.xn--iib29fp25e.1.xn--ss-1sj", false); } // [B1, B5, B6, V6]
3249test { try toAsciiFail("0.xn--iib29fp25e.1.xn--ss-1sj", true); } // [B1, B5, B6, V6]
3250test { try toUnicodeFail("0.xn--iib29fp25e.1.xn--zca117e"); } // [B1, B5, B6, V6]
3251test { try toAsciiFail("0.xn--iib29fp25e.1.xn--zca117e", false); } // [B1, B5, B6, V6]
3252test { try toAsciiFail("0.xn--iib29fp25e.1.xn--zca117e", true); } // [B1, B5, B6, V6]
3253test { try toUnicodeFail("\xf0\x9f\x84\x80\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6\xc3\x9f"); } // [B1, V7]
3254test { try toAsciiFail("\xf0\x9f\x84\x80\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6\xc3\x9f", false); } // [B1, V7]
3255test { try toAsciiFail("\xf0\x9f\x84\x80\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6\xc3\x9f", true); } // [B1, V7]
3256test { try toUnicodeFail("\xf0\x9f\x84\x80\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6SS"); } // [B1, V7]
3257test { try toAsciiFail("\xf0\x9f\x84\x80\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6SS", false); } // [B1, V7]
3258test { try toAsciiFail("\xf0\x9f\x84\x80\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6SS", true); } // [B1, V7]
3259test { try toUnicodeFail("\xf0\x9f\x84\x80\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6ss"); } // [B1, V7]
3260test { try toAsciiFail("\xf0\x9f\x84\x80\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6ss", false); } // [B1, V7]
3261test { try toAsciiFail("\xf0\x9f\x84\x80\xe2\xb4\x84\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6ss", true); } // [B1, V7]
3262test { try toUnicodeFail("\xf0\x9f\x84\x80\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6Ss"); } // [B1, V7]
3263test { try toAsciiFail("\xf0\x9f\x84\x80\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6Ss", false); } // [B1, V7]
3264test { try toAsciiFail("\xf0\x9f\x84\x80\xe1\x82\xa4\xd9\xa9\xe0\xa0\xa0\xe3\x80\x82\xe2\x92\x88\xe0\xbe\xb6Ss", true); } // [B1, V7]
3265test { try toUnicodeFail("xn--iib29fp25e0219a.xn--ss-1sj588o"); } // [B1, V7]
3266test { try toAsciiFail("xn--iib29fp25e0219a.xn--ss-1sj588o", false); } // [B1, V7]
3267test { try toAsciiFail("xn--iib29fp25e0219a.xn--ss-1sj588o", true); } // [B1, V7]
3268test { try toUnicodeFail("xn--iib29fp25e0219a.xn--zca117e3vp"); } // [B1, V7]
3269test { try toAsciiFail("xn--iib29fp25e0219a.xn--zca117e3vp", false); } // [B1, V7]
3270test { try toAsciiFail("xn--iib29fp25e0219a.xn--zca117e3vp", true); } // [B1, V7]
3271test { try toUnicodeFail("0.xn--iib29f26o.1.xn--ss-1sj"); } // [B1, B5, B6, V6, V7]
3272test { try toAsciiFail("0.xn--iib29f26o.1.xn--ss-1sj", false); } // [B1, B5, B6, V6, V7]
3273test { try toAsciiFail("0.xn--iib29f26o.1.xn--ss-1sj", true); } // [B1, B5, B6, V6, V7]
3274test { try toUnicodeFail("0.xn--iib29f26o.1.xn--zca117e"); } // [B1, B5, B6, V6, V7]
3275test { try toAsciiFail("0.xn--iib29f26o.1.xn--zca117e", false); } // [B1, B5, B6, V6, V7]
3276test { try toAsciiFail("0.xn--iib29f26o.1.xn--zca117e", true); } // [B1, B5, B6, V6, V7]
3277test { try toUnicodeFail("xn--iib29f26o6n43c.xn--ss-1sj588o"); } // [B1, V7]
3278test { try toAsciiFail("xn--iib29f26o6n43c.xn--ss-1sj588o", false); } // [B1, V7]
3279test { try toAsciiFail("xn--iib29f26o6n43c.xn--ss-1sj588o", true); } // [B1, V7]
3280test { try toUnicodeFail("xn--iib29f26o6n43c.xn--zca117e3vp"); } // [B1, V7]
3281test { try toAsciiFail("xn--iib29f26o6n43c.xn--zca117e3vp", false); } // [B1, V7]
3282test { try toAsciiFail("xn--iib29f26o6n43c.xn--zca117e3vp", true); } // [B1, V7]
3283test { try toUnicodeFail("\xe2\x89\xa0.\xe2\x80\x8c-\xd9\xab"); } // [B1, C1]
3284test { try toAsciiFail("\xe2\x89\xa0.\xe2\x80\x8c-\xd9\xab", false); } // [B1, C1]
3285test { try toAsciiFail("\xe2\x89\xa0.\xe2\x80\x8c-\xd9\xab", true); } // [B1, V3]
3286test { try toUnicodeFail("=\xcc\xb8.\xe2\x80\x8c-\xd9\xab"); } // [B1, C1]
3287test { try toAsciiFail("=\xcc\xb8.\xe2\x80\x8c-\xd9\xab", false); } // [B1, C1]
3288test { try toAsciiFail("=\xcc\xb8.\xe2\x80\x8c-\xd9\xab", true); } // [B1, V3]
3289test { try toUnicodeFail("xn--1ch.xn----vqc"); } // [B1, V3]
3290test { try toAsciiFail("xn--1ch.xn----vqc", false); } // [B1, V3]
3291test { try toAsciiFail("xn--1ch.xn----vqc", true); } // [B1, V3]
3292test { try toUnicodeFail("xn--1ch.xn----vqc597q"); } // [B1, C1]
3293test { try toAsciiFail("xn--1ch.xn----vqc597q", false); } // [B1, C1]
3294test { try toAsciiFail("xn--1ch.xn----vqc597q", true); } // [B1, C1]
3295test { try toUnicodeFail("\xd9\xa0\xdb\xb1\xef\xbd\xa1\xf3\xa0\xb3\xb6\xf0\x9e\xa0\x81\xd9\xa5"); } // [B1, V7]
3296test { try toAsciiFail("\xd9\xa0\xdb\xb1\xef\xbd\xa1\xf3\xa0\xb3\xb6\xf0\x9e\xa0\x81\xd9\xa5", false); } // [B1, V7]
3297test { try toAsciiFail("\xd9\xa0\xdb\xb1\xef\xbd\xa1\xf3\xa0\xb3\xb6\xf0\x9e\xa0\x81\xd9\xa5", true); } // [B1, V7]
3298test { try toUnicodeFail("\xd9\xa0\xdb\xb1\xe3\x80\x82\xf3\xa0\xb3\xb6\xf0\x9e\xa0\x81\xd9\xa5"); } // [B1, V7]
3299test { try toAsciiFail("\xd9\xa0\xdb\xb1\xe3\x80\x82\xf3\xa0\xb3\xb6\xf0\x9e\xa0\x81\xd9\xa5", false); } // [B1, V7]
3300test { try toAsciiFail("\xd9\xa0\xdb\xb1\xe3\x80\x82\xf3\xa0\xb3\xb6\xf0\x9e\xa0\x81\xd9\xa5", true); } // [B1, V7]
3301test { try toUnicodeFail("xn--8hb40a.xn--eib7967vner3e"); } // [B1, V7]
3302test { try toAsciiFail("xn--8hb40a.xn--eib7967vner3e", false); } // [B1, V7]
3303test { try toAsciiFail("xn--8hb40a.xn--eib7967vner3e", true); } // [B1, V7]
3304test { try toUnicodeFail("\xe2\x80\x8c\xd9\xa3\xe2\x92\x96\xe3\x80\x82\xf3\xb1\x85\x89\xf0\xbd\xb7\x9b\xe1\xaf\xb3"); } // [B1, C1, V7]
3305test { try toAsciiFail("\xe2\x80\x8c\xd9\xa3\xe2\x92\x96\xe3\x80\x82\xf3\xb1\x85\x89\xf0\xbd\xb7\x9b\xe1\xaf\xb3", false); } // [B1, C1, V7]
3306test { try toAsciiFail("\xe2\x80\x8c\xd9\xa3\xe2\x92\x96\xe3\x80\x82\xf3\xb1\x85\x89\xf0\xbd\xb7\x9b\xe1\xaf\xb3", true); } // [B1, V7]
3307test { try toUnicodeFail("\xe2\x80\x8c\xd9\xa315.\xe3\x80\x82\xf3\xb1\x85\x89\xf0\xbd\xb7\x9b\xe1\xaf\xb3"); } // [B1, C1, V7, X4_2]
3308test { try toAsciiFail("\xe2\x80\x8c\xd9\xa315.\xe3\x80\x82\xf3\xb1\x85\x89\xf0\xbd\xb7\x9b\xe1\xaf\xb3", false); } // [B1, C1, V7, A4_2]
3309test { try toAsciiFail("\xe2\x80\x8c\xd9\xa315.\xe3\x80\x82\xf3\xb1\x85\x89\xf0\xbd\xb7\x9b\xe1\xaf\xb3", true); } // [B1, V7, A4_2]
3310test { try toUnicodeFail("xn--15-gyd..xn--1zf13512buy41d"); } // [B1, V7, X4_2]
3311test { try toAsciiFail("xn--15-gyd..xn--1zf13512buy41d", false); } // [B1, V7, A4_2]
3312test { try toAsciiFail("xn--15-gyd..xn--1zf13512buy41d", true); } // [B1, V7, A4_2]
3313test { try toUnicodeFail("xn--15-gyd983x..xn--1zf13512buy41d"); } // [B1, C1, V7, X4_2]
3314test { try toAsciiFail("xn--15-gyd983x..xn--1zf13512buy41d", false); } // [B1, C1, V7, A4_2]
3315test { try toAsciiFail("xn--15-gyd983x..xn--1zf13512buy41d", true); } // [B1, C1, V7, A4_2]
3316test { try toUnicodeFail("xn--cib675m.xn--1zf13512buy41d"); } // [B1, V7]
3317test { try toAsciiFail("xn--cib675m.xn--1zf13512buy41d", false); } // [B1, V7]
3318test { try toAsciiFail("xn--cib675m.xn--1zf13512buy41d", true); } // [B1, V7]
3319test { try toUnicodeFail("xn--cib152kwgd.xn--1zf13512buy41d"); } // [B1, C1, V7]
3320test { try toAsciiFail("xn--cib152kwgd.xn--1zf13512buy41d", false); } // [B1, C1, V7]
3321test { try toAsciiFail("xn--cib152kwgd.xn--1zf13512buy41d", true); } // [B1, C1, V7]
3322test { try toUnicodeFail("\xe1\xaf\xb3.-\xe9\x80\x8b\xf1\xb3\xa6\xad\xf3\x99\x99\xae"); } // [V3, V6, V7]
3323test { try toAsciiFail("\xe1\xaf\xb3.-\xe9\x80\x8b\xf1\xb3\xa6\xad\xf3\x99\x99\xae", false); } // [V3, V6, V7]
3324test { try toAsciiFail("\xe1\xaf\xb3.-\xe9\x80\x8b\xf1\xb3\xa6\xad\xf3\x99\x99\xae", true); } // [V3, V6, V7]
3325test { try toUnicodeFail("xn--1zf.xn----483d46987byr50b"); } // [V3, V6, V7]
3326test { try toAsciiFail("xn--1zf.xn----483d46987byr50b", false); } // [V3, V6, V7]
3327test { try toAsciiFail("xn--1zf.xn----483d46987byr50b", true); } // [V3, V6, V7]
3328test { try toAsciiPass("\xdd\x96\xe3\x80\x82\xe3\x85\xa4\xe2\x80\x8d\xcf\x82", "xn--9ob.xn--4xa", true); }
3329test { try toUnicodeFail("\xdd\x96\xe3\x80\x82\xe3\x85\xa4\xe2\x80\x8d\xcf\x82"); } // [B1, C2]
3330test { try toAsciiFail("\xdd\x96\xe3\x80\x82\xe3\x85\xa4\xe2\x80\x8d\xcf\x82", false); } // [B1, C2]
3331test { try toAsciiPass("\xdd\x96\xe3\x80\x82\xe1\x85\xa0\xe2\x80\x8d\xcf\x82", "xn--9ob.xn--4xa", true); }
3332test { try toUnicodeFail("\xdd\x96\xe3\x80\x82\xe1\x85\xa0\xe2\x80\x8d\xcf\x82"); } // [B1, C2]
3333test { try toAsciiFail("\xdd\x96\xe3\x80\x82\xe1\x85\xa0\xe2\x80\x8d\xcf\x82", false); } // [B1, C2]
3334test { try toAsciiPass("\xdd\x96\xe3\x80\x82\xe1\x85\xa0\xe2\x80\x8d\xce\xa3", "xn--9ob.xn--4xa", true); }
3335test { try toUnicodeFail("\xdd\x96\xe3\x80\x82\xe1\x85\xa0\xe2\x80\x8d\xce\xa3"); } // [B1, C2]
3336test { try toAsciiFail("\xdd\x96\xe3\x80\x82\xe1\x85\xa0\xe2\x80\x8d\xce\xa3", false); } // [B1, C2]
3337test { try toAsciiPass("\xdd\x96\xe3\x80\x82\xe1\x85\xa0\xe2\x80\x8d\xcf\x83", "xn--9ob.xn--4xa", true); }
3338test { try toUnicodeFail("\xdd\x96\xe3\x80\x82\xe1\x85\xa0\xe2\x80\x8d\xcf\x83"); } // [B1, C2]
3339test { try toAsciiFail("\xdd\x96\xe3\x80\x82\xe1\x85\xa0\xe2\x80\x8d\xcf\x83", false); } // [B1, C2]
3340test { try toUnicodePass("xn--9ob.xn--4xa", "\xdd\x96.\xcf\x83"); }
3341test { try toAsciiPass("xn--9ob.xn--4xa", "xn--9ob.xn--4xa", false); }
3342test { try toAsciiPass("xn--9ob.xn--4xa", "xn--9ob.xn--4xa", true); }
3343test { try toUnicodePass("\xdd\x96.\xcf\x83", "\xdd\x96.\xcf\x83"); }
3344test { try toAsciiPass("\xdd\x96.\xcf\x83", "xn--9ob.xn--4xa", false); }
3345test { try toAsciiPass("\xdd\x96.\xcf\x83", "xn--9ob.xn--4xa", true); }
3346test { try toUnicodePass("\xdd\x96.\xce\xa3", "\xdd\x96.\xcf\x83"); }
3347test { try toAsciiPass("\xdd\x96.\xce\xa3", "xn--9ob.xn--4xa", false); }
3348test { try toAsciiPass("\xdd\x96.\xce\xa3", "xn--9ob.xn--4xa", true); }
3349test { try toUnicodeFail("xn--9ob.xn--4xa795l"); } // [B1, C2]
3350test { try toAsciiFail("xn--9ob.xn--4xa795l", false); } // [B1, C2]
3351test { try toAsciiFail("xn--9ob.xn--4xa795l", true); } // [B1, C2]
3352test { try toUnicodeFail("xn--9ob.xn--3xa995l"); } // [B1, C2]
3353test { try toAsciiFail("xn--9ob.xn--3xa995l", false); } // [B1, C2]
3354test { try toAsciiFail("xn--9ob.xn--3xa995l", true); } // [B1, C2]
3355test { try toAsciiPass("\xdd\x96\xe3\x80\x82\xe3\x85\xa4\xe2\x80\x8d\xce\xa3", "xn--9ob.xn--4xa", true); }
3356test { try toUnicodeFail("\xdd\x96\xe3\x80\x82\xe3\x85\xa4\xe2\x80\x8d\xce\xa3"); } // [B1, C2]
3357test { try toAsciiFail("\xdd\x96\xe3\x80\x82\xe3\x85\xa4\xe2\x80\x8d\xce\xa3", false); } // [B1, C2]
3358test { try toAsciiPass("\xdd\x96\xe3\x80\x82\xe3\x85\xa4\xe2\x80\x8d\xcf\x83", "xn--9ob.xn--4xa", true); }
3359test { try toUnicodeFail("\xdd\x96\xe3\x80\x82\xe3\x85\xa4\xe2\x80\x8d\xcf\x83"); } // [B1, C2]
3360test { try toAsciiFail("\xdd\x96\xe3\x80\x82\xe3\x85\xa4\xe2\x80\x8d\xcf\x83", false); } // [B1, C2]
3361test { try toUnicodeFail("xn--9ob.xn--4xa380e"); } // [V7]
3362test { try toAsciiFail("xn--9ob.xn--4xa380e", false); } // [V7]
3363test { try toAsciiFail("xn--9ob.xn--4xa380e", true); } // [V7]
3364test { try toUnicodeFail("xn--9ob.xn--4xa380ebol"); } // [C2, V7]
3365test { try toAsciiFail("xn--9ob.xn--4xa380ebol", false); } // [C2, V7]
3366test { try toAsciiFail("xn--9ob.xn--4xa380ebol", true); } // [C2, V7]
3367test { try toUnicodeFail("xn--9ob.xn--3xa580ebol"); } // [C2, V7]
3368test { try toAsciiFail("xn--9ob.xn--3xa580ebol", false); } // [C2, V7]
3369test { try toAsciiFail("xn--9ob.xn--3xa580ebol", true); } // [C2, V7]
3370test { try toUnicodeFail("xn--9ob.xn--4xa574u"); } // [V7]
3371test { try toAsciiFail("xn--9ob.xn--4xa574u", false); } // [V7]
3372test { try toAsciiFail("xn--9ob.xn--4xa574u", true); } // [V7]
3373test { try toUnicodeFail("xn--9ob.xn--4xa795lq2l"); } // [C2, V7]
3374test { try toAsciiFail("xn--9ob.xn--4xa795lq2l", false); } // [C2, V7]
3375test { try toAsciiFail("xn--9ob.xn--4xa795lq2l", true); } // [C2, V7]
3376test { try toUnicodeFail("xn--9ob.xn--3xa995lq2l"); } // [C2, V7]
3377test { try toAsciiFail("xn--9ob.xn--3xa995lq2l", false); } // [C2, V7]
3378test { try toAsciiFail("xn--9ob.xn--3xa995lq2l", true); } // [C2, V7]
3379test { try toUnicodeFail("\xe1\xa1\x86\xe1\x82\xa3\xef\xbd\xa1\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d"); } // [C2, V7]
3380test { try toAsciiFail("\xe1\xa1\x86\xe1\x82\xa3\xef\xbd\xa1\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d", false); } // [C2, V7]
3381test { try toAsciiFail("\xe1\xa1\x86\xe1\x82\xa3\xef\xbd\xa1\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d", true); } // [V7]
3382test { try toUnicodeFail("\xe1\xa1\x86\xe1\x82\xa3\xe3\x80\x82\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d"); } // [C2, V7]
3383test { try toAsciiFail("\xe1\xa1\x86\xe1\x82\xa3\xe3\x80\x82\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d", false); } // [C2, V7]
3384test { try toAsciiFail("\xe1\xa1\x86\xe1\x82\xa3\xe3\x80\x82\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d", true); } // [V7]
3385test { try toUnicodeFail("\xe1\xa1\x86\xe2\xb4\x83\xe3\x80\x82\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d"); } // [C2, V7]
3386test { try toAsciiFail("\xe1\xa1\x86\xe2\xb4\x83\xe3\x80\x82\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d", false); } // [C2, V7]
3387test { try toAsciiFail("\xe1\xa1\x86\xe2\xb4\x83\xe3\x80\x82\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d", true); } // [V7]
3388test { try toUnicodeFail("xn--57e237h.xn--5sa98523p"); } // [V7]
3389test { try toAsciiFail("xn--57e237h.xn--5sa98523p", false); } // [V7]
3390test { try toAsciiFail("xn--57e237h.xn--5sa98523p", true); } // [V7]
3391test { try toUnicodeFail("xn--57e237h.xn--5sa649la993427a"); } // [C2, V7]
3392test { try toAsciiFail("xn--57e237h.xn--5sa649la993427a", false); } // [C2, V7]
3393test { try toAsciiFail("xn--57e237h.xn--5sa649la993427a", true); } // [C2, V7]
3394test { try toUnicodeFail("\xe1\xa1\x86\xe2\xb4\x83\xef\xbd\xa1\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d"); } // [C2, V7]
3395test { try toAsciiFail("\xe1\xa1\x86\xe2\xb4\x83\xef\xbd\xa1\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d", false); } // [C2, V7]
3396test { try toAsciiFail("\xe1\xa1\x86\xe2\xb4\x83\xef\xbd\xa1\xf3\x9e\xa2\xa7\xcc\x95\xe2\x80\x8d\xe2\x80\x8d", true); } // [V7]
3397test { try toUnicodeFail("xn--bnd320b.xn--5sa98523p"); } // [V7]
3398test { try toAsciiFail("xn--bnd320b.xn--5sa98523p", false); } // [V7]
3399test { try toAsciiFail("xn--bnd320b.xn--5sa98523p", true); } // [V7]
3400test { try toUnicodeFail("xn--bnd320b.xn--5sa649la993427a"); } // [C2, V7]
3401test { try toAsciiFail("xn--bnd320b.xn--5sa649la993427a", false); } // [C2, V7]
3402test { try toAsciiFail("xn--bnd320b.xn--5sa649la993427a", true); } // [C2, V7]
3403test { try toUnicodeFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5\xef\xbc\x8e\xcf\x82\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d"); } // [B5, B6, C1, C2]
3404test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5\xef\xbc\x8e\xcf\x82\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", false); } // [B5, B6, C1, C2]
3405test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5\xef\xbc\x8e\xcf\x82\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", true); } // [B5, B6]
3406test { try toUnicodeFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5.\xcf\x82\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d"); } // [B5, B6, C1, C2]
3407test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5.\xcf\x82\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", false); } // [B5, B6, C1, C2]
3408test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5.\xcf\x82\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", true); } // [B5, B6]
3409test { try toUnicodeFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5.\xce\xa3\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d"); } // [B5, B6, C1, C2]
3410test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5.\xce\xa3\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", false); } // [B5, B6, C1, C2]
3411test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5.\xce\xa3\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", true); } // [B5, B6]
3412test { try toUnicodeFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5.\xcf\x83\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d"); } // [B5, B6, C1, C2]
3413test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5.\xcf\x83\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", false); } // [B5, B6, C1, C2]
3414test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5.\xcf\x83\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", true); } // [B5, B6]
3415test { try toUnicodeFail("xn--ewb302xhu1l.xn--4xa0426k"); } // [B5, B6]
3416test { try toAsciiFail("xn--ewb302xhu1l.xn--4xa0426k", false); } // [B5, B6]
3417test { try toAsciiFail("xn--ewb302xhu1l.xn--4xa0426k", true); } // [B5, B6]
3418test { try toUnicodeFail("xn--ewb962jfitku4r.xn--4xa695lda6932v"); } // [B5, B6, C1, C2]
3419test { try toAsciiFail("xn--ewb962jfitku4r.xn--4xa695lda6932v", false); } // [B5, B6, C1, C2]
3420test { try toAsciiFail("xn--ewb962jfitku4r.xn--4xa695lda6932v", true); } // [B5, B6, C1, C2]
3421test { try toUnicodeFail("xn--ewb962jfitku4r.xn--3xa895lda6932v"); } // [B5, B6, C1, C2]
3422test { try toAsciiFail("xn--ewb962jfitku4r.xn--3xa895lda6932v", false); } // [B5, B6, C1, C2]
3423test { try toAsciiFail("xn--ewb962jfitku4r.xn--3xa895lda6932v", true); } // [B5, B6, C1, C2]
3424test { try toUnicodeFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5\xef\xbc\x8e\xce\xa3\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d"); } // [B5, B6, C1, C2]
3425test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5\xef\xbc\x8e\xce\xa3\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", false); } // [B5, B6, C1, C2]
3426test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5\xef\xbc\x8e\xce\xa3\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", true); } // [B5, B6]
3427test { try toUnicodeFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5\xef\xbc\x8e\xcf\x83\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d"); } // [B5, B6, C1, C2]
3428test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5\xef\xbc\x8e\xcf\x83\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", false); } // [B5, B6, C1, C2]
3429test { try toAsciiFail("\xe3\xad\x84\xe2\x80\x8d\xe0\xa1\x8f\xf0\x91\x9a\xb5\xef\xbc\x8e\xcf\x83\xf0\x90\xae\xae\xe2\x80\x8c\xe2\x80\x8d", true); } // [B5, B6]
3430test { try toUnicodeFail("\xe1\x9e\xb5\xe3\x80\x82\xf0\x9e\xaf\xb8\xea\xa1\x80\xf0\x9f\x84\x8b"); } // [B2, B3, V7, X4_2]
3431test { try toAsciiFail("\xe1\x9e\xb5\xe3\x80\x82\xf0\x9e\xaf\xb8\xea\xa1\x80\xf0\x9f\x84\x8b", false); } // [B2, B3, V7, A4_2]
3432test { try toAsciiFail("\xe1\x9e\xb5\xe3\x80\x82\xf0\x9e\xaf\xb8\xea\xa1\x80\xf0\x9f\x84\x8b", true); } // [B2, B3, V7, A4_2]
3433test { try toUnicodeFail(".xn--8b9ar252dngd"); } // [B2, B3, V7, X4_2]
3434test { try toAsciiFail(".xn--8b9ar252dngd", false); } // [B2, B3, V7, A4_2]
3435test { try toAsciiFail(".xn--8b9ar252dngd", true); } // [B2, B3, V7, A4_2]
3436test { try toUnicodeFail("xn--03e.xn--8b9ar252dngd"); } // [B1, B2, B3, V6, V7]
3437test { try toAsciiFail("xn--03e.xn--8b9ar252dngd", false); } // [B1, B2, B3, V6, V7]
3438test { try toAsciiFail("xn--03e.xn--8b9ar252dngd", true); } // [B1, B2, B3, V6, V7]
3439test { try toUnicodeFail("\xf3\x90\xaa\xba\xe6\x9a\x91\xef\xbc\x8e\xe2\xbe\x91\xd9\xa8"); } // [B5, B6, V7]
3440test { try toAsciiFail("\xf3\x90\xaa\xba\xe6\x9a\x91\xef\xbc\x8e\xe2\xbe\x91\xd9\xa8", false); } // [B5, B6, V7]
3441test { try toAsciiFail("\xf3\x90\xaa\xba\xe6\x9a\x91\xef\xbc\x8e\xe2\xbe\x91\xd9\xa8", true); } // [B5, B6, V7]
3442test { try toUnicodeFail("\xf3\x90\xaa\xba\xe6\x9a\x91.\xe8\xa5\xbe\xd9\xa8"); } // [B5, B6, V7]
3443test { try toAsciiFail("\xf3\x90\xaa\xba\xe6\x9a\x91.\xe8\xa5\xbe\xd9\xa8", false); } // [B5, B6, V7]
3444test { try toAsciiFail("\xf3\x90\xaa\xba\xe6\x9a\x91.\xe8\xa5\xbe\xd9\xa8", true); } // [B5, B6, V7]
3445test { try toUnicodeFail("xn--tlvq3513e.xn--hib9228d"); } // [B5, B6, V7]
3446test { try toAsciiFail("xn--tlvq3513e.xn--hib9228d", false); } // [B5, B6, V7]
3447test { try toAsciiFail("xn--tlvq3513e.xn--hib9228d", true); } // [B5, B6, V7]
3448test { try toUnicodeFail("\xf3\xa0\x84\x9a\xe2\x89\xaf\xea\xa1\xa2\xe3\x80\x82\xe0\xa2\x91\xe1\xb7\xbf"); } // [B1, V7]
3449test { try toAsciiFail("\xf3\xa0\x84\x9a\xe2\x89\xaf\xea\xa1\xa2\xe3\x80\x82\xe0\xa2\x91\xe1\xb7\xbf", false); } // [B1, V7]
3450test { try toAsciiFail("\xf3\xa0\x84\x9a\xe2\x89\xaf\xea\xa1\xa2\xe3\x80\x82\xe0\xa2\x91\xe1\xb7\xbf", true); } // [B1, V7]
3451test { try toUnicodeFail("\xf3\xa0\x84\x9a>\xcc\xb8\xea\xa1\xa2\xe3\x80\x82\xe0\xa2\x91\xe1\xb7\xbf"); } // [B1, V7]
3452test { try toAsciiFail("\xf3\xa0\x84\x9a>\xcc\xb8\xea\xa1\xa2\xe3\x80\x82\xe0\xa2\x91\xe1\xb7\xbf", false); } // [B1, V7]
3453test { try toAsciiFail("\xf3\xa0\x84\x9a>\xcc\xb8\xea\xa1\xa2\xe3\x80\x82\xe0\xa2\x91\xe1\xb7\xbf", true); } // [B1, V7]
3454test { try toUnicodeFail("xn--hdh7783c.xn--9xb680i"); } // [B1, V7]
3455test { try toAsciiFail("xn--hdh7783c.xn--9xb680i", false); } // [B1, V7]
3456test { try toAsciiFail("xn--hdh7783c.xn--9xb680i", true); } // [B1, V7]
3457test { try toUnicodeFail("\xef\xb7\x83\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe1\x82\xb7"); } // [B2, B3, V7]
3458test { try toAsciiFail("\xef\xb7\x83\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe1\x82\xb7", false); } // [B2, B3, V7]
3459test { try toAsciiFail("\xef\xb7\x83\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe1\x82\xb7", true); } // [B2, B3, V7]
3460test { try toUnicodeFail("\xd9\x83\xd9\x85\xd9\x85\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe1\x82\xb7"); } // [B2, B3, V7]
3461test { try toAsciiFail("\xd9\x83\xd9\x85\xd9\x85\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe1\x82\xb7", false); } // [B2, B3, V7]
3462test { try toAsciiFail("\xd9\x83\xd9\x85\xd9\x85\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe1\x82\xb7", true); } // [B2, B3, V7]
3463test { try toUnicodeFail("\xd9\x83\xd9\x85\xd9\x85\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe2\xb4\x97"); } // [B2, B3, V7]
3464test { try toAsciiFail("\xd9\x83\xd9\x85\xd9\x85\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe2\xb4\x97", false); } // [B2, B3, V7]
3465test { try toAsciiFail("\xd9\x83\xd9\x85\xd9\x85\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe2\xb4\x97", true); } // [B2, B3, V7]
3466test { try toUnicodeFail("xn--fhbea662czx68a2tju.xn--fljz2846h"); } // [B2, B3, V7]
3467test { try toAsciiFail("xn--fhbea662czx68a2tju.xn--fljz2846h", false); } // [B2, B3, V7]
3468test { try toAsciiFail("xn--fhbea662czx68a2tju.xn--fljz2846h", true); } // [B2, B3, V7]
3469test { try toUnicodeFail("\xef\xb7\x83\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe2\xb4\x97"); } // [B2, B3, V7]
3470test { try toAsciiFail("\xef\xb7\x83\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe2\xb4\x97", false); } // [B2, B3, V7]
3471test { try toAsciiFail("\xef\xb7\x83\xf0\xae\x81\xb1\xe0\xad\x8d\xf0\x90\xa8\xbf.\xf3\x90\xa7\xa4\xe2\xb4\x97", true); } // [B2, B3, V7]
3472test { try toUnicodeFail("xn--fhbea662czx68a2tju.xn--vnd55511o"); } // [B2, B3, V7]
3473test { try toAsciiFail("xn--fhbea662czx68a2tju.xn--vnd55511o", false); } // [B2, B3, V7]
3474test { try toAsciiFail("xn--fhbea662czx68a2tju.xn--vnd55511o", true); } // [B2, B3, V7]
3475test { try toUnicodeFail("\xf0\x9e\x80\xa8\xef\xbd\xa1\xe1\xad\x84\xf2\xa1\x9b\xa8\xf0\x9e\x8e\x87"); } // [V6, V7]
3476test { try toAsciiFail("\xf0\x9e\x80\xa8\xef\xbd\xa1\xe1\xad\x84\xf2\xa1\x9b\xa8\xf0\x9e\x8e\x87", false); } // [V6, V7]
3477test { try toAsciiFail("\xf0\x9e\x80\xa8\xef\xbd\xa1\xe1\xad\x84\xf2\xa1\x9b\xa8\xf0\x9e\x8e\x87", true); } // [V6, V7]
3478test { try toUnicodeFail("\xf0\x9e\x80\xa8\xe3\x80\x82\xe1\xad\x84\xf2\xa1\x9b\xa8\xf0\x9e\x8e\x87"); } // [V6, V7]
3479test { try toAsciiFail("\xf0\x9e\x80\xa8\xe3\x80\x82\xe1\xad\x84\xf2\xa1\x9b\xa8\xf0\x9e\x8e\x87", false); } // [V6, V7]
3480test { try toAsciiFail("\xf0\x9e\x80\xa8\xe3\x80\x82\xe1\xad\x84\xf2\xa1\x9b\xa8\xf0\x9e\x8e\x87", true); } // [V6, V7]
3481test { try toUnicodeFail("xn--mi4h.xn--1uf6843smg20c"); } // [V6, V7]
3482test { try toAsciiFail("xn--mi4h.xn--1uf6843smg20c", false); } // [V6, V7]
3483test { try toAsciiFail("xn--mi4h.xn--1uf6843smg20c", true); } // [V6, V7]
3484test { try toUnicodeFail("\xf3\xa0\xa3\xbc\xe2\x80\x8c\xef\xbc\x8e\xf0\x90\xba\xb0\xe2\x80\x8c\xe1\xa1\x9f"); } // [B1, B2, B3, C1, V7]
3485test { try toAsciiFail("\xf3\xa0\xa3\xbc\xe2\x80\x8c\xef\xbc\x8e\xf0\x90\xba\xb0\xe2\x80\x8c\xe1\xa1\x9f", false); } // [B1, B2, B3, C1, V7]
3486test { try toAsciiFail("\xf3\xa0\xa3\xbc\xe2\x80\x8c\xef\xbc\x8e\xf0\x90\xba\xb0\xe2\x80\x8c\xe1\xa1\x9f", true); } // [B1, B2, B3, V7]
3487test { try toUnicodeFail("\xf3\xa0\xa3\xbc\xe2\x80\x8c.\xf0\x90\xba\xb0\xe2\x80\x8c\xe1\xa1\x9f"); } // [B1, B2, B3, C1, V7]
3488test { try toAsciiFail("\xf3\xa0\xa3\xbc\xe2\x80\x8c.\xf0\x90\xba\xb0\xe2\x80\x8c\xe1\xa1\x9f", false); } // [B1, B2, B3, C1, V7]
3489test { try toAsciiFail("\xf3\xa0\xa3\xbc\xe2\x80\x8c.\xf0\x90\xba\xb0\xe2\x80\x8c\xe1\xa1\x9f", true); } // [B1, B2, B3, V7]
3490test { try toUnicodeFail("xn--q046e.xn--v8e7227j"); } // [B1, B2, B3, V7]
3491test { try toAsciiFail("xn--q046e.xn--v8e7227j", false); } // [B1, B2, B3, V7]
3492test { try toAsciiFail("xn--q046e.xn--v8e7227j", true); } // [B1, B2, B3, V7]
3493test { try toUnicodeFail("xn--0ug18531l.xn--v8e340bp21t"); } // [B1, B2, B3, C1, V7]
3494test { try toAsciiFail("xn--0ug18531l.xn--v8e340bp21t", false); } // [B1, B2, B3, C1, V7]
3495test { try toAsciiFail("xn--0ug18531l.xn--v8e340bp21t", true); } // [B1, B2, B3, C1, V7]
3496test { try toUnicodeFail("\xe1\xa2\x9b\xf3\xa8\x85\x9f\xc3\x9f.\xe1\x8c\xa7"); } // [V7]
3497test { try toAsciiFail("\xe1\xa2\x9b\xf3\xa8\x85\x9f\xc3\x9f.\xe1\x8c\xa7", false); } // [V7]
3498test { try toAsciiFail("\xe1\xa2\x9b\xf3\xa8\x85\x9f\xc3\x9f.\xe1\x8c\xa7", true); } // [V7]
3499test { try toUnicodeFail("\xe1\xa2\x9b\xf3\xa8\x85\x9fSS.\xe1\x8c\xa7"); } // [V7]
3500test { try toAsciiFail("\xe1\xa2\x9b\xf3\xa8\x85\x9fSS.\xe1\x8c\xa7", false); } // [V7]
3501test { try toAsciiFail("\xe1\xa2\x9b\xf3\xa8\x85\x9fSS.\xe1\x8c\xa7", true); } // [V7]
3502test { try toUnicodeFail("\xe1\xa2\x9b\xf3\xa8\x85\x9fss.\xe1\x8c\xa7"); } // [V7]
3503test { try toAsciiFail("\xe1\xa2\x9b\xf3\xa8\x85\x9fss.\xe1\x8c\xa7", false); } // [V7]
3504test { try toAsciiFail("\xe1\xa2\x9b\xf3\xa8\x85\x9fss.\xe1\x8c\xa7", true); } // [V7]
3505test { try toUnicodeFail("\xe1\xa2\x9b\xf3\xa8\x85\x9fSs.\xe1\x8c\xa7"); } // [V7]
3506test { try toAsciiFail("\xe1\xa2\x9b\xf3\xa8\x85\x9fSs.\xe1\x8c\xa7", false); } // [V7]
3507test { try toAsciiFail("\xe1\xa2\x9b\xf3\xa8\x85\x9fSs.\xe1\x8c\xa7", true); } // [V7]
3508test { try toUnicodeFail("xn--ss-7dp66033t.xn--p5d"); } // [V7]
3509test { try toAsciiFail("xn--ss-7dp66033t.xn--p5d", false); } // [V7]
3510test { try toAsciiFail("xn--ss-7dp66033t.xn--p5d", true); } // [V7]
3511test { try toUnicodeFail("xn--zca562jc642x.xn--p5d"); } // [V7]
3512test { try toAsciiFail("xn--zca562jc642x.xn--p5d", false); } // [V7]
3513test { try toAsciiFail("xn--zca562jc642x.xn--p5d", true); } // [V7]
3514test { try toUnicodeFail("\xe2\xae\x92\xe2\x80\x8c.\xf1\x92\x9a\x97\xe2\x80\x8c"); } // [C1, V7]
3515test { try toAsciiFail("\xe2\xae\x92\xe2\x80\x8c.\xf1\x92\x9a\x97\xe2\x80\x8c", false); } // [C1, V7]
3516test { try toAsciiFail("\xe2\xae\x92\xe2\x80\x8c.\xf1\x92\x9a\x97\xe2\x80\x8c", true); } // [V7]
3517test { try toUnicodeFail("xn--b9i.xn--5p9y"); } // [V7]
3518test { try toAsciiFail("xn--b9i.xn--5p9y", false); } // [V7]
3519test { try toAsciiFail("xn--b9i.xn--5p9y", true); } // [V7]
3520test { try toUnicodeFail("xn--0ugx66b.xn--0ugz2871c"); } // [C1, V7]
3521test { try toAsciiFail("xn--0ugx66b.xn--0ugz2871c", false); } // [C1, V7]
3522test { try toAsciiFail("xn--0ugx66b.xn--0ugz2871c", true); } // [C1, V7]
3523test { try toUnicodeFail("\xf0\x9e\xa4\x82\xf1\xb9\x9e\x81\xf0\x90\xb9\xaf\xe3\x80\x82\xe1\x82\xbc"); } // [B2, V7]
3524test { try toAsciiFail("\xf0\x9e\xa4\x82\xf1\xb9\x9e\x81\xf0\x90\xb9\xaf\xe3\x80\x82\xe1\x82\xbc", false); } // [B2, V7]
3525test { try toAsciiFail("\xf0\x9e\xa4\x82\xf1\xb9\x9e\x81\xf0\x90\xb9\xaf\xe3\x80\x82\xe1\x82\xbc", true); } // [B2, V7]
3526test { try toUnicodeFail("\xf0\x9e\xa4\xa4\xf1\xb9\x9e\x81\xf0\x90\xb9\xaf\xe3\x80\x82\xe2\xb4\x9c"); } // [B2, V7]
3527test { try toAsciiFail("\xf0\x9e\xa4\xa4\xf1\xb9\x9e\x81\xf0\x90\xb9\xaf\xe3\x80\x82\xe2\xb4\x9c", false); } // [B2, V7]
3528test { try toAsciiFail("\xf0\x9e\xa4\xa4\xf1\xb9\x9e\x81\xf0\x90\xb9\xaf\xe3\x80\x82\xe2\xb4\x9c", true); } // [B2, V7]
3529test { try toUnicodeFail("xn--no0dr648a51o3b.xn--klj"); } // [B2, V7]
3530test { try toAsciiFail("xn--no0dr648a51o3b.xn--klj", false); } // [B2, V7]
3531test { try toAsciiFail("xn--no0dr648a51o3b.xn--klj", true); } // [B2, V7]
3532test { try toUnicodeFail("xn--no0dr648a51o3b.xn--0nd"); } // [B2, V7]
3533test { try toAsciiFail("xn--no0dr648a51o3b.xn--0nd", false); } // [B2, V7]
3534test { try toAsciiFail("xn--no0dr648a51o3b.xn--0nd", true); } // [B2, V7]
3535test { try toUnicodeFail("\xf0\x9e\xa4\x82\xf1\xb9\x9e\x81\xf0\x90\xb9\xaf\xe3\x80\x82\xe2\xb4\x9c"); } // [B2, V7]
3536test { try toAsciiFail("\xf0\x9e\xa4\x82\xf1\xb9\x9e\x81\xf0\x90\xb9\xaf\xe3\x80\x82\xe2\xb4\x9c", false); } // [B2, V7]
3537test { try toAsciiFail("\xf0\x9e\xa4\x82\xf1\xb9\x9e\x81\xf0\x90\xb9\xaf\xe3\x80\x82\xe2\xb4\x9c", true); } // [B2, V7]
3538test { try toUnicodeFail("\xf0\x90\xb9\xb5\xe2\xae\xa3\xe2\x80\x8c\xf0\x91\x84\xb0\xef\xbd\xa1\xf1\xb7\xb4\xbf\xef\xb2\xb7"); } // [B1, B5, B6, C1, V7]
3539test { try toAsciiFail("\xf0\x90\xb9\xb5\xe2\xae\xa3\xe2\x80\x8c\xf0\x91\x84\xb0\xef\xbd\xa1\xf1\xb7\xb4\xbf\xef\xb2\xb7", false); } // [B1, B5, B6, C1, V7]
3540test { try toAsciiFail("\xf0\x90\xb9\xb5\xe2\xae\xa3\xe2\x80\x8c\xf0\x91\x84\xb0\xef\xbd\xa1\xf1\xb7\xb4\xbf\xef\xb2\xb7", true); } // [B1, B5, B6, V7]
3541test { try toUnicodeFail("\xf0\x90\xb9\xb5\xe2\xae\xa3\xe2\x80\x8c\xf0\x91\x84\xb0\xe3\x80\x82\xf1\xb7\xb4\xbf\xd8\xb6\xd9\x85"); } // [B1, B5, B6, C1, V7]
3542test { try toAsciiFail("\xf0\x90\xb9\xb5\xe2\xae\xa3\xe2\x80\x8c\xf0\x91\x84\xb0\xe3\x80\x82\xf1\xb7\xb4\xbf\xd8\xb6\xd9\x85", false); } // [B1, B5, B6, C1, V7]
3543test { try toAsciiFail("\xf0\x90\xb9\xb5\xe2\xae\xa3\xe2\x80\x8c\xf0\x91\x84\xb0\xe3\x80\x82\xf1\xb7\xb4\xbf\xd8\xb6\xd9\x85", true); } // [B1, B5, B6, V7]
3544test { try toUnicodeFail("xn--s9i5458e7yb.xn--1gb4a66004i"); } // [B1, B5, B6, V7]
3545test { try toAsciiFail("xn--s9i5458e7yb.xn--1gb4a66004i", false); } // [B1, B5, B6, V7]
3546test { try toAsciiFail("xn--s9i5458e7yb.xn--1gb4a66004i", true); } // [B1, B5, B6, V7]
3547test { try toUnicodeFail("xn--0ug586bcj8p7jc.xn--1gb4a66004i"); } // [B1, B5, B6, C1, V7]
3548test { try toAsciiFail("xn--0ug586bcj8p7jc.xn--1gb4a66004i", false); } // [B1, B5, B6, C1, V7]
3549test { try toAsciiFail("xn--0ug586bcj8p7jc.xn--1gb4a66004i", true); } // [B1, B5, B6, C1, V7]
3550test { try toUnicodeFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d"); } // [B5, B6]
3551test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d", false); } // [B5, B6]
3552test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d", true); } // [B5, B6]
3553test { try toUnicodeFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d"); } // [B5, B6]
3554test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d", false); } // [B5, B6]
3555test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d", true); } // [B5, B6]
3556test { try toUnicodeFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d"); } // [B5, B6]
3557test { try toAsciiFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d", false); } // [B5, B6]
3558test { try toAsciiFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d", true); } // [B5, B6]
3559test { try toUnicodeFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x87\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d"); } // [B5, B6]
3560test { try toAsciiFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x87\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d", false); } // [B5, B6]
3561test { try toAsciiFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x87\xc3\x9f\xf0\x9e\xa4\xb5\xe0\xb1\x8d", true); } // [B5, B6]
3562test { try toUnicodeFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87SS\xf0\x9e\xa4\x93\xe0\xb1\x8d"); } // [B5, B6]
3563test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87SS\xf0\x9e\xa4\x93\xe0\xb1\x8d", false); } // [B5, B6]
3564test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87SS\xf0\x9e\xa4\x93\xe0\xb1\x8d", true); } // [B5, B6]
3565test { try toUnicodeFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99SS\xf0\x9e\xa4\x93\xe0\xb1\x8d"); } // [B5, B6]
3566test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99SS\xf0\x9e\xa4\x93\xe0\xb1\x8d", false); } // [B5, B6]
3567test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99SS\xf0\x9e\xa4\x93\xe0\xb1\x8d", true); } // [B5, B6]
3568test { try toUnicodeFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d"); } // [B5, B6]
3569test { try toAsciiFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d", false); } // [B5, B6]
3570test { try toAsciiFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d", true); } // [B5, B6]
3571test { try toUnicodeFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x87ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d"); } // [B5, B6]
3572test { try toAsciiFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x87ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d", false); } // [B5, B6]
3573test { try toAsciiFail("\xe2\xb4\x92\xe3\x80\x82\xe3\x83\x87ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d", true); } // [B5, B6]
3574test { try toUnicodeFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87Ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d"); } // [B5, B6]
3575test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87Ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d", false); } // [B5, B6]
3576test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87Ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d", true); } // [B5, B6]
3577test { try toUnicodeFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99Ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d"); } // [B5, B6]
3578test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99Ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d", false); } // [B5, B6]
3579test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99Ss\xf0\x9e\xa4\xb5\xe0\xb1\x8d", true); } // [B5, B6]
3580test { try toUnicodeFail("xn--9kj.xn--ss-9nh3648ahh20b"); } // [B5, B6]
3581test { try toAsciiFail("xn--9kj.xn--ss-9nh3648ahh20b", false); } // [B5, B6]
3582test { try toAsciiFail("xn--9kj.xn--ss-9nh3648ahh20b", true); } // [B5, B6]
3583test { try toUnicodeFail("xn--9kj.xn--zca669cmr3a0f28a"); } // [B5, B6]
3584test { try toAsciiFail("xn--9kj.xn--zca669cmr3a0f28a", false); } // [B5, B6]
3585test { try toAsciiFail("xn--9kj.xn--zca669cmr3a0f28a", true); } // [B5, B6]
3586test { try toUnicodeFail("xn--qnd.xn--ss-9nh3648ahh20b"); } // [B5, B6, V7]
3587test { try toAsciiFail("xn--qnd.xn--ss-9nh3648ahh20b", false); } // [B5, B6, V7]
3588test { try toAsciiFail("xn--qnd.xn--ss-9nh3648ahh20b", true); } // [B5, B6, V7]
3589test { try toUnicodeFail("xn--qnd.xn--zca669cmr3a0f28a"); } // [B5, B6, V7]
3590test { try toAsciiFail("xn--qnd.xn--zca669cmr3a0f28a", false); } // [B5, B6, V7]
3591test { try toAsciiFail("xn--qnd.xn--zca669cmr3a0f28a", true); } // [B5, B6, V7]
3592test { try toUnicodeFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87SS\xf0\x9e\xa4\xb5\xe0\xb1\x8d"); } // [B5, B6]
3593test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87SS\xf0\x9e\xa4\xb5\xe0\xb1\x8d", false); } // [B5, B6]
3594test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x87SS\xf0\x9e\xa4\xb5\xe0\xb1\x8d", true); } // [B5, B6]
3595test { try toUnicodeFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99SS\xf0\x9e\xa4\xb5\xe0\xb1\x8d"); } // [B5, B6]
3596test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99SS\xf0\x9e\xa4\xb5\xe0\xb1\x8d", false); } // [B5, B6]
3597test { try toAsciiFail("\xe1\x82\xb2\xe3\x80\x82\xe3\x83\x86\xe3\x82\x99SS\xf0\x9e\xa4\xb5\xe0\xb1\x8d", true); } // [B5, B6]
3598test { try toUnicodeFail("\xf0\x91\x81\xbf\xe0\xb5\x8d\xef\xbc\x8e\xef\xbc\x97-\xdf\x92"); } // [B1, V6]
3599test { try toAsciiFail("\xf0\x91\x81\xbf\xe0\xb5\x8d\xef\xbc\x8e\xef\xbc\x97-\xdf\x92", false); } // [B1, V6]
3600test { try toAsciiFail("\xf0\x91\x81\xbf\xe0\xb5\x8d\xef\xbc\x8e\xef\xbc\x97-\xdf\x92", true); } // [B1, V6]
3601test { try toUnicodeFail("\xf0\x91\x81\xbf\xe0\xb5\x8d.7-\xdf\x92"); } // [B1, V6]
3602test { try toAsciiFail("\xf0\x91\x81\xbf\xe0\xb5\x8d.7-\xdf\x92", false); } // [B1, V6]
3603test { try toAsciiFail("\xf0\x91\x81\xbf\xe0\xb5\x8d.7-\xdf\x92", true); } // [B1, V6]
3604test { try toUnicodeFail("xn--wxc1283k.xn--7--yue"); } // [B1, V6]
3605test { try toAsciiFail("xn--wxc1283k.xn--7--yue", false); } // [B1, V6]
3606test { try toAsciiFail("xn--wxc1283k.xn--7--yue", true); } // [B1, V6]
3607test { try toUnicodeFail("\xe2\x89\xaf\xf0\x91\x9c\xab\xf3\xa0\xad\x87.\xe1\x9c\xb4\xf1\x92\x9e\xa4\xf0\x91\x8d\xac\xe1\xa2\xa7"); } // [V6, V7]
3608test { try toAsciiFail("\xe2\x89\xaf\xf0\x91\x9c\xab\xf3\xa0\xad\x87.\xe1\x9c\xb4\xf1\x92\x9e\xa4\xf0\x91\x8d\xac\xe1\xa2\xa7", false); } // [V6, V7]
3609test { try toAsciiFail("\xe2\x89\xaf\xf0\x91\x9c\xab\xf3\xa0\xad\x87.\xe1\x9c\xb4\xf1\x92\x9e\xa4\xf0\x91\x8d\xac\xe1\xa2\xa7", true); } // [V6, V7]
3610test { try toUnicodeFail(">\xcc\xb8\xf0\x91\x9c\xab\xf3\xa0\xad\x87.\xe1\x9c\xb4\xf1\x92\x9e\xa4\xf0\x91\x8d\xac\xe1\xa2\xa7"); } // [V6, V7]
3611test { try toAsciiFail(">\xcc\xb8\xf0\x91\x9c\xab\xf3\xa0\xad\x87.\xe1\x9c\xb4\xf1\x92\x9e\xa4\xf0\x91\x8d\xac\xe1\xa2\xa7", false); } // [V6, V7]
3612test { try toAsciiFail(">\xcc\xb8\xf0\x91\x9c\xab\xf3\xa0\xad\x87.\xe1\x9c\xb4\xf1\x92\x9e\xa4\xf0\x91\x8d\xac\xe1\xa2\xa7", true); } // [V6, V7]
3613test { try toUnicodeFail("xn--hdhx157g68o0g.xn--c0e65eu616c34o7a"); } // [V6, V7]
3614test { try toAsciiFail("xn--hdhx157g68o0g.xn--c0e65eu616c34o7a", false); } // [V6, V7]
3615test { try toAsciiFail("xn--hdhx157g68o0g.xn--c0e65eu616c34o7a", true); } // [V6, V7]
3616test { try toUnicodeFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe1\x82\xb7\xec\x8f\x94\xe3\x80\x82\xde\x81"); } // [B1, V6, V7]
3617test { try toAsciiFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe1\x82\xb7\xec\x8f\x94\xe3\x80\x82\xde\x81", false); } // [B1, V6, V7]
3618test { try toAsciiFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe1\x82\xb7\xec\x8f\x94\xe3\x80\x82\xde\x81", true); } // [B1, V6, V7]
3619test { try toUnicodeFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe1\x82\xb7\xe1\x84\x8a\xe1\x85\xa8\xe1\x86\xbf\xe3\x80\x82\xde\x81"); } // [B1, V6, V7]
3620test { try toAsciiFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe1\x82\xb7\xe1\x84\x8a\xe1\x85\xa8\xe1\x86\xbf\xe3\x80\x82\xde\x81", false); } // [B1, V6, V7]
3621test { try toAsciiFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe1\x82\xb7\xe1\x84\x8a\xe1\x85\xa8\xe1\x86\xbf\xe3\x80\x82\xde\x81", true); } // [B1, V6, V7]
3622test { try toUnicodeFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe2\xb4\x97\xe1\x84\x8a\xe1\x85\xa8\xe1\x86\xbf\xe3\x80\x82\xde\x81"); } // [B1, V6, V7]
3623test { try toAsciiFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe2\xb4\x97\xe1\x84\x8a\xe1\x85\xa8\xe1\x86\xbf\xe3\x80\x82\xde\x81", false); } // [B1, V6, V7]
3624test { try toAsciiFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe2\xb4\x97\xe1\x84\x8a\xe1\x85\xa8\xe1\x86\xbf\xe3\x80\x82\xde\x81", true); } // [B1, V6, V7]
3625test { try toUnicodeFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe2\xb4\x97\xec\x8f\x94\xe3\x80\x82\xde\x81"); } // [B1, V6, V7]
3626test { try toAsciiFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe2\xb4\x97\xec\x8f\x94\xe3\x80\x82\xde\x81", false); } // [B1, V6, V7]
3627test { try toAsciiFail("\xe1\xb7\x9b\xf2\x8e\x90\x99\xe2\xb4\x97\xec\x8f\x94\xe3\x80\x82\xde\x81", true); } // [B1, V6, V7]
3628test { try toUnicodeFail("xn--zegy26dw47iy6w2f.xn--iqb"); } // [B1, V6, V7]
3629test { try toAsciiFail("xn--zegy26dw47iy6w2f.xn--iqb", false); } // [B1, V6, V7]
3630test { try toAsciiFail("xn--zegy26dw47iy6w2f.xn--iqb", true); } // [B1, V6, V7]
3631test { try toUnicodeFail("xn--vnd148d733ky6n9e.xn--iqb"); } // [B1, V6, V7]
3632test { try toAsciiFail("xn--vnd148d733ky6n9e.xn--iqb", false); } // [B1, V6, V7]
3633test { try toAsciiFail("xn--vnd148d733ky6n9e.xn--iqb", true); } // [B1, V6, V7]
3634test { try toUnicodePass("\xc3\x9f\xef\xbd\xa1\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "\xc3\x9f.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3635test { try toAsciiPass("\xc3\x9f\xef\xbd\xa1\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "xn--zca.xn--lgd921mvv0m", false); }
3636test { try toAsciiPass("\xc3\x9f\xef\xbd\xa1\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3637test { try toUnicodePass("\xc3\x9f\xe3\x80\x82\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "\xc3\x9f.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3638test { try toAsciiPass("\xc3\x9f\xe3\x80\x82\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "xn--zca.xn--lgd921mvv0m", false); }
3639test { try toAsciiPass("\xc3\x9f\xe3\x80\x82\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3640test { try toUnicodePass("\xc3\x9f\xe3\x80\x82\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "\xc3\x9f.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3641test { try toAsciiPass("\xc3\x9f\xe3\x80\x82\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "xn--zca.xn--lgd921mvv0m", false); }
3642test { try toAsciiPass("\xc3\x9f\xe3\x80\x82\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3643test { try toUnicodePass("SS\xe3\x80\x82\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3644test { try toAsciiPass("SS\xe3\x80\x82\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", false); }
3645test { try toAsciiPass("SS\xe3\x80\x82\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3646test { try toUnicodePass("ss\xe3\x80\x82\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3647test { try toAsciiPass("ss\xe3\x80\x82\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", false); }
3648test { try toAsciiPass("ss\xe3\x80\x82\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3649test { try toUnicodePass("Ss\xe3\x80\x82\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3650test { try toAsciiPass("Ss\xe3\x80\x82\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", false); }
3651test { try toAsciiPass("Ss\xe3\x80\x82\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3652test { try toUnicodePass("ss.xn--lgd921mvv0m", "ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3653test { try toAsciiPass("ss.xn--lgd921mvv0m", "ss.xn--lgd921mvv0m", false); }
3654test { try toAsciiPass("ss.xn--lgd921mvv0m", "ss.xn--lgd921mvv0m", true); }
3655test { try toUnicodePass("ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3656test { try toAsciiPass("ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", false); }
3657test { try toAsciiPass("ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3658test { try toUnicodePass("SS.\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3659test { try toAsciiPass("SS.\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", false); }
3660test { try toAsciiPass("SS.\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3661test { try toUnicodePass("Ss.\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3662test { try toAsciiPass("Ss.\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", false); }
3663test { try toAsciiPass("Ss.\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3664test { try toUnicodePass("xn--zca.xn--lgd921mvv0m", "\xc3\x9f.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3665test { try toAsciiPass("xn--zca.xn--lgd921mvv0m", "xn--zca.xn--lgd921mvv0m", false); }
3666test { try toAsciiPass("xn--zca.xn--lgd921mvv0m", "xn--zca.xn--lgd921mvv0m", true); }
3667test { try toUnicodePass("\xc3\x9f.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "\xc3\x9f.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3668test { try toAsciiPass("\xc3\x9f.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "xn--zca.xn--lgd921mvv0m", false); }
3669test { try toAsciiPass("\xc3\x9f.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3670test { try toUnicodePass("\xc3\x9f\xef\xbd\xa1\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "\xc3\x9f.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3671test { try toAsciiPass("\xc3\x9f\xef\xbd\xa1\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "xn--zca.xn--lgd921mvv0m", false); }
3672test { try toAsciiPass("\xc3\x9f\xef\xbd\xa1\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3673test { try toUnicodePass("SS\xef\xbd\xa1\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3674test { try toAsciiPass("SS\xef\xbd\xa1\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", false); }
3675test { try toAsciiPass("SS\xef\xbd\xa1\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3676test { try toUnicodePass("ss\xef\xbd\xa1\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3677test { try toAsciiPass("ss\xef\xbd\xa1\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", false); }
3678test { try toAsciiPass("ss\xef\xbd\xa1\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3679test { try toUnicodePass("Ss\xef\xbd\xa1\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.\xf0\x90\x8b\xb3\xe2\xb4\x8c\xe0\xbe\xb8"); }
3680test { try toAsciiPass("Ss\xef\xbd\xa1\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", false); }
3681test { try toAsciiPass("Ss\xef\xbd\xa1\xf0\x90\x8b\xb3\xe1\x82\xac\xe0\xbe\xb8", "ss.xn--lgd921mvv0m", true); }
3682test { try toUnicodeFail("ss.xn--lgd10cu829c"); } // [V7]
3683test { try toAsciiFail("ss.xn--lgd10cu829c", false); } // [V7]
3684test { try toAsciiFail("ss.xn--lgd10cu829c", true); } // [V7]
3685test { try toUnicodeFail("xn--zca.xn--lgd10cu829c"); } // [V7]
3686test { try toAsciiFail("xn--zca.xn--lgd10cu829c", false); } // [V7]
3687test { try toAsciiFail("xn--zca.xn--lgd10cu829c", true); } // [V7]
3688test { try toUnicodeFail("-\xda\x9e\xf0\x90\xb6\xa1.\xe2\x80\x8c\xe2\xbe\x9d\xe0\xa7\x8d"); } // [B1, C1, V3, V7]
3689test { try toAsciiFail("-\xda\x9e\xf0\x90\xb6\xa1.\xe2\x80\x8c\xe2\xbe\x9d\xe0\xa7\x8d", false); } // [B1, C1, V3, V7]
3690test { try toAsciiFail("-\xda\x9e\xf0\x90\xb6\xa1.\xe2\x80\x8c\xe2\xbe\x9d\xe0\xa7\x8d", true); } // [B1, V3, V7]
3691test { try toUnicodeFail("-\xda\x9e\xf0\x90\xb6\xa1.\xe2\x80\x8c\xe8\xba\xab\xe0\xa7\x8d"); } // [B1, C1, V3, V7]
3692test { try toAsciiFail("-\xda\x9e\xf0\x90\xb6\xa1.\xe2\x80\x8c\xe8\xba\xab\xe0\xa7\x8d", false); } // [B1, C1, V3, V7]
3693test { try toAsciiFail("-\xda\x9e\xf0\x90\xb6\xa1.\xe2\x80\x8c\xe8\xba\xab\xe0\xa7\x8d", true); } // [B1, V3, V7]
3694test { try toUnicodeFail("xn----stc7013r.xn--b7b1419d"); } // [B1, V3, V7]
3695test { try toAsciiFail("xn----stc7013r.xn--b7b1419d", false); } // [B1, V3, V7]
3696test { try toAsciiFail("xn----stc7013r.xn--b7b1419d", true); } // [B1, V3, V7]
3697test { try toUnicodeFail("xn----stc7013r.xn--b7b305imj2f"); } // [B1, C1, V3, V7]
3698test { try toAsciiFail("xn----stc7013r.xn--b7b305imj2f", false); } // [B1, C1, V3, V7]
3699test { try toAsciiFail("xn----stc7013r.xn--b7b305imj2f", true); } // [B1, C1, V3, V7]
3700test { try toUnicodeFail("\xf0\x9f\x98\xae\xdd\xa4\xf0\x9e\x80\x96\xf0\x91\x88\xb5.\xf0\x9f\x92\x85\xe2\x80\x8d"); } // [B1, C2]
3701test { try toAsciiFail("\xf0\x9f\x98\xae\xdd\xa4\xf0\x9e\x80\x96\xf0\x91\x88\xb5.\xf0\x9f\x92\x85\xe2\x80\x8d", false); } // [B1, C2]
3702test { try toAsciiFail("\xf0\x9f\x98\xae\xdd\xa4\xf0\x9e\x80\x96\xf0\x91\x88\xb5.\xf0\x9f\x92\x85\xe2\x80\x8d", true); } // [B1]
3703test { try toUnicodeFail("\xf0\x9f\x98\xae\xdd\xa4\xf0\x91\x88\xb5\xf0\x9e\x80\x96.\xf0\x9f\x92\x85\xe2\x80\x8d"); } // [B1, C2]
3704test { try toAsciiFail("\xf0\x9f\x98\xae\xdd\xa4\xf0\x91\x88\xb5\xf0\x9e\x80\x96.\xf0\x9f\x92\x85\xe2\x80\x8d", false); } // [B1, C2]
3705test { try toAsciiFail("\xf0\x9f\x98\xae\xdd\xa4\xf0\x91\x88\xb5\xf0\x9e\x80\x96.\xf0\x9f\x92\x85\xe2\x80\x8d", true); } // [B1]
3706test { try toUnicodeFail("xn--opb4277kuc7elqsa.xn--kr8h"); } // [B1]
3707test { try toAsciiFail("xn--opb4277kuc7elqsa.xn--kr8h", false); } // [B1]
3708test { try toAsciiFail("xn--opb4277kuc7elqsa.xn--kr8h", true); } // [B1]
3709test { try toUnicodeFail("xn--opb4277kuc7elqsa.xn--1ug5265p"); } // [B1, C2]
3710test { try toAsciiFail("xn--opb4277kuc7elqsa.xn--1ug5265p", false); } // [B1, C2]
3711test { try toAsciiFail("xn--opb4277kuc7elqsa.xn--1ug5265p", true); } // [B1, C2]
3712test { try toUnicodeFail("\xe0\xa3\xb2\xe2\x80\x8d\xea\x99\xb3\xdc\x92.\xe1\xa2\x8f\xe2\x80\x8c\xf3\xa0\x8d\x84"); } // [B1, B6, C1, C2, V6, V7]
3713test { try toAsciiFail("\xe0\xa3\xb2\xe2\x80\x8d\xea\x99\xb3\xdc\x92.\xe1\xa2\x8f\xe2\x80\x8c\xf3\xa0\x8d\x84", false); } // [B1, B6, C1, C2, V6, V7]
3714test { try toAsciiFail("\xe0\xa3\xb2\xe2\x80\x8d\xea\x99\xb3\xdc\x92.\xe1\xa2\x8f\xe2\x80\x8c\xf3\xa0\x8d\x84", true); } // [B1, B6, V6, V7]
3715test { try toUnicodeFail("xn--cnb37gdy00a.xn--89e02253p"); } // [B1, B6, V6, V7]
3716test { try toAsciiFail("xn--cnb37gdy00a.xn--89e02253p", false); } // [B1, B6, V6, V7]
3717test { try toAsciiFail("xn--cnb37gdy00a.xn--89e02253p", true); } // [B1, B6, V6, V7]
3718test { try toUnicodeFail("xn--cnb37g904be26j.xn--89e849ax9363a"); } // [B1, B6, C1, C2, V6, V7]
3719test { try toAsciiFail("xn--cnb37g904be26j.xn--89e849ax9363a", false); } // [B1, B6, C1, C2, V6, V7]
3720test { try toAsciiFail("xn--cnb37g904be26j.xn--89e849ax9363a", true); } // [B1, B6, C1, C2, V6, V7]
3721test { try toUnicodeFail("\xe1\x82\xb1\xef\xbc\x8e\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2"); } // [B2, B3, V7]
3722test { try toAsciiFail("\xe1\x82\xb1\xef\xbc\x8e\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2", false); } // [B2, B3, V7]
3723test { try toAsciiFail("\xe1\x82\xb1\xef\xbc\x8e\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2", true); } // [B2, B3, V7]
3724test { try toUnicodeFail("\xe1\x82\xb1.\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2"); } // [B2, B3, V7]
3725test { try toAsciiFail("\xe1\x82\xb1.\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2", false); } // [B2, B3, V7]
3726test { try toAsciiFail("\xe1\x82\xb1.\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2", true); } // [B2, B3, V7]
3727test { try toUnicodeFail("\xe2\xb4\x91.\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2"); } // [B2, B3, V7]
3728test { try toAsciiFail("\xe2\xb4\x91.\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2", false); } // [B2, B3, V7]
3729test { try toAsciiFail("\xe2\xb4\x91.\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2", true); } // [B2, B3, V7]
3730test { try toUnicodeFail("xn--8kj.xn--ykb840gd555a"); } // [B2, B3, V7]
3731test { try toAsciiFail("xn--8kj.xn--ykb840gd555a", false); } // [B2, B3, V7]
3732test { try toAsciiFail("xn--8kj.xn--ykb840gd555a", true); } // [B2, B3, V7]
3733test { try toUnicodeFail("\xe2\xb4\x91\xef\xbc\x8e\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2"); } // [B2, B3, V7]
3734test { try toAsciiFail("\xe2\xb4\x91\xef\xbc\x8e\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2", false); } // [B2, B3, V7]
3735test { try toAsciiFail("\xe2\xb4\x91\xef\xbc\x8e\xda\xbf\xf0\x9e\xaf\x93\xe1\xa0\xb2", true); } // [B2, B3, V7]
3736test { try toUnicodeFail("xn--pnd.xn--ykb840gd555a"); } // [B2, B3, V7]
3737test { try toAsciiFail("xn--pnd.xn--ykb840gd555a", false); } // [B2, B3, V7]
3738test { try toAsciiFail("xn--pnd.xn--ykb840gd555a", true); } // [B2, B3, V7]
3739test { try toUnicodeFail("\xe1\xa9\x9a\xf0\x9b\xa6\x9d\xe0\xb1\x8d\xe3\x80\x82\xf0\x9a\x9d\xac\xf0\x9d\x9f\xb5"); } // [V6, V7]
3740test { try toAsciiFail("\xe1\xa9\x9a\xf0\x9b\xa6\x9d\xe0\xb1\x8d\xe3\x80\x82\xf0\x9a\x9d\xac\xf0\x9d\x9f\xb5", false); } // [V6, V7]
3741test { try toAsciiFail("\xe1\xa9\x9a\xf0\x9b\xa6\x9d\xe0\xb1\x8d\xe3\x80\x82\xf0\x9a\x9d\xac\xf0\x9d\x9f\xb5", true); } // [V6, V7]
3742test { try toUnicodeFail("\xe1\xa9\x9a\xf0\x9b\xa6\x9d\xe0\xb1\x8d\xe3\x80\x82\xf0\x9a\x9d\xac9"); } // [V6, V7]
3743test { try toAsciiFail("\xe1\xa9\x9a\xf0\x9b\xa6\x9d\xe0\xb1\x8d\xe3\x80\x82\xf0\x9a\x9d\xac9", false); } // [V6, V7]
3744test { try toAsciiFail("\xe1\xa9\x9a\xf0\x9b\xa6\x9d\xe0\xb1\x8d\xe3\x80\x82\xf0\x9a\x9d\xac9", true); } // [V6, V7]
3745test { try toUnicodeFail("xn--lqc703ebm93a.xn--9-000p"); } // [V6, V7]
3746test { try toAsciiFail("xn--lqc703ebm93a.xn--9-000p", false); } // [V6, V7]
3747test { try toAsciiFail("xn--lqc703ebm93a.xn--9-000p", true); } // [V6, V7]
3748test { try toUnicodeFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x86\xf0\x9d\x9f\x97\xef\xbd\xa1\xe1\x83\x83\xea\x92\x98\xef\xb3\x90\xf1\x90\x98\x96"); } // [B1, B5, C1, V7]
3749test { try toAsciiFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x86\xf0\x9d\x9f\x97\xef\xbd\xa1\xe1\x83\x83\xea\x92\x98\xef\xb3\x90\xf1\x90\x98\x96", false); } // [B1, B5, C1, V7]
3750test { try toAsciiFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x86\xf0\x9d\x9f\x97\xef\xbd\xa1\xe1\x83\x83\xea\x92\x98\xef\xb3\x90\xf1\x90\x98\x96", true); } // [B2, B5, V7]
3751test { try toUnicodeFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x869\xe3\x80\x82\xe1\x83\x83\xea\x92\x98\xd9\x85\xd8\xae\xf1\x90\x98\x96"); } // [B1, B5, C1, V7]
3752test { try toAsciiFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x869\xe3\x80\x82\xe1\x83\x83\xea\x92\x98\xd9\x85\xd8\xae\xf1\x90\x98\x96", false); } // [B1, B5, C1, V7]
3753test { try toAsciiFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x869\xe3\x80\x82\xe1\x83\x83\xea\x92\x98\xd9\x85\xd8\xae\xf1\x90\x98\x96", true); } // [B2, B5, V7]
3754test { try toUnicodeFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x869\xe3\x80\x82\xe2\xb4\xa3\xea\x92\x98\xd9\x85\xd8\xae\xf1\x90\x98\x96"); } // [B1, B5, C1, V7]
3755test { try toAsciiFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x869\xe3\x80\x82\xe2\xb4\xa3\xea\x92\x98\xd9\x85\xd8\xae\xf1\x90\x98\x96", false); } // [B1, B5, C1, V7]
3756test { try toAsciiFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x869\xe3\x80\x82\xe2\xb4\xa3\xea\x92\x98\xd9\x85\xd8\xae\xf1\x90\x98\x96", true); } // [B2, B5, V7]
3757test { try toUnicodeFail("xn--9-vtc42319e.xn--tgb9bz87p833hw316c"); } // [B2, B5, V7]
3758test { try toAsciiFail("xn--9-vtc42319e.xn--tgb9bz87p833hw316c", false); } // [B2, B5, V7]
3759test { try toAsciiFail("xn--9-vtc42319e.xn--tgb9bz87p833hw316c", true); } // [B2, B5, V7]
3760test { try toUnicodeFail("xn--9-vtc736qts91g.xn--tgb9bz87p833hw316c"); } // [B1, B5, C1, V7]
3761test { try toAsciiFail("xn--9-vtc736qts91g.xn--tgb9bz87p833hw316c", false); } // [B1, B5, C1, V7]
3762test { try toAsciiFail("xn--9-vtc736qts91g.xn--tgb9bz87p833hw316c", true); } // [B1, B5, C1, V7]
3763test { try toUnicodeFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x86\xf0\x9d\x9f\x97\xef\xbd\xa1\xe2\xb4\xa3\xea\x92\x98\xef\xb3\x90\xf1\x90\x98\x96"); } // [B1, B5, C1, V7]
3764test { try toAsciiFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x86\xf0\x9d\x9f\x97\xef\xbd\xa1\xe2\xb4\xa3\xea\x92\x98\xef\xb3\x90\xf1\x90\x98\x96", false); } // [B1, B5, C1, V7]
3765test { try toAsciiFail("\xe2\x80\x8c\xda\xa0\xf0\xbf\xba\x86\xf0\x9d\x9f\x97\xef\xbd\xa1\xe2\xb4\xa3\xea\x92\x98\xef\xb3\x90\xf1\x90\x98\x96", true); } // [B2, B5, V7]
3766test { try toUnicodeFail("xn--9-vtc42319e.xn--tgb9bz61cfn8mw3t2c"); } // [B2, B5, V7]
3767test { try toAsciiFail("xn--9-vtc42319e.xn--tgb9bz61cfn8mw3t2c", false); } // [B2, B5, V7]
3768test { try toAsciiFail("xn--9-vtc42319e.xn--tgb9bz61cfn8mw3t2c", true); } // [B2, B5, V7]
3769test { try toUnicodeFail("xn--9-vtc736qts91g.xn--tgb9bz61cfn8mw3t2c"); } // [B1, B5, C1, V7]
3770test { try toAsciiFail("xn--9-vtc736qts91g.xn--tgb9bz61cfn8mw3t2c", false); } // [B1, B5, C1, V7]
3771test { try toAsciiFail("xn--9-vtc736qts91g.xn--tgb9bz61cfn8mw3t2c", true); } // [B1, B5, C1, V7]
3772test { try toUnicodeFail("\xe1\xa1\x96\xef\xbd\xa1\xcc\x9f\xf1\x97\x9b\xa8\xe0\xae\x82-"); } // [V3, V6, V7]
3773test { try toAsciiFail("\xe1\xa1\x96\xef\xbd\xa1\xcc\x9f\xf1\x97\x9b\xa8\xe0\xae\x82-", false); } // [V3, V6, V7]
3774test { try toAsciiFail("\xe1\xa1\x96\xef\xbd\xa1\xcc\x9f\xf1\x97\x9b\xa8\xe0\xae\x82-", true); } // [V3, V6, V7]
3775test { try toUnicodeFail("\xe1\xa1\x96\xe3\x80\x82\xcc\x9f\xf1\x97\x9b\xa8\xe0\xae\x82-"); } // [V3, V6, V7]
3776test { try toAsciiFail("\xe1\xa1\x96\xe3\x80\x82\xcc\x9f\xf1\x97\x9b\xa8\xe0\xae\x82-", false); } // [V3, V6, V7]
3777test { try toAsciiFail("\xe1\xa1\x96\xe3\x80\x82\xcc\x9f\xf1\x97\x9b\xa8\xe0\xae\x82-", true); } // [V3, V6, V7]
3778test { try toUnicodeFail("xn--m8e.xn----mdb555dkk71m"); } // [V3, V6, V7]
3779test { try toAsciiFail("xn--m8e.xn----mdb555dkk71m", false); } // [V3, V6, V7]
3780test { try toAsciiFail("xn--m8e.xn----mdb555dkk71m", true); } // [V3, V6, V7]
3781test { try toUnicodeFail("\xf0\x9e\xa0\xa0\xe6\xb5\x98\xe3\x80\x82\xe7\xb5\xa7\xf0\x9e\x80\x80"); } // [B2, B3]
3782test { try toAsciiFail("\xf0\x9e\xa0\xa0\xe6\xb5\x98\xe3\x80\x82\xe7\xb5\xa7\xf0\x9e\x80\x80", false); } // [B2, B3]
3783test { try toAsciiFail("\xf0\x9e\xa0\xa0\xe6\xb5\x98\xe3\x80\x82\xe7\xb5\xa7\xf0\x9e\x80\x80", true); } // [B2, B3]
3784test { try toUnicodeFail("xn--e0wp491f.xn--ud0a3573e"); } // [B2, B3]
3785test { try toAsciiFail("xn--e0wp491f.xn--ud0a3573e", false); } // [B2, B3]
3786test { try toAsciiFail("xn--e0wp491f.xn--ud0a3573e", true); } // [B2, B3]
3787test { try toUnicodeFail("\xd6\x96\xe1\x82\xab\xef\xbc\x8e\xf0\x9d\x9f\xb3\xe2\x89\xaf\xef\xb8\x92\xef\xb8\x8a"); } // [V6, V7]
3788test { try toAsciiFail("\xd6\x96\xe1\x82\xab\xef\xbc\x8e\xf0\x9d\x9f\xb3\xe2\x89\xaf\xef\xb8\x92\xef\xb8\x8a", false); } // [V6, V7]
3789test { try toAsciiFail("\xd6\x96\xe1\x82\xab\xef\xbc\x8e\xf0\x9d\x9f\xb3\xe2\x89\xaf\xef\xb8\x92\xef\xb8\x8a", true); } // [V6, V7]
3790test { try toUnicodeFail("\xd6\x96\xe1\x82\xab\xef\xbc\x8e\xf0\x9d\x9f\xb3>\xcc\xb8\xef\xb8\x92\xef\xb8\x8a"); } // [V6, V7]
3791test { try toAsciiFail("\xd6\x96\xe1\x82\xab\xef\xbc\x8e\xf0\x9d\x9f\xb3>\xcc\xb8\xef\xb8\x92\xef\xb8\x8a", false); } // [V6, V7]
3792test { try toAsciiFail("\xd6\x96\xe1\x82\xab\xef\xbc\x8e\xf0\x9d\x9f\xb3>\xcc\xb8\xef\xb8\x92\xef\xb8\x8a", true); } // [V6, V7]
3793test { try toUnicodeFail("\xd6\x96\xe1\x82\xab.7\xe2\x89\xaf\xe3\x80\x82\xef\xb8\x8a"); } // [V6]
3794test { try toAsciiFail("\xd6\x96\xe1\x82\xab.7\xe2\x89\xaf\xe3\x80\x82\xef\xb8\x8a", false); } // [V6, A4_2]
3795test { try toAsciiFail("\xd6\x96\xe1\x82\xab.7\xe2\x89\xaf\xe3\x80\x82\xef\xb8\x8a", true); } // [V6, A4_2]
3796test { try toUnicodeFail("\xd6\x96\xe1\x82\xab.7>\xcc\xb8\xe3\x80\x82\xef\xb8\x8a"); } // [V6]
3797test { try toAsciiFail("\xd6\x96\xe1\x82\xab.7>\xcc\xb8\xe3\x80\x82\xef\xb8\x8a", false); } // [V6, A4_2]
3798test { try toAsciiFail("\xd6\x96\xe1\x82\xab.7>\xcc\xb8\xe3\x80\x82\xef\xb8\x8a", true); } // [V6, A4_2]
3799test { try toUnicodeFail("\xd6\x96\xe2\xb4\x8b.7>\xcc\xb8\xe3\x80\x82\xef\xb8\x8a"); } // [V6]
3800test { try toAsciiFail("\xd6\x96\xe2\xb4\x8b.7>\xcc\xb8\xe3\x80\x82\xef\xb8\x8a", false); } // [V6, A4_2]
3801test { try toAsciiFail("\xd6\x96\xe2\xb4\x8b.7>\xcc\xb8\xe3\x80\x82\xef\xb8\x8a", true); } // [V6, A4_2]
3802test { try toUnicodeFail("\xd6\x96\xe2\xb4\x8b.7\xe2\x89\xaf\xe3\x80\x82\xef\xb8\x8a"); } // [V6]
3803test { try toAsciiFail("\xd6\x96\xe2\xb4\x8b.7\xe2\x89\xaf\xe3\x80\x82\xef\xb8\x8a", false); } // [V6, A4_2]
3804test { try toAsciiFail("\xd6\x96\xe2\xb4\x8b.7\xe2\x89\xaf\xe3\x80\x82\xef\xb8\x8a", true); } // [V6, A4_2]
3805test { try toUnicodeFail("xn--hcb613r.xn--7-pgo."); } // [V6]
3806test { try toAsciiFail("xn--hcb613r.xn--7-pgo.", false); } // [V6, A4_2]
3807test { try toAsciiFail("xn--hcb613r.xn--7-pgo.", true); } // [V6, A4_2]
3808test { try toUnicodeFail("\xd6\x96\xe2\xb4\x8b\xef\xbc\x8e\xf0\x9d\x9f\xb3>\xcc\xb8\xef\xb8\x92\xef\xb8\x8a"); } // [V6, V7]
3809test { try toAsciiFail("\xd6\x96\xe2\xb4\x8b\xef\xbc\x8e\xf0\x9d\x9f\xb3>\xcc\xb8\xef\xb8\x92\xef\xb8\x8a", false); } // [V6, V7]
3810test { try toAsciiFail("\xd6\x96\xe2\xb4\x8b\xef\xbc\x8e\xf0\x9d\x9f\xb3>\xcc\xb8\xef\xb8\x92\xef\xb8\x8a", true); } // [V6, V7]
3811test { try toUnicodeFail("\xd6\x96\xe2\xb4\x8b\xef\xbc\x8e\xf0\x9d\x9f\xb3\xe2\x89\xaf\xef\xb8\x92\xef\xb8\x8a"); } // [V6, V7]
3812test { try toAsciiFail("\xd6\x96\xe2\xb4\x8b\xef\xbc\x8e\xf0\x9d\x9f\xb3\xe2\x89\xaf\xef\xb8\x92\xef\xb8\x8a", false); } // [V6, V7]
3813test { try toAsciiFail("\xd6\x96\xe2\xb4\x8b\xef\xbc\x8e\xf0\x9d\x9f\xb3\xe2\x89\xaf\xef\xb8\x92\xef\xb8\x8a", true); } // [V6, V7]
3814test { try toUnicodeFail("xn--hcb613r.xn--7-pgoy530h"); } // [V6, V7]
3815test { try toAsciiFail("xn--hcb613r.xn--7-pgoy530h", false); } // [V6, V7]
3816test { try toAsciiFail("xn--hcb613r.xn--7-pgoy530h", true); } // [V6, V7]
3817test { try toUnicodeFail("xn--hcb887c.xn--7-pgo."); } // [V6, V7]
3818test { try toAsciiFail("xn--hcb887c.xn--7-pgo.", false); } // [V6, V7, A4_2]
3819test { try toAsciiFail("xn--hcb887c.xn--7-pgo.", true); } // [V6, V7, A4_2]
3820test { try toUnicodeFail("xn--hcb887c.xn--7-pgoy530h"); } // [V6, V7]
3821test { try toAsciiFail("xn--hcb887c.xn--7-pgoy530h", false); } // [V6, V7]
3822test { try toAsciiFail("xn--hcb887c.xn--7-pgoy530h", true); } // [V6, V7]
3823test { try toUnicodeFail("\xe2\x80\x8dF\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xef\xb8\x92\xdd\xbe\xf0\x90\xb9\xa2"); } // [B1, C2, V7]
3824test { try toAsciiFail("\xe2\x80\x8dF\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xef\xb8\x92\xdd\xbe\xf0\x90\xb9\xa2", false); } // [B1, C2, V7]
3825test { try toAsciiFail("\xe2\x80\x8dF\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xef\xb8\x92\xdd\xbe\xf0\x90\xb9\xa2", true); } // [B1, V7]
3826test { try toUnicodeFail("\xe2\x80\x8dF\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xe3\x80\x82\xdd\xbe\xf0\x90\xb9\xa2"); } // [B1, C2, V7]
3827test { try toAsciiFail("\xe2\x80\x8dF\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xe3\x80\x82\xdd\xbe\xf0\x90\xb9\xa2", false); } // [B1, C2, V7]
3828test { try toAsciiFail("\xe2\x80\x8dF\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xe3\x80\x82\xdd\xbe\xf0\x90\xb9\xa2", true); } // [B1, V7]
3829test { try toUnicodeFail("\xe2\x80\x8df\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xe3\x80\x82\xdd\xbe\xf0\x90\xb9\xa2"); } // [B1, C2, V7]
3830test { try toAsciiFail("\xe2\x80\x8df\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xe3\x80\x82\xdd\xbe\xf0\x90\xb9\xa2", false); } // [B1, C2, V7]
3831test { try toAsciiFail("\xe2\x80\x8df\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xe3\x80\x82\xdd\xbe\xf0\x90\xb9\xa2", true); } // [B1, V7]
3832test { try toUnicodeFail("xn--f-kq9i.xn--7656e.xn--fqb4175k"); } // [B1, V7]
3833test { try toAsciiFail("xn--f-kq9i.xn--7656e.xn--fqb4175k", false); } // [B1, V7]
3834test { try toAsciiFail("xn--f-kq9i.xn--7656e.xn--fqb4175k", true); } // [B1, V7]
3835test { try toUnicodeFail("xn--f-tgn9761i.xn--7656e.xn--fqb4175k"); } // [B1, C2, V7]
3836test { try toAsciiFail("xn--f-tgn9761i.xn--7656e.xn--fqb4175k", false); } // [B1, C2, V7]
3837test { try toAsciiFail("xn--f-tgn9761i.xn--7656e.xn--fqb4175k", true); } // [B1, C2, V7]
3838test { try toUnicodeFail("\xe2\x80\x8df\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xef\xb8\x92\xdd\xbe\xf0\x90\xb9\xa2"); } // [B1, C2, V7]
3839test { try toAsciiFail("\xe2\x80\x8df\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xef\xb8\x92\xdd\xbe\xf0\x90\xb9\xa2", false); } // [B1, C2, V7]
3840test { try toAsciiFail("\xe2\x80\x8df\xf0\x91\x93\x82\xe3\x80\x82\xf3\xa0\xba\xa8\xef\xb8\x92\xdd\xbe\xf0\x90\xb9\xa2", true); } // [B1, V7]
3841test { try toUnicodeFail("xn--f-kq9i.xn--fqb1637j8hky9452a"); } // [B1, V7]
3842test { try toAsciiFail("xn--f-kq9i.xn--fqb1637j8hky9452a", false); } // [B1, V7]
3843test { try toAsciiFail("xn--f-kq9i.xn--fqb1637j8hky9452a", true); } // [B1, V7]
3844test { try toUnicodeFail("xn--f-tgn9761i.xn--fqb1637j8hky9452a"); } // [B1, C2, V7]
3845test { try toAsciiFail("xn--f-tgn9761i.xn--fqb1637j8hky9452a", false); } // [B1, C2, V7]
3846test { try toAsciiFail("xn--f-tgn9761i.xn--fqb1637j8hky9452a", true); } // [B1, C2, V7]
3847test { try toUnicodeFail("\xe0\xa1\x85\xf0\x9f\x84\x87\xf0\x90\xbc\x97\xef\xb8\x92\xef\xbd\xa1\xf0\x90\xb9\xbb\xf0\x91\x9c\xab"); } // [B1, B3, V7, U1]
3848test { try toAsciiFail("\xe0\xa1\x85\xf0\x9f\x84\x87\xf0\x90\xbc\x97\xef\xb8\x92\xef\xbd\xa1\xf0\x90\xb9\xbb\xf0\x91\x9c\xab", false); } // [B1, B3, V7, U1]
3849test { try toAsciiFail("\xe0\xa1\x85\xf0\x9f\x84\x87\xf0\x90\xbc\x97\xef\xb8\x92\xef\xbd\xa1\xf0\x90\xb9\xbb\xf0\x91\x9c\xab", true); } // [B1, B3, V7, U1]
3850test { try toUnicodeFail("\xe0\xa1\x856,\xf0\x90\xbc\x97\xe3\x80\x82\xe3\x80\x82\xf0\x90\xb9\xbb\xf0\x91\x9c\xab"); } // [B1, U1, X4_2]
3851test { try toAsciiFail("\xe0\xa1\x856,\xf0\x90\xbc\x97\xe3\x80\x82\xe3\x80\x82\xf0\x90\xb9\xbb\xf0\x91\x9c\xab", false); } // [B1, U1, A4_2]
3852test { try toAsciiFail("\xe0\xa1\x856,\xf0\x90\xbc\x97\xe3\x80\x82\xe3\x80\x82\xf0\x90\xb9\xbb\xf0\x91\x9c\xab", true); } // [B1, U1, A4_2]
3853test { try toUnicodeFail("xn--6,-r4e4420y..xn--zo0di2m"); } // [B1, U1, X4_2]
3854test { try toAsciiFail("xn--6,-r4e4420y..xn--zo0di2m", false); } // [B1, U1, A4_2]
3855test { try toAsciiFail("xn--6,-r4e4420y..xn--zo0di2m", true); } // [B1, U1, A4_2]
3856test { try toUnicodeFail("xn--6,-r4e6182wo1ra.xn--zo0di2m"); } // [B1, B3, V7, U1]
3857test { try toAsciiFail("xn--6,-r4e6182wo1ra.xn--zo0di2m", false); } // [B1, B3, V7, U1]
3858test { try toAsciiFail("xn--6,-r4e6182wo1ra.xn--zo0di2m", true); } // [B1, B3, V7, U1]
3859test { try toUnicodeFail("xn--3vb4696jpxkjh7s.xn--zo0di2m"); } // [B1, B3, V7]
3860test { try toAsciiFail("xn--3vb4696jpxkjh7s.xn--zo0di2m", false); } // [B1, B3, V7]
3861test { try toAsciiFail("xn--3vb4696jpxkjh7s.xn--zo0di2m", true); } // [B1, B3, V7]
3862test { try toUnicodeFail("\xf0\x90\xb9\x88.\xe1\xb7\x80\xf0\x91\x88\xb1\xf0\x90\xa6\xad"); } // [B1, V6, V7]
3863test { try toAsciiFail("\xf0\x90\xb9\x88.\xe1\xb7\x80\xf0\x91\x88\xb1\xf0\x90\xa6\xad", false); } // [B1, V6, V7]
3864test { try toAsciiFail("\xf0\x90\xb9\x88.\xe1\xb7\x80\xf0\x91\x88\xb1\xf0\x90\xa6\xad", true); } // [B1, V6, V7]
3865test { try toUnicodeFail("xn--jn0d.xn--7dg0871h3lf"); } // [B1, V6, V7]
3866test { try toAsciiFail("xn--jn0d.xn--7dg0871h3lf", false); } // [B1, V6, V7]
3867test { try toAsciiFail("xn--jn0d.xn--7dg0871h3lf", true); } // [B1, V6, V7]
3868test { try toUnicodeFail("\xe1\x82\xa2\xe4\xa0\xba\xe3\x80\x82\xf0\x9e\xa4\x83\xf1\x85\x8f\x8e\xf3\x99\xae\xa6\xda\x93"); } // [B2, V7]
3869test { try toAsciiFail("\xe1\x82\xa2\xe4\xa0\xba\xe3\x80\x82\xf0\x9e\xa4\x83\xf1\x85\x8f\x8e\xf3\x99\xae\xa6\xda\x93", false); } // [B2, V7]
3870test { try toAsciiFail("\xe1\x82\xa2\xe4\xa0\xba\xe3\x80\x82\xf0\x9e\xa4\x83\xf1\x85\x8f\x8e\xf3\x99\xae\xa6\xda\x93", true); } // [B2, V7]
3871test { try toUnicodeFail("\xe2\xb4\x82\xe4\xa0\xba\xe3\x80\x82\xf0\x9e\xa4\xa5\xf1\x85\x8f\x8e\xf3\x99\xae\xa6\xda\x93"); } // [B2, V7]
3872test { try toAsciiFail("\xe2\xb4\x82\xe4\xa0\xba\xe3\x80\x82\xf0\x9e\xa4\xa5\xf1\x85\x8f\x8e\xf3\x99\xae\xa6\xda\x93", false); } // [B2, V7]
3873test { try toAsciiFail("\xe2\xb4\x82\xe4\xa0\xba\xe3\x80\x82\xf0\x9e\xa4\xa5\xf1\x85\x8f\x8e\xf3\x99\xae\xa6\xda\x93", true); } // [B2, V7]
3874test { try toUnicodeFail("xn--tkj638f.xn--pjb9818vg4xno967d"); } // [B2, V7]
3875test { try toAsciiFail("xn--tkj638f.xn--pjb9818vg4xno967d", false); } // [B2, V7]
3876test { try toAsciiFail("xn--tkj638f.xn--pjb9818vg4xno967d", true); } // [B2, V7]
3877test { try toUnicodeFail("xn--9md875z.xn--pjb9818vg4xno967d"); } // [B2, V7]
3878test { try toAsciiFail("xn--9md875z.xn--pjb9818vg4xno967d", false); } // [B2, V7]
3879test { try toAsciiFail("xn--9md875z.xn--pjb9818vg4xno967d", true); } // [B2, V7]
3880test { try toUnicodeFail("\xe2\xb4\x82\xe4\xa0\xba\xe3\x80\x82\xf0\x9e\xa4\x83\xf1\x85\x8f\x8e\xf3\x99\xae\xa6\xda\x93"); } // [B2, V7]
3881test { try toAsciiFail("\xe2\xb4\x82\xe4\xa0\xba\xe3\x80\x82\xf0\x9e\xa4\x83\xf1\x85\x8f\x8e\xf3\x99\xae\xa6\xda\x93", false); } // [B2, V7]
3882test { try toAsciiFail("\xe2\xb4\x82\xe4\xa0\xba\xe3\x80\x82\xf0\x9e\xa4\x83\xf1\x85\x8f\x8e\xf3\x99\xae\xa6\xda\x93", true); } // [B2, V7]
3883test { try toUnicodeFail("\xf0\x9f\x84\x87\xe4\xbc\x90\xef\xb8\x92.\xf0\x9c\x99\x9a\xea\xa3\x84"); } // [V7, U1]
3884test { try toAsciiFail("\xf0\x9f\x84\x87\xe4\xbc\x90\xef\xb8\x92.\xf0\x9c\x99\x9a\xea\xa3\x84", false); } // [V7, U1]
3885test { try toAsciiFail("\xf0\x9f\x84\x87\xe4\xbc\x90\xef\xb8\x92.\xf0\x9c\x99\x9a\xea\xa3\x84", true); } // [V7, U1]
3886test { try toUnicodeFail("6,\xe4\xbc\x90\xe3\x80\x82.\xf0\x9c\x99\x9a\xea\xa3\x84"); } // [V7, U1, X4_2]
3887test { try toAsciiFail("6,\xe4\xbc\x90\xe3\x80\x82.\xf0\x9c\x99\x9a\xea\xa3\x84", false); } // [V7, U1, A4_2]
3888test { try toAsciiFail("6,\xe4\xbc\x90\xe3\x80\x82.\xf0\x9c\x99\x9a\xea\xa3\x84", true); } // [V7, U1, A4_2]
3889test { try toUnicodeFail("xn--6,-7i3c..xn--0f9ao925c"); } // [V7, U1, X4_2]
3890test { try toAsciiFail("xn--6,-7i3c..xn--0f9ao925c", false); } // [V7, U1, A4_2]
3891test { try toAsciiFail("xn--6,-7i3c..xn--0f9ao925c", true); } // [V7, U1, A4_2]
3892test { try toUnicodeFail("xn--6,-7i3cj157d.xn--0f9ao925c"); } // [V7, U1]
3893test { try toAsciiFail("xn--6,-7i3cj157d.xn--0f9ao925c", false); } // [V7, U1]
3894test { try toAsciiFail("xn--6,-7i3cj157d.xn--0f9ao925c", true); } // [V7, U1]
3895test { try toUnicodeFail("xn--woqs083bel0g.xn--0f9ao925c"); } // [V7]
3896test { try toAsciiFail("xn--woqs083bel0g.xn--0f9ao925c", false); } // [V7]
3897test { try toAsciiFail("xn--woqs083bel0g.xn--0f9ao925c", true); } // [V7]
3898test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xa0\xea\xaf\xad\xef\xbf\xbb\xe3\x80\x82\xe2\x80\x8d\xf0\x90\xab\x93\xe1\x82\xba\xf0\x91\x82\xb9"); } // [B1, C2, V7]
3899test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xa0\xea\xaf\xad\xef\xbf\xbb\xe3\x80\x82\xe2\x80\x8d\xf0\x90\xab\x93\xe1\x82\xba\xf0\x91\x82\xb9", false); } // [B1, C2, V7]
3900test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xa0\xea\xaf\xad\xef\xbf\xbb\xe3\x80\x82\xe2\x80\x8d\xf0\x90\xab\x93\xe1\x82\xba\xf0\x91\x82\xb9", true); } // [B1, B2, B3, V7]
3901test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xb9\xa0\xea\xaf\xad\xef\xbf\xbb\xe3\x80\x82\xe2\x80\x8d\xf0\x90\xab\x93\xe2\xb4\x9a\xf0\x91\x82\xb9"); } // [B1, C2, V7]
3902test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xa0\xea\xaf\xad\xef\xbf\xbb\xe3\x80\x82\xe2\x80\x8d\xf0\x90\xab\x93\xe2\xb4\x9a\xf0\x91\x82\xb9", false); } // [B1, C2, V7]
3903test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xb9\xa0\xea\xaf\xad\xef\xbf\xbb\xe3\x80\x82\xe2\x80\x8d\xf0\x90\xab\x93\xe2\xb4\x9a\xf0\x91\x82\xb9", true); } // [B1, B2, B3, V7]
3904test { try toUnicodeFail("xn--429az70n29i.xn--ilj7702eqyd"); } // [B1, B2, B3, V7]
3905test { try toAsciiFail("xn--429az70n29i.xn--ilj7702eqyd", false); } // [B1, B2, B3, V7]
3906test { try toAsciiFail("xn--429az70n29i.xn--ilj7702eqyd", true); } // [B1, B2, B3, V7]
3907test { try toUnicodeFail("xn--1ugz126coy7bdbm.xn--1ug062chv7ov6e"); } // [B1, C2, V7]
3908test { try toAsciiFail("xn--1ugz126coy7bdbm.xn--1ug062chv7ov6e", false); } // [B1, C2, V7]
3909test { try toAsciiFail("xn--1ugz126coy7bdbm.xn--1ug062chv7ov6e", true); } // [B1, C2, V7]
3910test { try toUnicodeFail("xn--429az70n29i.xn--ynd3619jqyd"); } // [B1, B2, B3, V7]
3911test { try toAsciiFail("xn--429az70n29i.xn--ynd3619jqyd", false); } // [B1, B2, B3, V7]
3912test { try toAsciiFail("xn--429az70n29i.xn--ynd3619jqyd", true); } // [B1, B2, B3, V7]
3913test { try toUnicodeFail("xn--1ugz126coy7bdbm.xn--ynd959evs1pv6e"); } // [B1, C2, V7]
3914test { try toAsciiFail("xn--1ugz126coy7bdbm.xn--ynd959evs1pv6e", false); } // [B1, C2, V7]
3915test { try toAsciiFail("xn--1ugz126coy7bdbm.xn--ynd959evs1pv6e", true); } // [B1, C2, V7]
3916test { try toUnicodeFail("\xf3\xa0\x86\xa0\xef\xbc\x8e\xf1\xb7\x90\xb4\xf3\x8c\x9f\x88"); } // [V7, X4_2]
3917test { try toAsciiFail("\xf3\xa0\x86\xa0\xef\xbc\x8e\xf1\xb7\x90\xb4\xf3\x8c\x9f\x88", false); } // [V7, A4_2]
3918test { try toAsciiFail("\xf3\xa0\x86\xa0\xef\xbc\x8e\xf1\xb7\x90\xb4\xf3\x8c\x9f\x88", true); } // [V7, A4_2]
3919test { try toUnicodeFail("\xf3\xa0\x86\xa0.\xf1\xb7\x90\xb4\xf3\x8c\x9f\x88"); } // [V7, X4_2]
3920test { try toAsciiFail("\xf3\xa0\x86\xa0.\xf1\xb7\x90\xb4\xf3\x8c\x9f\x88", false); } // [V7, A4_2]
3921test { try toAsciiFail("\xf3\xa0\x86\xa0.\xf1\xb7\x90\xb4\xf3\x8c\x9f\x88", true); } // [V7, A4_2]
3922test { try toUnicodeFail(".xn--rx21bhv12i"); } // [V7, X4_2]
3923test { try toAsciiFail(".xn--rx21bhv12i", false); } // [V7, A4_2]
3924test { try toAsciiFail(".xn--rx21bhv12i", true); } // [V7, A4_2]
3925test { try toUnicodeFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe1\x82\xa6.\xe2\x89\xa0\xf0\x9e\xb7\x99"); } // [B1, B2, B3, C1, V7]
3926test { try toAsciiFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe1\x82\xa6.\xe2\x89\xa0\xf0\x9e\xb7\x99", false); } // [B1, B2, B3, C1, V7]
3927test { try toAsciiFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe1\x82\xa6.\xe2\x89\xa0\xf0\x9e\xb7\x99", true); } // [B1, B2, B3, V7]
3928test { try toUnicodeFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe1\x82\xa6.=\xcc\xb8\xf0\x9e\xb7\x99"); } // [B1, B2, B3, C1, V7]
3929test { try toAsciiFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe1\x82\xa6.=\xcc\xb8\xf0\x9e\xb7\x99", false); } // [B1, B2, B3, C1, V7]
3930test { try toAsciiFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe1\x82\xa6.=\xcc\xb8\xf0\x9e\xb7\x99", true); } // [B1, B2, B3, V7]
3931test { try toUnicodeFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe2\xb4\x86.=\xcc\xb8\xf0\x9e\xb7\x99"); } // [B1, B2, B3, C1, V7]
3932test { try toAsciiFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe2\xb4\x86.=\xcc\xb8\xf0\x9e\xb7\x99", false); } // [B1, B2, B3, C1, V7]
3933test { try toAsciiFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe2\xb4\x86.=\xcc\xb8\xf0\x9e\xb7\x99", true); } // [B1, B2, B3, V7]
3934test { try toUnicodeFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe2\xb4\x86.\xe2\x89\xa0\xf0\x9e\xb7\x99"); } // [B1, B2, B3, C1, V7]
3935test { try toAsciiFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe2\xb4\x86.\xe2\x89\xa0\xf0\x9e\xb7\x99", false); } // [B1, B2, B3, C1, V7]
3936test { try toAsciiFail("\xf0\x90\xab\x83\xe2\x80\x8c\xe2\xb4\x86.\xe2\x89\xa0\xf0\x9e\xb7\x99", true); } // [B1, B2, B3, V7]
3937test { try toUnicodeFail("xn--xkjz802e.xn--1ch2802p"); } // [B1, B2, B3, V7]
3938test { try toAsciiFail("xn--xkjz802e.xn--1ch2802p", false); } // [B1, B2, B3, V7]
3939test { try toAsciiFail("xn--xkjz802e.xn--1ch2802p", true); } // [B1, B2, B3, V7]
3940test { try toUnicodeFail("xn--0ug132csv7o.xn--1ch2802p"); } // [B1, B2, B3, C1, V7]
3941test { try toAsciiFail("xn--0ug132csv7o.xn--1ch2802p", false); } // [B1, B2, B3, C1, V7]
3942test { try toAsciiFail("xn--0ug132csv7o.xn--1ch2802p", true); } // [B1, B2, B3, C1, V7]
3943test { try toUnicodeFail("xn--end1719j.xn--1ch2802p"); } // [B1, B2, B3, V7]
3944test { try toAsciiFail("xn--end1719j.xn--1ch2802p", false); } // [B1, B2, B3, V7]
3945test { try toAsciiFail("xn--end1719j.xn--1ch2802p", true); } // [B1, B2, B3, V7]
3946test { try toUnicodeFail("xn--end799ekr1p.xn--1ch2802p"); } // [B1, B2, B3, C1, V7]
3947test { try toAsciiFail("xn--end799ekr1p.xn--1ch2802p", false); } // [B1, B2, B3, C1, V7]
3948test { try toAsciiFail("xn--end799ekr1p.xn--1ch2802p", true); } // [B1, B2, B3, C1, V7]
3949test { try toUnicodeFail("\xf3\xa0\x81\xb2\xf0\x99\xa9\xa2\xf0\x9d\x9f\xa5\xea\x98\x8c\xef\xbc\x8e\xe0\xa1\x81"); } // [B1, V7]
3950test { try toAsciiFail("\xf3\xa0\x81\xb2\xf0\x99\xa9\xa2\xf0\x9d\x9f\xa5\xea\x98\x8c\xef\xbc\x8e\xe0\xa1\x81", false); } // [B1, V7]
3951test { try toAsciiFail("\xf3\xa0\x81\xb2\xf0\x99\xa9\xa2\xf0\x9d\x9f\xa5\xea\x98\x8c\xef\xbc\x8e\xe0\xa1\x81", true); } // [B1, V7]
3952test { try toUnicodeFail("\xf3\xa0\x81\xb2\xf0\x99\xa9\xa23\xea\x98\x8c.\xe0\xa1\x81"); } // [B1, V7]
3953test { try toAsciiFail("\xf3\xa0\x81\xb2\xf0\x99\xa9\xa23\xea\x98\x8c.\xe0\xa1\x81", false); } // [B1, V7]
3954test { try toAsciiFail("\xf3\xa0\x81\xb2\xf0\x99\xa9\xa23\xea\x98\x8c.\xe0\xa1\x81", true); } // [B1, V7]
3955test { try toUnicodeFail("xn--3-0g3es485d8i15h.xn--zvb"); } // [B1, V7]
3956test { try toAsciiFail("xn--3-0g3es485d8i15h.xn--zvb", false); } // [B1, V7]
3957test { try toAsciiFail("xn--3-0g3es485d8i15h.xn--zvb", true); } // [B1, V7]
3958test { try toUnicodeFail("-.\xe1\xa2\x86\xf3\xa1\xb2\xa3-"); } // [V3, V6, V7]
3959test { try toAsciiFail("-.\xe1\xa2\x86\xf3\xa1\xb2\xa3-", false); } // [V3, V6, V7]
3960test { try toAsciiFail("-.\xe1\xa2\x86\xf3\xa1\xb2\xa3-", true); } // [V3, V6, V7]
3961test { try toUnicodeFail("-.xn----pbkx6497q"); } // [V3, V6, V7]
3962test { try toAsciiFail("-.xn----pbkx6497q", false); } // [V3, V6, V7]
3963test { try toAsciiFail("-.xn----pbkx6497q", true); } // [V3, V6, V7]
3964test { try toUnicodeFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xef\xbd\xa1\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x82"); } // [B1, B6, C1, V7]
3965test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xef\xbd\xa1\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x82", false); } // [B1, B6, C1, V7]
3966test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xef\xbd\xa1\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x82", true); } // [B2, B3, V7]
3967test { try toUnicodeFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x82"); } // [B1, B6, C1, V7]
3968test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x82", false); } // [B1, B6, C1, V7]
3969test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x82", true); } // [B2, B3, V7]
3970test { try toUnicodeFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x9e\xb0\x86\xce\xa3"); } // [B1, B6, C1, V7]
3971test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x9e\xb0\x86\xce\xa3", false); } // [B1, B6, C1, V7]
3972test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x9e\xb0\x86\xce\xa3", true); } // [B2, B3, V7]
3973test { try toUnicodeFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x83"); } // [B1, B6, C1, V7]
3974test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x83", false); } // [B1, B6, C1, V7]
3975test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x83", true); } // [B2, B3, V7]
3976test { try toUnicodeFail("xn--qp42f.xn--4xa3011w"); } // [B2, B3, V7]
3977test { try toAsciiFail("xn--qp42f.xn--4xa3011w", false); } // [B2, B3, V7]
3978test { try toAsciiFail("xn--qp42f.xn--4xa3011w", true); } // [B2, B3, V7]
3979test { try toUnicodeFail("xn--0ug76062m.xn--4xa595lhn92a"); } // [B1, B6, C1, V7]
3980test { try toAsciiFail("xn--0ug76062m.xn--4xa595lhn92a", false); } // [B1, B6, C1, V7]
3981test { try toAsciiFail("xn--0ug76062m.xn--4xa595lhn92a", true); } // [B1, B6, C1, V7]
3982test { try toUnicodeFail("xn--0ug76062m.xn--3xa795lhn92a"); } // [B1, B6, C1, V7]
3983test { try toAsciiFail("xn--0ug76062m.xn--3xa795lhn92a", false); } // [B1, B6, C1, V7]
3984test { try toAsciiFail("xn--0ug76062m.xn--3xa795lhn92a", true); } // [B1, B6, C1, V7]
3985test { try toUnicodeFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xef\xbd\xa1\xe2\x80\x8c\xf0\x9e\xb0\x86\xce\xa3"); } // [B1, B6, C1, V7]
3986test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xef\xbd\xa1\xe2\x80\x8c\xf0\x9e\xb0\x86\xce\xa3", false); } // [B1, B6, C1, V7]
3987test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xef\xbd\xa1\xe2\x80\x8c\xf0\x9e\xb0\x86\xce\xa3", true); } // [B2, B3, V7]
3988test { try toUnicodeFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xef\xbd\xa1\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x83"); } // [B1, B6, C1, V7]
3989test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xef\xbd\xa1\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x83", false); } // [B1, B6, C1, V7]
3990test { try toAsciiFail("\xf3\xb2\x9a\x97\xe2\x80\x8c\xef\xbd\xa1\xe2\x80\x8c\xf0\x9e\xb0\x86\xcf\x83", true); } // [B2, B3, V7]
3991test { try toUnicodeFail("\xe5\xa0\x95\xf0\x91\x93\x82\xe1\xac\x82\xe3\x80\x82\xf0\x90\xae\x87\xf0\x9e\xa4\xbd\xe2\x80\x8c-"); } // [B3, C1, V3]
3992test { try toAsciiFail("\xe5\xa0\x95\xf0\x91\x93\x82\xe1\xac\x82\xe3\x80\x82\xf0\x90\xae\x87\xf0\x9e\xa4\xbd\xe2\x80\x8c-", false); } // [B3, C1, V3]
3993test { try toAsciiFail("\xe5\xa0\x95\xf0\x91\x93\x82\xe1\xac\x82\xe3\x80\x82\xf0\x90\xae\x87\xf0\x9e\xa4\xbd\xe2\x80\x8c-", true); } // [B3, V3]
3994test { try toUnicodeFail("\xe5\xa0\x95\xf0\x91\x93\x82\xe1\xac\x82\xe3\x80\x82\xf0\x90\xae\x87\xf0\x9e\xa4\x9b\xe2\x80\x8c-"); } // [B3, C1, V3]
3995test { try toAsciiFail("\xe5\xa0\x95\xf0\x91\x93\x82\xe1\xac\x82\xe3\x80\x82\xf0\x90\xae\x87\xf0\x9e\xa4\x9b\xe2\x80\x8c-", false); } // [B3, C1, V3]
3996test { try toAsciiFail("\xe5\xa0\x95\xf0\x91\x93\x82\xe1\xac\x82\xe3\x80\x82\xf0\x90\xae\x87\xf0\x9e\xa4\x9b\xe2\x80\x8c-", true); } // [B3, V3]
3997test { try toUnicodeFail("xn--5sf345zdk8h.xn----iv5iw606c"); } // [B3, V3]
3998test { try toAsciiFail("xn--5sf345zdk8h.xn----iv5iw606c", false); } // [B3, V3]
3999test { try toAsciiFail("xn--5sf345zdk8h.xn----iv5iw606c", true); } // [B3, V3]
4000test { try toUnicodeFail("xn--5sf345zdk8h.xn----rgnt157hwl9g"); } // [B3, C1, V3]
4001test { try toAsciiFail("xn--5sf345zdk8h.xn----rgnt157hwl9g", false); } // [B3, C1, V3]
4002test { try toAsciiFail("xn--5sf345zdk8h.xn----rgnt157hwl9g", true); } // [B3, C1, V3]
4003test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xcf\x82\xd8\xaa\xcf\x82"); } // [B1, B5]
4004test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xcf\x82\xd8\xaa\xcf\x82", false); } // [B1, B5]
4005test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xcf\x82\xd8\xaa\xcf\x82", true); } // [B1, B5]
4006test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xcf\x82\xd8\xaa\xcf\x82"); } // [B1, B5]
4007test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xcf\x82\xd8\xaa\xcf\x82", false); } // [B1, B5]
4008test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xcf\x82\xd8\xaa\xcf\x82", true); } // [B1, B5]
4009test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\x80\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3"); } // [B1, B5]
4010test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\x80\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3", false); } // [B1, B5]
4011test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\x80\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3", true); } // [B1, B5]
4012test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x83"); } // [B1, B5]
4013test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x83", false); } // [B1, B5]
4014test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x83", true); } // [B1, B5]
4015test { try toUnicodeFail("xn--l8e1317j1ebz456b.xn--4xaa85plx4a"); } // [B1, B5]
4016test { try toAsciiFail("xn--l8e1317j1ebz456b.xn--4xaa85plx4a", false); } // [B1, B5]
4017test { try toAsciiFail("xn--l8e1317j1ebz456b.xn--4xaa85plx4a", true); } // [B1, B5]
4018test { try toUnicodeFail("xn--l8e1317j1ebz456b.xn--3xaa16plx4a"); } // [B1, B5]
4019test { try toAsciiFail("xn--l8e1317j1ebz456b.xn--3xaa16plx4a", false); } // [B1, B5]
4020test { try toAsciiFail("xn--l8e1317j1ebz456b.xn--3xaa16plx4a", true); } // [B1, B5]
4021test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\x80\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3"); } // [B1, B5]
4022test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\x80\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3", false); } // [B1, B5]
4023test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\x80\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3", true); } // [B1, B5]
4024test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x83"); } // [B1, B5]
4025test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x83", false); } // [B1, B5]
4026test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x83", true); } // [B1, B5]
4027test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3"); } // [B1, B5]
4028test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3", false); } // [B1, B5]
4029test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3", true); } // [B1, B5]
4030test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x83"); } // [B1, B5]
4031test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x83", false); } // [B1, B5]
4032test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x83", true); } // [B1, B5]
4033test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x82"); } // [B1, B5]
4034test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x82", false); } // [B1, B5]
4035test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x82", true); } // [B1, B5]
4036test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x82"); } // [B1, B5]
4037test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x82", false); } // [B1, B5]
4038test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xe3\x80\x82\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x82", true); } // [B1, B5]
4039test { try toUnicodeFail("xn--l8e1317j1ebz456b.xn--3xab95plx4a"); } // [B1, B5]
4040test { try toAsciiFail("xn--l8e1317j1ebz456b.xn--3xab95plx4a", false); } // [B1, B5]
4041test { try toAsciiFail("xn--l8e1317j1ebz456b.xn--3xab95plx4a", true); } // [B1, B5]
4042test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3"); } // [B1, B5]
4043test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3", false); } // [B1, B5]
4044test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xce\xa3", true); } // [B1, B5]
4045test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x83"); } // [B1, B5]
4046test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x83", false); } // [B1, B5]
4047test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x83", true); } // [B1, B5]
4048test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x82"); } // [B1, B5]
4049test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x82", false); } // [B1, B5]
4050test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xce\xa3\xd8\xaa\xcf\x82", true); } // [B1, B5]
4051test { try toUnicodeFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x82"); } // [B1, B5]
4052test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x82", false); } // [B1, B5]
4053test { try toAsciiFail("\xf0\x90\xb9\xb6\xf0\x91\x81\x86\xe1\xa1\x95\xf0\x9e\xa4\xa2\xef\xbd\xa1\xe1\xa1\xa5\xcf\x83\xd8\xaa\xcf\x82", true); } // [B1, B5]
4054test { try toUnicodeFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbb\xc3\x9f"); } // [V3, V7]
4055test { try toAsciiFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbb\xc3\x9f", false); } // [V3, V7]
4056test { try toAsciiFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbb\xc3\x9f", true); } // [V3, V7]
4057test { try toUnicodeFail("\xf3\x8f\x92\xb0.-5\xc3\x9f"); } // [V3, V7]
4058test { try toAsciiFail("\xf3\x8f\x92\xb0.-5\xc3\x9f", false); } // [V3, V7]
4059test { try toAsciiFail("\xf3\x8f\x92\xb0.-5\xc3\x9f", true); } // [V3, V7]
4060test { try toUnicodeFail("\xf3\x8f\x92\xb0.-5SS"); } // [V3, V7]
4061test { try toAsciiFail("\xf3\x8f\x92\xb0.-5SS", false); } // [V3, V7]
4062test { try toAsciiFail("\xf3\x8f\x92\xb0.-5SS", true); } // [V3, V7]
4063test { try toUnicodeFail("\xf3\x8f\x92\xb0.-5ss"); } // [V3, V7]
4064test { try toAsciiFail("\xf3\x8f\x92\xb0.-5ss", false); } // [V3, V7]
4065test { try toAsciiFail("\xf3\x8f\x92\xb0.-5ss", true); } // [V3, V7]
4066test { try toUnicodeFail("xn--t960e.-5ss"); } // [V3, V7]
4067test { try toAsciiFail("xn--t960e.-5ss", false); } // [V3, V7]
4068test { try toAsciiFail("xn--t960e.-5ss", true); } // [V3, V7]
4069test { try toUnicodeFail("xn--t960e.xn---5-hia"); } // [V3, V7]
4070test { try toAsciiFail("xn--t960e.xn---5-hia", false); } // [V3, V7]
4071test { try toAsciiFail("xn--t960e.xn---5-hia", true); } // [V3, V7]
4072test { try toUnicodeFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbbSS"); } // [V3, V7]
4073test { try toAsciiFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbbSS", false); } // [V3, V7]
4074test { try toAsciiFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbbSS", true); } // [V3, V7]
4075test { try toUnicodeFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbbss"); } // [V3, V7]
4076test { try toAsciiFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbbss", false); } // [V3, V7]
4077test { try toAsciiFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbbss", true); } // [V3, V7]
4078test { try toUnicodeFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbbSs"); } // [V3, V7]
4079test { try toAsciiFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbbSs", false); } // [V3, V7]
4080test { try toAsciiFail("\xf3\x8f\x92\xb0\xef\xbc\x8e-\xf0\x9d\x9f\xbbSs", true); } // [V3, V7]
4081test { try toUnicodeFail("\xf3\x8f\x92\xb0.-5Ss"); } // [V3, V7]
4082test { try toAsciiFail("\xf3\x8f\x92\xb0.-5Ss", false); } // [V3, V7]
4083test { try toAsciiFail("\xf3\x8f\x92\xb0.-5Ss", true); } // [V3, V7]
4084test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xa8\xbf.\xf0\x9f\xa4\x92\xe1\x83\x85\xf2\x91\xae\xb6"); } // [C2, V7]
4085test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xa8\xbf.\xf0\x9f\xa4\x92\xe1\x83\x85\xf2\x91\xae\xb6", false); } // [C2, V7]
4086test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xa8\xbf.\xf0\x9f\xa4\x92\xe1\x83\x85\xf2\x91\xae\xb6", true); } // [V6, V7]
4087test { try toUnicodeFail("\xe2\x80\x8d\xf0\x90\xa8\xbf.\xf0\x9f\xa4\x92\xe2\xb4\xa5\xf2\x91\xae\xb6"); } // [C2, V7]
4088test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xa8\xbf.\xf0\x9f\xa4\x92\xe2\xb4\xa5\xf2\x91\xae\xb6", false); } // [C2, V7]
4089test { try toAsciiFail("\xe2\x80\x8d\xf0\x90\xa8\xbf.\xf0\x9f\xa4\x92\xe2\xb4\xa5\xf2\x91\xae\xb6", true); } // [V6, V7]
4090test { try toUnicodeFail("xn--0s9c.xn--tljz038l0gz4b"); } // [V6, V7]
4091test { try toAsciiFail("xn--0s9c.xn--tljz038l0gz4b", false); } // [V6, V7]
4092test { try toAsciiFail("xn--0s9c.xn--tljz038l0gz4b", true); } // [V6, V7]
4093test { try toUnicodeFail("xn--1ug9533g.xn--tljz038l0gz4b"); } // [C2, V7]
4094test { try toAsciiFail("xn--1ug9533g.xn--tljz038l0gz4b", false); } // [C2, V7]
4095test { try toAsciiFail("xn--1ug9533g.xn--tljz038l0gz4b", true); } // [C2, V7]
4096test { try toUnicodeFail("xn--0s9c.xn--9nd3211w0gz4b"); } // [V6, V7]
4097test { try toAsciiFail("xn--0s9c.xn--9nd3211w0gz4b", false); } // [V6, V7]
4098test { try toAsciiFail("xn--0s9c.xn--9nd3211w0gz4b", true); } // [V6, V7]
4099test { try toUnicodeFail("xn--1ug9533g.xn--9nd3211w0gz4b"); } // [C2, V7]
4100test { try toAsciiFail("xn--1ug9533g.xn--9nd3211w0gz4b", false); } // [C2, V7]
4101test { try toAsciiFail("xn--1ug9533g.xn--9nd3211w0gz4b", true); } // [C2, V7]
4102test { try toUnicodeFail("\xf0\xb5\x8b\x85\xe3\x80\x82\xc3\x9f\xf0\xac\xb5\xa9\xe2\x80\x8d"); } // [C2, V7]
4103test { try toAsciiFail("\xf0\xb5\x8b\x85\xe3\x80\x82\xc3\x9f\xf0\xac\xb5\xa9\xe2\x80\x8d", false); } // [C2, V7]
4104test { try toAsciiFail("\xf0\xb5\x8b\x85\xe3\x80\x82\xc3\x9f\xf0\xac\xb5\xa9\xe2\x80\x8d", true); } // [V7]
4105test { try toUnicodeFail("\xf0\xb5\x8b\x85\xe3\x80\x82SS\xf0\xac\xb5\xa9\xe2\x80\x8d"); } // [C2, V7]
4106test { try toAsciiFail("\xf0\xb5\x8b\x85\xe3\x80\x82SS\xf0\xac\xb5\xa9\xe2\x80\x8d", false); } // [C2, V7]
4107test { try toAsciiFail("\xf0\xb5\x8b\x85\xe3\x80\x82SS\xf0\xac\xb5\xa9\xe2\x80\x8d", true); } // [V7]
4108test { try toUnicodeFail("\xf0\xb5\x8b\x85\xe3\x80\x82ss\xf0\xac\xb5\xa9\xe2\x80\x8d"); } // [C2, V7]
4109test { try toAsciiFail("\xf0\xb5\x8b\x85\xe3\x80\x82ss\xf0\xac\xb5\xa9\xe2\x80\x8d", false); } // [C2, V7]
4110test { try toAsciiFail("\xf0\xb5\x8b\x85\xe3\x80\x82ss\xf0\xac\xb5\xa9\xe2\x80\x8d", true); } // [V7]
4111test { try toUnicodeFail("\xf0\xb5\x8b\x85\xe3\x80\x82Ss\xf0\xac\xb5\xa9\xe2\x80\x8d"); } // [C2, V7]
4112test { try toAsciiFail("\xf0\xb5\x8b\x85\xe3\x80\x82Ss\xf0\xac\xb5\xa9\xe2\x80\x8d", false); } // [C2, V7]
4113test { try toAsciiFail("\xf0\xb5\x8b\x85\xe3\x80\x82Ss\xf0\xac\xb5\xa9\xe2\x80\x8d", true); } // [V7]
4114test { try toUnicodeFail("xn--ey1p.xn--ss-eq36b"); } // [V7]
4115test { try toAsciiFail("xn--ey1p.xn--ss-eq36b", false); } // [V7]
4116test { try toAsciiFail("xn--ey1p.xn--ss-eq36b", true); } // [V7]
4117test { try toUnicodeFail("xn--ey1p.xn--ss-n1tx0508a"); } // [C2, V7]
4118test { try toAsciiFail("xn--ey1p.xn--ss-n1tx0508a", false); } // [C2, V7]
4119test { try toAsciiFail("xn--ey1p.xn--ss-n1tx0508a", true); } // [C2, V7]
4120test { try toUnicodeFail("xn--ey1p.xn--zca870nz438b"); } // [C2, V7]
4121test { try toAsciiFail("xn--ey1p.xn--zca870nz438b", false); } // [C2, V7]
4122test { try toAsciiFail("xn--ey1p.xn--zca870nz438b", true); } // [C2, V7]
4123test { try toUnicodeFail("\xe2\x80\x8c\xf0\xad\x89\x9d\xe3\x80\x82\xdf\xb1\xcc\x81\xf0\x9e\xb9\xbb"); } // [B1, C1, V6]
4124test { try toAsciiFail("\xe2\x80\x8c\xf0\xad\x89\x9d\xe3\x80\x82\xdf\xb1\xcc\x81\xf0\x9e\xb9\xbb", false); } // [B1, C1, V6]
4125test { try toAsciiFail("\xe2\x80\x8c\xf0\xad\x89\x9d\xe3\x80\x82\xdf\xb1\xcc\x81\xf0\x9e\xb9\xbb", true); } // [B1, V6]
4126test { try toUnicodeFail("\xe2\x80\x8c\xf0\xad\x89\x9d\xe3\x80\x82\xdf\xb1\xcc\x81\xd8\xba"); } // [B1, C1, V6]
4127test { try toAsciiFail("\xe2\x80\x8c\xf0\xad\x89\x9d\xe3\x80\x82\xdf\xb1\xcc\x81\xd8\xba", false); } // [B1, C1, V6]
4128test { try toAsciiFail("\xe2\x80\x8c\xf0\xad\x89\x9d\xe3\x80\x82\xdf\xb1\xcc\x81\xd8\xba", true); } // [B1, V6]
4129test { try toUnicodeFail("xn--634m.xn--lsa46nuub"); } // [B1, V6]
4130test { try toAsciiFail("xn--634m.xn--lsa46nuub", false); } // [B1, V6]
4131test { try toAsciiFail("xn--634m.xn--lsa46nuub", true); } // [B1, V6]
4132test { try toUnicodeFail("xn--0ugy003y.xn--lsa46nuub"); } // [B1, C1, V6]
4133test { try toAsciiFail("xn--0ugy003y.xn--lsa46nuub", false); } // [B1, C1, V6]
4134test { try toAsciiFail("xn--0ugy003y.xn--lsa46nuub", true); } // [B1, C1, V6]
4135test { try toUnicodeFail("\xf0\x9e\xbc\x8c\xe2\x80\x8c\xf0\x91\x88\xb6\xe3\x80\x82\xf0\x90\xb9\xa1"); } // [B1, B3, C1, V7]
4136test { try toAsciiFail("\xf0\x9e\xbc\x8c\xe2\x80\x8c\xf0\x91\x88\xb6\xe3\x80\x82\xf0\x90\xb9\xa1", false); } // [B1, B3, C1, V7]
4137test { try toAsciiFail("\xf0\x9e\xbc\x8c\xe2\x80\x8c\xf0\x91\x88\xb6\xe3\x80\x82\xf0\x90\xb9\xa1", true); } // [B1, V7]
4138test { try toUnicodeFail("xn--9g1d1288a.xn--8n0d"); } // [B1, V7]
4139test { try toAsciiFail("xn--9g1d1288a.xn--8n0d", false); } // [B1, V7]
4140test { try toAsciiFail("xn--9g1d1288a.xn--8n0d", true); } // [B1, V7]
4141test { try toUnicodeFail("xn--0ug7946gzpxf.xn--8n0d"); } // [B1, B3, C1, V7]
4142test { try toAsciiFail("xn--0ug7946gzpxf.xn--8n0d", false); } // [B1, B3, C1, V7]
4143test { try toAsciiFail("xn--0ug7946gzpxf.xn--8n0d", true); } // [B1, B3, C1, V7]
4144test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82\xe2\x89\xa0"); } // [C1, V6, V7]
4145test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82\xe2\x89\xa0", false); } // [C1, V6, V7]
4146test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82\xe2\x89\xa0", true); } // [V6, V7]
4147test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82=\xcc\xb8"); } // [C1, V6, V7]
4148test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82=\xcc\xb8", false); } // [C1, V6, V7]
4149test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82=\xcc\xb8", true); } // [V6, V7]
4150test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82\xe2\x89\xa0"); } // [C1, V6, V7]
4151test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82\xe2\x89\xa0", false); } // [C1, V6, V7]
4152test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82\xe2\x89\xa0", true); } // [V6, V7]
4153test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82=\xcc\xb8"); } // [C1, V6, V7]
4154test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82=\xcc\xb8", false); } // [C1, V6, V7]
4155test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x82=\xcc\xb8", true); } // [V6, V7]
4156test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3=\xcc\xb8"); } // [C1, V6, V7]
4157test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3=\xcc\xb8", false); } // [C1, V6, V7]
4158test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3=\xcc\xb8", true); } // [V6, V7]
4159test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3\xe2\x89\xa0"); } // [C1, V6, V7]
4160test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3\xe2\x89\xa0", false); } // [C1, V6, V7]
4161test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3\xe2\x89\xa0", true); } // [V6, V7]
4162test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83\xe2\x89\xa0"); } // [C1, V6, V7]
4163test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83\xe2\x89\xa0", false); } // [C1, V6, V7]
4164test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83\xe2\x89\xa0", true); } // [V6, V7]
4165test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83=\xcc\xb8"); } // [C1, V6, V7]
4166test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83=\xcc\xb8", false); } // [C1, V6, V7]
4167test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xe3\x80\x82\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83=\xcc\xb8", true); } // [V6, V7]
4168test { try toUnicodeFail("xn--zb9h5968x.xn--4xa378i1mfjw7y"); } // [V6, V7]
4169test { try toAsciiFail("xn--zb9h5968x.xn--4xa378i1mfjw7y", false); } // [V6, V7]
4170test { try toAsciiFail("xn--zb9h5968x.xn--4xa378i1mfjw7y", true); } // [V6, V7]
4171test { try toUnicodeFail("xn--0ug3766p5nm1b.xn--4xa378i1mfjw7y"); } // [C1, V6, V7]
4172test { try toAsciiFail("xn--0ug3766p5nm1b.xn--4xa378i1mfjw7y", false); } // [C1, V6, V7]
4173test { try toAsciiFail("xn--0ug3766p5nm1b.xn--4xa378i1mfjw7y", true); } // [C1, V6, V7]
4174test { try toUnicodeFail("xn--0ug3766p5nm1b.xn--3xa578i1mfjw7y"); } // [C1, V6, V7]
4175test { try toAsciiFail("xn--0ug3766p5nm1b.xn--3xa578i1mfjw7y", false); } // [C1, V6, V7]
4176test { try toAsciiFail("xn--0ug3766p5nm1b.xn--3xa578i1mfjw7y", true); } // [C1, V6, V7]
4177test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3=\xcc\xb8"); } // [C1, V6, V7]
4178test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3=\xcc\xb8", false); } // [C1, V6, V7]
4179test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3=\xcc\xb8", true); } // [V6, V7]
4180test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3\xe2\x89\xa0"); } // [C1, V6, V7]
4181test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3\xe2\x89\xa0", false); } // [C1, V6, V7]
4182test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xce\xa3\xe2\x89\xa0", true); } // [V6, V7]
4183test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83\xe2\x89\xa0"); } // [C1, V6, V7]
4184test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83\xe2\x89\xa0", false); } // [C1, V6, V7]
4185test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83\xe2\x89\xa0", true); } // [V6, V7]
4186test { try toUnicodeFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83=\xcc\xb8"); } // [C1, V6, V7]
4187test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83=\xcc\xb8", false); } // [C1, V6, V7]
4188test { try toAsciiFail("\xf3\xa0\x85\xaf\xf2\x87\xbd\xad\xe2\x80\x8c\xf0\x9f\x9c\xad\xef\xbd\xa1\xf0\x91\x96\xbf\xe1\xaa\xbb\xcf\x83=\xcc\xb8", true); } // [V6, V7]
4189test { try toUnicodeFail("\xe2\x92\x8b\xef\xbd\xa1\xe2\x92\x88\xe2\x80\x8d\xf2\xb3\xb4\xa2"); } // [C2, V7]
4190test { try toAsciiFail("\xe2\x92\x8b\xef\xbd\xa1\xe2\x92\x88\xe2\x80\x8d\xf2\xb3\xb4\xa2", false); } // [C2, V7]
4191test { try toAsciiFail("\xe2\x92\x8b\xef\xbd\xa1\xe2\x92\x88\xe2\x80\x8d\xf2\xb3\xb4\xa2", true); } // [V7]
4192test { try toUnicodeFail("4.\xe3\x80\x821.\xe2\x80\x8d\xf2\xb3\xb4\xa2"); } // [C2, V7, X4_2]
4193test { try toAsciiFail("4.\xe3\x80\x821.\xe2\x80\x8d\xf2\xb3\xb4\xa2", false); } // [C2, V7, A4_2]
4194test { try toAsciiFail("4.\xe3\x80\x821.\xe2\x80\x8d\xf2\xb3\xb4\xa2", true); } // [V7, A4_2]
4195test { try toUnicodeFail("4..1.xn--sf51d"); } // [V7, X4_2]
4196test { try toAsciiFail("4..1.xn--sf51d", false); } // [V7, A4_2]
4197test { try toAsciiFail("4..1.xn--sf51d", true); } // [V7, A4_2]
4198test { try toUnicodeFail("4..1.xn--1ug64613i"); } // [C2, V7, X4_2]
4199test { try toAsciiFail("4..1.xn--1ug64613i", false); } // [C2, V7, A4_2]
4200test { try toAsciiFail("4..1.xn--1ug64613i", true); } // [C2, V7, A4_2]
4201test { try toUnicodeFail("xn--wsh.xn--tsh07994h"); } // [V7]
4202test { try toAsciiFail("xn--wsh.xn--tsh07994h", false); } // [V7]
4203test { try toAsciiFail("xn--wsh.xn--tsh07994h", true); } // [V7]
4204test { try toUnicodeFail("xn--wsh.xn--1ug58o74922a"); } // [C2, V7]
4205test { try toAsciiFail("xn--wsh.xn--1ug58o74922a", false); } // [C2, V7]
4206test { try toAsciiFail("xn--wsh.xn--1ug58o74922a", true); } // [C2, V7]
4207test { try toUnicodeFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4208test { try toAsciiFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4209test { try toAsciiFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4210test { try toUnicodeFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4211test { try toAsciiFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4212test { try toAsciiFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4213test { try toUnicodeFail("\xd9\x84\xc3\x9f\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4214test { try toAsciiFail("\xd9\x84\xc3\x9f\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4215test { try toAsciiFail("\xd9\x84\xc3\x9f\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4216test { try toUnicodeFail("\xd9\x84SS\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c"); } // [B1, B2, B3, V6, V7]
4217test { try toAsciiFail("\xd9\x84SS\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", false); } // [B1, B2, B3, V6, V7]
4218test { try toAsciiFail("\xd9\x84SS\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", true); } // [B1, B2, B3, V6, V7]
4219test { try toUnicodeFail("\xd9\x84ss\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4220test { try toAsciiFail("\xd9\x84ss\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4221test { try toAsciiFail("\xd9\x84ss\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4222test { try toUnicodeFail("\xd9\x84ss\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c"); } // [B1, B2, B3, V6, V7]
4223test { try toAsciiFail("\xd9\x84ss\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", false); } // [B1, B2, B3, V6, V7]
4224test { try toAsciiFail("\xd9\x84ss\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", true); } // [B1, B2, B3, V6, V7]
4225test { try toUnicodeFail("xn--ss-svd.xn--jof2298hn83fln78f"); } // [B1, B2, B3, V6, V7]
4226test { try toAsciiFail("xn--ss-svd.xn--jof2298hn83fln78f", false); } // [B1, B2, B3, V6, V7]
4227test { try toAsciiFail("xn--ss-svd.xn--jof2298hn83fln78f", true); } // [B1, B2, B3, V6, V7]
4228test { try toUnicodeFail("\xd9\x84\xc3\x9f\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c"); } // [B1, B2, B3, V6, V7]
4229test { try toAsciiFail("\xd9\x84\xc3\x9f\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", false); } // [B1, B2, B3, V6, V7]
4230test { try toAsciiFail("\xd9\x84\xc3\x9f\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", true); } // [B1, B2, B3, V6, V7]
4231test { try toUnicodeFail("xn--zca57y.xn--jof2298hn83fln78f"); } // [B1, B2, B3, V6, V7]
4232test { try toAsciiFail("xn--zca57y.xn--jof2298hn83fln78f", false); } // [B1, B2, B3, V6, V7]
4233test { try toAsciiFail("xn--zca57y.xn--jof2298hn83fln78f", true); } // [B1, B2, B3, V6, V7]
4234test { try toUnicodeFail("\xd9\x84SS\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c"); } // [B1, B2, B3, V6, V7]
4235test { try toAsciiFail("\xd9\x84SS\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", false); } // [B1, B2, B3, V6, V7]
4236test { try toAsciiFail("\xd9\x84SS\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", true); } // [B1, B2, B3, V6, V7]
4237test { try toUnicodeFail("\xd9\x84ss\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4238test { try toAsciiFail("\xd9\x84ss\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4239test { try toAsciiFail("\xd9\x84ss\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4240test { try toUnicodeFail("\xd9\x84ss\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c"); } // [B1, B2, B3, V6, V7]
4241test { try toAsciiFail("\xd9\x84ss\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", false); } // [B1, B2, B3, V6, V7]
4242test { try toAsciiFail("\xd9\x84ss\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", true); } // [B1, B2, B3, V6, V7]
4243test { try toUnicodeFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c"); } // [B1, B2, B3, V6, V7]
4244test { try toAsciiFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", false); } // [B1, B2, B3, V6, V7]
4245test { try toAsciiFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", true); } // [B1, B2, B3, V6, V7]
4246test { try toUnicodeFail("\xd9\x84SS\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c"); } // [B1, B2, B3, V6, V7]
4247test { try toAsciiFail("\xd9\x84SS\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", false); } // [B1, B2, B3, V6, V7]
4248test { try toAsciiFail("\xd9\x84SS\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", true); } // [B1, B2, B3, V6, V7]
4249test { try toUnicodeFail("\xd9\x84ss\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4250test { try toAsciiFail("\xd9\x84ss\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4251test { try toAsciiFail("\xd9\x84ss\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4252test { try toUnicodeFail("\xd9\x84ss\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c"); } // [B1, B2, B3, V6, V7]
4253test { try toAsciiFail("\xd9\x84ss\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", false); } // [B1, B2, B3, V6, V7]
4254test { try toAsciiFail("\xd9\x84ss\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", true); } // [B1, B2, B3, V6, V7]
4255test { try toUnicodeFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c"); } // [B1, B2, B3, V6, V7]
4256test { try toAsciiFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", false); } // [B1, B2, B3, V6, V7]
4257test { try toAsciiFail("\xd9\x84\xc3\x9f\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\x9c", true); } // [B1, B2, B3, V6, V7]
4258test { try toUnicodeFail("\xd9\x84SS\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4259test { try toAsciiFail("\xd9\x84SS\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4260test { try toAsciiFail("\xd9\x84SS\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4261test { try toUnicodeFail("\xd9\x84Ss\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4262test { try toAsciiFail("\xd9\x84Ss\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4263test { try toAsciiFail("\xd9\x84Ss\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4264test { try toUnicodeFail("\xd9\x84SS\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4265test { try toAsciiFail("\xd9\x84SS\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4266test { try toAsciiFail("\xd9\x84SS\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4267test { try toUnicodeFail("\xd9\x84Ss\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4268test { try toAsciiFail("\xd9\x84Ss\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4269test { try toAsciiFail("\xd9\x84Ss\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\x87\xbd\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4270test { try toUnicodeFail("\xd9\x84SS\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4271test { try toAsciiFail("\xd9\x84SS\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4272test { try toAsciiFail("\xd9\x84SS\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4273test { try toUnicodeFail("\xd9\x84Ss\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe"); } // [B1, B2, B3, V6, V7]
4274test { try toAsciiFail("\xd9\x84Ss\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", false); } // [B1, B2, B3, V6, V7]
4275test { try toAsciiFail("\xd9\x84Ss\xef\xbd\xa1\xf0\x90\x87\xbd\xe1\xa9\xa0\xf2\xbe\x85\xa2\xf0\x9e\xa4\xbe", true); } // [B1, B2, B3, V6, V7]
4276test { try toUnicodeFail("\xf0\x90\xb9\xbd\xf0\x91\x84\xb3\xf1\xbc\x9c\xb2.\xe1\xb7\x9f\xe1\x9e\xb8\xea\xa0\x86\xf0\x91\x9c\xab"); } // [B1, V6, V7]
4277test { try toAsciiFail("\xf0\x90\xb9\xbd\xf0\x91\x84\xb3\xf1\xbc\x9c\xb2.\xe1\xb7\x9f\xe1\x9e\xb8\xea\xa0\x86\xf0\x91\x9c\xab", false); } // [B1, V6, V7]
4278test { try toAsciiFail("\xf0\x90\xb9\xbd\xf0\x91\x84\xb3\xf1\xbc\x9c\xb2.\xe1\xb7\x9f\xe1\x9e\xb8\xea\xa0\x86\xf0\x91\x9c\xab", true); } // [B1, V6, V7]
4279test { try toUnicodeFail("xn--1o0di0c0652w.xn--33e362arr1l153d"); } // [B1, V6, V7]
4280test { try toAsciiFail("xn--1o0di0c0652w.xn--33e362arr1l153d", false); } // [B1, V6, V7]
4281test { try toAsciiFail("xn--1o0di0c0652w.xn--33e362arr1l153d", true); } // [B1, V6, V7]
4282test { try toUnicodeFail("\xe1\x82\xb3\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93\xef\xbc\x8e\xda\xa7\xf0\x91\xb0\xb6"); } // [V7]
4283test { try toAsciiFail("\xe1\x82\xb3\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93\xef\xbc\x8e\xda\xa7\xf0\x91\xb0\xb6", false); } // [V7]
4284test { try toAsciiFail("\xe1\x82\xb3\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93\xef\xbc\x8e\xda\xa7\xf0\x91\xb0\xb6", true); } // [V7]
4285test { try toUnicodeFail("\xe1\x82\xb3\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93.\xda\xa7\xf0\x91\xb0\xb6"); } // [V7]
4286test { try toAsciiFail("\xe1\x82\xb3\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93.\xda\xa7\xf0\x91\xb0\xb6", false); } // [V7]
4287test { try toAsciiFail("\xe1\x82\xb3\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93.\xda\xa7\xf0\x91\xb0\xb6", true); } // [V7]
4288test { try toUnicodeFail("\xe2\xb4\x93\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93.\xda\xa7\xf0\x91\xb0\xb6"); } // [V7]
4289test { try toAsciiFail("\xe2\xb4\x93\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93.\xda\xa7\xf0\x91\xb0\xb6", false); } // [V7]
4290test { try toAsciiFail("\xe2\xb4\x93\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93.\xda\xa7\xf0\x91\xb0\xb6", true); } // [V7]
4291test { try toUnicodeFail("xn--blj6306ey091d.xn--9jb4223l"); } // [V7]
4292test { try toAsciiFail("xn--blj6306ey091d.xn--9jb4223l", false); } // [V7]
4293test { try toAsciiFail("xn--blj6306ey091d.xn--9jb4223l", true); } // [V7]
4294test { try toUnicodeFail("xn--1ugy52cym7p7xu5e.xn--9jb4223l"); } // [V7]
4295test { try toAsciiFail("xn--1ugy52cym7p7xu5e.xn--9jb4223l", false); } // [V7]
4296test { try toAsciiFail("xn--1ugy52cym7p7xu5e.xn--9jb4223l", true); } // [V7]
4297test { try toUnicodeFail("\xe2\xb4\x93\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93\xef\xbc\x8e\xda\xa7\xf0\x91\xb0\xb6"); } // [V7]
4298test { try toAsciiFail("\xe2\xb4\x93\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93\xef\xbc\x8e\xda\xa7\xf0\x91\xb0\xb6", false); } // [V7]
4299test { try toAsciiFail("\xe2\xb4\x93\xf0\x91\x9c\xab\xe2\x80\x8d\xf2\x97\xad\x93\xef\xbc\x8e\xda\xa7\xf0\x91\xb0\xb6", true); } // [V7]
4300test { try toUnicodeFail("xn--rnd8945ky009c.xn--9jb4223l"); } // [V7]
4301test { try toAsciiFail("xn--rnd8945ky009c.xn--9jb4223l", false); } // [V7]
4302test { try toAsciiFail("xn--rnd8945ky009c.xn--9jb4223l", true); } // [V7]
4303test { try toUnicodeFail("xn--rnd479ep20q7x12e.xn--9jb4223l"); } // [V7]
4304test { try toAsciiFail("xn--rnd479ep20q7x12e.xn--9jb4223l", false); } // [V7]
4305test { try toAsciiFail("xn--rnd479ep20q7x12e.xn--9jb4223l", true); } // [V7]
4306test { try toUnicodeFail("\xf0\x90\xa8\xbf.\xf0\x9f\x84\x86\xe2\x80\x94"); } // [V6, U1]
4307test { try toAsciiFail("\xf0\x90\xa8\xbf.\xf0\x9f\x84\x86\xe2\x80\x94", false); } // [V6, U1]
4308test { try toAsciiFail("\xf0\x90\xa8\xbf.\xf0\x9f\x84\x86\xe2\x80\x94", true); } // [V6, U1]
4309test { try toUnicodeFail("\xf0\x90\xa8\xbf.5,\xe2\x80\x94"); } // [V6, U1]
4310test { try toAsciiFail("\xf0\x90\xa8\xbf.5,\xe2\x80\x94", false); } // [V6, U1]
4311test { try toAsciiFail("\xf0\x90\xa8\xbf.5,\xe2\x80\x94", true); } // [V6, U1]
4312test { try toUnicodeFail("xn--0s9c.xn--5,-81t"); } // [V6, U1]
4313test { try toAsciiFail("xn--0s9c.xn--5,-81t", false); } // [V6, U1]
4314test { try toAsciiFail("xn--0s9c.xn--5,-81t", true); } // [V6, U1]
4315test { try toUnicodeFail("xn--0s9c.xn--8ug8324p"); } // [V6, V7]
4316test { try toAsciiFail("xn--0s9c.xn--8ug8324p", false); } // [V6, V7]
4317test { try toAsciiFail("xn--0s9c.xn--8ug8324p", true); } // [V6, V7]
4318test { try toUnicodeFail("\xf2\x94\x8a\xb1\xf1\x81\xa6\xae\xdb\xb8\xe3\x80\x82\xf3\xa0\xbe\xad-"); } // [V3, V7]
4319test { try toAsciiFail("\xf2\x94\x8a\xb1\xf1\x81\xa6\xae\xdb\xb8\xe3\x80\x82\xf3\xa0\xbe\xad-", false); } // [V3, V7]
4320test { try toAsciiFail("\xf2\x94\x8a\xb1\xf1\x81\xa6\xae\xdb\xb8\xe3\x80\x82\xf3\xa0\xbe\xad-", true); } // [V3, V7]
4321test { try toUnicodeFail("xn--lmb18944c0g2z.xn----2k81m"); } // [V3, V7]
4322test { try toAsciiFail("xn--lmb18944c0g2z.xn----2k81m", false); } // [V3, V7]
4323test { try toAsciiFail("xn--lmb18944c0g2z.xn----2k81m", true); } // [V3, V7]
4324test { try toUnicodeFail("\xf0\xbc\x97\xb8\xdf\x8d\xf0\x90\xb9\xae\xe3\x80\x82\xdb\x9d\xe1\xa1\x8e\xe1\xa0\xb4"); } // [B1, B5, B6, V7]
4325test { try toAsciiFail("\xf0\xbc\x97\xb8\xdf\x8d\xf0\x90\xb9\xae\xe3\x80\x82\xdb\x9d\xe1\xa1\x8e\xe1\xa0\xb4", false); } // [B1, B5, B6, V7]
4326test { try toAsciiFail("\xf0\xbc\x97\xb8\xdf\x8d\xf0\x90\xb9\xae\xe3\x80\x82\xdb\x9d\xe1\xa1\x8e\xe1\xa0\xb4", true); } // [B1, B5, B6, V7]
4327test { try toUnicodeFail("xn--osb0855kcc2r.xn--tlb299fhc"); } // [B1, B5, B6, V7]
4328test { try toAsciiFail("xn--osb0855kcc2r.xn--tlb299fhc", false); } // [B1, B5, B6, V7]
4329test { try toAsciiFail("xn--osb0855kcc2r.xn--tlb299fhc", true); } // [B1, B5, B6, V7]
4330test { try toUnicodeFail("\xe2\x80\x8d\xe1\xa0\xae\xe1\x82\xbe\xf0\x9f\x84\x82.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c"); } // [B1, C1, C2, U1]
4331test { try toAsciiFail("\xe2\x80\x8d\xe1\xa0\xae\xe1\x82\xbe\xf0\x9f\x84\x82.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c", false); } // [B1, C1, C2, U1]
4332test { try toAsciiFail("\xe2\x80\x8d\xe1\xa0\xae\xe1\x82\xbe\xf0\x9f\x84\x82.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c", true); } // [B1, B6, U1]
4333test { try toUnicodeFail("\xe2\x80\x8d\xe1\xa0\xae\xe1\x82\xbe1,.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c"); } // [B1, C1, C2, U1]
4334test { try toAsciiFail("\xe2\x80\x8d\xe1\xa0\xae\xe1\x82\xbe1,.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c", false); } // [B1, C1, C2, U1]
4335test { try toAsciiFail("\xe2\x80\x8d\xe1\xa0\xae\xe1\x82\xbe1,.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c", true); } // [B1, B6, U1]
4336test { try toUnicodeFail("\xe2\x80\x8d\xe1\xa0\xae\xe2\xb4\x9e1,.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c"); } // [B1, C1, C2, U1]
4337test { try toAsciiFail("\xe2\x80\x8d\xe1\xa0\xae\xe2\xb4\x9e1,.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c", false); } // [B1, C1, C2, U1]
4338test { try toAsciiFail("\xe2\x80\x8d\xe1\xa0\xae\xe2\xb4\x9e1,.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c", true); } // [B1, B6, U1]
4339test { try toUnicodeFail("xn--1,-v3o625k.xn--zvb3124wpkpf"); } // [B1, B6, U1]
4340test { try toAsciiFail("xn--1,-v3o625k.xn--zvb3124wpkpf", false); } // [B1, B6, U1]
4341test { try toAsciiFail("xn--1,-v3o625k.xn--zvb3124wpkpf", true); } // [B1, B6, U1]
4342test { try toUnicodeFail("xn--1,-v3o161c53q.xn--zvb692j9664aic1g"); } // [B1, C1, C2, U1]
4343test { try toAsciiFail("xn--1,-v3o161c53q.xn--zvb692j9664aic1g", false); } // [B1, C1, C2, U1]
4344test { try toAsciiFail("xn--1,-v3o161c53q.xn--zvb692j9664aic1g", true); } // [B1, C1, C2, U1]
4345test { try toUnicodeFail("\xe2\x80\x8d\xe1\xa0\xae\xe2\xb4\x9e\xf0\x9f\x84\x82.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c"); } // [B1, C1, C2, U1]
4346test { try toAsciiFail("\xe2\x80\x8d\xe1\xa0\xae\xe2\xb4\x9e\xf0\x9f\x84\x82.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c", false); } // [B1, C1, C2, U1]
4347test { try toAsciiFail("\xe2\x80\x8d\xe1\xa0\xae\xe2\xb4\x9e\xf0\x9f\x84\x82.\xf0\x9f\x9a\x97\xe0\xa1\x81\xf0\xae\xb9\x8c\xe2\x80\x8c", true); } // [B1, B6, U1]
4348test { try toUnicodeFail("xn--1,-ogkx89c.xn--zvb3124wpkpf"); } // [B1, B6, V7, U1]
4349test { try toAsciiFail("xn--1,-ogkx89c.xn--zvb3124wpkpf", false); } // [B1, B6, V7, U1]
4350test { try toAsciiFail("xn--1,-ogkx89c.xn--zvb3124wpkpf", true); } // [B1, B6, V7, U1]
4351test { try toUnicodeFail("xn--1,-ogkx89c39j.xn--zvb692j9664aic1g"); } // [B1, C1, C2, V7, U1]
4352test { try toAsciiFail("xn--1,-ogkx89c39j.xn--zvb692j9664aic1g", false); } // [B1, C1, C2, V7, U1]
4353test { try toAsciiFail("xn--1,-ogkx89c39j.xn--zvb692j9664aic1g", true); } // [B1, C1, C2, V7, U1]
4354test { try toUnicodeFail("xn--h7e438h1p44a.xn--zvb3124wpkpf"); } // [B1, V7]
4355test { try toAsciiFail("xn--h7e438h1p44a.xn--zvb3124wpkpf", false); } // [B1, V7]
4356test { try toAsciiFail("xn--h7e438h1p44a.xn--zvb3124wpkpf", true); } // [B1, V7]
4357test { try toUnicodeFail("xn--h7e341b0wlbv45b.xn--zvb692j9664aic1g"); } // [B1, C1, C2, V7]
4358test { try toAsciiFail("xn--h7e341b0wlbv45b.xn--zvb692j9664aic1g", false); } // [B1, C1, C2, V7]
4359test { try toAsciiFail("xn--h7e341b0wlbv45b.xn--zvb692j9664aic1g", true); } // [B1, C1, C2, V7]
4360test { try toUnicodeFail("xn--2nd129ai554b.xn--zvb3124wpkpf"); } // [B1, V7]
4361test { try toAsciiFail("xn--2nd129ai554b.xn--zvb3124wpkpf", false); } // [B1, V7]
4362test { try toAsciiFail("xn--2nd129ai554b.xn--zvb3124wpkpf", true); } // [B1, V7]
4363test { try toUnicodeFail("xn--2nd129ay2gnw71c.xn--zvb692j9664aic1g"); } // [B1, C1, C2, V7]
4364test { try toAsciiFail("xn--2nd129ay2gnw71c.xn--zvb692j9664aic1g", false); } // [B1, C1, C2, V7]
4365test { try toAsciiFail("xn--2nd129ay2gnw71c.xn--zvb692j9664aic1g", true); } // [B1, C1, C2, V7]
4366test { try toUnicodeFail("\xd8\x81\xda\x97\xef\xbc\x8e\xf0\x91\x9a\xb6\xf1\xbc\xa1\xb7\xe2\xbe\x86"); } // [B1, V6, V7]
4367test { try toAsciiFail("\xd8\x81\xda\x97\xef\xbc\x8e\xf0\x91\x9a\xb6\xf1\xbc\xa1\xb7\xe2\xbe\x86", false); } // [B1, V6, V7]
4368test { try toAsciiFail("\xd8\x81\xda\x97\xef\xbc\x8e\xf0\x91\x9a\xb6\xf1\xbc\xa1\xb7\xe2\xbe\x86", true); } // [B1, V6, V7]
4369test { try toUnicodeFail("\xd8\x81\xda\x97.\xf0\x91\x9a\xb6\xf1\xbc\xa1\xb7\xe8\x88\x8c"); } // [B1, V6, V7]
4370test { try toAsciiFail("\xd8\x81\xda\x97.\xf0\x91\x9a\xb6\xf1\xbc\xa1\xb7\xe8\x88\x8c", false); } // [B1, V6, V7]
4371test { try toAsciiFail("\xd8\x81\xda\x97.\xf0\x91\x9a\xb6\xf1\xbc\xa1\xb7\xe8\x88\x8c", true); } // [B1, V6, V7]
4372test { try toUnicodeFail("xn--jfb41a.xn--tc1ap851axo39c"); } // [B1, V6, V7]
4373test { try toAsciiFail("xn--jfb41a.xn--tc1ap851axo39c", false); } // [B1, V6, V7]
4374test { try toAsciiFail("xn--jfb41a.xn--tc1ap851axo39c", true); } // [B1, V6, V7]
4375test { try toUnicodeFail("\xf0\x9f\x9e\x85\xf3\xa0\xb3\xa1\xf3\x9c\x8d\x99.\xf1\xb2\x96\xb7"); } // [V7]
4376test { try toAsciiFail("\xf0\x9f\x9e\x85\xf3\xa0\xb3\xa1\xf3\x9c\x8d\x99.\xf1\xb2\x96\xb7", false); } // [V7]
4377test { try toAsciiFail("\xf0\x9f\x9e\x85\xf3\xa0\xb3\xa1\xf3\x9c\x8d\x99.\xf1\xb2\x96\xb7", true); } // [V7]
4378test { try toUnicodeFail("xn--ie9hi1349bqdlb.xn--oj69a"); } // [V7]
4379test { try toAsciiFail("xn--ie9hi1349bqdlb.xn--oj69a", false); } // [V7]
4380test { try toAsciiFail("xn--ie9hi1349bqdlb.xn--oj69a", true); } // [V7]
4381test { try toUnicodeFail("\xe2\x83\xa7\xf1\xaf\xa1\x8e-\xf2\xab\xa3\x9d.4\xe1\x82\xa4\xe2\x80\x8c"); } // [C1, V6, V7]
4382test { try toAsciiFail("\xe2\x83\xa7\xf1\xaf\xa1\x8e-\xf2\xab\xa3\x9d.4\xe1\x82\xa4\xe2\x80\x8c", false); } // [C1, V6, V7]
4383test { try toAsciiFail("\xe2\x83\xa7\xf1\xaf\xa1\x8e-\xf2\xab\xa3\x9d.4\xe1\x82\xa4\xe2\x80\x8c", true); } // [V6, V7]
4384test { try toUnicodeFail("\xe2\x83\xa7\xf1\xaf\xa1\x8e-\xf2\xab\xa3\x9d.4\xe2\xb4\x84\xe2\x80\x8c"); } // [C1, V6, V7]
4385test { try toAsciiFail("\xe2\x83\xa7\xf1\xaf\xa1\x8e-\xf2\xab\xa3\x9d.4\xe2\xb4\x84\xe2\x80\x8c", false); } // [C1, V6, V7]
4386test { try toAsciiFail("\xe2\x83\xa7\xf1\xaf\xa1\x8e-\xf2\xab\xa3\x9d.4\xe2\xb4\x84\xe2\x80\x8c", true); } // [V6, V7]
4387test { try toUnicodeFail("xn----9snu5320fi76w.xn--4-ivs"); } // [V6, V7]
4388test { try toAsciiFail("xn----9snu5320fi76w.xn--4-ivs", false); } // [V6, V7]
4389test { try toAsciiFail("xn----9snu5320fi76w.xn--4-ivs", true); } // [V6, V7]
4390test { try toUnicodeFail("xn----9snu5320fi76w.xn--4-sgn589c"); } // [C1, V6, V7]
4391test { try toAsciiFail("xn----9snu5320fi76w.xn--4-sgn589c", false); } // [C1, V6, V7]
4392test { try toAsciiFail("xn----9snu5320fi76w.xn--4-sgn589c", true); } // [C1, V6, V7]
4393test { try toUnicodeFail("xn----9snu5320fi76w.xn--4-f0g"); } // [V6, V7]
4394test { try toAsciiFail("xn----9snu5320fi76w.xn--4-f0g", false); } // [V6, V7]
4395test { try toAsciiFail("xn----9snu5320fi76w.xn--4-f0g", true); } // [V6, V7]
4396test { try toUnicodeFail("xn----9snu5320fi76w.xn--4-f0g649i"); } // [C1, V6, V7]
4397test { try toAsciiFail("xn----9snu5320fi76w.xn--4-f0g649i", false); } // [C1, V6, V7]
4398test { try toAsciiFail("xn----9snu5320fi76w.xn--4-f0g649i", true); } // [C1, V6, V7]
4399test { try toUnicodePass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1"); }
4400test { try toAsciiPass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1", "xn--hwe.xn--zca4946pblnc", false); }
4401test { try toAsciiPass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4402test { try toUnicodePass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1"); }
4403test { try toAsciiPass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1", "xn--hwe.xn--zca4946pblnc", false); }
4404test { try toAsciiPass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4405test { try toUnicodePass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0SS\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1"); }
4406test { try toAsciiPass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0SS\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", false); }
4407test { try toAsciiPass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0SS\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4408test { try toUnicodePass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1"); }
4409test { try toAsciiPass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", false); }
4410test { try toAsciiPass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4411test { try toUnicodePass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0Ss\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1"); }
4412test { try toAsciiPass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0Ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", false); }
4413test { try toAsciiPass("\xe1\x9a\xad\xe3\x80\x82\xf0\x9d\x8c\xa0Ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4414test { try toUnicodePass("xn--hwe.xn--ss-ci1ub261a", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1"); }
4415test { try toAsciiPass("xn--hwe.xn--ss-ci1ub261a", "xn--hwe.xn--ss-ci1ub261a", false); }
4416test { try toAsciiPass("xn--hwe.xn--ss-ci1ub261a", "xn--hwe.xn--ss-ci1ub261a", true); }
4417test { try toUnicodePass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1"); }
4418test { try toAsciiPass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", false); }
4419test { try toAsciiPass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4420test { try toUnicodePass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0SS\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1"); }
4421test { try toAsciiPass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0SS\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", false); }
4422test { try toAsciiPass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0SS\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4423test { try toUnicodePass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0Ss\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1"); }
4424test { try toAsciiPass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0Ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", false); }
4425test { try toAsciiPass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0Ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4426test { try toUnicodePass("xn--hwe.xn--zca4946pblnc", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1"); }
4427test { try toAsciiPass("xn--hwe.xn--zca4946pblnc", "xn--hwe.xn--zca4946pblnc", false); }
4428test { try toAsciiPass("xn--hwe.xn--zca4946pblnc", "xn--hwe.xn--zca4946pblnc", true); }
4429test { try toUnicodePass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1"); }
4430test { try toAsciiPass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1", "xn--hwe.xn--zca4946pblnc", false); }
4431test { try toAsciiPass("\xe1\x9a\xad.\xf0\x9d\x8c\xa0\xc3\x9f\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4432test { try toUnicodePass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0SS\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1"); }
4433test { try toAsciiPass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0SS\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", false); }
4434test { try toAsciiPass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0SS\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4435test { try toUnicodePass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1"); }
4436test { try toAsciiPass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", false); }
4437test { try toAsciiPass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4438test { try toUnicodePass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0Ss\xf0\x96\xab\xb1", "\xe1\x9a\xad.\xf0\x9d\x8c\xa0ss\xf0\x96\xab\xb1"); }
4439test { try toAsciiPass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0Ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", false); }
4440test { try toAsciiPass("\xe1\x9a\xad\xef\xbd\xa1\xf0\x9d\x8c\xa0Ss\xf0\x96\xab\xb1", "xn--hwe.xn--ss-ci1ub261a", true); }
4441test { try toUnicodeFail("\xe2\x82\x81\xef\xbd\xa1\xf0\x9e\xa4\xab\xea\xa1\xaa"); } // [B1, B2, B3]
4442test { try toAsciiFail("\xe2\x82\x81\xef\xbd\xa1\xf0\x9e\xa4\xab\xea\xa1\xaa", false); } // [B1, B2, B3]
4443test { try toAsciiFail("\xe2\x82\x81\xef\xbd\xa1\xf0\x9e\xa4\xab\xea\xa1\xaa", true); } // [B1, B2, B3]
4444test { try toUnicodeFail("1\xe3\x80\x82\xf0\x9e\xa4\xab\xea\xa1\xaa"); } // [B1, B2, B3]
4445test { try toAsciiFail("1\xe3\x80\x82\xf0\x9e\xa4\xab\xea\xa1\xaa", false); } // [B1, B2, B3]
4446test { try toAsciiFail("1\xe3\x80\x82\xf0\x9e\xa4\xab\xea\xa1\xaa", true); } // [B1, B2, B3]
4447test { try toUnicodeFail("1\xe3\x80\x82\xf0\x9e\xa4\x89\xea\xa1\xaa"); } // [B1, B2, B3]
4448test { try toAsciiFail("1\xe3\x80\x82\xf0\x9e\xa4\x89\xea\xa1\xaa", false); } // [B1, B2, B3]
4449test { try toAsciiFail("1\xe3\x80\x82\xf0\x9e\xa4\x89\xea\xa1\xaa", true); } // [B1, B2, B3]
4450test { try toUnicodeFail("1.xn--gd9al691d"); } // [B1, B2, B3]
4451test { try toAsciiFail("1.xn--gd9al691d", false); } // [B1, B2, B3]
4452test { try toAsciiFail("1.xn--gd9al691d", true); } // [B1, B2, B3]
4453test { try toUnicodeFail("\xe2\x82\x81\xef\xbd\xa1\xf0\x9e\xa4\x89\xea\xa1\xaa"); } // [B1, B2, B3]
4454test { try toAsciiFail("\xe2\x82\x81\xef\xbd\xa1\xf0\x9e\xa4\x89\xea\xa1\xaa", false); } // [B1, B2, B3]
4455test { try toAsciiFail("\xe2\x82\x81\xef\xbd\xa1\xf0\x9e\xa4\x89\xea\xa1\xaa", true); } // [B1, B2, B3]
4456test { try toUnicodeFail("\xf0\xaf\xbb\xbc\xe2\x80\x8c.\xf0\x9e\xb6\x9e\xf2\xbb\x99\xa4\xf1\xa5\x98\x87"); } // [B2, B3, B6, C1, V7]
4457test { try toAsciiFail("\xf0\xaf\xbb\xbc\xe2\x80\x8c.\xf0\x9e\xb6\x9e\xf2\xbb\x99\xa4\xf1\xa5\x98\x87", false); } // [B2, B3, B6, C1, V7]
4458test { try toAsciiFail("\xf0\xaf\xbb\xbc\xe2\x80\x8c.\xf0\x9e\xb6\x9e\xf2\xbb\x99\xa4\xf1\xa5\x98\x87", true); } // [B2, B3, V7]
4459test { try toUnicodeFail("xn--kg4n.xn--2b7hs861pl540a"); } // [B2, B3, V7]
4460test { try toAsciiFail("xn--kg4n.xn--2b7hs861pl540a", false); } // [B2, B3, V7]
4461test { try toAsciiFail("xn--kg4n.xn--2b7hs861pl540a", true); } // [B2, B3, V7]
4462test { try toUnicodeFail("xn--0ug27500a.xn--2b7hs861pl540a"); } // [B2, B3, B6, C1, V7]
4463test { try toAsciiFail("xn--0ug27500a.xn--2b7hs861pl540a", false); } // [B2, B3, B6, C1, V7]
4464test { try toAsciiFail("xn--0ug27500a.xn--2b7hs861pl540a", true); } // [B2, B3, B6, C1, V7]
4465test { try toUnicodeFail("\xf0\x91\x91\x84\xe2\x89\xaf\xef\xbd\xa1\xf0\x91\x9c\xa4"); } // [V6]
4466test { try toAsciiFail("\xf0\x91\x91\x84\xe2\x89\xaf\xef\xbd\xa1\xf0\x91\x9c\xa4", false); } // [V6]
4467test { try toAsciiFail("\xf0\x91\x91\x84\xe2\x89\xaf\xef\xbd\xa1\xf0\x91\x9c\xa4", true); } // [V6]
4468test { try toUnicodeFail("\xf0\x91\x91\x84>\xcc\xb8\xef\xbd\xa1\xf0\x91\x9c\xa4"); } // [V6]
4469test { try toAsciiFail("\xf0\x91\x91\x84>\xcc\xb8\xef\xbd\xa1\xf0\x91\x9c\xa4", false); } // [V6]
4470test { try toAsciiFail("\xf0\x91\x91\x84>\xcc\xb8\xef\xbd\xa1\xf0\x91\x9c\xa4", true); } // [V6]
4471test { try toUnicodeFail("\xf0\x91\x91\x84\xe2\x89\xaf\xe3\x80\x82\xf0\x91\x9c\xa4"); } // [V6]
4472test { try toAsciiFail("\xf0\x91\x91\x84\xe2\x89\xaf\xe3\x80\x82\xf0\x91\x9c\xa4", false); } // [V6]
4473test { try toAsciiFail("\xf0\x91\x91\x84\xe2\x89\xaf\xe3\x80\x82\xf0\x91\x9c\xa4", true); } // [V6]
4474test { try toUnicodeFail("\xf0\x91\x91\x84>\xcc\xb8\xe3\x80\x82\xf0\x91\x9c\xa4"); } // [V6]
4475test { try toAsciiFail("\xf0\x91\x91\x84>\xcc\xb8\xe3\x80\x82\xf0\x91\x9c\xa4", false); } // [V6]
4476test { try toAsciiFail("\xf0\x91\x91\x84>\xcc\xb8\xe3\x80\x82\xf0\x91\x9c\xa4", true); } // [V6]
4477test { try toUnicodeFail("xn--hdh5636g.xn--ci2d"); } // [V6]
4478test { try toAsciiFail("xn--hdh5636g.xn--ci2d", false); } // [V6]
4479test { try toAsciiFail("xn--hdh5636g.xn--ci2d", true); } // [V6]
4480test { try toUnicodeFail("\xe1\x82\xab\xe2\x89\xae\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3"); } // [C2]
4481test { try toAsciiFail("\xe1\x82\xab\xe2\x89\xae\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3", false); } // [C2]
4482test { try toAsciiFail("\xe1\x82\xab\xe2\x89\xae\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3", true); } // [V6]
4483test { try toUnicodeFail("\xe1\x82\xab<\xcc\xb8\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3"); } // [C2]
4484test { try toAsciiFail("\xe1\x82\xab<\xcc\xb8\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3", false); } // [C2]
4485test { try toAsciiFail("\xe1\x82\xab<\xcc\xb8\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3", true); } // [V6]
4486test { try toUnicodeFail("\xe2\xb4\x8b<\xcc\xb8\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3"); } // [C2]
4487test { try toAsciiFail("\xe2\xb4\x8b<\xcc\xb8\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3", false); } // [C2]
4488test { try toAsciiFail("\xe2\xb4\x8b<\xcc\xb8\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3", true); } // [V6]
4489test { try toUnicodeFail("\xe2\xb4\x8b\xe2\x89\xae\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3"); } // [C2]
4490test { try toAsciiFail("\xe2\xb4\x8b\xe2\x89\xae\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3", false); } // [C2]
4491test { try toAsciiFail("\xe2\xb4\x8b\xe2\x89\xae\xf0\xb1\xb2\x86\xe3\x80\x82\xe2\x80\x8d\xde\xa7\xf0\x90\x8b\xa3", true); } // [V6]
4492test { try toUnicodeFail("xn--gdhz03bxt42d.xn--lrb6479j"); } // [V6]
4493test { try toAsciiFail("xn--gdhz03bxt42d.xn--lrb6479j", false); } // [V6]
4494test { try toAsciiFail("xn--gdhz03bxt42d.xn--lrb6479j", true); } // [V6]
4495test { try toUnicodeFail("xn--gdhz03bxt42d.xn--lrb506jqr4n"); } // [C2]
4496test { try toAsciiFail("xn--gdhz03bxt42d.xn--lrb506jqr4n", false); } // [C2]
4497test { try toAsciiFail("xn--gdhz03bxt42d.xn--lrb506jqr4n", true); } // [C2]
4498test { try toUnicodeFail("xn--jnd802gsm17c.xn--lrb6479j"); } // [V6, V7]
4499test { try toAsciiFail("xn--jnd802gsm17c.xn--lrb6479j", false); } // [V6, V7]
4500test { try toAsciiFail("xn--jnd802gsm17c.xn--lrb6479j", true); } // [V6, V7]
4501test { try toUnicodeFail("xn--jnd802gsm17c.xn--lrb506jqr4n"); } // [C2, V7]
4502test { try toAsciiFail("xn--jnd802gsm17c.xn--lrb506jqr4n", false); } // [C2, V7]
4503test { try toAsciiFail("xn--jnd802gsm17c.xn--lrb506jqr4n", true); } // [C2, V7]
4504test { try toUnicodeFail("\xe1\x9f\x92.\xf2\x86\xbd\x92\xe2\x89\xaf"); } // [V6, V7]
4505test { try toAsciiFail("\xe1\x9f\x92.\xf2\x86\xbd\x92\xe2\x89\xaf", false); } // [V6, V7]
4506test { try toAsciiFail("\xe1\x9f\x92.\xf2\x86\xbd\x92\xe2\x89\xaf", true); } // [V6, V7]
4507test { try toUnicodeFail("\xe1\x9f\x92.\xf2\x86\xbd\x92>\xcc\xb8"); } // [V6, V7]
4508test { try toAsciiFail("\xe1\x9f\x92.\xf2\x86\xbd\x92>\xcc\xb8", false); } // [V6, V7]
4509test { try toAsciiFail("\xe1\x9f\x92.\xf2\x86\xbd\x92>\xcc\xb8", true); } // [V6, V7]
4510test { try toUnicodeFail("xn--u4e.xn--hdhx0084f"); } // [V6, V7]
4511test { try toAsciiFail("xn--u4e.xn--hdhx0084f", false); } // [V6, V7]
4512test { try toAsciiFail("xn--u4e.xn--hdhx0084f", true); } // [V6, V7]
4513test { try toUnicodeFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xba\xc3\x89\xe2\xac\x93\xf0\x91\x84\xb4"); } // [V6, V7]
4514test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xba\xc3\x89\xe2\xac\x93\xf0\x91\x84\xb4", false); } // [V6, V7]
4515test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xba\xc3\x89\xe2\xac\x93\xf0\x91\x84\xb4", true); } // [V6, V7]
4516test { try toUnicodeFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xbaE\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4"); } // [V6, V7]
4517test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xbaE\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4", false); } // [V6, V7]
4518test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xbaE\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4", true); } // [V6, V7]
4519test { try toUnicodeFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xba\xc3\x89\xe2\xac\x93\xf0\x91\x84\xb4"); } // [V6, V7]
4520test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xba\xc3\x89\xe2\xac\x93\xf0\x91\x84\xb4", false); } // [V6, V7]
4521test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xba\xc3\x89\xe2\xac\x93\xf0\x91\x84\xb4", true); } // [V6, V7]
4522test { try toUnicodeFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xbaE\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4"); } // [V6, V7]
4523test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xbaE\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4", false); } // [V6, V7]
4524test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xbaE\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4", true); } // [V6, V7]
4525test { try toUnicodeFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xbae\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4"); } // [V6, V7]
4526test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xbae\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4", false); } // [V6, V7]
4527test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xbae\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4", true); } // [V6, V7]
4528test { try toUnicodeFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xba\xc3\xa9\xe2\xac\x93\xf0\x91\x84\xb4"); } // [V6, V7]
4529test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xba\xc3\xa9\xe2\xac\x93\xf0\x91\x84\xb4", false); } // [V6, V7]
4530test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4.\xf0\x90\xa8\xba\xc3\xa9\xe2\xac\x93\xf0\x91\x84\xb4", true); } // [V6, V7]
4531test { try toUnicodeFail("xn--c0e34564d.xn--9ca207st53lg3f"); } // [V6, V7]
4532test { try toAsciiFail("xn--c0e34564d.xn--9ca207st53lg3f", false); } // [V6, V7]
4533test { try toAsciiFail("xn--c0e34564d.xn--9ca207st53lg3f", true); } // [V6, V7]
4534test { try toUnicodeFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xbae\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4"); } // [V6, V7]
4535test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xbae\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4", false); } // [V6, V7]
4536test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xbae\xcc\x81\xe2\xac\x93\xf0\x91\x84\xb4", true); } // [V6, V7]
4537test { try toUnicodeFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xba\xc3\xa9\xe2\xac\x93\xf0\x91\x84\xb4"); } // [V6, V7]
4538test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xba\xc3\xa9\xe2\xac\x93\xf0\x91\x84\xb4", false); } // [V6, V7]
4539test { try toAsciiFail("\xf1\x8f\x81\x87\xe1\x9c\xb4\xef\xbc\x8e\xf0\x90\xa8\xba\xc3\xa9\xe2\xac\x93\xf0\x91\x84\xb4", true); } // [V6, V7]
4540test { try toUnicodeFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xef\xbd\xa1\xef\xb8\x92\xf0\x9e\xa4\xba"); } // [B1, B6, C2, V7]
4541test { try toAsciiFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xef\xbd\xa1\xef\xb8\x92\xf0\x9e\xa4\xba", false); } // [B1, B6, C2, V7]
4542test { try toAsciiFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xef\xbd\xa1\xef\xb8\x92\xf0\x9e\xa4\xba", true); } // [B1, V7]
4543test { try toUnicodeFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xe3\x80\x82\xe3\x80\x82\xf0\x9e\xa4\xba"); } // [B6, C2, X4_2]
4544test { try toAsciiFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xe3\x80\x82\xe3\x80\x82\xf0\x9e\xa4\xba", false); } // [B6, C2, A4_2]
4545test { try toAsciiFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xe3\x80\x82\xe3\x80\x82\xf0\x9e\xa4\xba", true); } // [A4_2]
4546test { try toUnicodeFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xe3\x80\x82\xe3\x80\x82\xf0\x9e\xa4\x98"); } // [B6, C2, X4_2]
4547test { try toAsciiFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xe3\x80\x82\xe3\x80\x82\xf0\x9e\xa4\x98", false); } // [B6, C2, A4_2]
4548test { try toAsciiFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xe3\x80\x82\xe3\x80\x82\xf0\x9e\xa4\x98", true); } // [A4_2]
4549test { try toAsciiFail("xn--09e4694e..xn--ye6h", false); } // [A4_2]
4550test { try toAsciiFail("xn--09e4694e..xn--ye6h", true); } // [A4_2]
4551test { try toUnicodeFail("xn--09e669a6x8j..xn--ye6h"); } // [B6, C2, X4_2]
4552test { try toAsciiFail("xn--09e669a6x8j..xn--ye6h", false); } // [B6, C2, A4_2]
4553test { try toAsciiFail("xn--09e669a6x8j..xn--ye6h", true); } // [B6, C2, A4_2]
4554test { try toUnicodeFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xef\xbd\xa1\xef\xb8\x92\xf0\x9e\xa4\x98"); } // [B1, B6, C2, V7]
4555test { try toAsciiFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xef\xbd\xa1\xef\xb8\x92\xf0\x9e\xa4\x98", false); } // [B1, B6, C2, V7]
4556test { try toAsciiFail("\xe1\xa2\x87\xe2\x80\x8d\xea\xa3\x84\xef\xbd\xa1\xef\xb8\x92\xf0\x9e\xa4\x98", true); } // [B1, V7]
4557test { try toUnicodeFail("xn--09e4694e.xn--y86cv562b"); } // [B1, V7]
4558test { try toAsciiFail("xn--09e4694e.xn--y86cv562b", false); } // [B1, V7]
4559test { try toAsciiFail("xn--09e4694e.xn--y86cv562b", true); } // [B1, V7]
4560test { try toUnicodeFail("xn--09e669a6x8j.xn--y86cv562b"); } // [B1, B6, C2, V7]
4561test { try toAsciiFail("xn--09e669a6x8j.xn--y86cv562b", false); } // [B1, B6, C2, V7]
4562test { try toAsciiFail("xn--09e669a6x8j.xn--y86cv562b", true); } // [B1, B6, C2, V7]
4563test { try toUnicodeFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xef\xbd\xa1\xd8\xb1\xde\xaa\xe2\x89\xae"); } // [B2, B3, V7]
4564test { try toAsciiFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xef\xbd\xa1\xd8\xb1\xde\xaa\xe2\x89\xae", false); } // [B2, B3, V7]
4565test { try toAsciiFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xef\xbd\xa1\xd8\xb1\xde\xaa\xe2\x89\xae", true); } // [B2, B3, V7]
4566test { try toUnicodeFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xef\xbd\xa1\xd8\xb1\xde\xaa<\xcc\xb8"); } // [B2, B3, V7]
4567test { try toAsciiFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xef\xbd\xa1\xd8\xb1\xde\xaa<\xcc\xb8", false); } // [B2, B3, V7]
4568test { try toAsciiFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xef\xbd\xa1\xd8\xb1\xde\xaa<\xcc\xb8", true); } // [B2, B3, V7]
4569test { try toUnicodeFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xe3\x80\x82\xd8\xb1\xde\xaa\xe2\x89\xae"); } // [B2, B3, V7]
4570test { try toAsciiFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xe3\x80\x82\xd8\xb1\xde\xaa\xe2\x89\xae", false); } // [B2, B3, V7]
4571test { try toAsciiFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xe3\x80\x82\xd8\xb1\xde\xaa\xe2\x89\xae", true); } // [B2, B3, V7]
4572test { try toUnicodeFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xe3\x80\x82\xd8\xb1\xde\xaa<\xcc\xb8"); } // [B2, B3, V7]
4573test { try toAsciiFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xe3\x80\x82\xd8\xb1\xde\xaa<\xcc\xb8", false); } // [B2, B3, V7]
4574test { try toAsciiFail("\xf0\x9e\xa9\xac\xf2\x96\x99\xb1\xe1\x9c\x94\xe2\x80\x8c\xe3\x80\x82\xd8\xb1\xde\xaa<\xcc\xb8", true); } // [B2, B3, V7]
4575test { try toUnicodeFail("xn--fze3930v7hz6b.xn--wgb86el10d"); } // [B2, B3, V7]
4576test { try toAsciiFail("xn--fze3930v7hz6b.xn--wgb86el10d", false); } // [B2, B3, V7]
4577test { try toAsciiFail("xn--fze3930v7hz6b.xn--wgb86el10d", true); } // [B2, B3, V7]
4578test { try toUnicodeFail("xn--fze607b9651bjwl7c.xn--wgb86el10d"); } // [B2, B3, V7]
4579test { try toAsciiFail("xn--fze607b9651bjwl7c.xn--wgb86el10d", false); } // [B2, B3, V7]
4580test { try toAsciiFail("xn--fze607b9651bjwl7c.xn--wgb86el10d", true); } // [B2, B3, V7]
4581test { try toUnicodeFail("\xe1\x83\x83\xef\xbc\x8e\xd9\x93\xe1\xa2\xa4"); } // [V6]
4582test { try toAsciiFail("\xe1\x83\x83\xef\xbc\x8e\xd9\x93\xe1\xa2\xa4", false); } // [V6]
4583test { try toAsciiFail("\xe1\x83\x83\xef\xbc\x8e\xd9\x93\xe1\xa2\xa4", true); } // [V6]
4584test { try toUnicodeFail("\xe1\x83\x83.\xd9\x93\xe1\xa2\xa4"); } // [V6]
4585test { try toAsciiFail("\xe1\x83\x83.\xd9\x93\xe1\xa2\xa4", false); } // [V6]
4586test { try toAsciiFail("\xe1\x83\x83.\xd9\x93\xe1\xa2\xa4", true); } // [V6]
4587test { try toUnicodeFail("\xe2\xb4\xa3.\xd9\x93\xe1\xa2\xa4"); } // [V6]
4588test { try toAsciiFail("\xe2\xb4\xa3.\xd9\x93\xe1\xa2\xa4", false); } // [V6]
4589test { try toAsciiFail("\xe2\xb4\xa3.\xd9\x93\xe1\xa2\xa4", true); } // [V6]
4590test { try toUnicodeFail("xn--rlj.xn--vhb294g"); } // [V6]
4591test { try toAsciiFail("xn--rlj.xn--vhb294g", false); } // [V6]
4592test { try toAsciiFail("xn--rlj.xn--vhb294g", true); } // [V6]
4593test { try toUnicodeFail("\xe2\xb4\xa3\xef\xbc\x8e\xd9\x93\xe1\xa2\xa4"); } // [V6]
4594test { try toAsciiFail("\xe2\xb4\xa3\xef\xbc\x8e\xd9\x93\xe1\xa2\xa4", false); } // [V6]
4595test { try toAsciiFail("\xe2\xb4\xa3\xef\xbc\x8e\xd9\x93\xe1\xa2\xa4", true); } // [V6]
4596test { try toUnicodeFail("xn--7nd.xn--vhb294g"); } // [V6, V7]
4597test { try toAsciiFail("xn--7nd.xn--vhb294g", false); } // [V6, V7]
4598test { try toAsciiFail("xn--7nd.xn--vhb294g", true); } // [V6, V7]
4599test { try toUnicodeFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xec\x8b\x89\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90"); } // [V7]
4600test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xec\x8b\x89\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90", false); } // [V7]
4601test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xec\x8b\x89\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90", true); } // [V7]
4602test { try toUnicodeFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90"); } // [V7]
4603test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90", false); } // [V7]
4604test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90", true); } // [V7]
4605test { try toUnicodeFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xec\x8b\x89\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90"); } // [V7]
4606test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xec\x8b\x89\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90", false); } // [V7]
4607test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xec\x8b\x89\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90", true); } // [V7]
4608test { try toUnicodeFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90"); } // [V7]
4609test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90", false); } // [V7]
4610test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe1\x83\x84\xf2\x82\xa1\x90", true); } // [V7]
4611test { try toUnicodeFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90"); } // [V7]
4612test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90", false); } // [V7]
4613test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90", true); } // [V7]
4614test { try toUnicodeFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xec\x8b\x89\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90"); } // [V7]
4615test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xec\x8b\x89\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90", false); } // [V7]
4616test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93.\xec\x8b\x89\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90", true); } // [V7]
4617test { try toUnicodeFail("xn--oub.xn--sljz109bpe25dviva"); } // [V7]
4618test { try toAsciiFail("xn--oub.xn--sljz109bpe25dviva", false); } // [V7]
4619test { try toAsciiFail("xn--oub.xn--sljz109bpe25dviva", true); } // [V7]
4620test { try toUnicodeFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90"); } // [V7]
4621test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90", false); } // [V7]
4622test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xb0\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90", true); } // [V7]
4623test { try toUnicodeFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xec\x8b\x89\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90"); } // [V7]
4624test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xec\x8b\x89\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90", false); } // [V7]
4625test { try toAsciiFail("\xf3\xa0\x84\x88\xe0\xa0\x93\xef\xbc\x8e\xec\x8b\x89\xf2\x84\x86\xbb\xe2\xb4\xa4\xf2\x82\xa1\x90", true); } // [V7]
4626test { try toUnicodeFail("xn--oub.xn--8nd9522gpe69cviva"); } // [V7]
4627test { try toAsciiFail("xn--oub.xn--8nd9522gpe69cviva", false); } // [V7]
4628test { try toAsciiFail("xn--oub.xn--8nd9522gpe69cviva", true); } // [V7]
4629test { try toUnicodeFail("\xea\xa8\xac\xf0\x91\xb2\xab\xe2\x89\xae\xef\xbc\x8e\xe2\xa4\x82"); } // [V6]
4630test { try toAsciiFail("\xea\xa8\xac\xf0\x91\xb2\xab\xe2\x89\xae\xef\xbc\x8e\xe2\xa4\x82", false); } // [V6]
4631test { try toAsciiFail("\xea\xa8\xac\xf0\x91\xb2\xab\xe2\x89\xae\xef\xbc\x8e\xe2\xa4\x82", true); } // [V6]
4632test { try toUnicodeFail("\xea\xa8\xac\xf0\x91\xb2\xab<\xcc\xb8\xef\xbc\x8e\xe2\xa4\x82"); } // [V6]
4633test { try toAsciiFail("\xea\xa8\xac\xf0\x91\xb2\xab<\xcc\xb8\xef\xbc\x8e\xe2\xa4\x82", false); } // [V6]
4634test { try toAsciiFail("\xea\xa8\xac\xf0\x91\xb2\xab<\xcc\xb8\xef\xbc\x8e\xe2\xa4\x82", true); } // [V6]
4635test { try toUnicodeFail("\xea\xa8\xac\xf0\x91\xb2\xab\xe2\x89\xae.\xe2\xa4\x82"); } // [V6]
4636test { try toAsciiFail("\xea\xa8\xac\xf0\x91\xb2\xab\xe2\x89\xae.\xe2\xa4\x82", false); } // [V6]
4637test { try toAsciiFail("\xea\xa8\xac\xf0\x91\xb2\xab\xe2\x89\xae.\xe2\xa4\x82", true); } // [V6]
4638test { try toUnicodeFail("\xea\xa8\xac\xf0\x91\xb2\xab<\xcc\xb8.\xe2\xa4\x82"); } // [V6]
4639test { try toAsciiFail("\xea\xa8\xac\xf0\x91\xb2\xab<\xcc\xb8.\xe2\xa4\x82", false); } // [V6]
4640test { try toAsciiFail("\xea\xa8\xac\xf0\x91\xb2\xab<\xcc\xb8.\xe2\xa4\x82", true); } // [V6]
4641test { try toUnicodeFail("xn--gdh1854cn19c.xn--kqi"); } // [V6]
4642test { try toAsciiFail("xn--gdh1854cn19c.xn--kqi", false); } // [V6]
4643test { try toAsciiFail("xn--gdh1854cn19c.xn--kqi", true); } // [V6]
4644test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82\xef\xbc\x8e\xe1\x82\xa3"); } // [B1, V7]
4645test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82\xef\xbc\x8e\xe1\x82\xa3", false); } // [B1, V7]
4646test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82\xef\xbc\x8e\xe1\x82\xa3", true); } // [B1, V7]
4647test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82\xef\xbc\x8e\xe1\x82\xa3"); } // [B1, V7]
4648test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82\xef\xbc\x8e\xe1\x82\xa3", false); } // [B1, V7]
4649test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82\xef\xbc\x8e\xe1\x82\xa3", true); } // [B1, V7]
4650test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82.\xe1\x82\xa3"); } // [B1, V7]
4651test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82.\xe1\x82\xa3", false); } // [B1, V7]
4652test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82.\xe1\x82\xa3", true); } // [B1, V7]
4653test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82.\xe1\x82\xa3"); } // [B1, V7]
4654test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82.\xe1\x82\xa3", false); } // [B1, V7]
4655test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82.\xe1\x82\xa3", true); } // [B1, V7]
4656test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe2\xb4\xa2.\xe2\xb4\x83"); } // [B1, V7]
4657test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe2\xb4\xa2.\xe2\xb4\x83", false); } // [B1, V7]
4658test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe2\xb4\xa2.\xe2\xb4\x83", true); } // [B1, V7]
4659test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe2\xb4\xa2.\xe2\xb4\x83"); } // [B1, V7]
4660test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe2\xb4\xa2.\xe2\xb4\x83", false); } // [B1, V7]
4661test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe2\xb4\xa2.\xe2\xb4\x83", true); } // [B1, V7]
4662test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82.\xe2\xb4\x83"); } // [B1, V7]
4663test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82.\xe2\xb4\x83", false); } // [B1, V7]
4664test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82.\xe2\xb4\x83", true); } // [B1, V7]
4665test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82.\xe2\xb4\x83"); } // [B1, V7]
4666test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82.\xe2\xb4\x83", false); } // [B1, V7]
4667test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82.\xe2\xb4\x83", true); } // [B1, V7]
4668test { try toUnicodeFail("xn--mfb266l4khr54u.xn--ukj"); } // [B1, V7]
4669test { try toAsciiFail("xn--mfb266l4khr54u.xn--ukj", false); } // [B1, V7]
4670test { try toAsciiFail("xn--mfb266l4khr54u.xn--ukj", true); } // [B1, V7]
4671test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe2\xb4\xa2\xef\xbc\x8e\xe2\xb4\x83"); } // [B1, V7]
4672test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe2\xb4\xa2\xef\xbc\x8e\xe2\xb4\x83", false); } // [B1, V7]
4673test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe2\xb4\xa2\xef\xbc\x8e\xe2\xb4\x83", true); } // [B1, V7]
4674test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe2\xb4\xa2\xef\xbc\x8e\xe2\xb4\x83"); } // [B1, V7]
4675test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe2\xb4\xa2\xef\xbc\x8e\xe2\xb4\x83", false); } // [B1, V7]
4676test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe2\xb4\xa2\xef\xbc\x8e\xe2\xb4\x83", true); } // [B1, V7]
4677test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82\xef\xbc\x8e\xe2\xb4\x83"); } // [B1, V7]
4678test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82\xef\xbc\x8e\xe2\xb4\x83", false); } // [B1, V7]
4679test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94\xe2\x89\xae\xe1\x83\x82\xef\xbc\x8e\xe2\xb4\x83", true); } // [B1, V7]
4680test { try toUnicodeFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82\xef\xbc\x8e\xe2\xb4\x83"); } // [B1, V7]
4681test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82\xef\xbc\x8e\xe2\xb4\x83", false); } // [B1, V7]
4682test { try toAsciiFail("\xd8\x84\xf0\x90\xa9\x94<\xcc\xb8\xe1\x83\x82\xef\xbc\x8e\xe2\xb4\x83", true); } // [B1, V7]
4683test { try toUnicodeFail("xn--mfb416c0jox02t.xn--ukj"); } // [B1, V7]
4684test { try toAsciiFail("xn--mfb416c0jox02t.xn--ukj", false); } // [B1, V7]
4685test { try toAsciiFail("xn--mfb416c0jox02t.xn--ukj", true); } // [B1, V7]
4686test { try toUnicodeFail("xn--mfb416c0jox02t.xn--bnd"); } // [B1, V7]
4687test { try toAsciiFail("xn--mfb416c0jox02t.xn--bnd", false); } // [B1, V7]
4688test { try toAsciiFail("xn--mfb416c0jox02t.xn--bnd", true); } // [B1, V7]
4689test { try toUnicodeFail("\xf0\x91\x81\x85\xe3\x80\x82-"); } // [V3, V6]
4690test { try toAsciiFail("\xf0\x91\x81\x85\xe3\x80\x82-", false); } // [V3, V6]
4691test { try toAsciiFail("\xf0\x91\x81\x85\xe3\x80\x82-", true); } // [V3, V6]
4692test { try toUnicodeFail("xn--210d.-"); } // [V3, V6]
4693test { try toAsciiFail("xn--210d.-", false); } // [V3, V6]
4694test { try toAsciiFail("xn--210d.-", true); } // [V3, V6]
4695test { try toUnicodeFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xef\xbd\xa1\xe9\xa5\x88\xe2\x89\xa0\xd9\xa4"); } // [B1, B5, B6, V6, V7]
4696test { try toAsciiFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xef\xbd\xa1\xe9\xa5\x88\xe2\x89\xa0\xd9\xa4", false); } // [B1, B5, B6, V6, V7]
4697test { try toAsciiFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xef\xbd\xa1\xe9\xa5\x88\xe2\x89\xa0\xd9\xa4", true); } // [B1, B5, B6, V6, V7]
4698test { try toUnicodeFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xef\xbd\xa1\xe9\xa5\x88=\xcc\xb8\xd9\xa4"); } // [B1, B5, B6, V6, V7]
4699test { try toAsciiFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xef\xbd\xa1\xe9\xa5\x88=\xcc\xb8\xd9\xa4", false); } // [B1, B5, B6, V6, V7]
4700test { try toAsciiFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xef\xbd\xa1\xe9\xa5\x88=\xcc\xb8\xd9\xa4", true); } // [B1, B5, B6, V6, V7]
4701test { try toUnicodeFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xe3\x80\x82\xe9\xa5\x88\xe2\x89\xa0\xd9\xa4"); } // [B1, B5, B6, V6, V7]
4702test { try toAsciiFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xe3\x80\x82\xe9\xa5\x88\xe2\x89\xa0\xd9\xa4", false); } // [B1, B5, B6, V6, V7]
4703test { try toAsciiFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xe3\x80\x82\xe9\xa5\x88\xe2\x89\xa0\xd9\xa4", true); } // [B1, B5, B6, V6, V7]
4704test { try toUnicodeFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xe3\x80\x82\xe9\xa5\x88=\xcc\xb8\xd9\xa4"); } // [B1, B5, B6, V6, V7]
4705test { try toAsciiFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xe3\x80\x82\xe9\xa5\x88=\xcc\xb8\xd9\xa4", false); } // [B1, B5, B6, V6, V7]
4706test { try toAsciiFail("\xe0\xb7\x8a\xf2\x95\xb8\xbd\xf3\xa0\xa7\xb1\xe3\x80\x82\xe9\xa5\x88=\xcc\xb8\xd9\xa4", true); } // [B1, B5, B6, V6, V7]
4707test { try toUnicodeFail("xn--h1c25913jfwov.xn--dib144ler5f"); } // [B1, B5, B6, V6, V7]
4708test { try toAsciiFail("xn--h1c25913jfwov.xn--dib144ler5f", false); } // [B1, B5, B6, V6, V7]
4709test { try toAsciiFail("xn--h1c25913jfwov.xn--dib144ler5f", true); } // [B1, B5, B6, V6, V7]
4710test { try toUnicodeFail("\xf0\x9e\xa5\x83\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4"); } // [B1, B2]
4711test { try toAsciiFail("\xf0\x9e\xa5\x83\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4", false); } // [B1, B2]
4712test { try toAsciiFail("\xf0\x9e\xa5\x83\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4", true); } // [B1, B2]
4713test { try toUnicodeFail("\xf0\x9e\xa5\x83\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4"); } // [B1, B2]
4714test { try toAsciiFail("\xf0\x9e\xa5\x83\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4", false); } // [B1, B2]
4715test { try toAsciiFail("\xf0\x9e\xa5\x83\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4", true); } // [B1, B2]
4716test { try toUnicodeFail("\xf0\x9e\xa5\x83\xe1\xa0\xa07\xe3\x80\x82\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4"); } // [B1, B2]
4717test { try toAsciiFail("\xf0\x9e\xa5\x83\xe1\xa0\xa07\xe3\x80\x82\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4", false); } // [B1, B2]
4718test { try toAsciiFail("\xf0\x9e\xa5\x83\xe1\xa0\xa07\xe3\x80\x82\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4", true); } // [B1, B2]
4719test { try toUnicodeFail("\xf0\x9e\xa5\x83\xe1\xa0\xa07\xe3\x80\x82>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4"); } // [B1, B2]
4720test { try toAsciiFail("\xf0\x9e\xa5\x83\xe1\xa0\xa07\xe3\x80\x82>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4", false); } // [B1, B2]
4721test { try toAsciiFail("\xf0\x9e\xa5\x83\xe1\xa0\xa07\xe3\x80\x82>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4", true); } // [B1, B2]
4722test { try toUnicodeFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa07\xe3\x80\x82>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4"); } // [B1, B2]
4723test { try toAsciiFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa07\xe3\x80\x82>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4", false); } // [B1, B2]
4724test { try toAsciiFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa07\xe3\x80\x82>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4", true); } // [B1, B2]
4725test { try toUnicodeFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa07\xe3\x80\x82\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4"); } // [B1, B2]
4726test { try toAsciiFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa07\xe3\x80\x82\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4", false); } // [B1, B2]
4727test { try toAsciiFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa07\xe3\x80\x82\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4", true); } // [B1, B2]
4728test { try toUnicodeFail("xn--7-v4j2826w.xn--4-ogoy01bou3i"); } // [B1, B2]
4729test { try toAsciiFail("xn--7-v4j2826w.xn--4-ogoy01bou3i", false); } // [B1, B2]
4730test { try toAsciiFail("xn--7-v4j2826w.xn--4-ogoy01bou3i", true); } // [B1, B2]
4731test { try toUnicodeFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4"); } // [B1, B2]
4732test { try toAsciiFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4", false); } // [B1, B2]
4733test { try toAsciiFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1>\xcc\xb8\xe9\x82\x85\xe2\xac\xbb4", true); } // [B1, B2]
4734test { try toUnicodeFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4"); } // [B1, B2]
4735test { try toAsciiFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4", false); } // [B1, B2]
4736test { try toAsciiFail("\xf0\x9e\xa4\xa1\xe1\xa0\xa0\xe2\x81\xb7\xef\xbd\xa1\xe2\x89\xaf\xe9\x82\x85\xe2\xac\xbb4", true); } // [B1, B2]
4737test { try toUnicodeFail("\xf2\xa0\xbf\xaf\xe1\xa1\xb3-\xf0\x91\x90\xbb.\xf0\x90\xb9\xb4\xf0\x90\x8b\xab\xd8\x85\xf3\x91\x8e\xb3"); } // [B1, B6, V7]
4738test { try toAsciiFail("\xf2\xa0\xbf\xaf\xe1\xa1\xb3-\xf0\x91\x90\xbb.\xf0\x90\xb9\xb4\xf0\x90\x8b\xab\xd8\x85\xf3\x91\x8e\xb3", false); } // [B1, B6, V7]
4739test { try toAsciiFail("\xf2\xa0\xbf\xaf\xe1\xa1\xb3-\xf0\x91\x90\xbb.\xf0\x90\xb9\xb4\xf0\x90\x8b\xab\xd8\x85\xf3\x91\x8e\xb3", true); } // [B1, B6, V7]
4740test { try toUnicodeFail("xn----m9j3429kxmy7e.xn--nfb7950kdihrp812a"); } // [B1, B6, V7]
4741test { try toAsciiFail("xn----m9j3429kxmy7e.xn--nfb7950kdihrp812a", false); } // [B1, B6, V7]
4742test { try toAsciiFail("xn----m9j3429kxmy7e.xn--nfb7950kdihrp812a", true); } // [B1, B6, V7]
4743test { try toUnicodeFail("\xf2\xa0\xb6\x86\xe0\xa1\x85\xe0\xa9\x91.\xeb\x84\xa8-\xf3\xb6\xa7\x88"); } // [B5, B6, V7]
4744test { try toAsciiFail("\xf2\xa0\xb6\x86\xe0\xa1\x85\xe0\xa9\x91.\xeb\x84\xa8-\xf3\xb6\xa7\x88", false); } // [B5, B6, V7]
4745test { try toAsciiFail("\xf2\xa0\xb6\x86\xe0\xa1\x85\xe0\xa9\x91.\xeb\x84\xa8-\xf3\xb6\xa7\x88", true); } // [B5, B6, V7]
4746test { try toUnicodeFail("\xf2\xa0\xb6\x86\xe0\xa1\x85\xe0\xa9\x91.\xe1\x84\x82\xe1\x85\xa6\xe1\x86\xab-\xf3\xb6\xa7\x88"); } // [B5, B6, V7]
4747test { try toAsciiFail("\xf2\xa0\xb6\x86\xe0\xa1\x85\xe0\xa9\x91.\xe1\x84\x82\xe1\x85\xa6\xe1\x86\xab-\xf3\xb6\xa7\x88", false); } // [B5, B6, V7]
4748test { try toAsciiFail("\xf2\xa0\xb6\x86\xe0\xa1\x85\xe0\xa9\x91.\xe1\x84\x82\xe1\x85\xa6\xe1\x86\xab-\xf3\xb6\xa7\x88", true); } // [B5, B6, V7]
4749test { try toUnicodeFail("xn--3vb26hb6834b.xn----i37ez0957g"); } // [B5, B6, V7]
4750test { try toAsciiFail("xn--3vb26hb6834b.xn----i37ez0957g", false); } // [B5, B6, V7]
4751test { try toAsciiFail("xn--3vb26hb6834b.xn----i37ez0957g", true); } // [B5, B6, V7]
4752test { try toUnicodeFail("\xea\xa1\xa6\xe1\xa1\x91\xe2\x80\x8d\xe2\x92\x88\xe3\x80\x82\xf0\x90\x8b\xa3-"); } // [C2, V3, V7]
4753test { try toAsciiFail("\xea\xa1\xa6\xe1\xa1\x91\xe2\x80\x8d\xe2\x92\x88\xe3\x80\x82\xf0\x90\x8b\xa3-", false); } // [C2, V3, V7]
4754test { try toAsciiFail("\xea\xa1\xa6\xe1\xa1\x91\xe2\x80\x8d\xe2\x92\x88\xe3\x80\x82\xf0\x90\x8b\xa3-", true); } // [V3, V7]
4755test { try toUnicodeFail("\xea\xa1\xa6\xe1\xa1\x91\xe2\x80\x8d1.\xe3\x80\x82\xf0\x90\x8b\xa3-"); } // [C2, V3, X4_2]
4756test { try toAsciiFail("\xea\xa1\xa6\xe1\xa1\x91\xe2\x80\x8d1.\xe3\x80\x82\xf0\x90\x8b\xa3-", false); } // [C2, V3, A4_2]
4757test { try toAsciiFail("\xea\xa1\xa6\xe1\xa1\x91\xe2\x80\x8d1.\xe3\x80\x82\xf0\x90\x8b\xa3-", true); } // [V3, A4_2]
4758test { try toUnicodeFail("xn--1-o7j0610f..xn----381i"); } // [V3, X4_2]
4759test { try toAsciiFail("xn--1-o7j0610f..xn----381i", false); } // [V3, A4_2]
4760test { try toAsciiFail("xn--1-o7j0610f..xn----381i", true); } // [V3, A4_2]
4761test { try toUnicodeFail("xn--1-o7j663bdl7m..xn----381i"); } // [C2, V3, X4_2]
4762test { try toAsciiFail("xn--1-o7j663bdl7m..xn----381i", false); } // [C2, V3, A4_2]
4763test { try toAsciiFail("xn--1-o7j663bdl7m..xn----381i", true); } // [C2, V3, A4_2]
4764test { try toUnicodeFail("xn--h8e863drj7h.xn----381i"); } // [V3, V7]
4765test { try toAsciiFail("xn--h8e863drj7h.xn----381i", false); } // [V3, V7]
4766test { try toAsciiFail("xn--h8e863drj7h.xn----381i", true); } // [V3, V7]
4767test { try toUnicodeFail("xn--h8e470bl0d838o.xn----381i"); } // [C2, V3, V7]
4768test { try toAsciiFail("xn--h8e470bl0d838o.xn----381i", false); } // [C2, V3, V7]
4769test { try toAsciiFail("xn--h8e470bl0d838o.xn----381i", true); } // [C2, V3, V7]
4770test { try toUnicodeFail("\xe1\x82\xac\xe3\x80\x82\xf4\x8d\xbc\xa0\xef\xad\xa9"); } // [B5, B6, V7]
4771test { try toAsciiFail("\xe1\x82\xac\xe3\x80\x82\xf4\x8d\xbc\xa0\xef\xad\xa9", false); } // [B5, B6, V7]
4772test { try toAsciiFail("\xe1\x82\xac\xe3\x80\x82\xf4\x8d\xbc\xa0\xef\xad\xa9", true); } // [B5, B6, V7]
4773test { try toUnicodeFail("\xe1\x82\xac\xe3\x80\x82\xf4\x8d\xbc\xa0\xd9\xb9"); } // [B5, B6, V7]
4774test { try toAsciiFail("\xe1\x82\xac\xe3\x80\x82\xf4\x8d\xbc\xa0\xd9\xb9", false); } // [B5, B6, V7]
4775test { try toAsciiFail("\xe1\x82\xac\xe3\x80\x82\xf4\x8d\xbc\xa0\xd9\xb9", true); } // [B5, B6, V7]
4776test { try toUnicodeFail("\xe2\xb4\x8c\xe3\x80\x82\xf4\x8d\xbc\xa0\xd9\xb9"); } // [B5, B6, V7]
4777test { try toAsciiFail("\xe2\xb4\x8c\xe3\x80\x82\xf4\x8d\xbc\xa0\xd9\xb9", false); } // [B5, B6, V7]
4778test { try toAsciiFail("\xe2\xb4\x8c\xe3\x80\x82\xf4\x8d\xbc\xa0\xd9\xb9", true); } // [B5, B6, V7]
4779test { try toUnicodeFail("xn--3kj.xn--yib19191t"); } // [B5, B6, V7]
4780test { try toAsciiFail("xn--3kj.xn--yib19191t", false); } // [B5, B6, V7]
4781test { try toAsciiFail("xn--3kj.xn--yib19191t", true); } // [B5, B6, V7]
4782test { try toUnicodeFail("\xe2\xb4\x8c\xe3\x80\x82\xf4\x8d\xbc\xa0\xef\xad\xa9"); } // [B5, B6, V7]
4783test { try toAsciiFail("\xe2\xb4\x8c\xe3\x80\x82\xf4\x8d\xbc\xa0\xef\xad\xa9", false); } // [B5, B6, V7]
4784test { try toAsciiFail("\xe2\xb4\x8c\xe3\x80\x82\xf4\x8d\xbc\xa0\xef\xad\xa9", true); } // [B5, B6, V7]
4785test { try toUnicodeFail("xn--knd.xn--yib19191t"); } // [B5, B6, V7]
4786test { try toAsciiFail("xn--knd.xn--yib19191t", false); } // [B5, B6, V7]
4787test { try toAsciiFail("xn--knd.xn--yib19191t", true); } // [B5, B6, V7]
4788test { try toUnicodeFail("\xf0\x90\xae\x81\xf0\x90\xad\xb1.\xe0\xbe\x84\xe1\x8d\x9e-\xe1\xb3\xba"); } // [B1, V6]
4789test { try toAsciiFail("\xf0\x90\xae\x81\xf0\x90\xad\xb1.\xe0\xbe\x84\xe1\x8d\x9e-\xe1\xb3\xba", false); } // [B1, V6]
4790test { try toAsciiFail("\xf0\x90\xae\x81\xf0\x90\xad\xb1.\xe0\xbe\x84\xe1\x8d\x9e-\xe1\xb3\xba", true); } // [B1, V6]
4791test { try toUnicodeFail("xn--r19c5a.xn----xjg270ag3m"); } // [B1, V6]
4792test { try toAsciiFail("xn--r19c5a.xn----xjg270ag3m", false); } // [B1, V6]
4793test { try toAsciiFail("xn--r19c5a.xn----xjg270ag3m", true); } // [B1, V6]
4794test { try toUnicodeFail("\xe2\x92\x88\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xec\x9b\x88"); } // [C2, V3, V7]
4795test { try toAsciiFail("\xe2\x92\x88\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xec\x9b\x88", false); } // [C2, V3, V7]
4796test { try toAsciiFail("\xe2\x92\x88\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xec\x9b\x88", true); } // [V3, V7]
4797test { try toUnicodeFail("\xe2\x92\x88\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xe1\x84\x8b\xe1\x85\xae\xe1\x86\xbf"); } // [C2, V3, V7]
4798test { try toAsciiFail("\xe2\x92\x88\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xe1\x84\x8b\xe1\x85\xae\xe1\x86\xbf", false); } // [C2, V3, V7]
4799test { try toAsciiFail("\xe2\x92\x88\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xe1\x84\x8b\xe1\x85\xae\xe1\x86\xbf", true); } // [V3, V7]
4800test { try toUnicodeFail("1.\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xec\x9b\x88"); } // [C2, V3]
4801test { try toAsciiFail("1.\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xec\x9b\x88", false); } // [C2, V3]
4802test { try toAsciiFail("1.\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xec\x9b\x88", true); } // [V3]
4803test { try toUnicodeFail("1.\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xe1\x84\x8b\xe1\x85\xae\xe1\x86\xbf"); } // [C2, V3]
4804test { try toAsciiFail("1.\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xe1\x84\x8b\xe1\x85\xae\xe1\x86\xbf", false); } // [C2, V3]
4805test { try toAsciiFail("1.\xe4\xb0\xb9\xe2\x80\x8d-\xe3\x80\x82\xe1\x84\x8b\xe1\x85\xae\xe1\x86\xbf", true); } // [V3]
4806test { try toUnicodeFail("1.xn----zw5a.xn--kp5b"); } // [V3]
4807test { try toAsciiFail("1.xn----zw5a.xn--kp5b", false); } // [V3]
4808test { try toAsciiFail("1.xn----zw5a.xn--kp5b", true); } // [V3]
4809test { try toUnicodeFail("1.xn----tgnz80r.xn--kp5b"); } // [C2, V3]
4810test { try toAsciiFail("1.xn----tgnz80r.xn--kp5b", false); } // [C2, V3]
4811test { try toAsciiFail("1.xn----tgnz80r.xn--kp5b", true); } // [C2, V3]
4812test { try toUnicodeFail("xn----dcp160o.xn--kp5b"); } // [V3, V7]
4813test { try toAsciiFail("xn----dcp160o.xn--kp5b", false); } // [V3, V7]
4814test { try toAsciiFail("xn----dcp160o.xn--kp5b", true); } // [V3, V7]
4815test { try toUnicodeFail("xn----tgnx5rjr6c.xn--kp5b"); } // [C2, V3, V7]
4816test { try toAsciiFail("xn----tgnx5rjr6c.xn--kp5b", false); } // [C2, V3, V7]
4817test { try toAsciiFail("xn----tgnx5rjr6c.xn--kp5b", true); } // [C2, V3, V7]
4818test { try toUnicodeFail("\xe3\x81\xa6\xe3\x80\x82\xe2\x80\x8c\xf3\xa0\xb3\xbd\xdf\xb3"); } // [C1, V7]
4819test { try toAsciiFail("\xe3\x81\xa6\xe3\x80\x82\xe2\x80\x8c\xf3\xa0\xb3\xbd\xdf\xb3", false); } // [C1, V7]
4820test { try toAsciiFail("\xe3\x81\xa6\xe3\x80\x82\xe2\x80\x8c\xf3\xa0\xb3\xbd\xdf\xb3", true); } // [V7]
4821test { try toUnicodeFail("xn--m9j.xn--rtb10784p"); } // [V7]
4822test { try toAsciiFail("xn--m9j.xn--rtb10784p", false); } // [V7]
4823test { try toAsciiFail("xn--m9j.xn--rtb10784p", true); } // [V7]
4824test { try toUnicodeFail("xn--m9j.xn--rtb154j9l73w"); } // [C1, V7]
4825test { try toAsciiFail("xn--m9j.xn--rtb154j9l73w", false); } // [C1, V7]
4826test { try toAsciiFail("xn--m9j.xn--rtb154j9l73w", true); } // [C1, V7]
4827test { try toUnicodeFail("\xcf\x82\xef\xbd\xa1\xea\xa7\x80\xdb\xa7"); } // [V6]
4828test { try toAsciiFail("\xcf\x82\xef\xbd\xa1\xea\xa7\x80\xdb\xa7", false); } // [V6]
4829test { try toAsciiFail("\xcf\x82\xef\xbd\xa1\xea\xa7\x80\xdb\xa7", true); } // [V6]
4830test { try toUnicodeFail("\xcf\x82\xe3\x80\x82\xea\xa7\x80\xdb\xa7"); } // [V6]
4831test { try toAsciiFail("\xcf\x82\xe3\x80\x82\xea\xa7\x80\xdb\xa7", false); } // [V6]
4832test { try toAsciiFail("\xcf\x82\xe3\x80\x82\xea\xa7\x80\xdb\xa7", true); } // [V6]
4833test { try toUnicodeFail("\xce\xa3\xe3\x80\x82\xea\xa7\x80\xdb\xa7"); } // [V6]
4834test { try toAsciiFail("\xce\xa3\xe3\x80\x82\xea\xa7\x80\xdb\xa7", false); } // [V6]
4835test { try toAsciiFail("\xce\xa3\xe3\x80\x82\xea\xa7\x80\xdb\xa7", true); } // [V6]
4836test { try toUnicodeFail("\xcf\x83\xe3\x80\x82\xea\xa7\x80\xdb\xa7"); } // [V6]
4837test { try toAsciiFail("\xcf\x83\xe3\x80\x82\xea\xa7\x80\xdb\xa7", false); } // [V6]
4838test { try toAsciiFail("\xcf\x83\xe3\x80\x82\xea\xa7\x80\xdb\xa7", true); } // [V6]
4839test { try toUnicodeFail("xn--4xa.xn--3lb1944f"); } // [V6]
4840test { try toAsciiFail("xn--4xa.xn--3lb1944f", false); } // [V6]
4841test { try toAsciiFail("xn--4xa.xn--3lb1944f", true); } // [V6]
4842test { try toUnicodeFail("xn--3xa.xn--3lb1944f"); } // [V6]
4843test { try toAsciiFail("xn--3xa.xn--3lb1944f", false); } // [V6]
4844test { try toAsciiFail("xn--3xa.xn--3lb1944f", true); } // [V6]
4845test { try toUnicodeFail("\xce\xa3\xef\xbd\xa1\xea\xa7\x80\xdb\xa7"); } // [V6]
4846test { try toAsciiFail("\xce\xa3\xef\xbd\xa1\xea\xa7\x80\xdb\xa7", false); } // [V6]
4847test { try toAsciiFail("\xce\xa3\xef\xbd\xa1\xea\xa7\x80\xdb\xa7", true); } // [V6]
4848test { try toUnicodeFail("\xcf\x83\xef\xbd\xa1\xea\xa7\x80\xdb\xa7"); } // [V6]
4849test { try toAsciiFail("\xcf\x83\xef\xbd\xa1\xea\xa7\x80\xdb\xa7", false); } // [V6]
4850test { try toAsciiFail("\xcf\x83\xef\xbd\xa1\xea\xa7\x80\xdb\xa7", true); } // [V6]
4851test { try toUnicodeFail("\xe0\xaf\x8d\xf3\xa5\xab\x85\xf2\x8c\x89\x91.\xe1\x82\xa2\xe1\x82\xb5"); } // [V6, V7]
4852test { try toAsciiFail("\xe0\xaf\x8d\xf3\xa5\xab\x85\xf2\x8c\x89\x91.\xe1\x82\xa2\xe1\x82\xb5", false); } // [V6, V7]
4853test { try toAsciiFail("\xe0\xaf\x8d\xf3\xa5\xab\x85\xf2\x8c\x89\x91.\xe1\x82\xa2\xe1\x82\xb5", true); } // [V6, V7]
4854test { try toUnicodeFail("\xe0\xaf\x8d\xf3\xa5\xab\x85\xf2\x8c\x89\x91.\xe2\xb4\x82\xe2\xb4\x95"); } // [V6, V7]
4855test { try toAsciiFail("\xe0\xaf\x8d\xf3\xa5\xab\x85\xf2\x8c\x89\x91.\xe2\xb4\x82\xe2\xb4\x95", false); } // [V6, V7]
4856test { try toAsciiFail("\xe0\xaf\x8d\xf3\xa5\xab\x85\xf2\x8c\x89\x91.\xe2\xb4\x82\xe2\xb4\x95", true); } // [V6, V7]
4857test { try toUnicodeFail("\xe0\xaf\x8d\xf3\xa5\xab\x85\xf2\x8c\x89\x91.\xe1\x82\xa2\xe2\xb4\x95"); } // [V6, V7]
4858test { try toAsciiFail("\xe0\xaf\x8d\xf3\xa5\xab\x85\xf2\x8c\x89\x91.\xe1\x82\xa2\xe2\xb4\x95", false); } // [V6, V7]
4859test { try toAsciiFail("\xe0\xaf\x8d\xf3\xa5\xab\x85\xf2\x8c\x89\x91.\xe1\x82\xa2\xe2\xb4\x95", true); } // [V6, V7]
4860test { try toUnicodeFail("xn--xmc83135idcxza.xn--tkjwb"); } // [V6, V7]
4861test { try toAsciiFail("xn--xmc83135idcxza.xn--tkjwb", false); } // [V6, V7]
4862test { try toAsciiFail("xn--xmc83135idcxza.xn--tkjwb", true); } // [V6, V7]
4863test { try toUnicodeFail("xn--xmc83135idcxza.xn--9md086l"); } // [V6, V7]
4864test { try toAsciiFail("xn--xmc83135idcxza.xn--9md086l", false); } // [V6, V7]
4865test { try toAsciiFail("xn--xmc83135idcxza.xn--9md086l", true); } // [V6, V7]
4866test { try toUnicodeFail("xn--xmc83135idcxza.xn--9md2b"); } // [V6, V7]
4867test { try toAsciiFail("xn--xmc83135idcxza.xn--9md2b", false); } // [V6, V7]
4868test { try toAsciiFail("xn--xmc83135idcxza.xn--9md2b", true); } // [V6, V7]
4869test { try toUnicodeFail("\xe1\xb0\xb2\xf0\x9f\x84\x88\xe2\xbe\x9b\xd6\xa6\xef\xbc\x8e\xe2\x80\x8d\xf2\xaf\xa5\xa4\xdf\xbd"); } // [C2, V6, V7, U1]
4870test { try toAsciiFail("\xe1\xb0\xb2\xf0\x9f\x84\x88\xe2\xbe\x9b\xd6\xa6\xef\xbc\x8e\xe2\x80\x8d\xf2\xaf\xa5\xa4\xdf\xbd", false); } // [C2, V6, V7, U1]
4871test { try toAsciiFail("\xe1\xb0\xb2\xf0\x9f\x84\x88\xe2\xbe\x9b\xd6\xa6\xef\xbc\x8e\xe2\x80\x8d\xf2\xaf\xa5\xa4\xdf\xbd", true); } // [V6, V7, U1]
4872test { try toUnicodeFail("\xe1\xb0\xb27,\xe8\xb5\xb0\xd6\xa6.\xe2\x80\x8d\xf2\xaf\xa5\xa4\xdf\xbd"); } // [C2, V6, V7, U1]
4873test { try toAsciiFail("\xe1\xb0\xb27,\xe8\xb5\xb0\xd6\xa6.\xe2\x80\x8d\xf2\xaf\xa5\xa4\xdf\xbd", false); } // [C2, V6, V7, U1]
4874test { try toAsciiFail("\xe1\xb0\xb27,\xe8\xb5\xb0\xd6\xa6.\xe2\x80\x8d\xf2\xaf\xa5\xa4\xdf\xbd", true); } // [V6, V7, U1]
4875test { try toUnicodeFail("xn--7,-bid991urn3k.xn--1tb13454l"); } // [V6, V7, U1]
4876test { try toAsciiFail("xn--7,-bid991urn3k.xn--1tb13454l", false); } // [V6, V7, U1]
4877test { try toAsciiFail("xn--7,-bid991urn3k.xn--1tb13454l", true); } // [V6, V7, U1]
4878test { try toUnicodeFail("xn--7,-bid991urn3k.xn--1tb334j1197q"); } // [C2, V6, V7, U1]
4879test { try toAsciiFail("xn--7,-bid991urn3k.xn--1tb334j1197q", false); } // [C2, V6, V7, U1]
4880test { try toAsciiFail("xn--7,-bid991urn3k.xn--1tb334j1197q", true); } // [C2, V6, V7, U1]
4881test { try toUnicodeFail("xn--xcb756i493fwi5o.xn--1tb13454l"); } // [V6, V7]
4882test { try toAsciiFail("xn--xcb756i493fwi5o.xn--1tb13454l", false); } // [V6, V7]
4883test { try toAsciiFail("xn--xcb756i493fwi5o.xn--1tb13454l", true); } // [V6, V7]
4884test { try toUnicodeFail("xn--xcb756i493fwi5o.xn--1tb334j1197q"); } // [C2, V6, V7]
4885test { try toAsciiFail("xn--xcb756i493fwi5o.xn--1tb334j1197q", false); } // [C2, V6, V7]
4886test { try toAsciiFail("xn--xcb756i493fwi5o.xn--1tb334j1197q", true); } // [C2, V6, V7]
4887test { try toUnicodeFail("\xe1\xa2\x97\xef\xbd\xa1\xd3\x80\xf1\x9d\x84\xbb"); } // [V7]
4888test { try toAsciiFail("\xe1\xa2\x97\xef\xbd\xa1\xd3\x80\xf1\x9d\x84\xbb", false); } // [V7]
4889test { try toAsciiFail("\xe1\xa2\x97\xef\xbd\xa1\xd3\x80\xf1\x9d\x84\xbb", true); } // [V7]
4890test { try toUnicodeFail("\xe1\xa2\x97\xe3\x80\x82\xd3\x80\xf1\x9d\x84\xbb"); } // [V7]
4891test { try toAsciiFail("\xe1\xa2\x97\xe3\x80\x82\xd3\x80\xf1\x9d\x84\xbb", false); } // [V7]
4892test { try toAsciiFail("\xe1\xa2\x97\xe3\x80\x82\xd3\x80\xf1\x9d\x84\xbb", true); } // [V7]
4893test { try toUnicodeFail("\xe1\xa2\x97\xe3\x80\x82\xd3\x8f\xf1\x9d\x84\xbb"); } // [V7]
4894test { try toAsciiFail("\xe1\xa2\x97\xe3\x80\x82\xd3\x8f\xf1\x9d\x84\xbb", false); } // [V7]
4895test { try toAsciiFail("\xe1\xa2\x97\xe3\x80\x82\xd3\x8f\xf1\x9d\x84\xbb", true); } // [V7]
4896test { try toUnicodeFail("xn--hbf.xn--s5a83117e"); } // [V7]
4897test { try toAsciiFail("xn--hbf.xn--s5a83117e", false); } // [V7]
4898test { try toAsciiFail("xn--hbf.xn--s5a83117e", true); } // [V7]
4899test { try toUnicodeFail("\xe1\xa2\x97\xef\xbd\xa1\xd3\x8f\xf1\x9d\x84\xbb"); } // [V7]
4900test { try toAsciiFail("\xe1\xa2\x97\xef\xbd\xa1\xd3\x8f\xf1\x9d\x84\xbb", false); } // [V7]
4901test { try toAsciiFail("\xe1\xa2\x97\xef\xbd\xa1\xd3\x8f\xf1\x9d\x84\xbb", true); } // [V7]
4902test { try toUnicodeFail("xn--hbf.xn--d5a86117e"); } // [V7]
4903test { try toAsciiFail("xn--hbf.xn--d5a86117e", false); } // [V7]
4904test { try toAsciiFail("xn--hbf.xn--d5a86117e", true); } // [V7]
4905test { try toUnicodeFail("\xd9\xa8-\xe3\x80\x82\xf1\xa0\x8f\x87\xf0\x9f\x9d\x86\xe1\x84\xbe"); } // [B1, V3, V7]
4906test { try toAsciiFail("\xd9\xa8-\xe3\x80\x82\xf1\xa0\x8f\x87\xf0\x9f\x9d\x86\xe1\x84\xbe", false); } // [B1, V3, V7]
4907test { try toAsciiFail("\xd9\xa8-\xe3\x80\x82\xf1\xa0\x8f\x87\xf0\x9f\x9d\x86\xe1\x84\xbe", true); } // [B1, V3, V7]
4908test { try toUnicodeFail("xn----oqc.xn--qrd1699v327w"); } // [B1, V3, V7]
4909test { try toAsciiFail("xn----oqc.xn--qrd1699v327w", false); } // [B1, V3, V7]
4910test { try toAsciiFail("xn----oqc.xn--qrd1699v327w", true); } // [B1, V3, V7]
4911test { try toUnicodeFail("-\xf0\x90\x8b\xb7\xf0\x96\xbe\x91\xe3\x80\x82\xf3\xa0\x86\xac"); } // [V3]
4912test { try toAsciiFail("-\xf0\x90\x8b\xb7\xf0\x96\xbe\x91\xe3\x80\x82\xf3\xa0\x86\xac", false); } // [V3, A4_2]
4913test { try toAsciiFail("-\xf0\x90\x8b\xb7\xf0\x96\xbe\x91\xe3\x80\x82\xf3\xa0\x86\xac", true); } // [V3, A4_2]
4914test { try toUnicodeFail("xn----991iq40y."); } // [V3]
4915test { try toAsciiFail("xn----991iq40y.", false); } // [V3, A4_2]
4916test { try toAsciiFail("xn----991iq40y.", true); } // [V3, A4_2]
4917test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xb3\xf0\x9f\x90\xb4\xeb\xa9\x88.\xea\xaf\xad\xf1\x90\xa1\xbc"); } // [B1, C1, V6, V7]
4918test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xb3\xf0\x9f\x90\xb4\xeb\xa9\x88.\xea\xaf\xad\xf1\x90\xa1\xbc", false); } // [B1, C1, V6, V7]
4919test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xb3\xf0\x9f\x90\xb4\xeb\xa9\x88.\xea\xaf\xad\xf1\x90\xa1\xbc", true); } // [B1, V6, V7]
4920test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xb3\xf0\x9f\x90\xb4\xe1\x84\x86\xe1\x85\xa5\xe1\x86\xb7.\xea\xaf\xad\xf1\x90\xa1\xbc"); } // [B1, C1, V6, V7]
4921test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xb3\xf0\x9f\x90\xb4\xe1\x84\x86\xe1\x85\xa5\xe1\x86\xb7.\xea\xaf\xad\xf1\x90\xa1\xbc", false); } // [B1, C1, V6, V7]
4922test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xb3\xf0\x9f\x90\xb4\xe1\x84\x86\xe1\x85\xa5\xe1\x86\xb7.\xea\xaf\xad\xf1\x90\xa1\xbc", true); } // [B1, V6, V7]
4923test { try toUnicodeFail("xn--422b325mqb6i.xn--429a8682s"); } // [B1, V6, V7]
4924test { try toAsciiFail("xn--422b325mqb6i.xn--429a8682s", false); } // [B1, V6, V7]
4925test { try toAsciiFail("xn--422b325mqb6i.xn--429a8682s", true); } // [B1, V6, V7]
4926test { try toUnicodeFail("xn--0ug6681d406b7bwk.xn--429a8682s"); } // [B1, C1, V6, V7]
4927test { try toAsciiFail("xn--0ug6681d406b7bwk.xn--429a8682s", false); } // [B1, C1, V6, V7]
4928test { try toAsciiFail("xn--0ug6681d406b7bwk.xn--429a8682s", true); } // [B1, C1, V6, V7]
4929test { try toUnicodeFail("\xe2\x89\xae.\xdd\xa9\xd8\x83"); } // [B1, V7]
4930test { try toAsciiFail("\xe2\x89\xae.\xdd\xa9\xd8\x83", false); } // [B1, V7]
4931test { try toAsciiFail("\xe2\x89\xae.\xdd\xa9\xd8\x83", true); } // [B1, V7]
4932test { try toUnicodeFail("<\xcc\xb8.\xdd\xa9\xd8\x83"); } // [B1, V7]
4933test { try toAsciiFail("<\xcc\xb8.\xdd\xa9\xd8\x83", false); } // [B1, V7]
4934test { try toAsciiFail("<\xcc\xb8.\xdd\xa9\xd8\x83", true); } // [B1, V7]
4935test { try toUnicodeFail("xn--gdh.xn--lfb92e"); } // [B1, V7]
4936test { try toAsciiFail("xn--gdh.xn--lfb92e", false); } // [B1, V7]
4937test { try toAsciiFail("xn--gdh.xn--lfb92e", true); } // [B1, V7]
4938test { try toUnicodeFail("\xf0\x90\xb6\xad\xe2\xbe\x86\xef\xbd\xa1\xe2\x80\x8c\xf0\x91\x9a\xb6\xf2\x9f\xb1\x83\xf0\x9e\xb0\x98"); } // [B1, B2, B3, C1, V7]
4939test { try toAsciiFail("\xf0\x90\xb6\xad\xe2\xbe\x86\xef\xbd\xa1\xe2\x80\x8c\xf0\x91\x9a\xb6\xf2\x9f\xb1\x83\xf0\x9e\xb0\x98", false); } // [B1, B2, B3, C1, V7]
4940test { try toAsciiFail("\xf0\x90\xb6\xad\xe2\xbe\x86\xef\xbd\xa1\xe2\x80\x8c\xf0\x91\x9a\xb6\xf2\x9f\xb1\x83\xf0\x9e\xb0\x98", true); } // [B2, B3, B5, B6, V6, V7]
4941test { try toUnicodeFail("\xf0\x90\xb6\xad\xe8\x88\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x91\x9a\xb6\xf2\x9f\xb1\x83\xf0\x9e\xb0\x98"); } // [B1, B2, B3, C1, V7]
4942test { try toAsciiFail("\xf0\x90\xb6\xad\xe8\x88\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x91\x9a\xb6\xf2\x9f\xb1\x83\xf0\x9e\xb0\x98", false); } // [B1, B2, B3, C1, V7]
4943test { try toAsciiFail("\xf0\x90\xb6\xad\xe8\x88\x8c\xe3\x80\x82\xe2\x80\x8c\xf0\x91\x9a\xb6\xf2\x9f\xb1\x83\xf0\x9e\xb0\x98", true); } // [B2, B3, B5, B6, V6, V7]
4944test { try toUnicodeFail("xn--tc1ao37z.xn--6e2dw557azds2d"); } // [B2, B3, B5, B6, V6, V7]
4945test { try toAsciiFail("xn--tc1ao37z.xn--6e2dw557azds2d", false); } // [B2, B3, B5, B6, V6, V7]
4946test { try toAsciiFail("xn--tc1ao37z.xn--6e2dw557azds2d", true); } // [B2, B3, B5, B6, V6, V7]
4947test { try toUnicodeFail("xn--tc1ao37z.xn--0ugx728gi1nfwqz2e"); } // [B1, B2, B3, C1, V7]
4948test { try toAsciiFail("xn--tc1ao37z.xn--0ugx728gi1nfwqz2e", false); } // [B1, B2, B3, C1, V7]
4949test { try toAsciiFail("xn--tc1ao37z.xn--0ugx728gi1nfwqz2e", true); } // [B1, B2, B3, C1, V7]
4950test { try toUnicodeFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xcf\x82"); } // [B1, C1, V3]
4951test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xcf\x82", false); } // [B1, C1, V3]
4952test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xcf\x82", true); } // [B1, B6, V3]
4953test { try toUnicodeFail("\xe2\x80\x8c\xe1\x83\x80-.1\xcf\x82\xf0\x9e\xb4\xba\xcf\x82"); } // [B1, C1, V3]
4954test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.1\xcf\x82\xf0\x9e\xb4\xba\xcf\x82", false); } // [B1, C1, V3]
4955test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.1\xcf\x82\xf0\x9e\xb4\xba\xcf\x82", true); } // [B1, B6, V3]
4956test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\xa0-.1\xcf\x82\xf0\x9e\xb4\xba\xcf\x82"); } // [B1, C1, V3]
4957test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.1\xcf\x82\xf0\x9e\xb4\xba\xcf\x82", false); } // [B1, C1, V3]
4958test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.1\xcf\x82\xf0\x9e\xb4\xba\xcf\x82", true); } // [B1, B6, V3]
4959test { try toUnicodeFail("\xe2\x80\x8c\xe1\x83\x80-.1\xce\xa3\xf0\x9e\xb4\xba\xce\xa3"); } // [B1, C1, V3]
4960test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.1\xce\xa3\xf0\x9e\xb4\xba\xce\xa3", false); } // [B1, C1, V3]
4961test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.1\xce\xa3\xf0\x9e\xb4\xba\xce\xa3", true); } // [B1, B6, V3]
4962test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\xa0-.1\xcf\x83\xf0\x9e\xb4\xba\xcf\x83"); } // [B1, C1, V3]
4963test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.1\xcf\x83\xf0\x9e\xb4\xba\xcf\x83", false); } // [B1, C1, V3]
4964test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.1\xcf\x83\xf0\x9e\xb4\xba\xcf\x83", true); } // [B1, B6, V3]
4965test { try toUnicodeFail("\xe2\x80\x8c\xe1\x83\x80-.1\xcf\x83\xf0\x9e\xb4\xba\xce\xa3"); } // [B1, C1, V3]
4966test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.1\xcf\x83\xf0\x9e\xb4\xba\xce\xa3", false); } // [B1, C1, V3]
4967test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.1\xcf\x83\xf0\x9e\xb4\xba\xce\xa3", true); } // [B1, B6, V3]
4968test { try toUnicodeFail("xn----2ws.xn--1-0mba52321c"); } // [B1, B6, V3]
4969test { try toAsciiFail("xn----2ws.xn--1-0mba52321c", false); } // [B1, B6, V3]
4970test { try toAsciiFail("xn----2ws.xn--1-0mba52321c", true); } // [B1, B6, V3]
4971test { try toUnicodeFail("xn----rgn530d.xn--1-0mba52321c"); } // [B1, C1, V3]
4972test { try toAsciiFail("xn----rgn530d.xn--1-0mba52321c", false); } // [B1, C1, V3]
4973test { try toAsciiFail("xn----rgn530d.xn--1-0mba52321c", true); } // [B1, C1, V3]
4974test { try toUnicodeFail("\xe2\x80\x8c\xe1\x83\x80-.1\xcf\x82\xf0\x9e\xb4\xba\xce\xa3"); } // [B1, C1, V3]
4975test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.1\xcf\x82\xf0\x9e\xb4\xba\xce\xa3", false); } // [B1, C1, V3]
4976test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.1\xcf\x82\xf0\x9e\xb4\xba\xce\xa3", true); } // [B1, B6, V3]
4977test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\xa0-.1\xcf\x82\xf0\x9e\xb4\xba\xcf\x83"); } // [B1, C1, V3]
4978test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.1\xcf\x82\xf0\x9e\xb4\xba\xcf\x83", false); } // [B1, C1, V3]
4979test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.1\xcf\x82\xf0\x9e\xb4\xba\xcf\x83", true); } // [B1, B6, V3]
4980test { try toUnicodeFail("xn----rgn530d.xn--1-ymbd52321c"); } // [B1, C1, V3]
4981test { try toAsciiFail("xn----rgn530d.xn--1-ymbd52321c", false); } // [B1, C1, V3]
4982test { try toAsciiFail("xn----rgn530d.xn--1-ymbd52321c", true); } // [B1, C1, V3]
4983test { try toUnicodeFail("xn----rgn530d.xn--1-ymba92321c"); } // [B1, C1, V3]
4984test { try toAsciiFail("xn----rgn530d.xn--1-ymba92321c", false); } // [B1, C1, V3]
4985test { try toAsciiFail("xn----rgn530d.xn--1-ymba92321c", true); } // [B1, C1, V3]
4986test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\xa0-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xcf\x82"); } // [B1, C1, V3]
4987test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xcf\x82", false); } // [B1, C1, V3]
4988test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xcf\x82", true); } // [B1, B6, V3]
4989test { try toUnicodeFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xce\xa3\xf0\x9e\xb4\xba\xce\xa3"); } // [B1, C1, V3]
4990test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xce\xa3\xf0\x9e\xb4\xba\xce\xa3", false); } // [B1, C1, V3]
4991test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xce\xa3\xf0\x9e\xb4\xba\xce\xa3", true); } // [B1, B6, V3]
4992test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\xa0-.\xf0\x9d\x9f\xb7\xcf\x83\xf0\x9e\xb4\xba\xcf\x83"); } // [B1, C1, V3]
4993test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.\xf0\x9d\x9f\xb7\xcf\x83\xf0\x9e\xb4\xba\xcf\x83", false); } // [B1, C1, V3]
4994test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.\xf0\x9d\x9f\xb7\xcf\x83\xf0\x9e\xb4\xba\xcf\x83", true); } // [B1, B6, V3]
4995test { try toUnicodeFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xcf\x83\xf0\x9e\xb4\xba\xce\xa3"); } // [B1, C1, V3]
4996test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xcf\x83\xf0\x9e\xb4\xba\xce\xa3", false); } // [B1, C1, V3]
4997test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xcf\x83\xf0\x9e\xb4\xba\xce\xa3", true); } // [B1, B6, V3]
4998test { try toUnicodeFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xce\xa3"); } // [B1, C1, V3]
4999test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xce\xa3", false); } // [B1, C1, V3]
5000test { try toAsciiFail("\xe2\x80\x8c\xe1\x83\x80-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xce\xa3", true); } // [B1, B6, V3]
5001test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\xa0-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xcf\x83"); } // [B1, C1, V3]
5002test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xcf\x83", false); } // [B1, C1, V3]
5003test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\xa0-.\xf0\x9d\x9f\xb7\xcf\x82\xf0\x9e\xb4\xba\xcf\x83", true); } // [B1, B6, V3]
5004test { try toUnicodeFail("xn----z1g.xn--1-0mba52321c"); } // [B1, B6, V3, V7]
5005test { try toAsciiFail("xn----z1g.xn--1-0mba52321c", false); } // [B1, B6, V3, V7]
5006test { try toAsciiFail("xn----z1g.xn--1-0mba52321c", true); } // [B1, B6, V3, V7]
5007test { try toUnicodeFail("xn----z1g168i.xn--1-0mba52321c"); } // [B1, C1, V3, V7]
5008test { try toAsciiFail("xn----z1g168i.xn--1-0mba52321c", false); } // [B1, C1, V3, V7]
5009test { try toAsciiFail("xn----z1g168i.xn--1-0mba52321c", true); } // [B1, C1, V3, V7]
5010test { try toUnicodeFail("xn----z1g168i.xn--1-ymbd52321c"); } // [B1, C1, V3, V7]
5011test { try toAsciiFail("xn----z1g168i.xn--1-ymbd52321c", false); } // [B1, C1, V3, V7]
5012test { try toAsciiFail("xn----z1g168i.xn--1-ymbd52321c", true); } // [B1, C1, V3, V7]
5013test { try toUnicodeFail("xn----z1g168i.xn--1-ymba92321c"); } // [B1, C1, V3, V7]
5014test { try toAsciiFail("xn----z1g168i.xn--1-ymba92321c", false); } // [B1, C1, V3, V7]
5015test { try toAsciiFail("xn----z1g168i.xn--1-ymba92321c", true); } // [B1, C1, V3, V7]
5016test { try toUnicodeFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xef\xbd\xa1\xf0\x9d\x9f\xaa\xe1\x82\xbc"); } // [V6]
5017test { try toAsciiFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xef\xbd\xa1\xf0\x9d\x9f\xaa\xe1\x82\xbc", false); } // [V6]
5018test { try toAsciiFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xef\xbd\xa1\xf0\x9d\x9f\xaa\xe1\x82\xbc", true); } // [V6]
5019test { try toUnicodeFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xe3\x80\x828\xe1\x82\xbc"); } // [V6]
5020test { try toAsciiFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xe3\x80\x828\xe1\x82\xbc", false); } // [V6]
5021test { try toAsciiFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xe3\x80\x828\xe1\x82\xbc", true); } // [V6]
5022test { try toUnicodeFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xe3\x80\x828\xe2\xb4\x9c"); } // [V6]
5023test { try toAsciiFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xe3\x80\x828\xe2\xb4\x9c", false); } // [V6]
5024test { try toAsciiFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xe3\x80\x828\xe2\xb4\x9c", true); } // [V6]
5025test { try toUnicodeFail("xn--7m3d291b.xn--8-vws"); } // [V6]
5026test { try toAsciiFail("xn--7m3d291b.xn--8-vws", false); } // [V6]
5027test { try toAsciiFail("xn--7m3d291b.xn--8-vws", true); } // [V6]
5028test { try toUnicodeFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xef\xbd\xa1\xf0\x9d\x9f\xaa\xe2\xb4\x9c"); } // [V6]
5029test { try toAsciiFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xef\xbd\xa1\xf0\x9d\x9f\xaa\xe2\xb4\x9c", false); } // [V6]
5030test { try toAsciiFail("\xf0\x91\xb2\x98\xf3\xa0\x84\x92\xf0\x93\x91\xa1\xef\xbd\xa1\xf0\x9d\x9f\xaa\xe2\xb4\x9c", true); } // [V6]
5031test { try toUnicodeFail("xn--7m3d291b.xn--8-s1g"); } // [V6, V7]
5032test { try toAsciiFail("xn--7m3d291b.xn--8-s1g", false); } // [V6, V7]
5033test { try toAsciiFail("xn--7m3d291b.xn--8-s1g", true); } // [V6, V7]
5034test { try toUnicodeFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xef\xbd\xa1\xeb\xad\x95\xe1\xa2\x9d\xe1\x9e\xb9"); } // [B5, B6]
5035test { try toAsciiFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xef\xbd\xa1\xeb\xad\x95\xe1\xa2\x9d\xe1\x9e\xb9", false); } // [B5, B6]
5036test { try toAsciiFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xef\xbd\xa1\xeb\xad\x95\xe1\xa2\x9d\xe1\x9e\xb9", true); } // [B5, B6]
5037test { try toUnicodeFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xef\xbd\xa1\xe1\x84\x86\xe1\x85\xaf\xe1\x86\xac\xe1\xa2\x9d\xe1\x9e\xb9"); } // [B5, B6]
5038test { try toAsciiFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xef\xbd\xa1\xe1\x84\x86\xe1\x85\xaf\xe1\x86\xac\xe1\xa2\x9d\xe1\x9e\xb9", false); } // [B5, B6]
5039test { try toAsciiFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xef\xbd\xa1\xe1\x84\x86\xe1\x85\xaf\xe1\x86\xac\xe1\xa2\x9d\xe1\x9e\xb9", true); } // [B5, B6]
5040test { try toUnicodeFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xe3\x80\x82\xeb\xad\x95\xe1\xa2\x9d\xe1\x9e\xb9"); } // [B5, B6]
5041test { try toAsciiFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xe3\x80\x82\xeb\xad\x95\xe1\xa2\x9d\xe1\x9e\xb9", false); } // [B5, B6]
5042test { try toAsciiFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xe3\x80\x82\xeb\xad\x95\xe1\xa2\x9d\xe1\x9e\xb9", true); } // [B5, B6]
5043test { try toUnicodeFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xe3\x80\x82\xe1\x84\x86\xe1\x85\xaf\xe1\x86\xac\xe1\xa2\x9d\xe1\x9e\xb9"); } // [B5, B6]
5044test { try toAsciiFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xe3\x80\x82\xe1\x84\x86\xe1\x85\xaf\xe1\x86\xac\xe1\xa2\x9d\xe1\x9e\xb9", false); } // [B5, B6]
5045test { try toAsciiFail("\xe4\xaa\x8f\xda\xab\xdf\xa0\xe0\xa5\x81\xe3\x80\x82\xe1\x84\x86\xe1\x85\xaf\xe1\x86\xac\xe1\xa2\x9d\xe1\x9e\xb9", true); } // [B5, B6]
5046test { try toUnicodeFail("xn--ekb23dj4at01n.xn--43e96bh910b"); } // [B5, B6]
5047test { try toAsciiFail("xn--ekb23dj4at01n.xn--43e96bh910b", false); } // [B5, B6]
5048test { try toAsciiFail("xn--ekb23dj4at01n.xn--43e96bh910b", true); } // [B5, B6]
5049test { try toUnicodeFail("\xe1\xae\xab\xef\xbd\xa1\xf0\x9f\x82\x89\xf3\xa0\x81\xb0"); } // [V6, V7]
5050test { try toAsciiFail("\xe1\xae\xab\xef\xbd\xa1\xf0\x9f\x82\x89\xf3\xa0\x81\xb0", false); } // [V6, V7]
5051test { try toAsciiFail("\xe1\xae\xab\xef\xbd\xa1\xf0\x9f\x82\x89\xf3\xa0\x81\xb0", true); } // [V6, V7]
5052test { try toUnicodeFail("\xe1\xae\xab\xe3\x80\x82\xf0\x9f\x82\x89\xf3\xa0\x81\xb0"); } // [V6, V7]
5053test { try toAsciiFail("\xe1\xae\xab\xe3\x80\x82\xf0\x9f\x82\x89\xf3\xa0\x81\xb0", false); } // [V6, V7]
5054test { try toAsciiFail("\xe1\xae\xab\xe3\x80\x82\xf0\x9f\x82\x89\xf3\xa0\x81\xb0", true); } // [V6, V7]
5055test { try toUnicodeFail("xn--zxf.xn--fx7ho0250c"); } // [V6, V7]
5056test { try toAsciiFail("xn--zxf.xn--fx7ho0250c", false); } // [V6, V7]
5057test { try toAsciiFail("xn--zxf.xn--fx7ho0250c", true); } // [V6, V7]
5058test { try toUnicodeFail("\xf3\xa9\x8e\x83\xe0\xab\x84\xe3\x80\x82\xcf\x82\xe2\x80\x8d\xf0\x90\xb9\xae\xf0\x91\x88\xb5"); } // [B5, C2, V7]
5059test { try toAsciiFail("\xf3\xa9\x8e\x83\xe0\xab\x84\xe3\x80\x82\xcf\x82\xe2\x80\x8d\xf0\x90\xb9\xae\xf0\x91\x88\xb5", false); } // [B5, C2, V7]
5060test { try toAsciiFail("\xf3\xa9\x8e\x83\xe0\xab\x84\xe3\x80\x82\xcf\x82\xe2\x80\x8d\xf0\x90\xb9\xae\xf0\x91\x88\xb5", true); } // [B5, V7]
5061test { try toUnicodeFail("\xf3\xa9\x8e\x83\xe0\xab\x84\xe3\x80\x82\xce\xa3\xe2\x80\x8d\xf0\x90\xb9\xae\xf0\x91\x88\xb5"); } // [B5, C2, V7]
5062test { try toAsciiFail("\xf3\xa9\x8e\x83\xe0\xab\x84\xe3\x80\x82\xce\xa3\xe2\x80\x8d\xf0\x90\xb9\xae\xf0\x91\x88\xb5", false); } // [B5, C2, V7]
5063test { try toAsciiFail("\xf3\xa9\x8e\x83\xe0\xab\x84\xe3\x80\x82\xce\xa3\xe2\x80\x8d\xf0\x90\xb9\xae\xf0\x91\x88\xb5", true); } // [B5, V7]
5064test { try toUnicodeFail("\xf3\xa9\x8e\x83\xe0\xab\x84\xe3\x80\x82\xcf\x83\xe2\x80\x8d\xf0\x90\xb9\xae\xf0\x91\x88\xb5"); } // [B5, C2, V7]
5065test { try toAsciiFail("\xf3\xa9\x8e\x83\xe0\xab\x84\xe3\x80\x82\xcf\x83\xe2\x80\x8d\xf0\x90\xb9\xae\xf0\x91\x88\xb5", false); } // [B5, C2, V7]
5066test { try toAsciiFail("\xf3\xa9\x8e\x83\xe0\xab\x84\xe3\x80\x82\xcf\x83\xe2\x80\x8d\xf0\x90\xb9\xae\xf0\x91\x88\xb5", true); } // [B5, V7]
5067test { try toUnicodeFail("xn--dfc53161q.xn--4xa8467k5mc"); } // [B5, V7]
5068test { try toAsciiFail("xn--dfc53161q.xn--4xa8467k5mc", false); } // [B5, V7]
5069test { try toAsciiFail("xn--dfc53161q.xn--4xa8467k5mc", true); } // [B5, V7]
5070test { try toUnicodeFail("xn--dfc53161q.xn--4xa895lzo7nsfd"); } // [B5, C2, V7]
5071test { try toAsciiFail("xn--dfc53161q.xn--4xa895lzo7nsfd", false); } // [B5, C2, V7]
5072test { try toAsciiFail("xn--dfc53161q.xn--4xa895lzo7nsfd", true); } // [B5, C2, V7]
5073test { try toUnicodeFail("xn--dfc53161q.xn--3xa006lzo7nsfd"); } // [B5, C2, V7]
5074test { try toAsciiFail("xn--dfc53161q.xn--3xa006lzo7nsfd", false); } // [B5, C2, V7]
5075test { try toAsciiFail("xn--dfc53161q.xn--3xa006lzo7nsfd", true); } // [B5, C2, V7]
5076test { try toUnicodeFail("\xf0\x90\xab\x80\xe1\xa1\x82\xf0\x91\x9c\xab\xef\xbc\x8e\xf0\x91\x98\xbf"); } // [B1, B2, B3, V6]
5077test { try toAsciiFail("\xf0\x90\xab\x80\xe1\xa1\x82\xf0\x91\x9c\xab\xef\xbc\x8e\xf0\x91\x98\xbf", false); } // [B1, B2, B3, V6]
5078test { try toAsciiFail("\xf0\x90\xab\x80\xe1\xa1\x82\xf0\x91\x9c\xab\xef\xbc\x8e\xf0\x91\x98\xbf", true); } // [B1, B2, B3, V6]
5079test { try toUnicodeFail("\xf0\x90\xab\x80\xe1\xa1\x82\xf0\x91\x9c\xab.\xf0\x91\x98\xbf"); } // [B1, B2, B3, V6]
5080test { try toAsciiFail("\xf0\x90\xab\x80\xe1\xa1\x82\xf0\x91\x9c\xab.\xf0\x91\x98\xbf", false); } // [B1, B2, B3, V6]
5081test { try toAsciiFail("\xf0\x90\xab\x80\xe1\xa1\x82\xf0\x91\x9c\xab.\xf0\x91\x98\xbf", true); } // [B1, B2, B3, V6]
5082test { try toUnicodeFail("xn--17e9625js1h.xn--sb2d"); } // [B1, B2, B3, V6]
5083test { try toAsciiFail("xn--17e9625js1h.xn--sb2d", false); } // [B1, B2, B3, V6]
5084test { try toAsciiFail("xn--17e9625js1h.xn--sb2d", true); } // [B1, B2, B3, V6]
5085test { try toUnicodeFail("\xf3\xac\x9a\xb6\xf3\xb8\x8b\x96\xf2\x96\xa9\xb0-\xe3\x80\x82\xe2\x80\x8c"); } // [C1, V3, V7]
5086test { try toAsciiFail("\xf3\xac\x9a\xb6\xf3\xb8\x8b\x96\xf2\x96\xa9\xb0-\xe3\x80\x82\xe2\x80\x8c", false); } // [C1, V3, V7]
5087test { try toAsciiFail("\xf3\xac\x9a\xb6\xf3\xb8\x8b\x96\xf2\x96\xa9\xb0-\xe3\x80\x82\xe2\x80\x8c", true); } // [V3, V7, A4_2]
5088test { try toUnicodeFail("xn----7i12hu122k9ire."); } // [V3, V7]
5089test { try toAsciiFail("xn----7i12hu122k9ire.", false); } // [V3, V7, A4_2]
5090test { try toAsciiFail("xn----7i12hu122k9ire.", true); } // [V3, V7, A4_2]
5091test { try toUnicodeFail("xn----7i12hu122k9ire.xn--0ug"); } // [C1, V3, V7]
5092test { try toAsciiFail("xn----7i12hu122k9ire.xn--0ug", false); } // [C1, V3, V7]
5093test { try toAsciiFail("xn----7i12hu122k9ire.xn--0ug", true); } // [C1, V3, V7]
5094test { try toUnicodeFail("\xf0\x90\xb9\xa3\xef\xbc\x8e\xdf\x82"); } // [B1]
5095test { try toAsciiFail("\xf0\x90\xb9\xa3\xef\xbc\x8e\xdf\x82", false); } // [B1]
5096test { try toAsciiFail("\xf0\x90\xb9\xa3\xef\xbc\x8e\xdf\x82", true); } // [B1]
5097test { try toUnicodeFail("\xf0\x90\xb9\xa3.\xdf\x82"); } // [B1]
5098test { try toAsciiFail("\xf0\x90\xb9\xa3.\xdf\x82", false); } // [B1]
5099test { try toAsciiFail("\xf0\x90\xb9\xa3.\xdf\x82", true); } // [B1]
5100test { try toUnicodeFail("xn--bo0d.xn--dsb"); } // [B1]
5101test { try toAsciiFail("xn--bo0d.xn--dsb", false); } // [B1]
5102test { try toAsciiFail("xn--bo0d.xn--dsb", true); } // [B1]
5103test { try toUnicodeFail("-\xdf\xa1\xef\xbd\xa1\xe2\x86\x83"); } // [B1, V3]
5104test { try toAsciiFail("-\xdf\xa1\xef\xbd\xa1\xe2\x86\x83", false); } // [B1, V3]
5105test { try toAsciiFail("-\xdf\xa1\xef\xbd\xa1\xe2\x86\x83", true); } // [B1, V3]
5106test { try toUnicodeFail("-\xdf\xa1\xe3\x80\x82\xe2\x86\x83"); } // [B1, V3]
5107test { try toAsciiFail("-\xdf\xa1\xe3\x80\x82\xe2\x86\x83", false); } // [B1, V3]
5108test { try toAsciiFail("-\xdf\xa1\xe3\x80\x82\xe2\x86\x83", true); } // [B1, V3]
5109test { try toUnicodeFail("-\xdf\xa1\xe3\x80\x82\xe2\x86\x84"); } // [B1, V3]
5110test { try toAsciiFail("-\xdf\xa1\xe3\x80\x82\xe2\x86\x84", false); } // [B1, V3]
5111test { try toAsciiFail("-\xdf\xa1\xe3\x80\x82\xe2\x86\x84", true); } // [B1, V3]
5112test { try toUnicodeFail("xn----8cd.xn--r5g"); } // [B1, V3]
5113test { try toAsciiFail("xn----8cd.xn--r5g", false); } // [B1, V3]
5114test { try toAsciiFail("xn----8cd.xn--r5g", true); } // [B1, V3]
5115test { try toUnicodeFail("-\xdf\xa1\xef\xbd\xa1\xe2\x86\x84"); } // [B1, V3]
5116test { try toAsciiFail("-\xdf\xa1\xef\xbd\xa1\xe2\x86\x84", false); } // [B1, V3]
5117test { try toAsciiFail("-\xdf\xa1\xef\xbd\xa1\xe2\x86\x84", true); } // [B1, V3]
5118test { try toUnicodeFail("xn----8cd.xn--q5g"); } // [B1, V3, V7]
5119test { try toAsciiFail("xn----8cd.xn--q5g", false); } // [B1, V3, V7]
5120test { try toAsciiFail("xn----8cd.xn--q5g", true); } // [B1, V3, V7]
5121test { try toUnicodeFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82\xc3\x9f\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf"); } // [B1, B5, B6, C1, C2, V7]
5122test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82\xc3\x9f\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", false); } // [B1, B5, B6, C1, C2, V7]
5123test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82\xc3\x9f\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", true); } // [B1, B5, B6, V3, V7]
5124test { try toUnicodeFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82\xc3\x9f\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf"); } // [B1, B5, B6, C1, C2, V3, X4_2]
5125test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82\xc3\x9f\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", false); } // [B1, B5, B6, C1, C2, V3, A4_2]
5126test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82\xc3\x9f\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", true); } // [B1, B5, B6, V3, A4_2]
5127test { try toUnicodeFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f"); } // [B1, B5, B6, C1, C2, V3, X4_2]
5128test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f", false); } // [B1, B5, B6, C1, C2, V3, A4_2]
5129test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f", true); } // [B1, B5, B6, V3, A4_2]
5130test { try toUnicodeFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf"); } // [B1, B5, B6, C1, C2, V3, X4_2]
5131test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", false); } // [B1, B5, B6, C1, C2, V3, A4_2]
5132test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", true); } // [B1, B5, B6, V3, A4_2]
5133test { try toUnicodeFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f"); } // [B1, B5, B6, C1, C2, V3, X4_2]
5134test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f", false); } // [B1, B5, B6, C1, C2, V3, A4_2]
5135test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f", true); } // [B1, B5, B6, V3, A4_2]
5136test { try toUnicodeFail("-..xn--ss-h46c5711e"); } // [B1, B5, B6, V3, X4_2]
5137test { try toAsciiFail("-..xn--ss-h46c5711e", false); } // [B1, B5, B6, V3, A4_2]
5138test { try toAsciiFail("-..xn--ss-h46c5711e", true); } // [B1, B5, B6, V3, A4_2]
5139test { try toUnicodeFail("xn----tgn..xn--ss-k1ts75zb8ym"); } // [B1, B5, B6, C1, C2, V3, X4_2]
5140test { try toAsciiFail("xn----tgn..xn--ss-k1ts75zb8ym", false); } // [B1, B5, B6, C1, C2, V3, A4_2]
5141test { try toAsciiFail("xn----tgn..xn--ss-k1ts75zb8ym", true); } // [B1, B5, B6, C1, C2, V3, A4_2]
5142test { try toUnicodeFail("xn----tgn..xn--zca670n5f0binyk"); } // [B1, B5, B6, C1, C2, V3, X4_2]
5143test { try toAsciiFail("xn----tgn..xn--zca670n5f0binyk", false); } // [B1, B5, B6, C1, C2, V3, A4_2]
5144test { try toAsciiFail("xn----tgn..xn--zca670n5f0binyk", true); } // [B1, B5, B6, C1, C2, V3, A4_2]
5145test { try toUnicodeFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f"); } // [B1, B5, B6, C1, C2, V7]
5146test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f", false); } // [B1, B5, B6, C1, C2, V7]
5147test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f", true); } // [B1, B5, B6, V3, V7]
5148test { try toUnicodeFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf"); } // [B1, B5, B6, C1, C2, V7]
5149test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", false); } // [B1, B5, B6, C1, C2, V7]
5150test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", true); } // [B1, B5, B6, V3, V7]
5151test { try toUnicodeFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f"); } // [B1, B5, B6, C1, C2, V7]
5152test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f", false); } // [B1, B5, B6, C1, C2, V7]
5153test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\x9f", true); } // [B1, B5, B6, V3, V7]
5154test { try toUnicodeFail("xn----o89h.xn--ss-h46c5711e"); } // [B1, B5, B6, V3, V7]
5155test { try toAsciiFail("xn----o89h.xn--ss-h46c5711e", false); } // [B1, B5, B6, V3, V7]
5156test { try toAsciiFail("xn----o89h.xn--ss-h46c5711e", true); } // [B1, B5, B6, V3, V7]
5157test { try toUnicodeFail("xn----tgnt341h.xn--ss-k1ts75zb8ym"); } // [B1, B5, B6, C1, C2, V7]
5158test { try toAsciiFail("xn----tgnt341h.xn--ss-k1ts75zb8ym", false); } // [B1, B5, B6, C1, C2, V7]
5159test { try toAsciiFail("xn----tgnt341h.xn--ss-k1ts75zb8ym", true); } // [B1, B5, B6, C1, C2, V7]
5160test { try toUnicodeFail("xn----tgnt341h.xn--zca670n5f0binyk"); } // [B1, B5, B6, C1, C2, V7]
5161test { try toAsciiFail("xn----tgnt341h.xn--zca670n5f0binyk", false); } // [B1, B5, B6, C1, C2, V7]
5162test { try toAsciiFail("xn----tgnt341h.xn--zca670n5f0binyk", true); } // [B1, B5, B6, C1, C2, V7]
5163test { try toUnicodeFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf"); } // [B1, B5, B6, C1, C2, V3, X4_2]
5164test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", false); } // [B1, B5, B6, C1, C2, V3, A4_2]
5165test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", true); } // [B1, B5, B6, V3, A4_2]
5166test { try toUnicodeFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf"); } // [B1, B5, B6, C1, C2, V3, X4_2]
5167test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", false); } // [B1, B5, B6, C1, C2, V3, A4_2]
5168test { try toAsciiFail("\xe2\x80\x8d-\xe3\x80\x82\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", true); } // [B1, B5, B6, V3, A4_2]
5169test { try toUnicodeFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf"); } // [B1, B5, B6, C1, C2, V7]
5170test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", false); } // [B1, B5, B6, C1, C2, V7]
5171test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82SS\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", true); } // [B1, B5, B6, V3, V7]
5172test { try toUnicodeFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf"); } // [B1, B5, B6, C1, C2, V7]
5173test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", false); } // [B1, B5, B6, C1, C2, V7]
5174test { try toAsciiFail("\xe2\x80\x8d-\xef\xb8\x92\xf3\xa0\x84\x84\xe3\x80\x82Ss\xe5\x93\x91\xe2\x80\x8c\xf0\x90\xb5\xbf", true); } // [B1, B5, B6, V3, V7]
5175test { try toUnicodeFail("\xef\xb8\x92\xef\xbc\x8e\xef\xb8\xaf\xf0\x91\x91\x82"); } // [V6, V7]
5176test { try toAsciiFail("\xef\xb8\x92\xef\xbc\x8e\xef\xb8\xaf\xf0\x91\x91\x82", false); } // [V6, V7]
5177test { try toAsciiFail("\xef\xb8\x92\xef\xbc\x8e\xef\xb8\xaf\xf0\x91\x91\x82", true); } // [V6, V7]
5178test { try toUnicodeFail("\xef\xb8\x92\xef\xbc\x8e\xf0\x91\x91\x82\xef\xb8\xaf"); } // [V6, V7]
5179test { try toAsciiFail("\xef\xb8\x92\xef\xbc\x8e\xf0\x91\x91\x82\xef\xb8\xaf", false); } // [V6, V7]
5180test { try toAsciiFail("\xef\xb8\x92\xef\xbc\x8e\xf0\x91\x91\x82\xef\xb8\xaf", true); } // [V6, V7]
5181test { try toUnicodeFail("\xe3\x80\x82.\xf0\x91\x91\x82\xef\xb8\xaf"); } // [V6, X4_2]
5182test { try toAsciiFail("\xe3\x80\x82.\xf0\x91\x91\x82\xef\xb8\xaf", false); } // [V6, A4_2]
5183test { try toAsciiFail("\xe3\x80\x82.\xf0\x91\x91\x82\xef\xb8\xaf", true); } // [V6, A4_2]
5184test { try toUnicodeFail("..xn--s96cu30b"); } // [V6, X4_2]
5185test { try toAsciiFail("..xn--s96cu30b", false); } // [V6, A4_2]
5186test { try toAsciiFail("..xn--s96cu30b", true); } // [V6, A4_2]
5187test { try toUnicodeFail("xn--y86c.xn--s96cu30b"); } // [V6, V7]
5188test { try toAsciiFail("xn--y86c.xn--s96cu30b", false); } // [V6, V7]
5189test { try toAsciiFail("xn--y86c.xn--s96cu30b", true); } // [V6, V7]
5190test { try toUnicodeFail("\xea\xa4\xac\xe3\x80\x82\xe2\x80\x8d"); } // [C2, V6]
5191test { try toAsciiFail("\xea\xa4\xac\xe3\x80\x82\xe2\x80\x8d", false); } // [C2, V6]
5192test { try toAsciiFail("\xea\xa4\xac\xe3\x80\x82\xe2\x80\x8d", true); } // [V6, A4_2]
5193test { try toUnicodeFail("xn--zi9a."); } // [V6]
5194test { try toAsciiFail("xn--zi9a.", false); } // [V6, A4_2]
5195test { try toAsciiFail("xn--zi9a.", true); } // [V6, A4_2]
5196test { try toUnicodeFail("xn--zi9a.xn--1ug"); } // [C2, V6]
5197test { try toAsciiFail("xn--zi9a.xn--1ug", false); } // [C2, V6]
5198test { try toAsciiFail("xn--zi9a.xn--1ug", true); } // [C2, V6]
5199test { try toUnicodeFail("\xe2\x80\x8d\xf3\xa0\xb8\xa1\xef\xbd\xa1\xef\xb3\x97"); } // [B1, C2, V7]
5200test { try toAsciiFail("\xe2\x80\x8d\xf3\xa0\xb8\xa1\xef\xbd\xa1\xef\xb3\x97", false); } // [B1, C2, V7]
5201test { try toAsciiFail("\xe2\x80\x8d\xf3\xa0\xb8\xa1\xef\xbd\xa1\xef\xb3\x97", true); } // [B1, V7]
5202test { try toUnicodeFail("\xe2\x80\x8d\xf3\xa0\xb8\xa1\xe3\x80\x82\xd9\x87\xd8\xac"); } // [B1, C2, V7]
5203test { try toAsciiFail("\xe2\x80\x8d\xf3\xa0\xb8\xa1\xe3\x80\x82\xd9\x87\xd8\xac", false); } // [B1, C2, V7]
5204test { try toAsciiFail("\xe2\x80\x8d\xf3\xa0\xb8\xa1\xe3\x80\x82\xd9\x87\xd8\xac", true); } // [B1, V7]
5205test { try toUnicodeFail("xn--d356e.xn--rgb7c"); } // [B1, V7]
5206test { try toAsciiFail("xn--d356e.xn--rgb7c", false); } // [B1, V7]
5207test { try toAsciiFail("xn--d356e.xn--rgb7c", true); } // [B1, V7]
5208test { try toUnicodeFail("xn--1ug80651l.xn--rgb7c"); } // [B1, C2, V7]
5209test { try toAsciiFail("xn--1ug80651l.xn--rgb7c", false); } // [B1, C2, V7]
5210test { try toAsciiFail("xn--1ug80651l.xn--rgb7c", true); } // [B1, C2, V7]
5211test { try toUnicodeFail("-\xe1\x82\xa4\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xcf\x82"); } // [B1, V3, V6]
5212test { try toAsciiFail("-\xe1\x82\xa4\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xcf\x82", false); } // [B1, V3, V6]
5213test { try toAsciiFail("-\xe1\x82\xa4\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xcf\x82", true); } // [B1, V3, V6]
5214test { try toUnicodeFail("-\xe1\x82\xa40\xd9\xa3.\xf0\x91\x8d\xb4\xcf\x82"); } // [B1, V3, V6]
5215test { try toAsciiFail("-\xe1\x82\xa40\xd9\xa3.\xf0\x91\x8d\xb4\xcf\x82", false); } // [B1, V3, V6]
5216test { try toAsciiFail("-\xe1\x82\xa40\xd9\xa3.\xf0\x91\x8d\xb4\xcf\x82", true); } // [B1, V3, V6]
5217test { try toUnicodeFail("-\xe2\xb4\x840\xd9\xa3.\xf0\x91\x8d\xb4\xcf\x82"); } // [B1, V3, V6]
5218test { try toAsciiFail("-\xe2\xb4\x840\xd9\xa3.\xf0\x91\x8d\xb4\xcf\x82", false); } // [B1, V3, V6]
5219test { try toAsciiFail("-\xe2\xb4\x840\xd9\xa3.\xf0\x91\x8d\xb4\xcf\x82", true); } // [B1, V3, V6]
5220test { try toUnicodeFail("-\xe1\x82\xa40\xd9\xa3.\xf0\x91\x8d\xb4\xce\xa3"); } // [B1, V3, V6]
5221test { try toAsciiFail("-\xe1\x82\xa40\xd9\xa3.\xf0\x91\x8d\xb4\xce\xa3", false); } // [B1, V3, V6]
5222test { try toAsciiFail("-\xe1\x82\xa40\xd9\xa3.\xf0\x91\x8d\xb4\xce\xa3", true); } // [B1, V3, V6]
5223test { try toUnicodeFail("-\xe2\xb4\x840\xd9\xa3.\xf0\x91\x8d\xb4\xcf\x83"); } // [B1, V3, V6]
5224test { try toAsciiFail("-\xe2\xb4\x840\xd9\xa3.\xf0\x91\x8d\xb4\xcf\x83", false); } // [B1, V3, V6]
5225test { try toAsciiFail("-\xe2\xb4\x840\xd9\xa3.\xf0\x91\x8d\xb4\xcf\x83", true); } // [B1, V3, V6]
5226test { try toUnicodeFail("xn---0-iyd8660b.xn--4xa9120l"); } // [B1, V3, V6]
5227test { try toAsciiFail("xn---0-iyd8660b.xn--4xa9120l", false); } // [B1, V3, V6]
5228test { try toAsciiFail("xn---0-iyd8660b.xn--4xa9120l", true); } // [B1, V3, V6]
5229test { try toUnicodeFail("xn---0-iyd8660b.xn--3xa1220l"); } // [B1, V3, V6]
5230test { try toAsciiFail("xn---0-iyd8660b.xn--3xa1220l", false); } // [B1, V3, V6]
5231test { try toAsciiFail("xn---0-iyd8660b.xn--3xa1220l", true); } // [B1, V3, V6]
5232test { try toUnicodeFail("-\xe2\xb4\x84\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xcf\x82"); } // [B1, V3, V6]
5233test { try toAsciiFail("-\xe2\xb4\x84\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xcf\x82", false); } // [B1, V3, V6]
5234test { try toAsciiFail("-\xe2\xb4\x84\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xcf\x82", true); } // [B1, V3, V6]
5235test { try toUnicodeFail("-\xe1\x82\xa4\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xce\xa3"); } // [B1, V3, V6]
5236test { try toAsciiFail("-\xe1\x82\xa4\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xce\xa3", false); } // [B1, V3, V6]
5237test { try toAsciiFail("-\xe1\x82\xa4\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xce\xa3", true); } // [B1, V3, V6]
5238test { try toUnicodeFail("-\xe2\xb4\x84\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xcf\x83"); } // [B1, V3, V6]
5239test { try toAsciiFail("-\xe2\xb4\x84\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xcf\x83", false); } // [B1, V3, V6]
5240test { try toAsciiFail("-\xe2\xb4\x84\xf0\x9d\x9f\xa2\xd9\xa3\xef\xbc\x8e\xf0\x91\x8d\xb4\xcf\x83", true); } // [B1, V3, V6]
5241test { try toUnicodeFail("xn---0-iyd216h.xn--4xa9120l"); } // [B1, V3, V6, V7]
5242test { try toAsciiFail("xn---0-iyd216h.xn--4xa9120l", false); } // [B1, V3, V6, V7]
5243test { try toAsciiFail("xn---0-iyd216h.xn--4xa9120l", true); } // [B1, V3, V6, V7]
5244test { try toUnicodeFail("xn---0-iyd216h.xn--3xa1220l"); } // [B1, V3, V6, V7]
5245test { try toAsciiFail("xn---0-iyd216h.xn--3xa1220l", false); } // [B1, V3, V6, V7]
5246test { try toAsciiFail("xn---0-iyd216h.xn--3xa1220l", true); } // [B1, V3, V6, V7]
5247test { try toUnicodeFail("\xf3\xa6\x88\x84\xe3\x80\x82-"); } // [V3, V7]
5248test { try toAsciiFail("\xf3\xa6\x88\x84\xe3\x80\x82-", false); } // [V3, V7]
5249test { try toAsciiFail("\xf3\xa6\x88\x84\xe3\x80\x82-", true); } // [V3, V7]
5250test { try toUnicodeFail("xn--xm38e.-"); } // [V3, V7]
5251test { try toAsciiFail("xn--xm38e.-", false); } // [V3, V7]
5252test { try toAsciiFail("xn--xm38e.-", true); } // [V3, V7]
5253test { try toUnicodeFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f\xe2\x89\xaf"); } // [V7]
5254test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f\xe2\x89\xaf", false); } // [V7]
5255test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f\xe2\x89\xaf", true); } // [V7]
5256test { try toUnicodeFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f>\xcc\xb8"); } // [V7]
5257test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f>\xcc\xb8", false); } // [V7]
5258test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f>\xcc\xb8", true); } // [V7]
5259test { try toUnicodeFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f\xe2\x89\xaf"); } // [V7]
5260test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f\xe2\x89\xaf", false); } // [V7]
5261test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f\xe2\x89\xaf", true); } // [V7]
5262test { try toUnicodeFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f>\xcc\xb8"); } // [V7]
5263test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f>\xcc\xb8", false); } // [V7]
5264test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98\xc3\x9f>\xcc\xb8", true); } // [V7]
5265test { try toUnicodeFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98SS>\xcc\xb8"); } // [V7]
5266test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98SS>\xcc\xb8", false); } // [V7]
5267test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98SS>\xcc\xb8", true); } // [V7]
5268test { try toUnicodeFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98SS\xe2\x89\xaf"); } // [V7]
5269test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98SS\xe2\x89\xaf", false); } // [V7]
5270test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98SS\xe2\x89\xaf", true); } // [V7]
5271test { try toUnicodeFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98ss\xe2\x89\xaf"); } // [V7]
5272test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98ss\xe2\x89\xaf", false); } // [V7]
5273test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98ss\xe2\x89\xaf", true); } // [V7]
5274test { try toUnicodeFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98ss>\xcc\xb8"); } // [V7]
5275test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98ss>\xcc\xb8", false); } // [V7]
5276test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98ss>\xcc\xb8", true); } // [V7]
5277test { try toUnicodeFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98Ss>\xcc\xb8"); } // [V7]
5278test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98Ss>\xcc\xb8", false); } // [V7]
5279test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98Ss>\xcc\xb8", true); } // [V7]
5280test { try toUnicodeFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98Ss\xe2\x89\xaf"); } // [V7]
5281test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98Ss\xe2\x89\xaf", false); } // [V7]
5282test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae.\xf2\xb6\x88\xae\xe0\xbc\x98Ss\xe2\x89\xaf", true); } // [V7]
5283test { try toUnicodeFail("xn--pgh4639f.xn--ss-ifj426nle504a"); } // [V7]
5284test { try toAsciiFail("xn--pgh4639f.xn--ss-ifj426nle504a", false); } // [V7]
5285test { try toAsciiFail("xn--pgh4639f.xn--ss-ifj426nle504a", true); } // [V7]
5286test { try toUnicodeFail("xn--pgh4639f.xn--zca593eo6oc013y"); } // [V7]
5287test { try toAsciiFail("xn--pgh4639f.xn--zca593eo6oc013y", false); } // [V7]
5288test { try toAsciiFail("xn--pgh4639f.xn--zca593eo6oc013y", true); } // [V7]
5289test { try toUnicodeFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98SS>\xcc\xb8"); } // [V7]
5290test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98SS>\xcc\xb8", false); } // [V7]
5291test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98SS>\xcc\xb8", true); } // [V7]
5292test { try toUnicodeFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98SS\xe2\x89\xaf"); } // [V7]
5293test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98SS\xe2\x89\xaf", false); } // [V7]
5294test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98SS\xe2\x89\xaf", true); } // [V7]
5295test { try toUnicodeFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98ss\xe2\x89\xaf"); } // [V7]
5296test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98ss\xe2\x89\xaf", false); } // [V7]
5297test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98ss\xe2\x89\xaf", true); } // [V7]
5298test { try toUnicodeFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98ss>\xcc\xb8"); } // [V7]
5299test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98ss>\xcc\xb8", false); } // [V7]
5300test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98ss>\xcc\xb8", true); } // [V7]
5301test { try toUnicodeFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98Ss>\xcc\xb8"); } // [V7]
5302test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98Ss>\xcc\xb8", false); } // [V7]
5303test { try toAsciiFail("\xe2\x89\xbc\xcc\xb8\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98Ss>\xcc\xb8", true); } // [V7]
5304test { try toUnicodeFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98Ss\xe2\x89\xaf"); } // [V7]
5305test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98Ss\xe2\x89\xaf", false); } // [V7]
5306test { try toAsciiFail("\xe2\x8b\xa0\xf0\x90\x8b\xae\xef\xbc\x8e\xf2\xb6\x88\xae\xe0\xbc\x98Ss\xe2\x89\xaf", true); } // [V7]
5307test { try toUnicodeFail("1\xf0\x90\x8b\xb8\xd9\xa4\xef\xbd\xa1\xf3\xa0\xa2\xae\xef\xae\xa4\xf1\xb7\x9d\x8a"); } // [B1, V7]
5308test { try toAsciiFail("1\xf0\x90\x8b\xb8\xd9\xa4\xef\xbd\xa1\xf3\xa0\xa2\xae\xef\xae\xa4\xf1\xb7\x9d\x8a", false); } // [B1, V7]
5309test { try toAsciiFail("1\xf0\x90\x8b\xb8\xd9\xa4\xef\xbd\xa1\xf3\xa0\xa2\xae\xef\xae\xa4\xf1\xb7\x9d\x8a", true); } // [B1, V7]
5310test { try toUnicodeFail("1\xf0\x90\x8b\xb8\xd9\xa4\xe3\x80\x82\xf3\xa0\xa2\xae\xdb\x80\xf1\xb7\x9d\x8a"); } // [B1, V7]
5311test { try toAsciiFail("1\xf0\x90\x8b\xb8\xd9\xa4\xe3\x80\x82\xf3\xa0\xa2\xae\xdb\x80\xf1\xb7\x9d\x8a", false); } // [B1, V7]
5312test { try toAsciiFail("1\xf0\x90\x8b\xb8\xd9\xa4\xe3\x80\x82\xf3\xa0\xa2\xae\xdb\x80\xf1\xb7\x9d\x8a", true); } // [B1, V7]
5313test { try toUnicodeFail("1\xf0\x90\x8b\xb8\xd9\xa4\xe3\x80\x82\xf3\xa0\xa2\xae\xdb\x95\xd9\x94\xf1\xb7\x9d\x8a"); } // [B1, V7]
5314test { try toAsciiFail("1\xf0\x90\x8b\xb8\xd9\xa4\xe3\x80\x82\xf3\xa0\xa2\xae\xdb\x95\xd9\x94\xf1\xb7\x9d\x8a", false); } // [B1, V7]
5315test { try toAsciiFail("1\xf0\x90\x8b\xb8\xd9\xa4\xe3\x80\x82\xf3\xa0\xa2\xae\xdb\x95\xd9\x94\xf1\xb7\x9d\x8a", true); } // [B1, V7]
5316test { try toUnicodeFail("xn--1-hqc3905q.xn--zkb83268gqee4a"); } // [B1, V7]
5317test { try toAsciiFail("xn--1-hqc3905q.xn--zkb83268gqee4a", false); } // [B1, V7]
5318test { try toAsciiFail("xn--1-hqc3905q.xn--zkb83268gqee4a", true); } // [B1, V7]
5319test { try toUnicodeFail("\xe5\x84\xad-\xef\xbd\xa1\xf0\x90\xb9\xb4\xe1\x83\x82\xf1\xa5\xb3\xa0\xe2\x80\x8c"); } // [B1, B6, C1, V3, V7]
5320test { try toAsciiFail("\xe5\x84\xad-\xef\xbd\xa1\xf0\x90\xb9\xb4\xe1\x83\x82\xf1\xa5\xb3\xa0\xe2\x80\x8c", false); } // [B1, B6, C1, V3, V7]
5321test { try toAsciiFail("\xe5\x84\xad-\xef\xbd\xa1\xf0\x90\xb9\xb4\xe1\x83\x82\xf1\xa5\xb3\xa0\xe2\x80\x8c", true); } // [B1, B6, V3, V7]
5322test { try toUnicodeFail("\xe5\x84\xad-\xe3\x80\x82\xf0\x90\xb9\xb4\xe1\x83\x82\xf1\xa5\xb3\xa0\xe2\x80\x8c"); } // [B1, B6, C1, V3, V7]
5323test { try toAsciiFail("\xe5\x84\xad-\xe3\x80\x82\xf0\x90\xb9\xb4\xe1\x83\x82\xf1\xa5\xb3\xa0\xe2\x80\x8c", false); } // [B1, B6, C1, V3, V7]
5324test { try toAsciiFail("\xe5\x84\xad-\xe3\x80\x82\xf0\x90\xb9\xb4\xe1\x83\x82\xf1\xa5\xb3\xa0\xe2\x80\x8c", true); } // [B1, B6, V3, V7]
5325test { try toUnicodeFail("\xe5\x84\xad-\xe3\x80\x82\xf0\x90\xb9\xb4\xe2\xb4\xa2\xf1\xa5\xb3\xa0\xe2\x80\x8c"); } // [B1, B6, C1, V3, V7]
5326test { try toAsciiFail("\xe5\x84\xad-\xe3\x80\x82\xf0\x90\xb9\xb4\xe2\xb4\xa2\xf1\xa5\xb3\xa0\xe2\x80\x8c", false); } // [B1, B6, C1, V3, V7]
5327test { try toAsciiFail("\xe5\x84\xad-\xe3\x80\x82\xf0\x90\xb9\xb4\xe2\xb4\xa2\xf1\xa5\xb3\xa0\xe2\x80\x8c", true); } // [B1, B6, V3, V7]
5328test { try toUnicodeFail("xn----gz7a.xn--qlj9223eywx0b"); } // [B1, B6, V3, V7]
5329test { try toAsciiFail("xn----gz7a.xn--qlj9223eywx0b", false); } // [B1, B6, V3, V7]
5330test { try toAsciiFail("xn----gz7a.xn--qlj9223eywx0b", true); } // [B1, B6, V3, V7]
5331test { try toUnicodeFail("xn----gz7a.xn--0ug472cfq0pus98b"); } // [B1, B6, C1, V3, V7]
5332test { try toAsciiFail("xn----gz7a.xn--0ug472cfq0pus98b", false); } // [B1, B6, C1, V3, V7]
5333test { try toAsciiFail("xn----gz7a.xn--0ug472cfq0pus98b", true); } // [B1, B6, C1, V3, V7]
5334test { try toUnicodeFail("\xe5\x84\xad-\xef\xbd\xa1\xf0\x90\xb9\xb4\xe2\xb4\xa2\xf1\xa5\xb3\xa0\xe2\x80\x8c"); } // [B1, B6, C1, V3, V7]
5335test { try toAsciiFail("\xe5\x84\xad-\xef\xbd\xa1\xf0\x90\xb9\xb4\xe2\xb4\xa2\xf1\xa5\xb3\xa0\xe2\x80\x8c", false); } // [B1, B6, C1, V3, V7]
5336test { try toAsciiFail("\xe5\x84\xad-\xef\xbd\xa1\xf0\x90\xb9\xb4\xe2\xb4\xa2\xf1\xa5\xb3\xa0\xe2\x80\x8c", true); } // [B1, B6, V3, V7]
5337test { try toUnicodeFail("xn----gz7a.xn--6nd5001kyw98a"); } // [B1, B6, V3, V7]
5338test { try toAsciiFail("xn----gz7a.xn--6nd5001kyw98a", false); } // [B1, B6, V3, V7]
5339test { try toAsciiFail("xn----gz7a.xn--6nd5001kyw98a", true); } // [B1, B6, V3, V7]
5340test { try toUnicodeFail("xn----gz7a.xn--6nd249ejl4pusr7b"); } // [B1, B6, C1, V3, V7]
5341test { try toAsciiFail("xn----gz7a.xn--6nd249ejl4pusr7b", false); } // [B1, B6, C1, V3, V7]
5342test { try toAsciiFail("xn----gz7a.xn--6nd249ejl4pusr7b", true); } // [B1, B6, C1, V3, V7]
5343test { try toUnicodeFail("\xf0\x9d\x9f\xba\xf0\x90\x8b\xb7\xda\xb9\xef\xbc\x8e\xf0\x9e\xa4\xad\xf2\xbf\x8d\xa1"); } // [B1, B2, B3, V7]
5344test { try toAsciiFail("\xf0\x9d\x9f\xba\xf0\x90\x8b\xb7\xda\xb9\xef\xbc\x8e\xf0\x9e\xa4\xad\xf2\xbf\x8d\xa1", false); } // [B1, B2, B3, V7]
5345test { try toAsciiFail("\xf0\x9d\x9f\xba\xf0\x90\x8b\xb7\xda\xb9\xef\xbc\x8e\xf0\x9e\xa4\xad\xf2\xbf\x8d\xa1", true); } // [B1, B2, B3, V7]
5346test { try toUnicodeFail("4\xf0\x90\x8b\xb7\xda\xb9.\xf0\x9e\xa4\xad\xf2\xbf\x8d\xa1"); } // [B1, B2, B3, V7]
5347test { try toAsciiFail("4\xf0\x90\x8b\xb7\xda\xb9.\xf0\x9e\xa4\xad\xf2\xbf\x8d\xa1", false); } // [B1, B2, B3, V7]
5348test { try toAsciiFail("4\xf0\x90\x8b\xb7\xda\xb9.\xf0\x9e\xa4\xad\xf2\xbf\x8d\xa1", true); } // [B1, B2, B3, V7]
5349test { try toUnicodeFail("4\xf0\x90\x8b\xb7\xda\xb9.\xf0\x9e\xa4\x8b\xf2\xbf\x8d\xa1"); } // [B1, B2, B3, V7]
5350test { try toAsciiFail("4\xf0\x90\x8b\xb7\xda\xb9.\xf0\x9e\xa4\x8b\xf2\xbf\x8d\xa1", false); } // [B1, B2, B3, V7]
5351test { try toAsciiFail("4\xf0\x90\x8b\xb7\xda\xb9.\xf0\x9e\xa4\x8b\xf2\xbf\x8d\xa1", true); } // [B1, B2, B3, V7]
5352test { try toUnicodeFail("xn--4-cvc5384q.xn--le6hi7322b"); } // [B1, B2, B3, V7]
5353test { try toAsciiFail("xn--4-cvc5384q.xn--le6hi7322b", false); } // [B1, B2, B3, V7]
5354test { try toAsciiFail("xn--4-cvc5384q.xn--le6hi7322b", true); } // [B1, B2, B3, V7]
5355test { try toUnicodeFail("\xf0\x9d\x9f\xba\xf0\x90\x8b\xb7\xda\xb9\xef\xbc\x8e\xf0\x9e\xa4\x8b\xf2\xbf\x8d\xa1"); } // [B1, B2, B3, V7]
5356test { try toAsciiFail("\xf0\x9d\x9f\xba\xf0\x90\x8b\xb7\xda\xb9\xef\xbc\x8e\xf0\x9e\xa4\x8b\xf2\xbf\x8d\xa1", false); } // [B1, B2, B3, V7]
5357test { try toAsciiFail("\xf0\x9d\x9f\xba\xf0\x90\x8b\xb7\xda\xb9\xef\xbc\x8e\xf0\x9e\xa4\x8b\xf2\xbf\x8d\xa1", true); } // [B1, B2, B3, V7]
5358test { try toUnicodeFail("\xe2\x89\xaf-\xea\xa1\x8b\xf0\x91\xb2\xa3.\xe2\x92\x88\xf0\x90\xb9\xad"); } // [B1, V7]
5359test { try toAsciiFail("\xe2\x89\xaf-\xea\xa1\x8b\xf0\x91\xb2\xa3.\xe2\x92\x88\xf0\x90\xb9\xad", false); } // [B1, V7]
5360test { try toAsciiFail("\xe2\x89\xaf-\xea\xa1\x8b\xf0\x91\xb2\xa3.\xe2\x92\x88\xf0\x90\xb9\xad", true); } // [B1, V7]
5361test { try toUnicodeFail(">\xcc\xb8-\xea\xa1\x8b\xf0\x91\xb2\xa3.\xe2\x92\x88\xf0\x90\xb9\xad"); } // [B1, V7]
5362test { try toAsciiFail(">\xcc\xb8-\xea\xa1\x8b\xf0\x91\xb2\xa3.\xe2\x92\x88\xf0\x90\xb9\xad", false); } // [B1, V7]
5363test { try toAsciiFail(">\xcc\xb8-\xea\xa1\x8b\xf0\x91\xb2\xa3.\xe2\x92\x88\xf0\x90\xb9\xad", true); } // [B1, V7]
5364test { try toUnicodeFail("\xe2\x89\xaf-\xea\xa1\x8b\xf0\x91\xb2\xa3.1.\xf0\x90\xb9\xad"); } // [B1]
5365test { try toAsciiFail("\xe2\x89\xaf-\xea\xa1\x8b\xf0\x91\xb2\xa3.1.\xf0\x90\xb9\xad", false); } // [B1]
5366test { try toAsciiFail("\xe2\x89\xaf-\xea\xa1\x8b\xf0\x91\xb2\xa3.1.\xf0\x90\xb9\xad", true); } // [B1]
5367test { try toUnicodeFail(">\xcc\xb8-\xea\xa1\x8b\xf0\x91\xb2\xa3.1.\xf0\x90\xb9\xad"); } // [B1]
5368test { try toAsciiFail(">\xcc\xb8-\xea\xa1\x8b\xf0\x91\xb2\xa3.1.\xf0\x90\xb9\xad", false); } // [B1]
5369test { try toAsciiFail(">\xcc\xb8-\xea\xa1\x8b\xf0\x91\xb2\xa3.1.\xf0\x90\xb9\xad", true); } // [B1]
5370test { try toUnicodeFail("xn----ogox061d5i8d.1.xn--lo0d"); } // [B1]
5371test { try toAsciiFail("xn----ogox061d5i8d.1.xn--lo0d", false); } // [B1]
5372test { try toAsciiFail("xn----ogox061d5i8d.1.xn--lo0d", true); } // [B1]
5373test { try toUnicodeFail("xn----ogox061d5i8d.xn--tsh0666f"); } // [B1, V7]
5374test { try toAsciiFail("xn----ogox061d5i8d.xn--tsh0666f", false); } // [B1, V7]
5375test { try toAsciiFail("xn----ogox061d5i8d.xn--tsh0666f", true); } // [B1, V7]
5376test { try toUnicodeFail("\xcc\xb0\xef\xbc\x8e\xf3\xb0\x9c\xb1\xe8\x9a\x80"); } // [V6, V7]
5377test { try toAsciiFail("\xcc\xb0\xef\xbc\x8e\xf3\xb0\x9c\xb1\xe8\x9a\x80", false); } // [V6, V7]
5378test { try toAsciiFail("\xcc\xb0\xef\xbc\x8e\xf3\xb0\x9c\xb1\xe8\x9a\x80", true); } // [V6, V7]
5379test { try toUnicodeFail("\xcc\xb0.\xf3\xb0\x9c\xb1\xe8\x9a\x80"); } // [V6, V7]
5380test { try toAsciiFail("\xcc\xb0.\xf3\xb0\x9c\xb1\xe8\x9a\x80", false); } // [V6, V7]
5381test { try toAsciiFail("\xcc\xb0.\xf3\xb0\x9c\xb1\xe8\x9a\x80", true); } // [V6, V7]
5382test { try toUnicodeFail("xn--xta.xn--e91aw9417e"); } // [V6, V7]
5383test { try toAsciiFail("xn--xta.xn--e91aw9417e", false); } // [V6, V7]
5384test { try toAsciiFail("xn--xta.xn--e91aw9417e", true); } // [V6, V7]
5385test { try toUnicodeFail("\xef\xac\xb9\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97"); } // [B2, B3]
5386test { try toAsciiFail("\xef\xac\xb9\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97", false); } // [B2, B3]
5387test { try toAsciiFail("\xef\xac\xb9\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97", true); } // [B2, B3]
5388test { try toUnicodeFail("\xd7\x99\xd6\xbc\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97"); } // [B2, B3]
5389test { try toAsciiFail("\xd7\x99\xd6\xbc\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97", false); } // [B2, B3]
5390test { try toAsciiFail("\xd7\x99\xd6\xbc\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97", true); } // [B2, B3]
5391test { try toUnicodeFail("\xd7\x99\xd6\xbc\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97"); } // [B2, B3]
5392test { try toAsciiFail("\xd7\x99\xd6\xbc\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97", false); } // [B2, B3]
5393test { try toAsciiFail("\xd7\x99\xd6\xbc\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97", true); } // [B2, B3]
5394test { try toUnicodeFail("\xd7\x99\xd6\xbc\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80SS\xe2\x83\x97"); } // [B2, B3]
5395test { try toAsciiFail("\xd7\x99\xd6\xbc\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80SS\xe2\x83\x97", false); } // [B2, B3]
5396test { try toAsciiFail("\xd7\x99\xd6\xbc\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80SS\xe2\x83\x97", true); } // [B2, B3]
5397test { try toUnicodeFail("\xd7\x99\xd6\xbc\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97"); } // [B2, B3]
5398test { try toAsciiFail("\xd7\x99\xd6\xbc\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97", false); } // [B2, B3]
5399test { try toAsciiFail("\xd7\x99\xd6\xbc\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97", true); } // [B2, B3]
5400test { try toUnicodeFail("xn--kdb1d278n.xn--ss-yju5690ken9h"); } // [B2, B3]
5401test { try toAsciiFail("xn--kdb1d278n.xn--ss-yju5690ken9h", false); } // [B2, B3]
5402test { try toAsciiFail("xn--kdb1d278n.xn--ss-yju5690ken9h", true); } // [B2, B3]
5403test { try toUnicodeFail("xn--kdb1d278n.xn--zca284nhg9nrrxg"); } // [B2, B3]
5404test { try toAsciiFail("xn--kdb1d278n.xn--zca284nhg9nrrxg", false); } // [B2, B3]
5405test { try toAsciiFail("xn--kdb1d278n.xn--zca284nhg9nrrxg", true); } // [B2, B3]
5406test { try toUnicodeFail("\xef\xac\xb9\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97"); } // [B2, B3]
5407test { try toAsciiFail("\xef\xac\xb9\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97", false); } // [B2, B3]
5408test { try toAsciiFail("\xef\xac\xb9\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80\xc3\x9f\xe2\x83\x97", true); } // [B2, B3]
5409test { try toUnicodeFail("\xef\xac\xb9\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80SS\xe2\x83\x97"); } // [B2, B3]
5410test { try toAsciiFail("\xef\xac\xb9\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80SS\xe2\x83\x97", false); } // [B2, B3]
5411test { try toAsciiFail("\xef\xac\xb9\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80SS\xe2\x83\x97", true); } // [B2, B3]
5412test { try toUnicodeFail("\xef\xac\xb9\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97"); } // [B2, B3]
5413test { try toAsciiFail("\xef\xac\xb9\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97", false); } // [B2, B3]
5414test { try toAsciiFail("\xef\xac\xb9\xe2\xb4\x98.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97", true); } // [B2, B3]
5415test { try toUnicodeFail("xn--kdb1d867b.xn--ss-yju5690ken9h"); } // [B2, B3, V7]
5416test { try toAsciiFail("xn--kdb1d867b.xn--ss-yju5690ken9h", false); } // [B2, B3, V7]
5417test { try toAsciiFail("xn--kdb1d867b.xn--ss-yju5690ken9h", true); } // [B2, B3, V7]
5418test { try toUnicodeFail("xn--kdb1d867b.xn--zca284nhg9nrrxg"); } // [B2, B3, V7]
5419test { try toAsciiFail("xn--kdb1d867b.xn--zca284nhg9nrrxg", false); } // [B2, B3, V7]
5420test { try toAsciiFail("xn--kdb1d867b.xn--zca284nhg9nrrxg", true); } // [B2, B3, V7]
5421test { try toUnicodeFail("\xd7\x99\xd6\xbc\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97"); } // [B2, B3]
5422test { try toAsciiFail("\xd7\x99\xd6\xbc\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97", false); } // [B2, B3]
5423test { try toAsciiFail("\xd7\x99\xd6\xbc\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97", true); } // [B2, B3]
5424test { try toUnicodeFail("\xef\xac\xb9\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97"); } // [B2, B3]
5425test { try toAsciiFail("\xef\xac\xb9\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97", false); } // [B2, B3]
5426test { try toAsciiFail("\xef\xac\xb9\xe1\x82\xb8.\xf0\x9e\xa1\xbc\xf0\x91\x87\x80ss\xe2\x83\x97", true); } // [B2, B3]
5427test { try toUnicodeFail("\xe1\xae\xa3\xf0\x90\xb9\xb0\xf2\x81\xb1\x93\xef\xbd\xa1\xe5\x87\xac"); } // [B1, V6, V7]
5428test { try toAsciiFail("\xe1\xae\xa3\xf0\x90\xb9\xb0\xf2\x81\xb1\x93\xef\xbd\xa1\xe5\x87\xac", false); } // [B1, V6, V7]
5429test { try toAsciiFail("\xe1\xae\xa3\xf0\x90\xb9\xb0\xf2\x81\xb1\x93\xef\xbd\xa1\xe5\x87\xac", true); } // [B1, V6, V7]
5430test { try toUnicodeFail("\xe1\xae\xa3\xf0\x90\xb9\xb0\xf2\x81\xb1\x93\xe3\x80\x82\xe5\x87\xac"); } // [B1, V6, V7]
5431test { try toAsciiFail("\xe1\xae\xa3\xf0\x90\xb9\xb0\xf2\x81\xb1\x93\xe3\x80\x82\xe5\x87\xac", false); } // [B1, V6, V7]
5432test { try toAsciiFail("\xe1\xae\xa3\xf0\x90\xb9\xb0\xf2\x81\xb1\x93\xe3\x80\x82\xe5\x87\xac", true); } // [B1, V6, V7]
5433test { try toUnicodeFail("xn--rxfz314ilg20c.xn--t9q"); } // [B1, V6, V7]
5434test { try toAsciiFail("xn--rxfz314ilg20c.xn--t9q", false); } // [B1, V6, V7]
5435test { try toAsciiFail("xn--rxfz314ilg20c.xn--t9q", true); } // [B1, V6, V7]
5436test { try toUnicodeFail("\xf0\x9f\xa2\x9f\xf0\x9f\x84\x88\xe2\x80\x8d\xea\xa1\x8e\xef\xbd\xa1\xe0\xbe\x84"); } // [C2, V6, U1]
5437test { try toAsciiFail("\xf0\x9f\xa2\x9f\xf0\x9f\x84\x88\xe2\x80\x8d\xea\xa1\x8e\xef\xbd\xa1\xe0\xbe\x84", false); } // [C2, V6, U1]
5438test { try toAsciiFail("\xf0\x9f\xa2\x9f\xf0\x9f\x84\x88\xe2\x80\x8d\xea\xa1\x8e\xef\xbd\xa1\xe0\xbe\x84", true); } // [V6, U1]
5439test { try toUnicodeFail("\xf0\x9f\xa2\x9f7,\xe2\x80\x8d\xea\xa1\x8e\xe3\x80\x82\xe0\xbe\x84"); } // [C2, V6, U1]
5440test { try toAsciiFail("\xf0\x9f\xa2\x9f7,\xe2\x80\x8d\xea\xa1\x8e\xe3\x80\x82\xe0\xbe\x84", false); } // [C2, V6, U1]
5441test { try toAsciiFail("\xf0\x9f\xa2\x9f7,\xe2\x80\x8d\xea\xa1\x8e\xe3\x80\x82\xe0\xbe\x84", true); } // [V6, U1]
5442test { try toUnicodeFail("xn--7,-gh9hg322i.xn--3ed"); } // [V6, U1]
5443test { try toAsciiFail("xn--7,-gh9hg322i.xn--3ed", false); } // [V6, U1]
5444test { try toAsciiFail("xn--7,-gh9hg322i.xn--3ed", true); } // [V6, U1]
5445test { try toUnicodeFail("xn--7,-n1t0654eqo3o.xn--3ed"); } // [C2, V6, U1]
5446test { try toAsciiFail("xn--7,-n1t0654eqo3o.xn--3ed", false); } // [C2, V6, U1]
5447test { try toAsciiFail("xn--7,-n1t0654eqo3o.xn--3ed", true); } // [C2, V6, U1]
5448test { try toUnicodeFail("xn--nc9aq743ds0e.xn--3ed"); } // [V6, V7]
5449test { try toAsciiFail("xn--nc9aq743ds0e.xn--3ed", false); } // [V6, V7]
5450test { try toAsciiFail("xn--nc9aq743ds0e.xn--3ed", true); } // [V6, V7]
5451test { try toUnicodeFail("xn--1ug4874cfd0kbmg.xn--3ed"); } // [C2, V6, V7]
5452test { try toAsciiFail("xn--1ug4874cfd0kbmg.xn--3ed", false); } // [C2, V6, V7]
5453test { try toAsciiFail("xn--1ug4874cfd0kbmg.xn--3ed", true); } // [C2, V6, V7]
5454test { try toUnicodeFail("\xea\xa1\x94\xe3\x80\x82\xe1\x80\xb9\xe1\xa2\x87"); } // [V6]
5455test { try toAsciiFail("\xea\xa1\x94\xe3\x80\x82\xe1\x80\xb9\xe1\xa2\x87", false); } // [V6]
5456test { try toAsciiFail("\xea\xa1\x94\xe3\x80\x82\xe1\x80\xb9\xe1\xa2\x87", true); } // [V6]
5457test { try toUnicodeFail("xn--tc9a.xn--9jd663b"); } // [V6]
5458test { try toAsciiFail("xn--tc9a.xn--9jd663b", false); } // [V6]
5459test { try toAsciiFail("xn--tc9a.xn--9jd663b", true); } // [V6]
5460test { try toUnicodeFail("\xe2\x83\xab\xe2\x89\xae.\xf0\x9d\xa8\x96"); } // [V6]
5461test { try toAsciiFail("\xe2\x83\xab\xe2\x89\xae.\xf0\x9d\xa8\x96", false); } // [V6]
5462test { try toAsciiFail("\xe2\x83\xab\xe2\x89\xae.\xf0\x9d\xa8\x96", true); } // [V6]
5463test { try toUnicodeFail("\xe2\x83\xab<\xcc\xb8.\xf0\x9d\xa8\x96"); } // [V6]
5464test { try toAsciiFail("\xe2\x83\xab<\xcc\xb8.\xf0\x9d\xa8\x96", false); } // [V6]
5465test { try toAsciiFail("\xe2\x83\xab<\xcc\xb8.\xf0\x9d\xa8\x96", true); } // [V6]
5466test { try toUnicodeFail("xn--e1g71d.xn--772h"); } // [V6]
5467test { try toAsciiFail("xn--e1g71d.xn--772h", false); } // [V6]
5468test { try toAsciiFail("xn--e1g71d.xn--772h", true); } // [V6]
5469test { try toUnicodeFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7"); } // [B5, B6]
5470test { try toAsciiFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7", false); } // [B5, B6]
5471test { try toAsciiFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7", true); } // [B5, B6]
5472test { try toUnicodeFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7"); } // [B5, B6]
5473test { try toAsciiFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7", false); } // [B5, B6]
5474test { try toAsciiFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7", true); } // [B5, B6]
5475test { try toUnicodeFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7"); } // [B5, B6]
5476test { try toAsciiFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7", false); } // [B5, B6]
5477test { try toAsciiFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7", true); } // [B5, B6]
5478test { try toUnicodeFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7"); } // [B5, B6]
5479test { try toAsciiFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7", false); } // [B5, B6]
5480test { try toAsciiFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe1\x82\xbe\xdd\xa7", true); } // [B5, B6]
5481test { try toUnicodeFail("\xe2\xb4\xa2>\xcc\xb8\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7"); } // [B5, B6]
5482test { try toAsciiFail("\xe2\xb4\xa2>\xcc\xb8\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", false); } // [B5, B6]
5483test { try toAsciiFail("\xe2\xb4\xa2>\xcc\xb8\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", true); } // [B5, B6]
5484test { try toUnicodeFail("\xe2\xb4\xa2\xe2\x89\xaf\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7"); } // [B5, B6]
5485test { try toAsciiFail("\xe2\xb4\xa2\xe2\x89\xaf\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", false); } // [B5, B6]
5486test { try toAsciiFail("\xe2\xb4\xa2\xe2\x89\xaf\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", true); } // [B5, B6]
5487test { try toUnicodeFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7"); } // [B5, B6]
5488test { try toAsciiFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", false); } // [B5, B6]
5489test { try toAsciiFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", true); } // [B5, B6]
5490test { try toUnicodeFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7"); } // [B5, B6]
5491test { try toAsciiFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", false); } // [B5, B6]
5492test { try toAsciiFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6.\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", true); } // [B5, B6]
5493test { try toUnicodeFail("xn--hdh433bev8e.xn--rpb5x392bcyt"); } // [B5, B6]
5494test { try toAsciiFail("xn--hdh433bev8e.xn--rpb5x392bcyt", false); } // [B5, B6]
5495test { try toAsciiFail("xn--hdh433bev8e.xn--rpb5x392bcyt", true); } // [B5, B6]
5496test { try toUnicodeFail("\xe2\xb4\xa2>\xcc\xb8\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7"); } // [B5, B6]
5497test { try toAsciiFail("\xe2\xb4\xa2>\xcc\xb8\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", false); } // [B5, B6]
5498test { try toAsciiFail("\xe2\xb4\xa2>\xcc\xb8\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", true); } // [B5, B6]
5499test { try toUnicodeFail("\xe2\xb4\xa2\xe2\x89\xaf\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7"); } // [B5, B6]
5500test { try toAsciiFail("\xe2\xb4\xa2\xe2\x89\xaf\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", false); } // [B5, B6]
5501test { try toAsciiFail("\xe2\xb4\xa2\xe2\x89\xaf\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", true); } // [B5, B6]
5502test { try toUnicodeFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7"); } // [B5, B6]
5503test { try toAsciiFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", false); } // [B5, B6]
5504test { try toAsciiFail("\xe1\x83\x82\xe2\x89\xaf\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", true); } // [B5, B6]
5505test { try toUnicodeFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7"); } // [B5, B6]
5506test { try toAsciiFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", false); } // [B5, B6]
5507test { try toAsciiFail("\xe1\x83\x82>\xcc\xb8\xe8\xa4\xa6\xef\xbc\x8e\xe1\xa0\xaa\xdf\xaa\xe2\xb4\x9e\xdd\xa7", true); } // [B5, B6]
5508test { try toUnicodeFail("xn--6nd461g478e.xn--rpb5x392bcyt"); } // [B5, B6, V7]
5509test { try toAsciiFail("xn--6nd461g478e.xn--rpb5x392bcyt", false); } // [B5, B6, V7]
5510test { try toAsciiFail("xn--6nd461g478e.xn--rpb5x392bcyt", true); } // [B5, B6, V7]
5511test { try toUnicodeFail("xn--6nd461g478e.xn--rpb5x49td2h"); } // [B5, B6, V7]
5512test { try toAsciiFail("xn--6nd461g478e.xn--rpb5x49td2h", false); } // [B5, B6, V7]
5513test { try toAsciiFail("xn--6nd461g478e.xn--rpb5x49td2h", true); } // [B5, B6, V7]
5514test { try toUnicodeFail("\xf2\x8a\x89\x86\xf3\xa0\x86\x92\xe2\x80\x8c\xea\xa5\x93\xe3\x80\x82\xf0\x9e\xa4\x99\xd9\xbb\xea\xa1\x98"); } // [B2, B3, C1, V7]
5515test { try toAsciiFail("\xf2\x8a\x89\x86\xf3\xa0\x86\x92\xe2\x80\x8c\xea\xa5\x93\xe3\x80\x82\xf0\x9e\xa4\x99\xd9\xbb\xea\xa1\x98", false); } // [B2, B3, C1, V7]
5516test { try toAsciiFail("\xf2\x8a\x89\x86\xf3\xa0\x86\x92\xe2\x80\x8c\xea\xa5\x93\xe3\x80\x82\xf0\x9e\xa4\x99\xd9\xbb\xea\xa1\x98", true); } // [B2, B3, V7]
5517test { try toUnicodeFail("\xf2\x8a\x89\x86\xf3\xa0\x86\x92\xe2\x80\x8c\xea\xa5\x93\xe3\x80\x82\xf0\x9e\xa4\xbb\xd9\xbb\xea\xa1\x98"); } // [B2, B3, C1, V7]
5518test { try toAsciiFail("\xf2\x8a\x89\x86\xf3\xa0\x86\x92\xe2\x80\x8c\xea\xa5\x93\xe3\x80\x82\xf0\x9e\xa4\xbb\xd9\xbb\xea\xa1\x98", false); } // [B2, B3, C1, V7]
5519test { try toAsciiFail("\xf2\x8a\x89\x86\xf3\xa0\x86\x92\xe2\x80\x8c\xea\xa5\x93\xe3\x80\x82\xf0\x9e\xa4\xbb\xd9\xbb\xea\xa1\x98", true); } // [B2, B3, V7]
5520test { try toUnicodeFail("xn--3j9al6189a.xn--0ib8893fegvj"); } // [B2, B3, V7]
5521test { try toAsciiFail("xn--3j9al6189a.xn--0ib8893fegvj", false); } // [B2, B3, V7]
5522test { try toAsciiFail("xn--3j9al6189a.xn--0ib8893fegvj", true); } // [B2, B3, V7]
5523test { try toUnicodeFail("xn--0ug8815chtz0e.xn--0ib8893fegvj"); } // [B2, B3, C1, V7]
5524test { try toAsciiFail("xn--0ug8815chtz0e.xn--0ib8893fegvj", false); } // [B2, B3, C1, V7]
5525test { try toAsciiFail("xn--0ug8815chtz0e.xn--0ib8893fegvj", true); } // [B2, B3, C1, V7]
5526test { try toUnicodeFail("\xe2\x80\x8c.\xe2\x89\xaf"); } // [C1]
5527test { try toAsciiFail("\xe2\x80\x8c.\xe2\x89\xaf", false); } // [C1]
5528test { try toAsciiFail("\xe2\x80\x8c.\xe2\x89\xaf", true); } // [A4_2]
5529test { try toUnicodeFail("\xe2\x80\x8c.>\xcc\xb8"); } // [C1]
5530test { try toAsciiFail("\xe2\x80\x8c.>\xcc\xb8", false); } // [C1]
5531test { try toAsciiFail("\xe2\x80\x8c.>\xcc\xb8", true); } // [A4_2]
5532test { try toAsciiFail(".xn--hdh", false); } // [A4_2]
5533test { try toAsciiFail(".xn--hdh", true); } // [A4_2]
5534test { try toUnicodeFail("xn--0ug.xn--hdh"); } // [C1]
5535test { try toAsciiFail("xn--0ug.xn--hdh", false); } // [C1]
5536test { try toAsciiFail("xn--0ug.xn--hdh", true); } // [C1]
5537test { try toUnicodeFail("\xf0\xb0\x85\xa7\xf1\xa3\xa9\xa0-\xef\xbc\x8e\xea\xaf\xad-\xe6\x82\x9c"); } // [V3, V6, V7]
5538test { try toAsciiFail("\xf0\xb0\x85\xa7\xf1\xa3\xa9\xa0-\xef\xbc\x8e\xea\xaf\xad-\xe6\x82\x9c", false); } // [V3, V6, V7]
5539test { try toAsciiFail("\xf0\xb0\x85\xa7\xf1\xa3\xa9\xa0-\xef\xbc\x8e\xea\xaf\xad-\xe6\x82\x9c", true); } // [V3, V6, V7]
5540test { try toUnicodeFail("\xf0\xb0\x85\xa7\xf1\xa3\xa9\xa0-.\xea\xaf\xad-\xe6\x82\x9c"); } // [V3, V6, V7]
5541test { try toAsciiFail("\xf0\xb0\x85\xa7\xf1\xa3\xa9\xa0-.\xea\xaf\xad-\xe6\x82\x9c", false); } // [V3, V6, V7]
5542test { try toAsciiFail("\xf0\xb0\x85\xa7\xf1\xa3\xa9\xa0-.\xea\xaf\xad-\xe6\x82\x9c", true); } // [V3, V6, V7]
5543test { try toUnicodeFail("xn----7m53aj640l.xn----8f4br83t"); } // [V3, V6, V7]
5544test { try toAsciiFail("xn----7m53aj640l.xn----8f4br83t", false); } // [V3, V6, V7]
5545test { try toAsciiFail("xn----7m53aj640l.xn----8f4br83t", true); } // [V3, V6, V7]
5546test { try toUnicodeFail("\xe1\xa1\x89\xf0\xb6\x93\xa7\xe2\xac\x9e\xe1\xa2\x9c.-\xe2\x80\x8d\xf0\x9e\xa3\x91\xe2\x80\xae"); } // [C2, V3, V7]
5547test { try toAsciiFail("\xe1\xa1\x89\xf0\xb6\x93\xa7\xe2\xac\x9e\xe1\xa2\x9c.-\xe2\x80\x8d\xf0\x9e\xa3\x91\xe2\x80\xae", false); } // [C2, V3, V7]
5548test { try toAsciiFail("\xe1\xa1\x89\xf0\xb6\x93\xa7\xe2\xac\x9e\xe1\xa2\x9c.-\xe2\x80\x8d\xf0\x9e\xa3\x91\xe2\x80\xae", true); } // [V3, V7]
5549test { try toUnicodeFail("xn--87e0ol04cdl39e.xn----qinu247r"); } // [V3, V7]
5550test { try toAsciiFail("xn--87e0ol04cdl39e.xn----qinu247r", false); } // [V3, V7]
5551test { try toAsciiFail("xn--87e0ol04cdl39e.xn----qinu247r", true); } // [V3, V7]
5552test { try toUnicodeFail("xn--87e0ol04cdl39e.xn----ugn5e3763s"); } // [C2, V3, V7]
5553test { try toAsciiFail("xn--87e0ol04cdl39e.xn----ugn5e3763s", false); } // [C2, V3, V7]
5554test { try toAsciiFail("xn--87e0ol04cdl39e.xn----ugn5e3763s", true); } // [C2, V3, V7]
5555test { try toUnicodeFail("\xe2\x92\x90\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe1\x82\xb4"); } // [B1, B2, B3, C1, V7]
5556test { try toAsciiFail("\xe2\x92\x90\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe1\x82\xb4", false); } // [B1, B2, B3, C1, V7]
5557test { try toAsciiFail("\xe2\x92\x90\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe1\x82\xb4", true); } // [B1, B2, B3, V7]
5558test { try toUnicodeFail("9.\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe1\x82\xb4"); } // [B1, B2, B3, C1]
5559test { try toAsciiFail("9.\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe1\x82\xb4", false); } // [B1, B2, B3, C1]
5560test { try toAsciiFail("9.\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe1\x82\xb4", true); } // [B1, B2, B3]
5561test { try toUnicodeFail("9.\xe2\x80\x8c\xe8\xa1\x83\xe2\xb4\x9d.\xda\x82\xe2\xb4\x94"); } // [B1, B2, B3, C1]
5562test { try toAsciiFail("9.\xe2\x80\x8c\xe8\xa1\x83\xe2\xb4\x9d.\xda\x82\xe2\xb4\x94", false); } // [B1, B2, B3, C1]
5563test { try toAsciiFail("9.\xe2\x80\x8c\xe8\xa1\x83\xe2\xb4\x9d.\xda\x82\xe2\xb4\x94", true); } // [B1, B2, B3]
5564test { try toUnicodeFail("9.\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe2\xb4\x94"); } // [B1, B2, B3, C1]
5565test { try toAsciiFail("9.\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe2\xb4\x94", false); } // [B1, B2, B3, C1]
5566test { try toAsciiFail("9.\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe2\xb4\x94", true); } // [B1, B2, B3]
5567test { try toUnicodeFail("9.xn--llj1920a.xn--7ib268q"); } // [B1, B2, B3]
5568test { try toAsciiFail("9.xn--llj1920a.xn--7ib268q", false); } // [B1, B2, B3]
5569test { try toAsciiFail("9.xn--llj1920a.xn--7ib268q", true); } // [B1, B2, B3]
5570test { try toUnicodeFail("9.xn--0ug862cbm5e.xn--7ib268q"); } // [B1, B2, B3, C1]
5571test { try toAsciiFail("9.xn--0ug862cbm5e.xn--7ib268q", false); } // [B1, B2, B3, C1]
5572test { try toAsciiFail("9.xn--0ug862cbm5e.xn--7ib268q", true); } // [B1, B2, B3, C1]
5573test { try toUnicodeFail("\xe2\x92\x90\xe2\x80\x8c\xe8\xa1\x83\xe2\xb4\x9d.\xda\x82\xe2\xb4\x94"); } // [B1, B2, B3, C1, V7]
5574test { try toAsciiFail("\xe2\x92\x90\xe2\x80\x8c\xe8\xa1\x83\xe2\xb4\x9d.\xda\x82\xe2\xb4\x94", false); } // [B1, B2, B3, C1, V7]
5575test { try toAsciiFail("\xe2\x92\x90\xe2\x80\x8c\xe8\xa1\x83\xe2\xb4\x9d.\xda\x82\xe2\xb4\x94", true); } // [B1, B2, B3, V7]
5576test { try toUnicodeFail("\xe2\x92\x90\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe2\xb4\x94"); } // [B1, B2, B3, C1, V7]
5577test { try toAsciiFail("\xe2\x92\x90\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe2\xb4\x94", false); } // [B1, B2, B3, C1, V7]
5578test { try toAsciiFail("\xe2\x92\x90\xe2\x80\x8c\xe8\xa1\x83\xe1\x82\xbd.\xda\x82\xe2\xb4\x94", true); } // [B1, B2, B3, V7]
5579test { try toUnicodeFail("xn--1shy52abz3f.xn--7ib268q"); } // [B1, B2, B3, V7]
5580test { try toAsciiFail("xn--1shy52abz3f.xn--7ib268q", false); } // [B1, B2, B3, V7]
5581test { try toAsciiFail("xn--1shy52abz3f.xn--7ib268q", true); } // [B1, B2, B3, V7]
5582test { try toUnicodeFail("xn--0ugx0px1izu2h.xn--7ib268q"); } // [B1, B2, B3, C1, V7]
5583test { try toAsciiFail("xn--0ugx0px1izu2h.xn--7ib268q", false); } // [B1, B2, B3, C1, V7]
5584test { try toAsciiFail("xn--0ugx0px1izu2h.xn--7ib268q", true); } // [B1, B2, B3, C1, V7]
5585test { try toUnicodeFail("9.xn--1nd9032d.xn--7ib268q"); } // [B1, B2, B3, V7]
5586test { try toAsciiFail("9.xn--1nd9032d.xn--7ib268q", false); } // [B1, B2, B3, V7]
5587test { try toAsciiFail("9.xn--1nd9032d.xn--7ib268q", true); } // [B1, B2, B3, V7]
5588test { try toUnicodeFail("9.xn--1nd159e1y2f.xn--7ib268q"); } // [B1, B2, B3, C1, V7]
5589test { try toAsciiFail("9.xn--1nd159e1y2f.xn--7ib268q", false); } // [B1, B2, B3, C1, V7]
5590test { try toAsciiFail("9.xn--1nd159e1y2f.xn--7ib268q", true); } // [B1, B2, B3, C1, V7]
5591test { try toUnicodeFail("9.xn--1nd9032d.xn--7ib433c"); } // [B1, B2, B3, V7]
5592test { try toAsciiFail("9.xn--1nd9032d.xn--7ib433c", false); } // [B1, B2, B3, V7]
5593test { try toAsciiFail("9.xn--1nd9032d.xn--7ib433c", true); } // [B1, B2, B3, V7]
5594test { try toUnicodeFail("9.xn--1nd159e1y2f.xn--7ib433c"); } // [B1, B2, B3, C1, V7]
5595test { try toAsciiFail("9.xn--1nd159e1y2f.xn--7ib433c", false); } // [B1, B2, B3, C1, V7]
5596test { try toAsciiFail("9.xn--1nd159e1y2f.xn--7ib433c", true); } // [B1, B2, B3, C1, V7]
5597test { try toUnicodeFail("xn--1nd362hy16e.xn--7ib268q"); } // [B1, B2, B3, V7]
5598test { try toAsciiFail("xn--1nd362hy16e.xn--7ib268q", false); } // [B1, B2, B3, V7]
5599test { try toAsciiFail("xn--1nd362hy16e.xn--7ib268q", true); } // [B1, B2, B3, V7]
5600test { try toUnicodeFail("xn--1nd159ecmd785k.xn--7ib268q"); } // [B1, B2, B3, C1, V7]
5601test { try toAsciiFail("xn--1nd159ecmd785k.xn--7ib268q", false); } // [B1, B2, B3, C1, V7]
5602test { try toAsciiFail("xn--1nd159ecmd785k.xn--7ib268q", true); } // [B1, B2, B3, C1, V7]
5603test { try toUnicodeFail("xn--1nd362hy16e.xn--7ib433c"); } // [B1, B2, B3, V7]
5604test { try toAsciiFail("xn--1nd362hy16e.xn--7ib433c", false); } // [B1, B2, B3, V7]
5605test { try toAsciiFail("xn--1nd362hy16e.xn--7ib433c", true); } // [B1, B2, B3, V7]
5606test { try toUnicodeFail("xn--1nd159ecmd785k.xn--7ib433c"); } // [B1, B2, B3, C1, V7]
5607test { try toAsciiFail("xn--1nd159ecmd785k.xn--7ib433c", false); } // [B1, B2, B3, C1, V7]
5608test { try toAsciiFail("xn--1nd159ecmd785k.xn--7ib433c", true); } // [B1, B2, B3, C1, V7]
5609test { try toUnicodeFail("\xdf\xa1\xe2\x80\x8c\xe3\x80\x82--\xe2\xb8\xac"); } // [B1, B3, C1, V3]
5610test { try toAsciiFail("\xdf\xa1\xe2\x80\x8c\xe3\x80\x82--\xe2\xb8\xac", false); } // [B1, B3, C1, V3]
5611test { try toAsciiFail("\xdf\xa1\xe2\x80\x8c\xe3\x80\x82--\xe2\xb8\xac", true); } // [B1, V3]
5612test { try toUnicodeFail("xn--8sb.xn-----iw2a"); } // [B1, V3]
5613test { try toAsciiFail("xn--8sb.xn-----iw2a", false); } // [B1, V3]
5614test { try toAsciiFail("xn--8sb.xn-----iw2a", true); } // [B1, V3]
5615test { try toUnicodeFail("xn--8sb884j.xn-----iw2a"); } // [B1, B3, C1, V3]
5616test { try toAsciiFail("xn--8sb884j.xn-----iw2a", false); } // [B1, B3, C1, V3]
5617test { try toAsciiFail("xn--8sb884j.xn-----iw2a", true); } // [B1, B3, C1, V3]
5618test { try toUnicodePass("\xf0\x9e\xa5\x93\xef\xbc\x8e\xdc\x98", "\xf0\x9e\xa5\x93.\xdc\x98"); }
5619test { try toAsciiPass("\xf0\x9e\xa5\x93\xef\xbc\x8e\xdc\x98", "xn--of6h.xn--inb", false); }
5620test { try toAsciiPass("\xf0\x9e\xa5\x93\xef\xbc\x8e\xdc\x98", "xn--of6h.xn--inb", true); }
5621test { try toUnicodePass("\xf0\x9e\xa5\x93.\xdc\x98", "\xf0\x9e\xa5\x93.\xdc\x98"); }
5622test { try toAsciiPass("\xf0\x9e\xa5\x93.\xdc\x98", "xn--of6h.xn--inb", false); }
5623test { try toAsciiPass("\xf0\x9e\xa5\x93.\xdc\x98", "xn--of6h.xn--inb", true); }
5624test { try toUnicodePass("xn--of6h.xn--inb", "\xf0\x9e\xa5\x93.\xdc\x98"); }
5625test { try toAsciiPass("xn--of6h.xn--inb", "xn--of6h.xn--inb", false); }
5626test { try toAsciiPass("xn--of6h.xn--inb", "xn--of6h.xn--inb", true); }
5627test { try toUnicodeFail("\xf3\xa0\x84\xbd-\xef\xbc\x8e-\xe0\xb7\x8a"); } // [V3]
5628test { try toAsciiFail("\xf3\xa0\x84\xbd-\xef\xbc\x8e-\xe0\xb7\x8a", false); } // [V3]
5629test { try toAsciiFail("\xf3\xa0\x84\xbd-\xef\xbc\x8e-\xe0\xb7\x8a", true); } // [V3]
5630test { try toUnicodeFail("\xf3\xa0\x84\xbd-.-\xe0\xb7\x8a"); } // [V3]
5631test { try toAsciiFail("\xf3\xa0\x84\xbd-.-\xe0\xb7\x8a", false); } // [V3]
5632test { try toAsciiFail("\xf3\xa0\x84\xbd-.-\xe0\xb7\x8a", true); } // [V3]
5633test { try toUnicodeFail("-.xn----ptf"); } // [V3]
5634test { try toAsciiFail("-.xn----ptf", false); } // [V3]
5635test { try toAsciiFail("-.xn----ptf", true); } // [V3]
5636test { try toUnicodeFail("\xf3\xa0\x87\x9d\xdd\x9b-.\xe1\xa4\xa7"); } // [B1, B3, V3, V6]
5637test { try toAsciiFail("\xf3\xa0\x87\x9d\xdd\x9b-.\xe1\xa4\xa7", false); } // [B1, B3, V3, V6]
5638test { try toAsciiFail("\xf3\xa0\x87\x9d\xdd\x9b-.\xe1\xa4\xa7", true); } // [B1, B3, V3, V6]
5639test { try toUnicodeFail("xn----k4c.xn--lff"); } // [B1, B3, V3, V6]
5640test { try toAsciiFail("xn----k4c.xn--lff", false); } // [B1, B3, V3, V6]
5641test { try toAsciiFail("xn----k4c.xn--lff", true); } // [B1, B3, V3, V6]
5642test { try toUnicodeFail("\xf0\x9e\xa4\xb4\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x86\xe2\x92\x8c\xf3\x98\xa4\xb8"); } // [B1, V6, V7]
5643test { try toAsciiFail("\xf0\x9e\xa4\xb4\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x86\xe2\x92\x8c\xf3\x98\xa4\xb8", false); } // [B1, V6, V7]
5644test { try toAsciiFail("\xf0\x9e\xa4\xb4\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x86\xe2\x92\x8c\xf3\x98\xa4\xb8", true); } // [B1, V6, V7]
5645test { try toUnicodeFail("\xf0\x9e\xa4\xb4\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x865.\xf3\x98\xa4\xb8"); } // [B1, V6, V7]
5646test { try toAsciiFail("\xf0\x9e\xa4\xb4\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x865.\xf3\x98\xa4\xb8", false); } // [B1, V6, V7]
5647test { try toAsciiFail("\xf0\x9e\xa4\xb4\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x865.\xf3\x98\xa4\xb8", true); } // [B1, V6, V7]
5648test { try toUnicodeFail("\xf0\x9e\xa4\x92\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x865.\xf3\x98\xa4\xb8"); } // [B1, V6, V7]
5649test { try toAsciiFail("\xf0\x9e\xa4\x92\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x865.\xf3\x98\xa4\xb8", false); } // [B1, V6, V7]
5650test { try toAsciiFail("\xf0\x9e\xa4\x92\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x865.\xf3\x98\xa4\xb8", true); } // [B1, V6, V7]
5651test { try toUnicodeFail("xn--fuix729epewf.xn--5-w93e.xn--7b83e"); } // [B1, V6, V7]
5652test { try toAsciiFail("xn--fuix729epewf.xn--5-w93e.xn--7b83e", false); } // [B1, V6, V7]
5653test { try toAsciiFail("xn--fuix729epewf.xn--5-w93e.xn--7b83e", true); } // [B1, V6, V7]
5654test { try toUnicodeFail("\xf0\x9e\xa4\x92\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x86\xe2\x92\x8c\xf3\x98\xa4\xb8"); } // [B1, V6, V7]
5655test { try toAsciiFail("\xf0\x9e\xa4\x92\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x86\xe2\x92\x8c\xf3\x98\xa4\xb8", false); } // [B1, V6, V7]
5656test { try toAsciiFail("\xf0\x9e\xa4\x92\xf3\xa0\x86\xb9\xe2\xa6\x89\xf0\x90\xb9\xba.\xea\xa0\x86\xe2\x92\x8c\xf3\x98\xa4\xb8", true); } // [B1, V6, V7]
5657test { try toUnicodeFail("xn--fuix729epewf.xn--xsh5029b6e77i"); } // [B1, V6, V7]
5658test { try toAsciiFail("xn--fuix729epewf.xn--xsh5029b6e77i", false); } // [B1, V6, V7]
5659test { try toAsciiFail("xn--fuix729epewf.xn--xsh5029b6e77i", true); } // [B1, V6, V7]
5660test { try toUnicodeFail("\xf3\xa0\x84\xb8\xe2\x82\x80\xe3\x80\x82\xf0\x91\x96\xbf\xe2\x80\x8c\xf0\x90\xa6\x82\xe2\x80\x8d"); } // [B1, C2, V6]
5661test { try toAsciiFail("\xf3\xa0\x84\xb8\xe2\x82\x80\xe3\x80\x82\xf0\x91\x96\xbf\xe2\x80\x8c\xf0\x90\xa6\x82\xe2\x80\x8d", false); } // [B1, C2, V6]
5662test { try toAsciiFail("\xf3\xa0\x84\xb8\xe2\x82\x80\xe3\x80\x82\xf0\x91\x96\xbf\xe2\x80\x8c\xf0\x90\xa6\x82\xe2\x80\x8d", true); } // [B1, V6]
5663test { try toUnicodeFail("\xf3\xa0\x84\xb80\xe3\x80\x82\xf0\x91\x96\xbf\xe2\x80\x8c\xf0\x90\xa6\x82\xe2\x80\x8d"); } // [B1, C2, V6]
5664test { try toAsciiFail("\xf3\xa0\x84\xb80\xe3\x80\x82\xf0\x91\x96\xbf\xe2\x80\x8c\xf0\x90\xa6\x82\xe2\x80\x8d", false); } // [B1, C2, V6]
5665test { try toAsciiFail("\xf3\xa0\x84\xb80\xe3\x80\x82\xf0\x91\x96\xbf\xe2\x80\x8c\xf0\x90\xa6\x82\xe2\x80\x8d", true); } // [B1, V6]
5666test { try toUnicodeFail("0.xn--mn9cz2s"); } // [B1, V6]
5667test { try toAsciiFail("0.xn--mn9cz2s", false); } // [B1, V6]
5668test { try toAsciiFail("0.xn--mn9cz2s", true); } // [B1, V6]
5669test { try toUnicodeFail("0.xn--0ugc8040p9hk"); } // [B1, C2, V6]
5670test { try toAsciiFail("0.xn--0ugc8040p9hk", false); } // [B1, C2, V6]
5671test { try toAsciiFail("0.xn--0ugc8040p9hk", true); } // [B1, C2, V6]
5672test { try toUnicodePass("\xe1\x82\xba\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x82\xf0\x9d\x9f\x9d\xed\x9f\xb6\xe1\x80\xba", "\xe2\xb4\x9a\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba"); }
5673test { try toAsciiPass("\xe1\x82\xba\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x82\xf0\x9d\x9f\x9d\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", false); }
5674test { try toAsciiPass("\xe1\x82\xba\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x82\xf0\x9d\x9f\x9d\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", true); }
5675test { try toUnicodePass("\xe1\x82\xba\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x825\xed\x9f\xb6\xe1\x80\xba", "\xe2\xb4\x9a\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba"); }
5676test { try toAsciiPass("\xe1\x82\xba\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x825\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", false); }
5677test { try toAsciiPass("\xe1\x82\xba\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x825\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", true); }
5678test { try toUnicodePass("\xe2\xb4\x9a\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x825\xed\x9f\xb6\xe1\x80\xba", "\xe2\xb4\x9a\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba"); }
5679test { try toAsciiPass("\xe2\xb4\x9a\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x825\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", false); }
5680test { try toAsciiPass("\xe2\xb4\x9a\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x825\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", true); }
5681test { try toUnicodePass("xn--ilj2659d.xn--5-dug9054m", "\xe2\xb4\x9a\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba"); }
5682test { try toAsciiPass("xn--ilj2659d.xn--5-dug9054m", "xn--ilj2659d.xn--5-dug9054m", false); }
5683test { try toAsciiPass("xn--ilj2659d.xn--5-dug9054m", "xn--ilj2659d.xn--5-dug9054m", true); }
5684test { try toUnicodePass("\xe2\xb4\x9a\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba", "\xe2\xb4\x9a\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba"); }
5685test { try toAsciiPass("\xe2\xb4\x9a\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", false); }
5686test { try toAsciiPass("\xe2\xb4\x9a\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", true); }
5687test { try toUnicodePass("\xe1\x82\xba\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba", "\xe2\xb4\x9a\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba"); }
5688test { try toAsciiPass("\xe1\x82\xba\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", false); }
5689test { try toAsciiPass("\xe1\x82\xba\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", true); }
5690test { try toUnicodePass("\xe2\xb4\x9a\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x82\xf0\x9d\x9f\x9d\xed\x9f\xb6\xe1\x80\xba", "\xe2\xb4\x9a\xf0\x90\x8b\xb8.5\xed\x9f\xb6\xe1\x80\xba"); }
5691test { try toAsciiPass("\xe2\xb4\x9a\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x82\xf0\x9d\x9f\x9d\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", false); }
5692test { try toAsciiPass("\xe2\xb4\x9a\xf0\x90\x8b\xb8\xf3\xa0\x84\x84\xe3\x80\x82\xf0\x9d\x9f\x9d\xed\x9f\xb6\xe1\x80\xba", "xn--ilj2659d.xn--5-dug9054m", true); }
5693test { try toUnicodeFail("xn--ynd2415j.xn--5-dug9054m"); } // [V7]
5694test { try toAsciiFail("xn--ynd2415j.xn--5-dug9054m", false); } // [V7]
5695test { try toAsciiFail("xn--ynd2415j.xn--5-dug9054m", true); } // [V7]
5696test { try toUnicodeFail("\xe2\x80\x8d-\xe1\xa0\xb9\xef\xb9\xaa.\xe1\xb7\xa1\xe1\xa4\xa2"); } // [C2, V6, U1]
5697test { try toAsciiFail("\xe2\x80\x8d-\xe1\xa0\xb9\xef\xb9\xaa.\xe1\xb7\xa1\xe1\xa4\xa2", false); } // [C2, V6, U1]
5698test { try toAsciiFail("\xe2\x80\x8d-\xe1\xa0\xb9\xef\xb9\xaa.\xe1\xb7\xa1\xe1\xa4\xa2", true); } // [V3, V6, U1]
5699test { try toUnicodeFail("\xe2\x80\x8d-\xe1\xa0\xb9%.\xe1\xb7\xa1\xe1\xa4\xa2"); } // [C2, V6, U1]
5700test { try toAsciiFail("\xe2\x80\x8d-\xe1\xa0\xb9%.\xe1\xb7\xa1\xe1\xa4\xa2", false); } // [C2, V6, U1]
5701test { try toAsciiFail("\xe2\x80\x8d-\xe1\xa0\xb9%.\xe1\xb7\xa1\xe1\xa4\xa2", true); } // [V3, V6, U1]
5702test { try toUnicodeFail("xn---%-u4o.xn--gff52t"); } // [V3, V6, U1]
5703test { try toAsciiFail("xn---%-u4o.xn--gff52t", false); } // [V3, V6, U1]
5704test { try toAsciiFail("xn---%-u4o.xn--gff52t", true); } // [V3, V6, U1]
5705test { try toUnicodeFail("xn---%-u4oy48b.xn--gff52t"); } // [C2, V6, U1]
5706test { try toAsciiFail("xn---%-u4oy48b.xn--gff52t", false); } // [C2, V6, U1]
5707test { try toAsciiFail("xn---%-u4oy48b.xn--gff52t", true); } // [C2, V6, U1]
5708test { try toUnicodeFail("xn----c6jx047j.xn--gff52t"); } // [V3, V6, V7]
5709test { try toAsciiFail("xn----c6jx047j.xn--gff52t", false); } // [V3, V6, V7]
5710test { try toAsciiFail("xn----c6jx047j.xn--gff52t", true); } // [V3, V6, V7]
5711test { try toUnicodeFail("xn----c6j614b1z4v.xn--gff52t"); } // [C2, V6, V7]
5712test { try toAsciiFail("xn----c6j614b1z4v.xn--gff52t", false); } // [C2, V6, V7]
5713test { try toAsciiFail("xn----c6j614b1z4v.xn--gff52t", true); } // [C2, V6, V7]
5714test { try toUnicodePass("\xe2\x89\xa0.\xe1\xa0\xbf", "\xe2\x89\xa0.\xe1\xa0\xbf"); }
5715test { try toAsciiPass("\xe2\x89\xa0.\xe1\xa0\xbf", "xn--1ch.xn--y7e", false); }
5716test { try toAsciiPass("\xe2\x89\xa0.\xe1\xa0\xbf", "xn--1ch.xn--y7e", true); }
5717test { try toUnicodePass("=\xcc\xb8.\xe1\xa0\xbf", "\xe2\x89\xa0.\xe1\xa0\xbf"); }
5718test { try toAsciiPass("=\xcc\xb8.\xe1\xa0\xbf", "xn--1ch.xn--y7e", false); }
5719test { try toAsciiPass("=\xcc\xb8.\xe1\xa0\xbf", "xn--1ch.xn--y7e", true); }
5720test { try toUnicodePass("xn--1ch.xn--y7e", "\xe2\x89\xa0.\xe1\xa0\xbf"); }
5721test { try toAsciiPass("xn--1ch.xn--y7e", "xn--1ch.xn--y7e", false); }
5722test { try toAsciiPass("xn--1ch.xn--y7e", "xn--1ch.xn--y7e", true); }
5723test { try toUnicodePass("\xdc\xa3\xd6\xa3\xef\xbd\xa1\xe3\x8c\xaa", "\xdc\xa3\xd6\xa3.\xe3\x83\x8f\xe3\x82\xa4\xe3\x83\x84"); }
5724test { try toAsciiPass("\xdc\xa3\xd6\xa3\xef\xbd\xa1\xe3\x8c\xaa", "xn--ucb18e.xn--eck4c5a", false); }
5725test { try toAsciiPass("\xdc\xa3\xd6\xa3\xef\xbd\xa1\xe3\x8c\xaa", "xn--ucb18e.xn--eck4c5a", true); }
5726test { try toUnicodePass("\xdc\xa3\xd6\xa3\xe3\x80\x82\xe3\x83\x8f\xe3\x82\xa4\xe3\x83\x84", "\xdc\xa3\xd6\xa3.\xe3\x83\x8f\xe3\x82\xa4\xe3\x83\x84"); }
5727test { try toAsciiPass("\xdc\xa3\xd6\xa3\xe3\x80\x82\xe3\x83\x8f\xe3\x82\xa4\xe3\x83\x84", "xn--ucb18e.xn--eck4c5a", false); }
5728test { try toAsciiPass("\xdc\xa3\xd6\xa3\xe3\x80\x82\xe3\x83\x8f\xe3\x82\xa4\xe3\x83\x84", "xn--ucb18e.xn--eck4c5a", true); }
5729test { try toUnicodePass("xn--ucb18e.xn--eck4c5a", "\xdc\xa3\xd6\xa3.\xe3\x83\x8f\xe3\x82\xa4\xe3\x83\x84"); }
5730test { try toAsciiPass("xn--ucb18e.xn--eck4c5a", "xn--ucb18e.xn--eck4c5a", false); }
5731test { try toAsciiPass("xn--ucb18e.xn--eck4c5a", "xn--ucb18e.xn--eck4c5a", true); }
5732test { try toUnicodePass("\xdc\xa3\xd6\xa3.\xe3\x83\x8f\xe3\x82\xa4\xe3\x83\x84", "\xdc\xa3\xd6\xa3.\xe3\x83\x8f\xe3\x82\xa4\xe3\x83\x84"); }
5733test { try toAsciiPass("\xdc\xa3\xd6\xa3.\xe3\x83\x8f\xe3\x82\xa4\xe3\x83\x84", "xn--ucb18e.xn--eck4c5a", false); }
5734test { try toAsciiPass("\xdc\xa3\xd6\xa3.\xe3\x83\x8f\xe3\x82\xa4\xe3\x83\x84", "xn--ucb18e.xn--eck4c5a", true); }
5735test { try toUnicodeFail("\xf0\x9e\xb7\xa5\xf3\xa0\x86\x80\xe2\x89\xae.\xe2\xb5\xbf-"); } // [B1, B3, V3, V6, V7]
5736test { try toAsciiFail("\xf0\x9e\xb7\xa5\xf3\xa0\x86\x80\xe2\x89\xae.\xe2\xb5\xbf-", false); } // [B1, B3, V3, V6, V7]
5737test { try toAsciiFail("\xf0\x9e\xb7\xa5\xf3\xa0\x86\x80\xe2\x89\xae.\xe2\xb5\xbf-", true); } // [B1, B3, V3, V6, V7]
5738test { try toUnicodeFail("\xf0\x9e\xb7\xa5\xf3\xa0\x86\x80<\xcc\xb8.\xe2\xb5\xbf-"); } // [B1, B3, V3, V6, V7]
5739test { try toAsciiFail("\xf0\x9e\xb7\xa5\xf3\xa0\x86\x80<\xcc\xb8.\xe2\xb5\xbf-", false); } // [B1, B3, V3, V6, V7]
5740test { try toAsciiFail("\xf0\x9e\xb7\xa5\xf3\xa0\x86\x80<\xcc\xb8.\xe2\xb5\xbf-", true); } // [B1, B3, V3, V6, V7]
5741test { try toUnicodeFail("xn--gdhx802p.xn----i2s"); } // [B1, B3, V3, V6, V7]
5742test { try toAsciiFail("xn--gdhx802p.xn----i2s", false); } // [B1, B3, V3, V6, V7]
5743test { try toAsciiFail("xn--gdhx802p.xn----i2s", true); } // [B1, B3, V3, V6, V7]
5744test { try toUnicodeFail("\xe2\x82\x86\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xef\xbd\xa1\xf0\x9e\xa4\x85\xdb\xad\xef\xb1\x9a\xf3\xa0\xae\xa8"); } // [B1, B3, V7]
5745test { try toAsciiFail("\xe2\x82\x86\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xef\xbd\xa1\xf0\x9e\xa4\x85\xdb\xad\xef\xb1\x9a\xf3\xa0\xae\xa8", false); } // [B1, B3, V7]
5746test { try toAsciiFail("\xe2\x82\x86\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xef\xbd\xa1\xf0\x9e\xa4\x85\xdb\xad\xef\xb1\x9a\xf3\xa0\xae\xa8", true); } // [B1, B3, V7]
5747test { try toUnicodeFail("6\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xe3\x80\x82\xf0\x9e\xa4\x85\xdb\xad\xd9\x8a\xd9\x8a\xf3\xa0\xae\xa8"); } // [B1, B3, V7]
5748test { try toAsciiFail("6\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xe3\x80\x82\xf0\x9e\xa4\x85\xdb\xad\xd9\x8a\xd9\x8a\xf3\xa0\xae\xa8", false); } // [B1, B3, V7]
5749test { try toAsciiFail("6\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xe3\x80\x82\xf0\x9e\xa4\x85\xdb\xad\xd9\x8a\xd9\x8a\xf3\xa0\xae\xa8", true); } // [B1, B3, V7]
5750test { try toUnicodeFail("6\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xe3\x80\x82\xf0\x9e\xa4\xa7\xdb\xad\xd9\x8a\xd9\x8a\xf3\xa0\xae\xa8"); } // [B1, B3, V7]
5751test { try toAsciiFail("6\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xe3\x80\x82\xf0\x9e\xa4\xa7\xdb\xad\xd9\x8a\xd9\x8a\xf3\xa0\xae\xa8", false); } // [B1, B3, V7]
5752test { try toAsciiFail("6\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xe3\x80\x82\xf0\x9e\xa4\xa7\xdb\xad\xd9\x8a\xd9\x8a\xf3\xa0\xae\xa8", true); } // [B1, B3, V7]
5753test { try toUnicodeFail("xn--6-kmf4691ejv41j.xn--mhba10ch545mn8v8h"); } // [B1, B3, V7]
5754test { try toAsciiFail("xn--6-kmf4691ejv41j.xn--mhba10ch545mn8v8h", false); } // [B1, B3, V7]
5755test { try toAsciiFail("xn--6-kmf4691ejv41j.xn--mhba10ch545mn8v8h", true); } // [B1, B3, V7]
5756test { try toUnicodeFail("\xe2\x82\x86\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xef\xbd\xa1\xf0\x9e\xa4\xa7\xdb\xad\xef\xb1\x9a\xf3\xa0\xae\xa8"); } // [B1, B3, V7]
5757test { try toAsciiFail("\xe2\x82\x86\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xef\xbd\xa1\xf0\x9e\xa4\xa7\xdb\xad\xef\xb1\x9a\xf3\xa0\xae\xa8", false); } // [B1, B3, V7]
5758test { try toAsciiFail("\xe2\x82\x86\xe6\xa6\x8e\xf2\xa6\x96\x8e\xe0\xb5\x8d\xef\xbd\xa1\xf0\x9e\xa4\xa7\xdb\xad\xef\xb1\x9a\xf3\xa0\xae\xa8", true); } // [B1, B3, V7]
5759test { try toUnicodeFail("\xf0\xa3\xa9\xab\xef\xbc\x8e\xf2\x8c\x91\xb2"); } // [V7]
5760test { try toAsciiFail("\xf0\xa3\xa9\xab\xef\xbc\x8e\xf2\x8c\x91\xb2", false); } // [V7]
5761test { try toAsciiFail("\xf0\xa3\xa9\xab\xef\xbc\x8e\xf2\x8c\x91\xb2", true); } // [V7]
5762test { try toUnicodeFail("\xf0\xa3\xa9\xab.\xf2\x8c\x91\xb2"); } // [V7]
5763test { try toAsciiFail("\xf0\xa3\xa9\xab.\xf2\x8c\x91\xb2", false); } // [V7]
5764test { try toAsciiFail("\xf0\xa3\xa9\xab.\xf2\x8c\x91\xb2", true); } // [V7]
5765test { try toUnicodeFail("xn--td3j.xn--4628b"); } // [V7]
5766test { try toAsciiFail("xn--td3j.xn--4628b", false); } // [V7]
5767test { try toAsciiFail("xn--td3j.xn--4628b", true); } // [V7]
5768test { try toUnicodeFail("\xe2\x80\x8d\xef\xb8\x92\xef\xbd\xa1\xda\xb9\xe2\x80\x8c"); } // [B1, B3, C1, C2, V7]
5769test { try toAsciiFail("\xe2\x80\x8d\xef\xb8\x92\xef\xbd\xa1\xda\xb9\xe2\x80\x8c", false); } // [B1, B3, C1, C2, V7]
5770test { try toAsciiFail("\xe2\x80\x8d\xef\xb8\x92\xef\xbd\xa1\xda\xb9\xe2\x80\x8c", true); } // [B1, V7]
5771test { try toUnicodeFail("xn--y86c.xn--skb"); } // [B1, V7]
5772test { try toAsciiFail("xn--y86c.xn--skb", false); } // [B1, V7]
5773test { try toAsciiFail("xn--y86c.xn--skb", true); } // [B1, V7]
5774test { try toUnicodeFail("xn--1ug2658f.xn--skb080k"); } // [B1, B3, C1, C2, V7]
5775test { try toAsciiFail("xn--1ug2658f.xn--skb080k", false); } // [B1, B3, C1, C2, V7]
5776test { try toAsciiFail("xn--1ug2658f.xn--skb080k", true); } // [B1, B3, C1, C2, V7]
5777test { try toUnicodePass("xn--skb", "\xda\xb9"); }
5778test { try toAsciiPass("xn--skb", "xn--skb", false); }
5779test { try toAsciiPass("xn--skb", "xn--skb", true); }
5780test { try toUnicodePass("\xda\xb9", "\xda\xb9"); }
5781test { try toAsciiPass("\xda\xb9", "xn--skb", false); }
5782test { try toAsciiPass("\xda\xb9", "xn--skb", true); }
5783test { try toUnicodeFail("\xf0\x90\xb9\xa6\xe2\x80\x8c\xf0\x90\xb9\xb6\xe3\x80\x82\xe2\x81\xad"); } // [B1, C1]
5784test { try toAsciiFail("\xf0\x90\xb9\xa6\xe2\x80\x8c\xf0\x90\xb9\xb6\xe3\x80\x82\xe2\x81\xad", false); } // [B1, C1, A4_2]
5785test { try toAsciiFail("\xf0\x90\xb9\xa6\xe2\x80\x8c\xf0\x90\xb9\xb6\xe3\x80\x82\xe2\x81\xad", true); } // [B1, A4_2]
5786test { try toUnicodeFail("xn--eo0d6a."); } // [B1]
5787test { try toAsciiFail("xn--eo0d6a.", false); } // [B1, A4_2]
5788test { try toAsciiFail("xn--eo0d6a.", true); } // [B1, A4_2]
5789test { try toUnicodeFail("xn--0ug4994goba."); } // [B1, C1]
5790test { try toAsciiFail("xn--0ug4994goba.", false); } // [B1, C1, A4_2]
5791test { try toAsciiFail("xn--0ug4994goba.", true); } // [B1, C1, A4_2]
5792test { try toUnicodeFail("xn--eo0d6a.xn--sxg"); } // [B1, V7]
5793test { try toAsciiFail("xn--eo0d6a.xn--sxg", false); } // [B1, V7]
5794test { try toAsciiFail("xn--eo0d6a.xn--sxg", true); } // [B1, V7]
5795test { try toUnicodeFail("xn--0ug4994goba.xn--sxg"); } // [B1, C1, V7]
5796test { try toAsciiFail("xn--0ug4994goba.xn--sxg", false); } // [B1, C1, V7]
5797test { try toAsciiFail("xn--0ug4994goba.xn--sxg", true); } // [B1, C1, V7]
5798test { try toUnicodeFail("\xe0\xb1\x8d\xf0\x9d\xa8\xbe\xd6\xa9\xf0\x9d\x9f\xad\xe3\x80\x82-\xf0\x91\x9c\xa8"); } // [V3, V6]
5799test { try toAsciiFail("\xe0\xb1\x8d\xf0\x9d\xa8\xbe\xd6\xa9\xf0\x9d\x9f\xad\xe3\x80\x82-\xf0\x91\x9c\xa8", false); } // [V3, V6]
5800test { try toAsciiFail("\xe0\xb1\x8d\xf0\x9d\xa8\xbe\xd6\xa9\xf0\x9d\x9f\xad\xe3\x80\x82-\xf0\x91\x9c\xa8", true); } // [V3, V6]
5801test { try toUnicodeFail("\xe0\xb1\x8d\xf0\x9d\xa8\xbe\xd6\xa91\xe3\x80\x82-\xf0\x91\x9c\xa8"); } // [V3, V6]
5802test { try toAsciiFail("\xe0\xb1\x8d\xf0\x9d\xa8\xbe\xd6\xa91\xe3\x80\x82-\xf0\x91\x9c\xa8", false); } // [V3, V6]
5803test { try toAsciiFail("\xe0\xb1\x8d\xf0\x9d\xa8\xbe\xd6\xa91\xe3\x80\x82-\xf0\x91\x9c\xa8", true); } // [V3, V6]
5804test { try toUnicodeFail("xn--1-rfc312cdp45c.xn----nq0j"); } // [V3, V6]
5805test { try toAsciiFail("xn--1-rfc312cdp45c.xn----nq0j", false); } // [V3, V6]
5806test { try toAsciiFail("xn--1-rfc312cdp45c.xn----nq0j", true); } // [V3, V6]
5807test { try toUnicodeFail("\xf2\xa3\xbf\x88\xe3\x80\x82\xeb\x99\x8f"); } // [V7]
5808test { try toAsciiFail("\xf2\xa3\xbf\x88\xe3\x80\x82\xeb\x99\x8f", false); } // [V7]
5809test { try toAsciiFail("\xf2\xa3\xbf\x88\xe3\x80\x82\xeb\x99\x8f", true); } // [V7]
5810test { try toUnicodeFail("\xf2\xa3\xbf\x88\xe3\x80\x82\xe1\x84\x84\xe1\x85\xab\xe1\x86\xae"); } // [V7]
5811test { try toAsciiFail("\xf2\xa3\xbf\x88\xe3\x80\x82\xe1\x84\x84\xe1\x85\xab\xe1\x86\xae", false); } // [V7]
5812test { try toAsciiFail("\xf2\xa3\xbf\x88\xe3\x80\x82\xe1\x84\x84\xe1\x85\xab\xe1\x86\xae", true); } // [V7]
5813test { try toUnicodeFail("xn--ph26c.xn--281b"); } // [V7]
5814test { try toAsciiFail("xn--ph26c.xn--281b", false); } // [V7]
5815test { try toAsciiFail("xn--ph26c.xn--281b", true); } // [V7]
5816test { try toUnicodeFail("\xf1\x95\xa8\x9a\xf3\xa0\x84\x8c\xf3\x91\xbd\x80\xe1\xa1\x80.\xe0\xa2\xb6"); } // [V7]
5817test { try toAsciiFail("\xf1\x95\xa8\x9a\xf3\xa0\x84\x8c\xf3\x91\xbd\x80\xe1\xa1\x80.\xe0\xa2\xb6", false); } // [V7]
5818test { try toAsciiFail("\xf1\x95\xa8\x9a\xf3\xa0\x84\x8c\xf3\x91\xbd\x80\xe1\xa1\x80.\xe0\xa2\xb6", true); } // [V7]
5819test { try toUnicodeFail("xn--z7e98100evc01b.xn--czb"); } // [V7]
5820test { try toAsciiFail("xn--z7e98100evc01b.xn--czb", false); } // [V7]
5821test { try toAsciiFail("xn--z7e98100evc01b.xn--czb", true); } // [V7]
5822test { try toUnicodeFail("\xe2\x80\x8d\xef\xbd\xa1\xf1\x85\x81\x9b"); } // [C2, V7]
5823test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf1\x85\x81\x9b", false); } // [C2, V7]
5824test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf1\x85\x81\x9b", true); } // [V7, A4_2]
5825test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xf1\x85\x81\x9b"); } // [C2, V7]
5826test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf1\x85\x81\x9b", false); } // [C2, V7]
5827test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf1\x85\x81\x9b", true); } // [V7, A4_2]
5828test { try toUnicodeFail(".xn--6x4u"); } // [V7, X4_2]
5829test { try toAsciiFail(".xn--6x4u", false); } // [V7, A4_2]
5830test { try toAsciiFail(".xn--6x4u", true); } // [V7, A4_2]
5831test { try toUnicodeFail("xn--1ug.xn--6x4u"); } // [C2, V7]
5832test { try toAsciiFail("xn--1ug.xn--6x4u", false); } // [C2, V7]
5833test { try toAsciiFail("xn--1ug.xn--6x4u", true); } // [C2, V7]
5834test { try toUnicodeFail("\xe0\xa1\x8b\xe7\x9a\xa5\xef\xbc\x8e-"); } // [B1, B2, B3, V3]
5835test { try toAsciiFail("\xe0\xa1\x8b\xe7\x9a\xa5\xef\xbc\x8e-", false); } // [B1, B2, B3, V3]
5836test { try toAsciiFail("\xe0\xa1\x8b\xe7\x9a\xa5\xef\xbc\x8e-", true); } // [B1, B2, B3, V3]
5837test { try toUnicodeFail("\xe0\xa1\x8b\xe7\x9a\xa5.-"); } // [B1, B2, B3, V3]
5838test { try toAsciiFail("\xe0\xa1\x8b\xe7\x9a\xa5.-", false); } // [B1, B2, B3, V3]
5839test { try toAsciiFail("\xe0\xa1\x8b\xe7\x9a\xa5.-", true); } // [B1, B2, B3, V3]
5840test { try toUnicodeFail("xn--9vb4167c.-"); } // [B1, B2, B3, V3]
5841test { try toAsciiFail("xn--9vb4167c.-", false); } // [B1, B2, B3, V3]
5842test { try toAsciiFail("xn--9vb4167c.-", true); } // [B1, B2, B3, V3]
5843test { try toUnicodeFail("\xf0\x90\xa3\xb8\xcc\x95\xf0\x90\xae\x87\xef\xbc\x8e\xe2\x92\x88\xea\xa1\xa6"); } // [B1, V7]
5844test { try toAsciiFail("\xf0\x90\xa3\xb8\xcc\x95\xf0\x90\xae\x87\xef\xbc\x8e\xe2\x92\x88\xea\xa1\xa6", false); } // [B1, V7]
5845test { try toAsciiFail("\xf0\x90\xa3\xb8\xcc\x95\xf0\x90\xae\x87\xef\xbc\x8e\xe2\x92\x88\xea\xa1\xa6", true); } // [B1, V7]
5846test { try toUnicodeFail("\xf0\x90\xa3\xb8\xcc\x95\xf0\x90\xae\x87.1.\xea\xa1\xa6"); } // [B1, V7]
5847test { try toAsciiFail("\xf0\x90\xa3\xb8\xcc\x95\xf0\x90\xae\x87.1.\xea\xa1\xa6", false); } // [B1, V7]
5848test { try toAsciiFail("\xf0\x90\xa3\xb8\xcc\x95\xf0\x90\xae\x87.1.\xea\xa1\xa6", true); } // [B1, V7]
5849test { try toUnicodeFail("xn--5sa9915kgvb.1.xn--cd9a"); } // [B1, V7]
5850test { try toAsciiFail("xn--5sa9915kgvb.1.xn--cd9a", false); } // [B1, V7]
5851test { try toAsciiFail("xn--5sa9915kgvb.1.xn--cd9a", true); } // [B1, V7]
5852test { try toUnicodeFail("xn--5sa9915kgvb.xn--tshw539b"); } // [B1, V7]
5853test { try toAsciiFail("xn--5sa9915kgvb.xn--tshw539b", false); } // [B1, V7]
5854test { try toAsciiFail("xn--5sa9915kgvb.xn--tshw539b", true); } // [B1, V7]
5855test { try toUnicodeFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0\xc4\x81\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5856test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0\xc4\x81\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5857test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0\xc4\x81\xf0\x90\xb9\xa6", true); } // [B5, B6]
5858test { try toUnicodeFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0a\xcc\x84\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5859test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0a\xcc\x84\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5860test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0a\xcc\x84\xf0\x90\xb9\xa6", true); } // [B5, B6]
5861test { try toUnicodeFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0\xc4\x81\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5862test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0\xc4\x81\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5863test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0\xc4\x81\xf0\x90\xb9\xa6", true); } // [B5, B6]
5864test { try toUnicodeFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0a\xcc\x84\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5865test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0a\xcc\x84\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5866test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0a\xcc\x84\xf0\x90\xb9\xa6", true); } // [B5, B6]
5867test { try toUnicodeFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0a\xcc\x84\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5868test { try toAsciiFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0a\xcc\x84\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5869test { try toAsciiFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0a\xcc\x84\xf0\x90\xb9\xa6", true); } // [B5, B6]
5870test { try toUnicodeFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0\xc4\x81\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5871test { try toAsciiFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0\xc4\x81\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5872test { try toAsciiFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0\xc4\x81\xf0\x90\xb9\xa6", true); } // [B5, B6]
5873test { try toUnicodeFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0\xc4\x80\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5874test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0\xc4\x80\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5875test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0\xc4\x80\xf0\x90\xb9\xa6", true); } // [B5, B6]
5876test { try toUnicodeFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0A\xcc\x84\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5877test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0A\xcc\x84\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5878test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xe1\x85\xa0A\xcc\x84\xf0\x90\xb9\xa6", true); } // [B5, B6]
5879test { try toUnicodeFail("xn--tcb323r.xn--yda4409k"); } // [B5, B6]
5880test { try toAsciiFail("xn--tcb323r.xn--yda4409k", false); } // [B5, B6]
5881test { try toAsciiFail("xn--tcb323r.xn--yda4409k", true); } // [B5, B6]
5882test { try toUnicodeFail("xn--tcb736kea974k.xn--yda4409k"); } // [B5, B6, C1, C2]
5883test { try toAsciiFail("xn--tcb736kea974k.xn--yda4409k", false); } // [B5, B6, C1, C2]
5884test { try toAsciiFail("xn--tcb736kea974k.xn--yda4409k", true); } // [B5, B6, C1, C2]
5885test { try toUnicodeFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0a\xcc\x84\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5886test { try toAsciiFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0a\xcc\x84\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5887test { try toAsciiFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0a\xcc\x84\xf0\x90\xb9\xa6", true); } // [B5, B6]
5888test { try toUnicodeFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0\xc4\x81\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5889test { try toAsciiFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0\xc4\x81\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5890test { try toAsciiFail("\xe2\xb4\x9b\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0\xc4\x81\xf0\x90\xb9\xa6", true); } // [B5, B6]
5891test { try toUnicodeFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0\xc4\x80\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5892test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0\xc4\x80\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5893test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0\xc4\x80\xf0\x90\xb9\xa6", true); } // [B5, B6]
5894test { try toUnicodeFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0A\xcc\x84\xf0\x90\xb9\xa6"); } // [B5, B6, C1, C2]
5895test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0A\xcc\x84\xf0\x90\xb9\xa6", false); } // [B5, B6, C1, C2]
5896test { try toAsciiFail("\xe1\x82\xbb\xe2\x80\x8c\xd6\xa2\xe2\x80\x8d\xe3\x80\x82\xef\xbe\xa0A\xcc\x84\xf0\x90\xb9\xa6", true); } // [B5, B6]
5897test { try toUnicodeFail("xn--tcb597c.xn--yda594fdn5q"); } // [B5, B6, V7]
5898test { try toAsciiFail("xn--tcb597c.xn--yda594fdn5q", false); } // [B5, B6, V7]
5899test { try toAsciiFail("xn--tcb597c.xn--yda594fdn5q", true); } // [B5, B6, V7]
5900test { try toUnicodeFail("xn--tcb597cdmmfa.xn--yda594fdn5q"); } // [B5, B6, C1, C2, V7]
5901test { try toAsciiFail("xn--tcb597cdmmfa.xn--yda594fdn5q", false); } // [B5, B6, C1, C2, V7]
5902test { try toAsciiFail("xn--tcb597cdmmfa.xn--yda594fdn5q", true); } // [B5, B6, C1, C2, V7]
5903test { try toUnicodeFail("xn--tcb323r.xn--yda594fdn5q"); } // [B5, B6, V7]
5904test { try toAsciiFail("xn--tcb323r.xn--yda594fdn5q", false); } // [B5, B6, V7]
5905test { try toAsciiFail("xn--tcb323r.xn--yda594fdn5q", true); } // [B5, B6, V7]
5906test { try toUnicodeFail("xn--tcb736kea974k.xn--yda594fdn5q"); } // [B5, B6, C1, C2, V7]
5907test { try toAsciiFail("xn--tcb736kea974k.xn--yda594fdn5q", false); } // [B5, B6, C1, C2, V7]
5908test { try toAsciiFail("xn--tcb736kea974k.xn--yda594fdn5q", true); } // [B5, B6, C1, C2, V7]
5909test { try toUnicodeFail("xn--tcb597c.xn--yda9741khjj"); } // [B5, B6, V7]
5910test { try toAsciiFail("xn--tcb597c.xn--yda9741khjj", false); } // [B5, B6, V7]
5911test { try toAsciiFail("xn--tcb597c.xn--yda9741khjj", true); } // [B5, B6, V7]
5912test { try toUnicodeFail("xn--tcb597cdmmfa.xn--yda9741khjj"); } // [B5, B6, C1, C2, V7]
5913test { try toAsciiFail("xn--tcb597cdmmfa.xn--yda9741khjj", false); } // [B5, B6, C1, C2, V7]
5914test { try toAsciiFail("xn--tcb597cdmmfa.xn--yda9741khjj", true); } // [B5, B6, C1, C2, V7]
5915test { try toUnicodeFail("xn--tcb323r.xn--yda9741khjj"); } // [B5, B6, V7]
5916test { try toAsciiFail("xn--tcb323r.xn--yda9741khjj", false); } // [B5, B6, V7]
5917test { try toAsciiFail("xn--tcb323r.xn--yda9741khjj", true); } // [B5, B6, V7]
5918test { try toUnicodeFail("xn--tcb736kea974k.xn--yda9741khjj"); } // [B5, B6, C1, C2, V7]
5919test { try toAsciiFail("xn--tcb736kea974k.xn--yda9741khjj", false); } // [B5, B6, C1, C2, V7]
5920test { try toAsciiFail("xn--tcb736kea974k.xn--yda9741khjj", true); } // [B5, B6, C1, C2, V7]
5921test { try toUnicodeFail("\xef\xbf\xb9\xe2\x80\x8c\xef\xbd\xa1\xe6\x9b\xb3\xe2\xbe\x91\xf0\x90\x8b\xb0\xe2\x89\xaf"); } // [C1, V7]
5922test { try toAsciiFail("\xef\xbf\xb9\xe2\x80\x8c\xef\xbd\xa1\xe6\x9b\xb3\xe2\xbe\x91\xf0\x90\x8b\xb0\xe2\x89\xaf", false); } // [C1, V7]
5923test { try toAsciiFail("\xef\xbf\xb9\xe2\x80\x8c\xef\xbd\xa1\xe6\x9b\xb3\xe2\xbe\x91\xf0\x90\x8b\xb0\xe2\x89\xaf", true); } // [V7]
5924test { try toUnicodeFail("\xef\xbf\xb9\xe2\x80\x8c\xef\xbd\xa1\xe6\x9b\xb3\xe2\xbe\x91\xf0\x90\x8b\xb0>\xcc\xb8"); } // [C1, V7]
5925test { try toAsciiFail("\xef\xbf\xb9\xe2\x80\x8c\xef\xbd\xa1\xe6\x9b\xb3\xe2\xbe\x91\xf0\x90\x8b\xb0>\xcc\xb8", false); } // [C1, V7]
5926test { try toAsciiFail("\xef\xbf\xb9\xe2\x80\x8c\xef\xbd\xa1\xe6\x9b\xb3\xe2\xbe\x91\xf0\x90\x8b\xb0>\xcc\xb8", true); } // [V7]
5927test { try toUnicodeFail("\xef\xbf\xb9\xe2\x80\x8c\xe3\x80\x82\xe6\x9b\xb3\xe8\xa5\xbe\xf0\x90\x8b\xb0\xe2\x89\xaf"); } // [C1, V7]
5928test { try toAsciiFail("\xef\xbf\xb9\xe2\x80\x8c\xe3\x80\x82\xe6\x9b\xb3\xe8\xa5\xbe\xf0\x90\x8b\xb0\xe2\x89\xaf", false); } // [C1, V7]
5929test { try toAsciiFail("\xef\xbf\xb9\xe2\x80\x8c\xe3\x80\x82\xe6\x9b\xb3\xe8\xa5\xbe\xf0\x90\x8b\xb0\xe2\x89\xaf", true); } // [V7]
5930test { try toUnicodeFail("\xef\xbf\xb9\xe2\x80\x8c\xe3\x80\x82\xe6\x9b\xb3\xe8\xa5\xbe\xf0\x90\x8b\xb0>\xcc\xb8"); } // [C1, V7]
5931test { try toAsciiFail("\xef\xbf\xb9\xe2\x80\x8c\xe3\x80\x82\xe6\x9b\xb3\xe8\xa5\xbe\xf0\x90\x8b\xb0>\xcc\xb8", false); } // [C1, V7]
5932test { try toAsciiFail("\xef\xbf\xb9\xe2\x80\x8c\xe3\x80\x82\xe6\x9b\xb3\xe8\xa5\xbe\xf0\x90\x8b\xb0>\xcc\xb8", true); } // [V7]
5933test { try toUnicodeFail("xn--vn7c.xn--hdh501y8wvfs5h"); } // [V7]
5934test { try toAsciiFail("xn--vn7c.xn--hdh501y8wvfs5h", false); } // [V7]
5935test { try toAsciiFail("xn--vn7c.xn--hdh501y8wvfs5h", true); } // [V7]
5936test { try toUnicodeFail("xn--0ug2139f.xn--hdh501y8wvfs5h"); } // [C1, V7]
5937test { try toAsciiFail("xn--0ug2139f.xn--hdh501y8wvfs5h", false); } // [C1, V7]
5938test { try toAsciiFail("xn--0ug2139f.xn--hdh501y8wvfs5h", true); } // [C1, V7]
5939test { try toUnicodeFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82\xc3\x9f"); } // [V7]
5940test { try toAsciiFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82\xc3\x9f", false); } // [V7]
5941test { try toAsciiFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82\xc3\x9f", true); } // [V7]
5942test { try toUnicodeFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82\xc3\x9f"); } // [V7]
5943test { try toAsciiFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82\xc3\x9f", false); } // [V7]
5944test { try toAsciiFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82\xc3\x9f", true); } // [V7]
5945test { try toAsciiFail("\xe2\x89\xaf1.\xe3\x80\x82\xc3\x9f", false); } // [A4_2]
5946test { try toAsciiFail("\xe2\x89\xaf1.\xe3\x80\x82\xc3\x9f", true); } // [A4_2]
5947test { try toAsciiFail(">\xcc\xb81.\xe3\x80\x82\xc3\x9f", false); } // [A4_2]
5948test { try toAsciiFail(">\xcc\xb81.\xe3\x80\x82\xc3\x9f", true); } // [A4_2]
5949test { try toAsciiFail(">\xcc\xb81.\xe3\x80\x82SS", false); } // [A4_2]
5950test { try toAsciiFail(">\xcc\xb81.\xe3\x80\x82SS", true); } // [A4_2]
5951test { try toAsciiFail("\xe2\x89\xaf1.\xe3\x80\x82SS", false); } // [A4_2]
5952test { try toAsciiFail("\xe2\x89\xaf1.\xe3\x80\x82SS", true); } // [A4_2]
5953test { try toAsciiFail("\xe2\x89\xaf1.\xe3\x80\x82ss", false); } // [A4_2]
5954test { try toAsciiFail("\xe2\x89\xaf1.\xe3\x80\x82ss", true); } // [A4_2]
5955test { try toAsciiFail(">\xcc\xb81.\xe3\x80\x82ss", false); } // [A4_2]
5956test { try toAsciiFail(">\xcc\xb81.\xe3\x80\x82ss", true); } // [A4_2]
5957test { try toAsciiFail(">\xcc\xb81.\xe3\x80\x82Ss", false); } // [A4_2]
5958test { try toAsciiFail(">\xcc\xb81.\xe3\x80\x82Ss", true); } // [A4_2]
5959test { try toAsciiFail("\xe2\x89\xaf1.\xe3\x80\x82Ss", false); } // [A4_2]
5960test { try toAsciiFail("\xe2\x89\xaf1.\xe3\x80\x82Ss", true); } // [A4_2]
5961test { try toAsciiFail("xn--1-ogo..ss", false); } // [A4_2]
5962test { try toAsciiFail("xn--1-ogo..ss", true); } // [A4_2]
5963test { try toAsciiFail("xn--1-ogo..xn--zca", false); } // [A4_2]
5964test { try toAsciiFail("xn--1-ogo..xn--zca", true); } // [A4_2]
5965test { try toUnicodeFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82SS"); } // [V7]
5966test { try toAsciiFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82SS", false); } // [V7]
5967test { try toAsciiFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82SS", true); } // [V7]
5968test { try toUnicodeFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82SS"); } // [V7]
5969test { try toAsciiFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82SS", false); } // [V7]
5970test { try toAsciiFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82SS", true); } // [V7]
5971test { try toUnicodeFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82ss"); } // [V7]
5972test { try toAsciiFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82ss", false); } // [V7]
5973test { try toAsciiFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82ss", true); } // [V7]
5974test { try toUnicodeFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82ss"); } // [V7]
5975test { try toAsciiFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82ss", false); } // [V7]
5976test { try toAsciiFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82ss", true); } // [V7]
5977test { try toUnicodeFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82Ss"); } // [V7]
5978test { try toAsciiFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82Ss", false); } // [V7]
5979test { try toAsciiFail(">\xcc\xb8\xe2\x92\x88\xe3\x80\x82Ss", true); } // [V7]
5980test { try toUnicodeFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82Ss"); } // [V7]
5981test { try toAsciiFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82Ss", false); } // [V7]
5982test { try toAsciiFail("\xe2\x89\xaf\xe2\x92\x88\xe3\x80\x82Ss", true); } // [V7]
5983test { try toUnicodeFail("xn--hdh84f.ss"); } // [V7]
5984test { try toAsciiFail("xn--hdh84f.ss", false); } // [V7]
5985test { try toAsciiFail("xn--hdh84f.ss", true); } // [V7]
5986test { try toUnicodeFail("xn--hdh84f.xn--zca"); } // [V7]
5987test { try toAsciiFail("xn--hdh84f.xn--zca", false); } // [V7]
5988test { try toAsciiFail("xn--hdh84f.xn--zca", true); } // [V7]
5989test { try toUnicodeFail("\xd9\xa7\xe2\x80\x8d\xef\xae\x96\xef\xbd\xa1\xdf\x9a-\xe2\x82\x86\xe1\x82\xb9"); } // [B1, B2, B3, C2]
5990test { try toAsciiFail("\xd9\xa7\xe2\x80\x8d\xef\xae\x96\xef\xbd\xa1\xdf\x9a-\xe2\x82\x86\xe1\x82\xb9", false); } // [B1, B2, B3, C2]
5991test { try toAsciiFail("\xd9\xa7\xe2\x80\x8d\xef\xae\x96\xef\xbd\xa1\xdf\x9a-\xe2\x82\x86\xe1\x82\xb9", true); } // [B1, B2, B3]
5992test { try toUnicodeFail("\xd9\xa7\xe2\x80\x8d\xda\xb3\xe3\x80\x82\xdf\x9a-6\xe1\x82\xb9"); } // [B1, B2, B3, C2]
5993test { try toAsciiFail("\xd9\xa7\xe2\x80\x8d\xda\xb3\xe3\x80\x82\xdf\x9a-6\xe1\x82\xb9", false); } // [B1, B2, B3, C2]
5994test { try toAsciiFail("\xd9\xa7\xe2\x80\x8d\xda\xb3\xe3\x80\x82\xdf\x9a-6\xe1\x82\xb9", true); } // [B1, B2, B3]
5995test { try toUnicodeFail("\xd9\xa7\xe2\x80\x8d\xda\xb3\xe3\x80\x82\xdf\x9a-6\xe2\xb4\x99"); } // [B1, B2, B3, C2]
5996test { try toAsciiFail("\xd9\xa7\xe2\x80\x8d\xda\xb3\xe3\x80\x82\xdf\x9a-6\xe2\xb4\x99", false); } // [B1, B2, B3, C2]
5997test { try toAsciiFail("\xd9\xa7\xe2\x80\x8d\xda\xb3\xe3\x80\x82\xdf\x9a-6\xe2\xb4\x99", true); } // [B1, B2, B3]
5998test { try toUnicodeFail("xn--gib6m.xn---6-lve6529a"); } // [B1, B2, B3]
5999test { try toAsciiFail("xn--gib6m.xn---6-lve6529a", false); } // [B1, B2, B3]
6000test { try toAsciiFail("xn--gib6m.xn---6-lve6529a", true); } // [B1, B2, B3]
6001test { try toUnicodeFail("xn--gib6m343e.xn---6-lve6529a"); } // [B1, B2, B3, C2]
6002test { try toAsciiFail("xn--gib6m343e.xn---6-lve6529a", false); } // [B1, B2, B3, C2]
6003test { try toAsciiFail("xn--gib6m343e.xn---6-lve6529a", true); } // [B1, B2, B3, C2]
6004test { try toUnicodeFail("\xd9\xa7\xe2\x80\x8d\xef\xae\x96\xef\xbd\xa1\xdf\x9a-\xe2\x82\x86\xe2\xb4\x99"); } // [B1, B2, B3, C2]
6005test { try toAsciiFail("\xd9\xa7\xe2\x80\x8d\xef\xae\x96\xef\xbd\xa1\xdf\x9a-\xe2\x82\x86\xe2\xb4\x99", false); } // [B1, B2, B3, C2]
6006test { try toAsciiFail("\xd9\xa7\xe2\x80\x8d\xef\xae\x96\xef\xbd\xa1\xdf\x9a-\xe2\x82\x86\xe2\xb4\x99", true); } // [B1, B2, B3]
6007test { try toUnicodeFail("xn--gib6m.xn---6-lve002g"); } // [B1, B2, B3, V7]
6008test { try toAsciiFail("xn--gib6m.xn---6-lve002g", false); } // [B1, B2, B3, V7]
6009test { try toAsciiFail("xn--gib6m.xn---6-lve002g", true); } // [B1, B2, B3, V7]
6010test { try toUnicodeFail("xn--gib6m343e.xn---6-lve002g"); } // [B1, B2, B3, C2, V7]
6011test { try toAsciiFail("xn--gib6m343e.xn---6-lve002g", false); } // [B1, B2, B3, C2, V7]
6012test { try toAsciiFail("xn--gib6m343e.xn---6-lve002g", true); } // [B1, B2, B3, C2, V7]
6013test { try toUnicodeFail("\xe2\x80\x8c\xef\xbd\xa1\xe2\x89\xa0"); } // [C1]
6014test { try toAsciiFail("\xe2\x80\x8c\xef\xbd\xa1\xe2\x89\xa0", false); } // [C1]
6015test { try toAsciiFail("\xe2\x80\x8c\xef\xbd\xa1\xe2\x89\xa0", true); } // [A4_2]
6016test { try toUnicodeFail("\xe2\x80\x8c\xef\xbd\xa1=\xcc\xb8"); } // [C1]
6017test { try toAsciiFail("\xe2\x80\x8c\xef\xbd\xa1=\xcc\xb8", false); } // [C1]
6018test { try toAsciiFail("\xe2\x80\x8c\xef\xbd\xa1=\xcc\xb8", true); } // [A4_2]
6019test { try toUnicodeFail("\xe2\x80\x8c\xe3\x80\x82\xe2\x89\xa0"); } // [C1]
6020test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xe2\x89\xa0", false); } // [C1]
6021test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xe2\x89\xa0", true); } // [A4_2]
6022test { try toUnicodeFail("\xe2\x80\x8c\xe3\x80\x82=\xcc\xb8"); } // [C1]
6023test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82=\xcc\xb8", false); } // [C1]
6024test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82=\xcc\xb8", true); } // [A4_2]
6025test { try toAsciiFail(".xn--1ch", false); } // [A4_2]
6026test { try toAsciiFail(".xn--1ch", true); } // [A4_2]
6027test { try toUnicodeFail("xn--0ug.xn--1ch"); } // [C1]
6028test { try toAsciiFail("xn--0ug.xn--1ch", false); } // [C1]
6029test { try toAsciiFail("xn--0ug.xn--1ch", true); } // [C1]
6030test { try toUnicodeFail("\xf0\x91\x96\xbf\xf0\x9d\xa8\x94.\xe1\xa1\x9f\xf0\x91\x96\xbf\xe1\xad\x82\xe2\x80\x8c"); } // [C1, V6]
6031test { try toAsciiFail("\xf0\x91\x96\xbf\xf0\x9d\xa8\x94.\xe1\xa1\x9f\xf0\x91\x96\xbf\xe1\xad\x82\xe2\x80\x8c", false); } // [C1, V6]
6032test { try toAsciiFail("\xf0\x91\x96\xbf\xf0\x9d\xa8\x94.\xe1\xa1\x9f\xf0\x91\x96\xbf\xe1\xad\x82\xe2\x80\x8c", true); } // [V6]
6033test { try toUnicodeFail("xn--461dw464a.xn--v8e29loy65a"); } // [V6]
6034test { try toAsciiFail("xn--461dw464a.xn--v8e29loy65a", false); } // [V6]
6035test { try toAsciiFail("xn--461dw464a.xn--v8e29loy65a", true); } // [V6]
6036test { try toUnicodeFail("xn--461dw464a.xn--v8e29ldzfo952a"); } // [C1, V6]
6037test { try toAsciiFail("xn--461dw464a.xn--v8e29ldzfo952a", false); } // [C1, V6]
6038test { try toAsciiFail("xn--461dw464a.xn--v8e29ldzfo952a", true); } // [C1, V6]
6039test { try toUnicodeFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x83\xe2\x89\xa0-"); } // [C2, V3, V6, V7]
6040test { try toAsciiFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x83\xe2\x89\xa0-", false); } // [C2, V3, V6, V7]
6041test { try toAsciiFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x83\xe2\x89\xa0-", true); } // [V3, V6, V7]
6042test { try toUnicodeFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x83=\xcc\xb8-"); } // [C2, V3, V6, V7]
6043test { try toAsciiFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x83=\xcc\xb8-", false); } // [C2, V3, V6, V7]
6044test { try toAsciiFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x83=\xcc\xb8-", true); } // [V3, V6, V7]
6045test { try toUnicodeFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x84=\xcc\xb8-"); } // [C2, V3, V6, V7]
6046test { try toAsciiFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x84=\xcc\xb8-", false); } // [C2, V3, V6, V7]
6047test { try toAsciiFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x84=\xcc\xb8-", true); } // [V3, V6, V7]
6048test { try toUnicodeFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x84\xe2\x89\xa0-"); } // [C2, V3, V6, V7]
6049test { try toAsciiFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x84\xe2\x89\xa0-", false); } // [C2, V3, V6, V7]
6050test { try toAsciiFail("\xf2\x94\xa3\xb3\xe2\x80\x8d\xf2\x91\x9d\xb1.\xf0\x96\xac\xb4\xe2\x86\x84\xe2\x89\xa0-", true); } // [V3, V6, V7]
6051test { try toUnicodeFail("xn--6j00chy9a.xn----81n51bt713h"); } // [V3, V6, V7]
6052test { try toAsciiFail("xn--6j00chy9a.xn----81n51bt713h", false); } // [V3, V6, V7]
6053test { try toAsciiFail("xn--6j00chy9a.xn----81n51bt713h", true); } // [V3, V6, V7]
6054test { try toUnicodeFail("xn--1ug15151gkb5a.xn----81n51bt713h"); } // [C2, V3, V6, V7]
6055test { try toAsciiFail("xn--1ug15151gkb5a.xn----81n51bt713h", false); } // [C2, V3, V6, V7]
6056test { try toAsciiFail("xn--1ug15151gkb5a.xn----81n51bt713h", true); } // [C2, V3, V6, V7]
6057test { try toUnicodeFail("xn--6j00chy9a.xn----61n81bt713h"); } // [V3, V6, V7]
6058test { try toAsciiFail("xn--6j00chy9a.xn----61n81bt713h", false); } // [V3, V6, V7]
6059test { try toAsciiFail("xn--6j00chy9a.xn----61n81bt713h", true); } // [V3, V6, V7]
6060test { try toUnicodeFail("xn--1ug15151gkb5a.xn----61n81bt713h"); } // [C2, V3, V6, V7]
6061test { try toAsciiFail("xn--1ug15151gkb5a.xn----61n81bt713h", false); } // [C2, V3, V6, V7]
6062test { try toAsciiFail("xn--1ug15151gkb5a.xn----61n81bt713h", true); } // [C2, V3, V6, V7]
6063test { try toUnicodeFail("\xdf\xa2\xcf\x82\xe2\x80\x8d\xf0\x9d\x9f\xb3\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2"); } // [B2, C2, V7]
6064test { try toAsciiFail("\xdf\xa2\xcf\x82\xe2\x80\x8d\xf0\x9d\x9f\xb3\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", false); } // [B2, C2, V7]
6065test { try toAsciiFail("\xdf\xa2\xcf\x82\xe2\x80\x8d\xf0\x9d\x9f\xb3\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", true); } // [B2, V7]
6066test { try toUnicodeFail("\xdf\xa2\xcf\x82\xe2\x80\x8d7\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2"); } // [B2, C2, V7]
6067test { try toAsciiFail("\xdf\xa2\xcf\x82\xe2\x80\x8d7\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", false); } // [B2, C2, V7]
6068test { try toAsciiFail("\xdf\xa2\xcf\x82\xe2\x80\x8d7\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", true); } // [B2, V7]
6069test { try toUnicodeFail("\xdf\xa2\xce\xa3\xe2\x80\x8d7\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2"); } // [B2, C2, V7]
6070test { try toAsciiFail("\xdf\xa2\xce\xa3\xe2\x80\x8d7\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", false); } // [B2, C2, V7]
6071test { try toAsciiFail("\xdf\xa2\xce\xa3\xe2\x80\x8d7\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", true); } // [B2, V7]
6072test { try toUnicodeFail("\xdf\xa2\xcf\x83\xe2\x80\x8d7\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2"); } // [B2, C2, V7]
6073test { try toAsciiFail("\xdf\xa2\xcf\x83\xe2\x80\x8d7\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", false); } // [B2, C2, V7]
6074test { try toAsciiFail("\xdf\xa2\xcf\x83\xe2\x80\x8d7\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", true); } // [B2, V7]
6075test { try toUnicodeFail("xn--7-zmb872a.xn--wy1ao4929b"); } // [B2, V7]
6076test { try toAsciiFail("xn--7-zmb872a.xn--wy1ao4929b", false); } // [B2, V7]
6077test { try toAsciiFail("xn--7-zmb872a.xn--wy1ao4929b", true); } // [B2, V7]
6078test { try toUnicodeFail("xn--7-zmb872aez5a.xn--wy1ao4929b"); } // [B2, C2, V7]
6079test { try toAsciiFail("xn--7-zmb872aez5a.xn--wy1ao4929b", false); } // [B2, C2, V7]
6080test { try toAsciiFail("xn--7-zmb872aez5a.xn--wy1ao4929b", true); } // [B2, C2, V7]
6081test { try toUnicodeFail("xn--7-xmb182aez5a.xn--wy1ao4929b"); } // [B2, C2, V7]
6082test { try toAsciiFail("xn--7-xmb182aez5a.xn--wy1ao4929b", false); } // [B2, C2, V7]
6083test { try toAsciiFail("xn--7-xmb182aez5a.xn--wy1ao4929b", true); } // [B2, C2, V7]
6084test { try toUnicodeFail("\xdf\xa2\xce\xa3\xe2\x80\x8d\xf0\x9d\x9f\xb3\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2"); } // [B2, C2, V7]
6085test { try toAsciiFail("\xdf\xa2\xce\xa3\xe2\x80\x8d\xf0\x9d\x9f\xb3\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", false); } // [B2, C2, V7]
6086test { try toAsciiFail("\xdf\xa2\xce\xa3\xe2\x80\x8d\xf0\x9d\x9f\xb3\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", true); } // [B2, V7]
6087test { try toUnicodeFail("\xdf\xa2\xcf\x83\xe2\x80\x8d\xf0\x9d\x9f\xb3\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2"); } // [B2, C2, V7]
6088test { try toAsciiFail("\xdf\xa2\xcf\x83\xe2\x80\x8d\xf0\x9d\x9f\xb3\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", false); } // [B2, C2, V7]
6089test { try toAsciiFail("\xdf\xa2\xcf\x83\xe2\x80\x8d\xf0\x9d\x9f\xb3\xe3\x80\x82\xe8\x94\x91\xf2\x9b\x96\xa2", true); } // [B2, V7]
6090test { try toUnicodeFail("\xf0\x90\xb9\xb0.\xd8\x80"); } // [B1, V7]
6091test { try toAsciiFail("\xf0\x90\xb9\xb0.\xd8\x80", false); } // [B1, V7]
6092test { try toAsciiFail("\xf0\x90\xb9\xb0.\xd8\x80", true); } // [B1, V7]
6093test { try toUnicodeFail("xn--oo0d.xn--ifb"); } // [B1, V7]
6094test { try toAsciiFail("xn--oo0d.xn--ifb", false); } // [B1, V7]
6095test { try toAsciiFail("xn--oo0d.xn--ifb", true); } // [B1, V7]
6096test { try toUnicodeFail("-\xe0\xa2\xa8.\xf0\xb1\xa0\x96"); } // [B1, V3]
6097test { try toAsciiFail("-\xe0\xa2\xa8.\xf0\xb1\xa0\x96", false); } // [B1, V3]
6098test { try toAsciiFail("-\xe0\xa2\xa8.\xf0\xb1\xa0\x96", true); } // [B1, V3]
6099test { try toUnicodeFail("xn----mod.xn--5o9n"); } // [B1, V3]
6100test { try toAsciiFail("xn----mod.xn--5o9n", false); } // [B1, V3]
6101test { try toAsciiFail("xn----mod.xn--5o9n", true); } // [B1, V3]
6102test { try toUnicodeFail("\xe2\x89\xaf\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x86\xe2\x92\x88"); } // [B1, V7]
6103test { try toAsciiFail("\xe2\x89\xaf\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x86\xe2\x92\x88", false); } // [B1, V7]
6104test { try toAsciiFail("\xe2\x89\xaf\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x86\xe2\x92\x88", true); } // [B1, V7]
6105test { try toUnicodeFail(">\xcc\xb8\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x86\xe2\x92\x88"); } // [B1, V7]
6106test { try toAsciiFail(">\xcc\xb8\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x86\xe2\x92\x88", false); } // [B1, V7]
6107test { try toAsciiFail(">\xcc\xb8\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x86\xe2\x92\x88", true); } // [B1, V7]
6108test { try toUnicodeFail("\xe2\x89\xaf\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x861."); } // [B1]
6109test { try toAsciiFail("\xe2\x89\xaf\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x861.", false); } // [B1, A4_2]
6110test { try toAsciiFail("\xe2\x89\xaf\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x861.", true); } // [B1, A4_2]
6111test { try toUnicodeFail(">\xcc\xb8\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x861."); } // [B1]
6112test { try toAsciiFail(">\xcc\xb8\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x861.", false); } // [B1, A4_2]
6113test { try toAsciiFail(">\xcc\xb8\xf0\x9e\xb1\xb8\xf3\xa0\x87\x80\xe3\x80\x82\xe8\xaa\x861.", true); } // [B1, A4_2]
6114test { try toUnicodeFail("xn--hdh7151p.xn--1-dy1d."); } // [B1]
6115test { try toAsciiFail("xn--hdh7151p.xn--1-dy1d.", false); } // [B1, A4_2]
6116test { try toAsciiFail("xn--hdh7151p.xn--1-dy1d.", true); } // [B1, A4_2]
6117test { try toUnicodeFail("xn--hdh7151p.xn--tsh1248a"); } // [B1, V7]
6118test { try toAsciiFail("xn--hdh7151p.xn--tsh1248a", false); } // [B1, V7]
6119test { try toAsciiFail("xn--hdh7151p.xn--tsh1248a", true); } // [B1, V7]
6120test { try toUnicodeFail("\xd8\x96\xf0\x9e\xa5\x99\xe4\x90\x8a\xd9\x90\xef\xbc\x8e\xef\xb8\x92\xd9\x85\xe2\x86\xba\xda\x9c"); } // [B1, V6, V7]
6121test { try toAsciiFail("\xd8\x96\xf0\x9e\xa5\x99\xe4\x90\x8a\xd9\x90\xef\xbc\x8e\xef\xb8\x92\xd9\x85\xe2\x86\xba\xda\x9c", false); } // [B1, V6, V7]
6122test { try toAsciiFail("\xd8\x96\xf0\x9e\xa5\x99\xe4\x90\x8a\xd9\x90\xef\xbc\x8e\xef\xb8\x92\xd9\x85\xe2\x86\xba\xda\x9c", true); } // [B1, V6, V7]
6123test { try toUnicodeFail("\xd8\x96\xf0\x9e\xa5\x99\xe4\x90\x8a\xd9\x90.\xe3\x80\x82\xd9\x85\xe2\x86\xba\xda\x9c"); } // [B1, V6, X4_2]
6124test { try toAsciiFail("\xd8\x96\xf0\x9e\xa5\x99\xe4\x90\x8a\xd9\x90.\xe3\x80\x82\xd9\x85\xe2\x86\xba\xda\x9c", false); } // [B1, V6, A4_2]
6125test { try toAsciiFail("\xd8\x96\xf0\x9e\xa5\x99\xe4\x90\x8a\xd9\x90.\xe3\x80\x82\xd9\x85\xe2\x86\xba\xda\x9c", true); } // [B1, V6, A4_2]
6126test { try toUnicodeFail("xn--4fb0j490qjg4x..xn--hhb8o948e"); } // [B1, V6, X4_2]
6127test { try toAsciiFail("xn--4fb0j490qjg4x..xn--hhb8o948e", false); } // [B1, V6, A4_2]
6128test { try toAsciiFail("xn--4fb0j490qjg4x..xn--hhb8o948e", true); } // [B1, V6, A4_2]
6129test { try toUnicodeFail("xn--4fb0j490qjg4x.xn--hhb8o948euo5r"); } // [B1, V6, V7]
6130test { try toAsciiFail("xn--4fb0j490qjg4x.xn--hhb8o948euo5r", false); } // [B1, V6, V7]
6131test { try toAsciiFail("xn--4fb0j490qjg4x.xn--hhb8o948euo5r", true); } // [B1, V6, V7]
6132test { try toUnicodeFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.\xe2\x80\x8c\xe0\xab\x85\xf3\xa9\xb8\xa4\xdb\xb4"); } // [C1, V7, U1]
6133test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.\xe2\x80\x8c\xe0\xab\x85\xf3\xa9\xb8\xa4\xdb\xb4", false); } // [C1, V7, U1]
6134test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.\xe2\x80\x8c\xe0\xab\x85\xf3\xa9\xb8\xa4\xdb\xb4", true); } // [V6, V7, U1]
6135test { try toUnicodeFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.\xe2\x80\x8c\xe0\xab\x85\xf3\xa9\xb8\xa4\xdb\xb4"); } // [C1, V7, U1]
6136test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.\xe2\x80\x8c\xe0\xab\x85\xf3\xa9\xb8\xa4\xdb\xb4", false); } // [C1, V7, U1]
6137test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.\xe2\x80\x8c\xe0\xab\x85\xf3\xa9\xb8\xa4\xdb\xb4", true); } // [V6, V7, U1]
6138test { try toUnicodeFail("xn---?-6g4k75207c.xn--hmb76q74166b"); } // [V6, V7, U1]
6139test { try toAsciiFail("xn---?-6g4k75207c.xn--hmb76q74166b", false); } // [V6, V7, U1]
6140test { try toAsciiFail("xn---?-6g4k75207c.xn--hmb76q74166b", true); } // [V6, V7, U1]
6141test { try toUnicodeFail("xn---?-6g4k75207c.xn--hmb76q48y18505a"); } // [C1, V7, U1]
6142test { try toAsciiFail("xn---?-6g4k75207c.xn--hmb76q48y18505a", false); } // [C1, V7, U1]
6143test { try toAsciiFail("xn---?-6g4k75207c.xn--hmb76q48y18505a", true); } // [C1, V7, U1]
6144test { try toUnicodeFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.xn--hmb76q74166b"); } // [V6, V7, U1]
6145test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.xn--hmb76q74166b", false); } // [V6, V7, U1]
6146test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.xn--hmb76q74166b", true); } // [V6, V7, U1]
6147test { try toUnicodeFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.xn--hmb76q74166b"); } // [V6, V7, U1]
6148test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.xn--hmb76q74166b", false); } // [V6, V7, U1]
6149test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.xn--hmb76q74166b", true); } // [V6, V7, U1]
6150test { try toUnicodeFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.XN--HMB76Q74166B"); } // [V6, V7, U1]
6151test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.XN--HMB76Q74166B", false); } // [V6, V7, U1]
6152test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.XN--HMB76Q74166B", true); } // [V6, V7, U1]
6153test { try toUnicodeFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.XN--HMB76Q74166B"); } // [V6, V7, U1]
6154test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.XN--HMB76Q74166B", false); } // [V6, V7, U1]
6155test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.XN--HMB76Q74166B", true); } // [V6, V7, U1]
6156test { try toUnicodeFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.Xn--Hmb76q74166b"); } // [V6, V7, U1]
6157test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.Xn--Hmb76q74166b", false); } // [V6, V7, U1]
6158test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.Xn--Hmb76q74166b", true); } // [V6, V7, U1]
6159test { try toUnicodeFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.Xn--Hmb76q74166b"); } // [V6, V7, U1]
6160test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.Xn--Hmb76q74166b", false); } // [V6, V7, U1]
6161test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.Xn--Hmb76q74166b", true); } // [V6, V7, U1]
6162test { try toUnicodeFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.xn--hmb76q48y18505a"); } // [C1, V7, U1]
6163test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.xn--hmb76q48y18505a", false); } // [C1, V7, U1]
6164test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.xn--hmb76q48y18505a", true); } // [C1, V7, U1]
6165test { try toUnicodeFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.xn--hmb76q48y18505a"); } // [C1, V7, U1]
6166test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.xn--hmb76q48y18505a", false); } // [C1, V7, U1]
6167test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.xn--hmb76q48y18505a", true); } // [C1, V7, U1]
6168test { try toUnicodeFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.XN--HMB76Q48Y18505A"); } // [C1, V7, U1]
6169test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.XN--HMB76Q48Y18505A", false); } // [C1, V7, U1]
6170test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.XN--HMB76Q48Y18505A", true); } // [C1, V7, U1]
6171test { try toUnicodeFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.XN--HMB76Q48Y18505A"); } // [C1, V7, U1]
6172test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.XN--HMB76Q48Y18505A", false); } // [C1, V7, U1]
6173test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.XN--HMB76Q48Y18505A", true); } // [C1, V7, U1]
6174test { try toUnicodeFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.Xn--Hmb76q48y18505a"); } // [C1, V7, U1]
6175test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.Xn--Hmb76q48y18505a", false); } // [C1, V7, U1]
6176test { try toAsciiFail("\xed\x80\xac-?\xf1\xb6\xb3\x92.Xn--Hmb76q48y18505a", true); } // [C1, V7, U1]
6177test { try toUnicodeFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.Xn--Hmb76q48y18505a"); } // [C1, V7, U1]
6178test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.Xn--Hmb76q48y18505a", false); } // [C1, V7, U1]
6179test { try toAsciiFail("\xe1\x84\x8f\xe1\x85\xb0\xe1\x86\xbb-?\xf1\xb6\xb3\x92.Xn--Hmb76q48y18505a", true); } // [C1, V7, U1]
6180test { try toUnicodeFail("\xe1\x82\xac.\xf0\x90\xb9\xbe\xef\xb8\x92\xf0\x91\x81\xbf\xf0\x9e\xbe\x84"); } // [B1, V7]
6181test { try toAsciiFail("\xe1\x82\xac.\xf0\x90\xb9\xbe\xef\xb8\x92\xf0\x91\x81\xbf\xf0\x9e\xbe\x84", false); } // [B1, V7]
6182test { try toAsciiFail("\xe1\x82\xac.\xf0\x90\xb9\xbe\xef\xb8\x92\xf0\x91\x81\xbf\xf0\x9e\xbe\x84", true); } // [B1, V7]
6183test { try toUnicodeFail("\xe1\x82\xac.\xf0\x90\xb9\xbe\xe3\x80\x82\xf0\x91\x81\xbf\xf0\x9e\xbe\x84"); } // [B1, V6, V7]
6184test { try toAsciiFail("\xe1\x82\xac.\xf0\x90\xb9\xbe\xe3\x80\x82\xf0\x91\x81\xbf\xf0\x9e\xbe\x84", false); } // [B1, V6, V7]
6185test { try toAsciiFail("\xe1\x82\xac.\xf0\x90\xb9\xbe\xe3\x80\x82\xf0\x91\x81\xbf\xf0\x9e\xbe\x84", true); } // [B1, V6, V7]
6186test { try toUnicodeFail("\xe2\xb4\x8c.\xf0\x90\xb9\xbe\xe3\x80\x82\xf0\x91\x81\xbf\xf0\x9e\xbe\x84"); } // [B1, V6, V7]
6187test { try toAsciiFail("\xe2\xb4\x8c.\xf0\x90\xb9\xbe\xe3\x80\x82\xf0\x91\x81\xbf\xf0\x9e\xbe\x84", false); } // [B1, V6, V7]
6188test { try toAsciiFail("\xe2\xb4\x8c.\xf0\x90\xb9\xbe\xe3\x80\x82\xf0\x91\x81\xbf\xf0\x9e\xbe\x84", true); } // [B1, V6, V7]
6189test { try toUnicodeFail("xn--3kj.xn--2o0d.xn--q30dg029a"); } // [B1, V6, V7]
6190test { try toAsciiFail("xn--3kj.xn--2o0d.xn--q30dg029a", false); } // [B1, V6, V7]
6191test { try toAsciiFail("xn--3kj.xn--2o0d.xn--q30dg029a", true); } // [B1, V6, V7]
6192test { try toUnicodeFail("\xe2\xb4\x8c.\xf0\x90\xb9\xbe\xef\xb8\x92\xf0\x91\x81\xbf\xf0\x9e\xbe\x84"); } // [B1, V7]
6193test { try toAsciiFail("\xe2\xb4\x8c.\xf0\x90\xb9\xbe\xef\xb8\x92\xf0\x91\x81\xbf\xf0\x9e\xbe\x84", false); } // [B1, V7]
6194test { try toAsciiFail("\xe2\xb4\x8c.\xf0\x90\xb9\xbe\xef\xb8\x92\xf0\x91\x81\xbf\xf0\x9e\xbe\x84", true); } // [B1, V7]
6195test { try toUnicodeFail("xn--3kj.xn--y86c030a9ob6374b"); } // [B1, V7]
6196test { try toAsciiFail("xn--3kj.xn--y86c030a9ob6374b", false); } // [B1, V7]
6197test { try toAsciiFail("xn--3kj.xn--y86c030a9ob6374b", true); } // [B1, V7]
6198test { try toUnicodeFail("xn--knd.xn--2o0d.xn--q30dg029a"); } // [B1, V6, V7]
6199test { try toAsciiFail("xn--knd.xn--2o0d.xn--q30dg029a", false); } // [B1, V6, V7]
6200test { try toAsciiFail("xn--knd.xn--2o0d.xn--q30dg029a", true); } // [B1, V6, V7]
6201test { try toUnicodeFail("xn--knd.xn--y86c030a9ob6374b"); } // [B1, V7]
6202test { try toAsciiFail("xn--knd.xn--y86c030a9ob6374b", false); } // [B1, V7]
6203test { try toAsciiFail("xn--knd.xn--y86c030a9ob6374b", true); } // [B1, V7]
6204test { try toUnicodeFail("\xf1\xa7\x9e\xbf\xe2\x95\x8f\xe3\x80\x82\xf0\x9e\xa9\x95\xf3\xa0\x81\xbe"); } // [B3, B6, V7]
6205test { try toAsciiFail("\xf1\xa7\x9e\xbf\xe2\x95\x8f\xe3\x80\x82\xf0\x9e\xa9\x95\xf3\xa0\x81\xbe", false); } // [B3, B6, V7]
6206test { try toAsciiFail("\xf1\xa7\x9e\xbf\xe2\x95\x8f\xe3\x80\x82\xf0\x9e\xa9\x95\xf3\xa0\x81\xbe", true); } // [B3, B6, V7]
6207test { try toUnicodeFail("xn--iyh90030d.xn--1m6hs0260c"); } // [B3, B6, V7]
6208test { try toAsciiFail("xn--iyh90030d.xn--1m6hs0260c", false); } // [B3, B6, V7]
6209test { try toAsciiFail("xn--iyh90030d.xn--1m6hs0260c", true); } // [B3, B6, V7]
6210test { try toUnicodeFail("\xe2\x80\x8d\xe2\x94\xae\xf3\xa0\x87\x90\xef\xbc\x8e\xe0\xb0\x80\xe0\xb1\x8d\xe1\x9c\xb4\xe2\x80\x8d"); } // [C2, V6]
6211test { try toAsciiFail("\xe2\x80\x8d\xe2\x94\xae\xf3\xa0\x87\x90\xef\xbc\x8e\xe0\xb0\x80\xe0\xb1\x8d\xe1\x9c\xb4\xe2\x80\x8d", false); } // [C2, V6]
6212test { try toAsciiFail("\xe2\x80\x8d\xe2\x94\xae\xf3\xa0\x87\x90\xef\xbc\x8e\xe0\xb0\x80\xe0\xb1\x8d\xe1\x9c\xb4\xe2\x80\x8d", true); } // [V6]
6213test { try toUnicodeFail("\xe2\x80\x8d\xe2\x94\xae\xf3\xa0\x87\x90.\xe0\xb0\x80\xe0\xb1\x8d\xe1\x9c\xb4\xe2\x80\x8d"); } // [C2, V6]
6214test { try toAsciiFail("\xe2\x80\x8d\xe2\x94\xae\xf3\xa0\x87\x90.\xe0\xb0\x80\xe0\xb1\x8d\xe1\x9c\xb4\xe2\x80\x8d", false); } // [C2, V6]
6215test { try toAsciiFail("\xe2\x80\x8d\xe2\x94\xae\xf3\xa0\x87\x90.\xe0\xb0\x80\xe0\xb1\x8d\xe1\x9c\xb4\xe2\x80\x8d", true); } // [V6]
6216test { try toUnicodeFail("xn--kxh.xn--eoc8m432a"); } // [V6]
6217test { try toAsciiFail("xn--kxh.xn--eoc8m432a", false); } // [V6]
6218test { try toAsciiFail("xn--kxh.xn--eoc8m432a", true); } // [V6]
6219test { try toUnicodeFail("xn--1ug04r.xn--eoc8m432a40i"); } // [C2, V6]
6220test { try toAsciiFail("xn--1ug04r.xn--eoc8m432a40i", false); } // [C2, V6]
6221test { try toAsciiFail("xn--1ug04r.xn--eoc8m432a40i", true); } // [C2, V6]
6222test { try toUnicodeFail("\xf2\xb9\x9a\xaa\xef\xbd\xa1\xf0\x9f\x84\x82"); } // [V7, U1]
6223test { try toAsciiFail("\xf2\xb9\x9a\xaa\xef\xbd\xa1\xf0\x9f\x84\x82", false); } // [V7, U1]
6224test { try toAsciiFail("\xf2\xb9\x9a\xaa\xef\xbd\xa1\xf0\x9f\x84\x82", true); } // [V7, U1]
6225test { try toUnicodeFail("\xf2\xb9\x9a\xaa\xe3\x80\x821,"); } // [V7, U1]
6226test { try toAsciiFail("\xf2\xb9\x9a\xaa\xe3\x80\x821,", false); } // [V7, U1]
6227test { try toAsciiFail("\xf2\xb9\x9a\xaa\xe3\x80\x821,", true); } // [V7, U1]
6228test { try toUnicodeFail("xn--n433d.1,"); } // [V7, U1]
6229test { try toAsciiFail("xn--n433d.1,", false); } // [V7, U1]
6230test { try toAsciiFail("xn--n433d.1,", true); } // [V7, U1]
6231test { try toUnicodeFail("xn--n433d.xn--v07h"); } // [V7]
6232test { try toAsciiFail("xn--n433d.xn--v07h", false); } // [V7]
6233test { try toAsciiFail("xn--n433d.xn--v07h", true); } // [V7]
6234test { try toUnicodeFail("\xf0\x91\x8d\xa8\xe5\x88\x8d.\xf0\x9f\x9b\xa6"); } // [V6]
6235test { try toAsciiFail("\xf0\x91\x8d\xa8\xe5\x88\x8d.\xf0\x9f\x9b\xa6", false); } // [V6]
6236test { try toAsciiFail("\xf0\x91\x8d\xa8\xe5\x88\x8d.\xf0\x9f\x9b\xa6", true); } // [V6]
6237test { try toUnicodeFail("xn--rbry728b.xn--y88h"); } // [V6]
6238test { try toAsciiFail("xn--rbry728b.xn--y88h", false); } // [V6]
6239test { try toAsciiFail("xn--rbry728b.xn--y88h", true); } // [V6]
6240test { try toUnicodeFail("\xf3\xa0\x8c\x8f3\xef\xbd\xa1\xe1\xaf\xb1\xf0\x9d\x9f\x92"); } // [V6, V7]
6241test { try toAsciiFail("\xf3\xa0\x8c\x8f3\xef\xbd\xa1\xe1\xaf\xb1\xf0\x9d\x9f\x92", false); } // [V6, V7]
6242test { try toAsciiFail("\xf3\xa0\x8c\x8f3\xef\xbd\xa1\xe1\xaf\xb1\xf0\x9d\x9f\x92", true); } // [V6, V7]
6243test { try toUnicodeFail("\xf3\xa0\x8c\x8f3\xe3\x80\x82\xe1\xaf\xb14"); } // [V6, V7]
6244test { try toAsciiFail("\xf3\xa0\x8c\x8f3\xe3\x80\x82\xe1\xaf\xb14", false); } // [V6, V7]
6245test { try toAsciiFail("\xf3\xa0\x8c\x8f3\xe3\x80\x82\xe1\xaf\xb14", true); } // [V6, V7]
6246test { try toUnicodeFail("xn--3-ib31m.xn--4-pql"); } // [V6, V7]
6247test { try toAsciiFail("xn--3-ib31m.xn--4-pql", false); } // [V6, V7]
6248test { try toAsciiFail("xn--3-ib31m.xn--4-pql", true); } // [V6, V7]
6249test { try toUnicodeFail("\xda\x87\xef\xbc\x96\xe1\x82\xb4\xe8\xbe\x98.\xef\xb4\xa2\xda\x87\xe2\x80\x8c"); } // [B2, B3, C1]
6250test { try toAsciiFail("\xda\x87\xef\xbc\x96\xe1\x82\xb4\xe8\xbe\x98.\xef\xb4\xa2\xda\x87\xe2\x80\x8c", false); } // [B2, B3, C1]
6251test { try toAsciiFail("\xda\x87\xef\xbc\x96\xe1\x82\xb4\xe8\xbe\x98.\xef\xb4\xa2\xda\x87\xe2\x80\x8c", true); } // [B2, B3]
6252test { try toUnicodeFail("\xda\x876\xe1\x82\xb4\xe8\xbe\x98.\xd8\xb5\xd9\x8a\xda\x87\xe2\x80\x8c"); } // [B2, B3, C1]
6253test { try toAsciiFail("\xda\x876\xe1\x82\xb4\xe8\xbe\x98.\xd8\xb5\xd9\x8a\xda\x87\xe2\x80\x8c", false); } // [B2, B3, C1]
6254test { try toAsciiFail("\xda\x876\xe1\x82\xb4\xe8\xbe\x98.\xd8\xb5\xd9\x8a\xda\x87\xe2\x80\x8c", true); } // [B2, B3]
6255test { try toUnicodeFail("\xda\x876\xe2\xb4\x94\xe8\xbe\x98.\xd8\xb5\xd9\x8a\xda\x87\xe2\x80\x8c"); } // [B2, B3, C1]
6256test { try toAsciiFail("\xda\x876\xe2\xb4\x94\xe8\xbe\x98.\xd8\xb5\xd9\x8a\xda\x87\xe2\x80\x8c", false); } // [B2, B3, C1]
6257test { try toAsciiFail("\xda\x876\xe2\xb4\x94\xe8\xbe\x98.\xd8\xb5\xd9\x8a\xda\x87\xe2\x80\x8c", true); } // [B2, B3]
6258test { try toUnicodeFail("xn--6-gsc2270akm6f.xn--0gb6bxk"); } // [B2, B3]
6259test { try toAsciiFail("xn--6-gsc2270akm6f.xn--0gb6bxk", false); } // [B2, B3]
6260test { try toAsciiFail("xn--6-gsc2270akm6f.xn--0gb6bxk", true); } // [B2, B3]
6261test { try toUnicodeFail("xn--6-gsc2270akm6f.xn--0gb6bxkx18g"); } // [B2, B3, C1]
6262test { try toAsciiFail("xn--6-gsc2270akm6f.xn--0gb6bxkx18g", false); } // [B2, B3, C1]
6263test { try toAsciiFail("xn--6-gsc2270akm6f.xn--0gb6bxkx18g", true); } // [B2, B3, C1]
6264test { try toUnicodeFail("\xda\x87\xef\xbc\x96\xe2\xb4\x94\xe8\xbe\x98.\xef\xb4\xa2\xda\x87\xe2\x80\x8c"); } // [B2, B3, C1]
6265test { try toAsciiFail("\xda\x87\xef\xbc\x96\xe2\xb4\x94\xe8\xbe\x98.\xef\xb4\xa2\xda\x87\xe2\x80\x8c", false); } // [B2, B3, C1]
6266test { try toAsciiFail("\xda\x87\xef\xbc\x96\xe2\xb4\x94\xe8\xbe\x98.\xef\xb4\xa2\xda\x87\xe2\x80\x8c", true); } // [B2, B3]
6267test { try toUnicodeFail("xn--6-gsc039eqq6k.xn--0gb6bxk"); } // [B2, B3, V7]
6268test { try toAsciiFail("xn--6-gsc039eqq6k.xn--0gb6bxk", false); } // [B2, B3, V7]
6269test { try toAsciiFail("xn--6-gsc039eqq6k.xn--0gb6bxk", true); } // [B2, B3, V7]
6270test { try toUnicodeFail("xn--6-gsc039eqq6k.xn--0gb6bxkx18g"); } // [B2, B3, C1, V7]
6271test { try toAsciiFail("xn--6-gsc039eqq6k.xn--0gb6bxkx18g", false); } // [B2, B3, C1, V7]
6272test { try toAsciiFail("xn--6-gsc039eqq6k.xn--0gb6bxkx18g", true); } // [B2, B3, C1, V7]
6273test { try toUnicodeFail("\xf3\xa0\x84\x8d.\xf0\x90\xae\xad\xf0\x9e\xb0\xac\xf2\xbb\xab\x9e\xdb\xb9"); } // [B2, V7, X4_2]
6274test { try toAsciiFail("\xf3\xa0\x84\x8d.\xf0\x90\xae\xad\xf0\x9e\xb0\xac\xf2\xbb\xab\x9e\xdb\xb9", false); } // [B2, V7, A4_2]
6275test { try toAsciiFail("\xf3\xa0\x84\x8d.\xf0\x90\xae\xad\xf0\x9e\xb0\xac\xf2\xbb\xab\x9e\xdb\xb9", true); } // [B2, V7, A4_2]
6276test { try toUnicodeFail(".xn--mmb3954kd0uf1zx7f"); } // [B2, V7, X4_2]
6277test { try toAsciiFail(".xn--mmb3954kd0uf1zx7f", false); } // [B2, V7, A4_2]
6278test { try toAsciiFail(".xn--mmb3954kd0uf1zx7f", true); } // [B2, V7, A4_2]
6279test { try toUnicodeFail("\xea\xa1\xbd\xe2\x89\xaf\xef\xbc\x8e\xf2\xbb\xb2\x80\xf2\x92\xb3\x84"); } // [V7]
6280test { try toAsciiFail("\xea\xa1\xbd\xe2\x89\xaf\xef\xbc\x8e\xf2\xbb\xb2\x80\xf2\x92\xb3\x84", false); } // [V7]
6281test { try toAsciiFail("\xea\xa1\xbd\xe2\x89\xaf\xef\xbc\x8e\xf2\xbb\xb2\x80\xf2\x92\xb3\x84", true); } // [V7]
6282test { try toUnicodeFail("\xea\xa1\xbd>\xcc\xb8\xef\xbc\x8e\xf2\xbb\xb2\x80\xf2\x92\xb3\x84"); } // [V7]
6283test { try toAsciiFail("\xea\xa1\xbd>\xcc\xb8\xef\xbc\x8e\xf2\xbb\xb2\x80\xf2\x92\xb3\x84", false); } // [V7]
6284test { try toAsciiFail("\xea\xa1\xbd>\xcc\xb8\xef\xbc\x8e\xf2\xbb\xb2\x80\xf2\x92\xb3\x84", true); } // [V7]
6285test { try toUnicodeFail("\xea\xa1\xbd\xe2\x89\xaf.\xf2\xbb\xb2\x80\xf2\x92\xb3\x84"); } // [V7]
6286test { try toAsciiFail("\xea\xa1\xbd\xe2\x89\xaf.\xf2\xbb\xb2\x80\xf2\x92\xb3\x84", false); } // [V7]
6287test { try toAsciiFail("\xea\xa1\xbd\xe2\x89\xaf.\xf2\xbb\xb2\x80\xf2\x92\xb3\x84", true); } // [V7]
6288test { try toUnicodeFail("\xea\xa1\xbd>\xcc\xb8.\xf2\xbb\xb2\x80\xf2\x92\xb3\x84"); } // [V7]
6289test { try toAsciiFail("\xea\xa1\xbd>\xcc\xb8.\xf2\xbb\xb2\x80\xf2\x92\xb3\x84", false); } // [V7]
6290test { try toAsciiFail("\xea\xa1\xbd>\xcc\xb8.\xf2\xbb\xb2\x80\xf2\x92\xb3\x84", true); } // [V7]
6291test { try toUnicodeFail("xn--hdh8193c.xn--5z40cp629b"); } // [V7]
6292test { try toAsciiFail("xn--hdh8193c.xn--5z40cp629b", false); } // [V7]
6293test { try toAsciiFail("xn--hdh8193c.xn--5z40cp629b", true); } // [V7]
6294test { try toUnicodeFail("\xcf\x82\xe1\x83\x9d\xd9\xbb.\xcf\x82\xdc\x94"); } // [B5, B6]
6295test { try toAsciiFail("\xcf\x82\xe1\x83\x9d\xd9\xbb.\xcf\x82\xdc\x94", false); } // [B5, B6]
6296test { try toAsciiFail("\xcf\x82\xe1\x83\x9d\xd9\xbb.\xcf\x82\xdc\x94", true); } // [B5, B6]
6297test { try toUnicodeFail("\xce\xa3\xe1\xb2\x9d\xd9\xbb.\xce\xa3\xdc\x94"); } // [B5, B6]
6298test { try toAsciiFail("\xce\xa3\xe1\xb2\x9d\xd9\xbb.\xce\xa3\xdc\x94", false); } // [B5, B6]
6299test { try toAsciiFail("\xce\xa3\xe1\xb2\x9d\xd9\xbb.\xce\xa3\xdc\x94", true); } // [B5, B6]
6300test { try toUnicodeFail("\xcf\x83\xe1\x83\x9d\xd9\xbb.\xcf\x83\xdc\x94"); } // [B5, B6]
6301test { try toAsciiFail("\xcf\x83\xe1\x83\x9d\xd9\xbb.\xcf\x83\xdc\x94", false); } // [B5, B6]
6302test { try toAsciiFail("\xcf\x83\xe1\x83\x9d\xd9\xbb.\xcf\x83\xdc\x94", true); } // [B5, B6]
6303test { try toUnicodeFail("\xce\xa3\xe1\x83\x9d\xd9\xbb.\xcf\x83\xdc\x94"); } // [B5, B6]
6304test { try toAsciiFail("\xce\xa3\xe1\x83\x9d\xd9\xbb.\xcf\x83\xdc\x94", false); } // [B5, B6]
6305test { try toAsciiFail("\xce\xa3\xe1\x83\x9d\xd9\xbb.\xcf\x83\xdc\x94", true); } // [B5, B6]
6306test { try toUnicodeFail("xn--4xa60l26n.xn--4xa21o"); } // [B5, B6]
6307test { try toAsciiFail("xn--4xa60l26n.xn--4xa21o", false); } // [B5, B6]
6308test { try toAsciiFail("xn--4xa60l26n.xn--4xa21o", true); } // [B5, B6]
6309test { try toUnicodeFail("\xce\xa3\xe1\x83\x9d\xd9\xbb.\xcf\x82\xdc\x94"); } // [B5, B6]
6310test { try toAsciiFail("\xce\xa3\xe1\x83\x9d\xd9\xbb.\xcf\x82\xdc\x94", false); } // [B5, B6]
6311test { try toAsciiFail("\xce\xa3\xe1\x83\x9d\xd9\xbb.\xcf\x82\xdc\x94", true); } // [B5, B6]
6312test { try toUnicodeFail("\xcf\x83\xe1\x83\x9d\xd9\xbb.\xcf\x82\xdc\x94"); } // [B5, B6]
6313test { try toAsciiFail("\xcf\x83\xe1\x83\x9d\xd9\xbb.\xcf\x82\xdc\x94", false); } // [B5, B6]
6314test { try toAsciiFail("\xcf\x83\xe1\x83\x9d\xd9\xbb.\xcf\x82\xdc\x94", true); } // [B5, B6]
6315test { try toUnicodeFail("xn--4xa60l26n.xn--3xa41o"); } // [B5, B6]
6316test { try toAsciiFail("xn--4xa60l26n.xn--3xa41o", false); } // [B5, B6]
6317test { try toAsciiFail("xn--4xa60l26n.xn--3xa41o", true); } // [B5, B6]
6318test { try toUnicodeFail("xn--3xa80l26n.xn--3xa41o"); } // [B5, B6]
6319test { try toAsciiFail("xn--3xa80l26n.xn--3xa41o", false); } // [B5, B6]
6320test { try toAsciiFail("xn--3xa80l26n.xn--3xa41o", true); } // [B5, B6]
6321test { try toUnicodeFail("\xce\xa3\xe1\x83\x9d\xd9\xbb.\xce\xa3\xdc\x94"); } // [B5, B6]
6322test { try toAsciiFail("\xce\xa3\xe1\x83\x9d\xd9\xbb.\xce\xa3\xdc\x94", false); } // [B5, B6]
6323test { try toAsciiFail("\xce\xa3\xe1\x83\x9d\xd9\xbb.\xce\xa3\xdc\x94", true); } // [B5, B6]
6324test { try toUnicodeFail("\xf2\x84\x96\x9a\xdd\x88\xf0\xa0\x84\xaf\xdd\x9f\xef\xbd\xa1\xf3\xa0\x9b\xa9"); } // [B1, B5, B6, V7]
6325test { try toAsciiFail("\xf2\x84\x96\x9a\xdd\x88\xf0\xa0\x84\xaf\xdd\x9f\xef\xbd\xa1\xf3\xa0\x9b\xa9", false); } // [B1, B5, B6, V7]
6326test { try toAsciiFail("\xf2\x84\x96\x9a\xdd\x88\xf0\xa0\x84\xaf\xdd\x9f\xef\xbd\xa1\xf3\xa0\x9b\xa9", true); } // [B1, B5, B6, V7]
6327test { try toUnicodeFail("\xf2\x84\x96\x9a\xdd\x88\xf0\xa0\x84\xaf\xdd\x9f\xe3\x80\x82\xf3\xa0\x9b\xa9"); } // [B1, B5, B6, V7]
6328test { try toAsciiFail("\xf2\x84\x96\x9a\xdd\x88\xf0\xa0\x84\xaf\xdd\x9f\xe3\x80\x82\xf3\xa0\x9b\xa9", false); } // [B1, B5, B6, V7]
6329test { try toAsciiFail("\xf2\x84\x96\x9a\xdd\x88\xf0\xa0\x84\xaf\xdd\x9f\xe3\x80\x82\xf3\xa0\x9b\xa9", true); } // [B1, B5, B6, V7]
6330test { try toUnicodeFail("xn--vob0c4369twfv8b.xn--kl46e"); } // [B1, B5, B6, V7]
6331test { try toAsciiFail("xn--vob0c4369twfv8b.xn--kl46e", false); } // [B1, B5, B6, V7]
6332test { try toAsciiFail("xn--vob0c4369twfv8b.xn--kl46e", true); } // [B1, B5, B6, V7]
6333test { try toUnicodeFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe1\x82\xbe"); } // [C2, V7]
6334test { try toAsciiFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe1\x82\xbe", false); } // [C2, V7]
6335test { try toAsciiFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe1\x82\xbe", true); } // [V7]
6336test { try toUnicodeFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe1\x82\xbe"); } // [C2, V7]
6337test { try toAsciiFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe1\x82\xbe", false); } // [C2, V7]
6338test { try toAsciiFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe1\x82\xbe", true); } // [V7]
6339test { try toUnicodeFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe1\x82\xbe"); } // [C2, V7]
6340test { try toAsciiFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe1\x82\xbe", false); } // [C2, V7]
6341test { try toAsciiFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe1\x82\xbe", true); } // [V7]
6342test { try toUnicodeFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe1\x82\xbe"); } // [C2, V7]
6343test { try toAsciiFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe1\x82\xbe", false); } // [C2, V7]
6344test { try toAsciiFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe1\x82\xbe", true); } // [V7]
6345test { try toUnicodeFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe2\xb4\x9e"); } // [C2, V7]
6346test { try toAsciiFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe2\xb4\x9e", false); } // [C2, V7]
6347test { try toAsciiFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe2\xb4\x9e", true); } // [V7]
6348test { try toUnicodeFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe2\xb4\x9e"); } // [C2, V7]
6349test { try toAsciiFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe2\xb4\x9e", false); } // [C2, V7]
6350test { try toAsciiFail("\xf3\xa0\xb3\x9b.\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe2\xb4\x9e", true); } // [V7]
6351test { try toUnicodeFail("xn--1t56e.xn--1ch153bqvw"); } // [V7]
6352test { try toAsciiFail("xn--1t56e.xn--1ch153bqvw", false); } // [V7]
6353test { try toAsciiFail("xn--1t56e.xn--1ch153bqvw", true); } // [V7]
6354test { try toUnicodeFail("xn--1t56e.xn--1ug73gzzpwi3a"); } // [C2, V7]
6355test { try toAsciiFail("xn--1t56e.xn--1ug73gzzpwi3a", false); } // [C2, V7]
6356test { try toAsciiFail("xn--1t56e.xn--1ug73gzzpwi3a", true); } // [C2, V7]
6357test { try toUnicodeFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe2\xb4\x9e"); } // [C2, V7]
6358test { try toAsciiFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe2\xb4\x9e", false); } // [C2, V7]
6359test { try toAsciiFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab=\xcc\xb8\xe2\xb4\x9e", true); } // [V7]
6360test { try toUnicodeFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe2\xb4\x9e"); } // [C2, V7]
6361test { try toAsciiFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe2\xb4\x9e", false); } // [C2, V7]
6362test { try toAsciiFail("\xf3\xa0\xb3\x9b\xef\xbc\x8e\xe2\x80\x8d\xe4\xa4\xab\xe2\x89\xa0\xe2\xb4\x9e", true); } // [V7]
6363test { try toUnicodeFail("xn--1t56e.xn--2nd141ghl2a"); } // [V7]
6364test { try toAsciiFail("xn--1t56e.xn--2nd141ghl2a", false); } // [V7]
6365test { try toAsciiFail("xn--1t56e.xn--2nd141ghl2a", true); } // [V7]
6366test { try toUnicodeFail("xn--1t56e.xn--2nd159e9vb743e"); } // [C2, V7]
6367test { try toAsciiFail("xn--1t56e.xn--2nd159e9vb743e", false); } // [C2, V7]
6368test { try toAsciiFail("xn--1t56e.xn--2nd159e9vb743e", true); } // [C2, V7]
6369test { try toUnicodeFail("\xf0\x90\xbd\x98\xf0\x91\x88\xb5\xef\xbc\x8e\xf0\x90\xb9\xa3\xf0\x9f\x95\xa5"); } // [B1, B2, B3]
6370test { try toAsciiFail("\xf0\x90\xbd\x98\xf0\x91\x88\xb5\xef\xbc\x8e\xf0\x90\xb9\xa3\xf0\x9f\x95\xa5", false); } // [B1, B2, B3]
6371test { try toAsciiFail("\xf0\x90\xbd\x98\xf0\x91\x88\xb5\xef\xbc\x8e\xf0\x90\xb9\xa3\xf0\x9f\x95\xa5", true); } // [B1, B2, B3]
6372test { try toUnicodeFail("\xf0\x90\xbd\x98\xf0\x91\x88\xb5.\xf0\x90\xb9\xa3\xf0\x9f\x95\xa5"); } // [B1, B2, B3]
6373test { try toAsciiFail("\xf0\x90\xbd\x98\xf0\x91\x88\xb5.\xf0\x90\xb9\xa3\xf0\x9f\x95\xa5", false); } // [B1, B2, B3]
6374test { try toAsciiFail("\xf0\x90\xbd\x98\xf0\x91\x88\xb5.\xf0\x90\xb9\xa3\xf0\x9f\x95\xa5", true); } // [B1, B2, B3]
6375test { try toUnicodeFail("xn--bv0d02c.xn--bo0dq650b"); } // [B1, B2, B3]
6376test { try toAsciiFail("xn--bv0d02c.xn--bo0dq650b", false); } // [B1, B2, B3]
6377test { try toAsciiFail("xn--bv0d02c.xn--bo0dq650b", true); } // [B1, B2, B3]
6378test { try toUnicodeFail("\xe2\x92\x8a\xe2\x92\x88\xf0\x91\x81\x84\xe3\x80\x829"); } // [V7]
6379test { try toAsciiFail("\xe2\x92\x8a\xe2\x92\x88\xf0\x91\x81\x84\xe3\x80\x829", false); } // [V7]
6380test { try toAsciiFail("\xe2\x92\x8a\xe2\x92\x88\xf0\x91\x81\x84\xe3\x80\x829", true); } // [V7]
6381test { try toUnicodeFail("3.1.\xf0\x91\x81\x84\xe3\x80\x829"); } // [V6]
6382test { try toAsciiFail("3.1.\xf0\x91\x81\x84\xe3\x80\x829", false); } // [V6]
6383test { try toAsciiFail("3.1.\xf0\x91\x81\x84\xe3\x80\x829", true); } // [V6]
6384test { try toUnicodeFail("3.1.xn--110d.j"); } // [V6]
6385test { try toAsciiFail("3.1.xn--110d.j", false); } // [V6]
6386test { try toAsciiFail("3.1.xn--110d.j", true); } // [V6]
6387test { try toUnicodeFail("xn--tshd3512p.j"); } // [V7]
6388test { try toAsciiFail("xn--tshd3512p.j", false); } // [V7]
6389test { try toAsciiFail("xn--tshd3512p.j", true); } // [V7]
6390test { try toUnicodeFail("-\xe2\x80\x8c\xe2\xb7\xb1\xe2\x89\xae\xef\xbc\x8e\xf0\x90\xb9\xb1\xf2\xad\x8f\xb44\xe2\x82\x89"); } // [B1, C1, V3, V7]
6391test { try toAsciiFail("-\xe2\x80\x8c\xe2\xb7\xb1\xe2\x89\xae\xef\xbc\x8e\xf0\x90\xb9\xb1\xf2\xad\x8f\xb44\xe2\x82\x89", false); } // [B1, C1, V3, V7]
6392test { try toAsciiFail("-\xe2\x80\x8c\xe2\xb7\xb1\xe2\x89\xae\xef\xbc\x8e\xf0\x90\xb9\xb1\xf2\xad\x8f\xb44\xe2\x82\x89", true); } // [B1, V3, V7]
6393test { try toUnicodeFail("-\xe2\x80\x8c\xe2\xb7\xb1<\xcc\xb8\xef\xbc\x8e\xf0\x90\xb9\xb1\xf2\xad\x8f\xb44\xe2\x82\x89"); } // [B1, C1, V3, V7]
6394test { try toAsciiFail("-\xe2\x80\x8c\xe2\xb7\xb1<\xcc\xb8\xef\xbc\x8e\xf0\x90\xb9\xb1\xf2\xad\x8f\xb44\xe2\x82\x89", false); } // [B1, C1, V3, V7]
6395test { try toAsciiFail("-\xe2\x80\x8c\xe2\xb7\xb1<\xcc\xb8\xef\xbc\x8e\xf0\x90\xb9\xb1\xf2\xad\x8f\xb44\xe2\x82\x89", true); } // [B1, V3, V7]
6396test { try toUnicodeFail("-\xe2\x80\x8c\xe2\xb7\xb1\xe2\x89\xae.\xf0\x90\xb9\xb1\xf2\xad\x8f\xb449"); } // [B1, C1, V3, V7]
6397test { try toAsciiFail("-\xe2\x80\x8c\xe2\xb7\xb1\xe2\x89\xae.\xf0\x90\xb9\xb1\xf2\xad\x8f\xb449", false); } // [B1, C1, V3, V7]
6398test { try toAsciiFail("-\xe2\x80\x8c\xe2\xb7\xb1\xe2\x89\xae.\xf0\x90\xb9\xb1\xf2\xad\x8f\xb449", true); } // [B1, V3, V7]
6399test { try toUnicodeFail("-\xe2\x80\x8c\xe2\xb7\xb1<\xcc\xb8.\xf0\x90\xb9\xb1\xf2\xad\x8f\xb449"); } // [B1, C1, V3, V7]
6400test { try toAsciiFail("-\xe2\x80\x8c\xe2\xb7\xb1<\xcc\xb8.\xf0\x90\xb9\xb1\xf2\xad\x8f\xb449", false); } // [B1, C1, V3, V7]
6401test { try toAsciiFail("-\xe2\x80\x8c\xe2\xb7\xb1<\xcc\xb8.\xf0\x90\xb9\xb1\xf2\xad\x8f\xb449", true); } // [B1, V3, V7]
6402test { try toUnicodeFail("xn----ngo823c.xn--49-ki3om2611f"); } // [B1, V3, V7]
6403test { try toAsciiFail("xn----ngo823c.xn--49-ki3om2611f", false); } // [B1, V3, V7]
6404test { try toAsciiFail("xn----ngo823c.xn--49-ki3om2611f", true); } // [B1, V3, V7]
6405test { try toUnicodeFail("xn----sgn20i14s.xn--49-ki3om2611f"); } // [B1, C1, V3, V7]
6406test { try toAsciiFail("xn----sgn20i14s.xn--49-ki3om2611f", false); } // [B1, C1, V3, V7]
6407test { try toAsciiFail("xn----sgn20i14s.xn--49-ki3om2611f", true); } // [B1, C1, V3, V7]
6408test { try toUnicodeFail("-\xe2\x89\xaf\xeb\x94\xbe\xef\xbd\xa1\xe0\xa1\x87"); } // [B1, V3]
6409test { try toAsciiFail("-\xe2\x89\xaf\xeb\x94\xbe\xef\xbd\xa1\xe0\xa1\x87", false); } // [B1, V3]
6410test { try toAsciiFail("-\xe2\x89\xaf\xeb\x94\xbe\xef\xbd\xa1\xe0\xa1\x87", true); } // [B1, V3]
6411test { try toUnicodeFail("->\xcc\xb8\xe1\x84\x84\xe1\x85\xa1\xe1\x86\xb5\xef\xbd\xa1\xe0\xa1\x87"); } // [B1, V3]
6412test { try toAsciiFail("->\xcc\xb8\xe1\x84\x84\xe1\x85\xa1\xe1\x86\xb5\xef\xbd\xa1\xe0\xa1\x87", false); } // [B1, V3]
6413test { try toAsciiFail("->\xcc\xb8\xe1\x84\x84\xe1\x85\xa1\xe1\x86\xb5\xef\xbd\xa1\xe0\xa1\x87", true); } // [B1, V3]
6414test { try toUnicodeFail("-\xe2\x89\xaf\xeb\x94\xbe\xe3\x80\x82\xe0\xa1\x87"); } // [B1, V3]
6415test { try toAsciiFail("-\xe2\x89\xaf\xeb\x94\xbe\xe3\x80\x82\xe0\xa1\x87", false); } // [B1, V3]
6416test { try toAsciiFail("-\xe2\x89\xaf\xeb\x94\xbe\xe3\x80\x82\xe0\xa1\x87", true); } // [B1, V3]
6417test { try toUnicodeFail("->\xcc\xb8\xe1\x84\x84\xe1\x85\xa1\xe1\x86\xb5\xe3\x80\x82\xe0\xa1\x87"); } // [B1, V3]
6418test { try toAsciiFail("->\xcc\xb8\xe1\x84\x84\xe1\x85\xa1\xe1\x86\xb5\xe3\x80\x82\xe0\xa1\x87", false); } // [B1, V3]
6419test { try toAsciiFail("->\xcc\xb8\xe1\x84\x84\xe1\x85\xa1\xe1\x86\xb5\xe3\x80\x82\xe0\xa1\x87", true); } // [B1, V3]
6420test { try toUnicodeFail("xn----pgow547d.xn--5vb"); } // [B1, V3]
6421test { try toAsciiFail("xn----pgow547d.xn--5vb", false); } // [B1, V3]
6422test { try toAsciiFail("xn----pgow547d.xn--5vb", true); } // [B1, V3]
6423test { try toUnicodeFail("\xf0\x91\x99\xa2\xe2\x92\x88\xf0\x90\xb9\xa0-\xef\xbd\xa1\xf3\xa0\x97\x90\xe2\x80\x8c"); } // [B1, C1, V3, V7]
6424test { try toAsciiFail("\xf0\x91\x99\xa2\xe2\x92\x88\xf0\x90\xb9\xa0-\xef\xbd\xa1\xf3\xa0\x97\x90\xe2\x80\x8c", false); } // [B1, C1, V3, V7]
6425test { try toAsciiFail("\xf0\x91\x99\xa2\xe2\x92\x88\xf0\x90\xb9\xa0-\xef\xbd\xa1\xf3\xa0\x97\x90\xe2\x80\x8c", true); } // [B1, V3, V7]
6426test { try toUnicodeFail("\xf0\x91\x99\xa21.\xf0\x90\xb9\xa0-\xe3\x80\x82\xf3\xa0\x97\x90\xe2\x80\x8c"); } // [B1, C1, V3, V7]
6427test { try toAsciiFail("\xf0\x91\x99\xa21.\xf0\x90\xb9\xa0-\xe3\x80\x82\xf3\xa0\x97\x90\xe2\x80\x8c", false); } // [B1, C1, V3, V7]
6428test { try toAsciiFail("\xf0\x91\x99\xa21.\xf0\x90\xb9\xa0-\xe3\x80\x82\xf3\xa0\x97\x90\xe2\x80\x8c", true); } // [B1, V3, V7]
6429test { try toUnicodeFail("xn--1-bf0j.xn----516i.xn--jd46e"); } // [B1, V3, V7]
6430test { try toAsciiFail("xn--1-bf0j.xn----516i.xn--jd46e", false); } // [B1, V3, V7]
6431test { try toAsciiFail("xn--1-bf0j.xn----516i.xn--jd46e", true); } // [B1, V3, V7]
6432test { try toUnicodeFail("xn--1-bf0j.xn----516i.xn--0ug23321l"); } // [B1, C1, V3, V7]
6433test { try toAsciiFail("xn--1-bf0j.xn----516i.xn--0ug23321l", false); } // [B1, C1, V3, V7]
6434test { try toAsciiFail("xn--1-bf0j.xn----516i.xn--0ug23321l", true); } // [B1, C1, V3, V7]
6435test { try toUnicodeFail("xn----dcpy090hiyg.xn--jd46e"); } // [B1, V3, V7]
6436test { try toAsciiFail("xn----dcpy090hiyg.xn--jd46e", false); } // [B1, V3, V7]
6437test { try toAsciiFail("xn----dcpy090hiyg.xn--jd46e", true); } // [B1, V3, V7]
6438test { try toUnicodeFail("xn----dcpy090hiyg.xn--0ug23321l"); } // [B1, C1, V3, V7]
6439test { try toAsciiFail("xn----dcpy090hiyg.xn--0ug23321l", false); } // [B1, C1, V3, V7]
6440test { try toAsciiFail("xn----dcpy090hiyg.xn--0ug23321l", true); } // [B1, C1, V3, V7]
6441test { try toUnicodeFail("\xcd\x8a\xef\xbc\x8e\xf0\x90\xa8\x8e"); } // [V6]
6442test { try toAsciiFail("\xcd\x8a\xef\xbc\x8e\xf0\x90\xa8\x8e", false); } // [V6]
6443test { try toAsciiFail("\xcd\x8a\xef\xbc\x8e\xf0\x90\xa8\x8e", true); } // [V6]
6444test { try toUnicodeFail("\xcd\x8a.\xf0\x90\xa8\x8e"); } // [V6]
6445test { try toAsciiFail("\xcd\x8a.\xf0\x90\xa8\x8e", false); } // [V6]
6446test { try toAsciiFail("\xcd\x8a.\xf0\x90\xa8\x8e", true); } // [V6]
6447test { try toUnicodeFail("xn--oua.xn--mr9c"); } // [V6]
6448test { try toAsciiFail("xn--oua.xn--mr9c", false); } // [V6]
6449test { try toAsciiFail("xn--oua.xn--mr9c", true); } // [V6]
6450test { try toUnicodeFail("\xed\x9b\x89\xe2\x89\xae\xef\xbd\xa1\xe0\xb8\xb4"); } // [V6]
6451test { try toAsciiFail("\xed\x9b\x89\xe2\x89\xae\xef\xbd\xa1\xe0\xb8\xb4", false); } // [V6]
6452test { try toAsciiFail("\xed\x9b\x89\xe2\x89\xae\xef\xbd\xa1\xe0\xb8\xb4", true); } // [V6]
6453test { try toUnicodeFail("\xe1\x84\x92\xe1\x85\xae\xe1\x86\xac<\xcc\xb8\xef\xbd\xa1\xe0\xb8\xb4"); } // [V6]
6454test { try toAsciiFail("\xe1\x84\x92\xe1\x85\xae\xe1\x86\xac<\xcc\xb8\xef\xbd\xa1\xe0\xb8\xb4", false); } // [V6]
6455test { try toAsciiFail("\xe1\x84\x92\xe1\x85\xae\xe1\x86\xac<\xcc\xb8\xef\xbd\xa1\xe0\xb8\xb4", true); } // [V6]
6456test { try toUnicodeFail("\xed\x9b\x89\xe2\x89\xae\xe3\x80\x82\xe0\xb8\xb4"); } // [V6]
6457test { try toAsciiFail("\xed\x9b\x89\xe2\x89\xae\xe3\x80\x82\xe0\xb8\xb4", false); } // [V6]
6458test { try toAsciiFail("\xed\x9b\x89\xe2\x89\xae\xe3\x80\x82\xe0\xb8\xb4", true); } // [V6]
6459test { try toUnicodeFail("\xe1\x84\x92\xe1\x85\xae\xe1\x86\xac<\xcc\xb8\xe3\x80\x82\xe0\xb8\xb4"); } // [V6]
6460test { try toAsciiFail("\xe1\x84\x92\xe1\x85\xae\xe1\x86\xac<\xcc\xb8\xe3\x80\x82\xe0\xb8\xb4", false); } // [V6]
6461test { try toAsciiFail("\xe1\x84\x92\xe1\x85\xae\xe1\x86\xac<\xcc\xb8\xe3\x80\x82\xe0\xb8\xb4", true); } // [V6]
6462test { try toUnicodeFail("xn--gdh2512e.xn--i4c"); } // [V6]
6463test { try toAsciiFail("xn--gdh2512e.xn--i4c", false); } // [V6]
6464test { try toAsciiFail("xn--gdh2512e.xn--i4c", true); } // [V6]
6465test { try toUnicodeFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98\xef\xbc\x8e\xf0\xb4\x88\x87\xf0\x9d\x9f\xb8\xd9\x99\xf0\x9e\xa4\xaf"); } // [B1, B5, B6, V6, V7]
6466test { try toAsciiFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98\xef\xbc\x8e\xf0\xb4\x88\x87\xf0\x9d\x9f\xb8\xd9\x99\xf0\x9e\xa4\xaf", false); } // [B1, B5, B6, V6, V7]
6467test { try toAsciiFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98\xef\xbc\x8e\xf0\xb4\x88\x87\xf0\x9d\x9f\xb8\xd9\x99\xf0\x9e\xa4\xaf", true); } // [B1, B5, B6, V6, V7]
6468test { try toUnicodeFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98.\xf0\xb4\x88\x872\xd9\x99\xf0\x9e\xa4\xaf"); } // [B1, B5, B6, V6, V7]
6469test { try toAsciiFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98.\xf0\xb4\x88\x872\xd9\x99\xf0\x9e\xa4\xaf", false); } // [B1, B5, B6, V6, V7]
6470test { try toAsciiFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98.\xf0\xb4\x88\x872\xd9\x99\xf0\x9e\xa4\xaf", true); } // [B1, B5, B6, V6, V7]
6471test { try toUnicodeFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98.\xf0\xb4\x88\x872\xd9\x99\xf0\x9e\xa4\x8d"); } // [B1, B5, B6, V6, V7]
6472test { try toAsciiFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98.\xf0\xb4\x88\x872\xd9\x99\xf0\x9e\xa4\x8d", false); } // [B1, B5, B6, V6, V7]
6473test { try toAsciiFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98.\xf0\xb4\x88\x872\xd9\x99\xf0\x9e\xa4\x8d", true); } // [B1, B5, B6, V6, V7]
6474test { try toUnicodeFail("xn--trj8045le6s9b.xn--2-upc23918acjsj"); } // [B1, B5, B6, V6, V7]
6475test { try toAsciiFail("xn--trj8045le6s9b.xn--2-upc23918acjsj", false); } // [B1, B5, B6, V6, V7]
6476test { try toAsciiFail("xn--trj8045le6s9b.xn--2-upc23918acjsj", true); } // [B1, B5, B6, V6, V7]
6477test { try toUnicodeFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98\xef\xbc\x8e\xf0\xb4\x88\x87\xf0\x9d\x9f\xb8\xd9\x99\xf0\x9e\xa4\x8d"); } // [B1, B5, B6, V6, V7]
6478test { try toAsciiFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98\xef\xbc\x8e\xf0\xb4\x88\x87\xf0\x9d\x9f\xb8\xd9\x99\xf0\x9e\xa4\x8d", false); } // [B1, B5, B6, V6, V7]
6479test { try toAsciiFail("\xe2\xb7\xb7\xf2\x9e\xa3\x89\xf0\x9f\x83\x98\xef\xbc\x8e\xf0\xb4\x88\x87\xf0\x9d\x9f\xb8\xd9\x99\xf0\x9e\xa4\x8d", true); } // [B1, B5, B6, V6, V7]
6480test { try toUnicodeFail("\xf3\x97\x87\xa9\xc3\x9f\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-"); } // [B1, B6, C1, V3, V7]
6481test { try toAsciiFail("\xf3\x97\x87\xa9\xc3\x9f\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-", false); } // [B1, B6, C1, V3, V7]
6482test { try toAsciiFail("\xf3\x97\x87\xa9\xc3\x9f\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-", true); } // [B1, V3, V7]
6483test { try toUnicodeFail("\xf3\x97\x87\xa9\xc3\x9f\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-"); } // [B1, B6, C1, V3, V7]
6484test { try toAsciiFail("\xf3\x97\x87\xa9\xc3\x9f\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-", false); } // [B1, B6, C1, V3, V7]
6485test { try toAsciiFail("\xf3\x97\x87\xa9\xc3\x9f\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-", true); } // [B1, V3, V7]
6486test { try toUnicodeFail("\xf3\x97\x87\xa9SS\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-"); } // [B1, B6, C1, V3, V7]
6487test { try toAsciiFail("\xf3\x97\x87\xa9SS\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-", false); } // [B1, B6, C1, V3, V7]
6488test { try toAsciiFail("\xf3\x97\x87\xa9SS\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-", true); } // [B1, V3, V7]
6489test { try toUnicodeFail("\xf3\x97\x87\xa9ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-"); } // [B1, B6, C1, V3, V7]
6490test { try toAsciiFail("\xf3\x97\x87\xa9ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-", false); } // [B1, B6, C1, V3, V7]
6491test { try toAsciiFail("\xf3\x97\x87\xa9ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-", true); } // [B1, V3, V7]
6492test { try toUnicodeFail("\xf3\x97\x87\xa9Ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-"); } // [B1, B6, C1, V3, V7]
6493test { try toAsciiFail("\xf3\x97\x87\xa9Ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-", false); } // [B1, B6, C1, V3, V7]
6494test { try toAsciiFail("\xf3\x97\x87\xa9Ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xd9\x86\xd8\xae-", true); } // [B1, V3, V7]
6495test { try toUnicodeFail("xn--ss-jepz4596r.xn----dnc5e1er384z"); } // [B1, V3, V7]
6496test { try toAsciiFail("xn--ss-jepz4596r.xn----dnc5e1er384z", false); } // [B1, V3, V7]
6497test { try toAsciiFail("xn--ss-jepz4596r.xn----dnc5e1er384z", true); } // [B1, V3, V7]
6498test { try toUnicodeFail("xn--ss-jep006bqt765b.xn----dnc5e1er384z"); } // [B1, B6, C1, V3, V7]
6499test { try toAsciiFail("xn--ss-jep006bqt765b.xn----dnc5e1er384z", false); } // [B1, B6, C1, V3, V7]
6500test { try toAsciiFail("xn--ss-jep006bqt765b.xn----dnc5e1er384z", true); } // [B1, B6, C1, V3, V7]
6501test { try toUnicodeFail("xn--zca272jbif10059a.xn----dnc5e1er384z"); } // [B1, B6, C1, V3, V7]
6502test { try toAsciiFail("xn--zca272jbif10059a.xn----dnc5e1er384z", false); } // [B1, B6, C1, V3, V7]
6503test { try toAsciiFail("xn--zca272jbif10059a.xn----dnc5e1er384z", true); } // [B1, B6, C1, V3, V7]
6504test { try toUnicodeFail("\xf3\x97\x87\xa9SS\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-"); } // [B1, B6, C1, V3, V7]
6505test { try toAsciiFail("\xf3\x97\x87\xa9SS\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-", false); } // [B1, B6, C1, V3, V7]
6506test { try toAsciiFail("\xf3\x97\x87\xa9SS\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-", true); } // [B1, V3, V7]
6507test { try toUnicodeFail("\xf3\x97\x87\xa9ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-"); } // [B1, B6, C1, V3, V7]
6508test { try toAsciiFail("\xf3\x97\x87\xa9ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-", false); } // [B1, B6, C1, V3, V7]
6509test { try toAsciiFail("\xf3\x97\x87\xa9ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-", true); } // [B1, V3, V7]
6510test { try toUnicodeFail("\xf3\x97\x87\xa9Ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-"); } // [B1, B6, C1, V3, V7]
6511test { try toAsciiFail("\xf3\x97\x87\xa9Ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-", false); } // [B1, B6, C1, V3, V7]
6512test { try toAsciiFail("\xf3\x97\x87\xa9Ss\xe1\xa2\x9e\xe2\x80\x8c\xe3\x80\x82\xd9\xa0\xf0\x9e\xb7\xbb\xef\xb3\x94-", true); } // [B1, V3, V7]
6513test { try toUnicodeFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x83\xe0\xbe\xb5\xeb\x86\xae-"); } // [V3]
6514test { try toAsciiFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x83\xe0\xbe\xb5\xeb\x86\xae-", false); } // [V3]
6515test { try toAsciiFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x83\xe0\xbe\xb5\xeb\x86\xae-", true); } // [V3]
6516test { try toUnicodeFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x83\xe0\xbe\xb5\xe1\x84\x82\xe1\x85\xaa\xe1\x87\x81-"); } // [V3]
6517test { try toAsciiFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x83\xe0\xbe\xb5\xe1\x84\x82\xe1\x85\xaa\xe1\x87\x81-", false); } // [V3]
6518test { try toAsciiFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x83\xe0\xbe\xb5\xe1\x84\x82\xe1\x85\xaa\xe1\x87\x81-", true); } // [V3]
6519test { try toUnicodeFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x84\xe0\xbe\xb5\xe1\x84\x82\xe1\x85\xaa\xe1\x87\x81-"); } // [V3]
6520test { try toAsciiFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x84\xe0\xbe\xb5\xe1\x84\x82\xe1\x85\xaa\xe1\x87\x81-", false); } // [V3]
6521test { try toAsciiFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x84\xe0\xbe\xb5\xe1\x84\x82\xe1\x85\xaa\xe1\x87\x81-", true); } // [V3]
6522test { try toUnicodeFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x84\xe0\xbe\xb5\xeb\x86\xae-"); } // [V3]
6523test { try toAsciiFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x84\xe0\xbe\xb5\xeb\x86\xae-", false); } // [V3]
6524test { try toAsciiFail("\xea\xa1\x86\xe3\x80\x82\xe2\x86\x84\xe0\xbe\xb5\xeb\x86\xae-", true); } // [V3]
6525test { try toUnicodeFail("xn--fc9a.xn----qmg097k469k"); } // [V3]
6526test { try toAsciiFail("xn--fc9a.xn----qmg097k469k", false); } // [V3]
6527test { try toAsciiFail("xn--fc9a.xn----qmg097k469k", true); } // [V3]
6528test { try toUnicodeFail("xn--fc9a.xn----qmg787k869k"); } // [V3, V7]
6529test { try toAsciiFail("xn--fc9a.xn----qmg787k869k", false); } // [V3, V7]
6530test { try toAsciiFail("xn--fc9a.xn----qmg787k869k", true); } // [V3, V7]
6531test { try toUnicodeFail("\xef\xb6\xad\xe2\x80\x8d.\xf1\xa5\xb0\x8c\xda\xa9"); } // [B3, B5, B6, C2, V7]
6532test { try toAsciiFail("\xef\xb6\xad\xe2\x80\x8d.\xf1\xa5\xb0\x8c\xda\xa9", false); } // [B3, B5, B6, C2, V7]
6533test { try toAsciiFail("\xef\xb6\xad\xe2\x80\x8d.\xf1\xa5\xb0\x8c\xda\xa9", true); } // [B5, B6, V7]
6534test { try toUnicodeFail("\xd9\x84\xd9\x85\xd9\x8a\xe2\x80\x8d.\xf1\xa5\xb0\x8c\xda\xa9"); } // [B3, B5, B6, C2, V7]
6535test { try toAsciiFail("\xd9\x84\xd9\x85\xd9\x8a\xe2\x80\x8d.\xf1\xa5\xb0\x8c\xda\xa9", false); } // [B3, B5, B6, C2, V7]
6536test { try toAsciiFail("\xd9\x84\xd9\x85\xd9\x8a\xe2\x80\x8d.\xf1\xa5\xb0\x8c\xda\xa9", true); } // [B5, B6, V7]
6537test { try toUnicodeFail("xn--ghbcp.xn--ckb36214f"); } // [B5, B6, V7]
6538test { try toAsciiFail("xn--ghbcp.xn--ckb36214f", false); } // [B5, B6, V7]
6539test { try toAsciiFail("xn--ghbcp.xn--ckb36214f", true); } // [B5, B6, V7]
6540test { try toUnicodeFail("xn--ghbcp494x.xn--ckb36214f"); } // [B3, B5, B6, C2, V7]
6541test { try toAsciiFail("xn--ghbcp494x.xn--ckb36214f", false); } // [B3, B5, B6, C2, V7]
6542test { try toAsciiFail("xn--ghbcp494x.xn--ckb36214f", true); } // [B3, B5, B6, C2, V7]
6543test { try toUnicodeFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb3\x92\xe2\x89\xaf\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba"); } // [B1, B5, B6, V6]
6544test { try toAsciiFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb3\x92\xe2\x89\xaf\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", false); } // [B1, B5, B6, V6]
6545test { try toAsciiFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb3\x92\xe2\x89\xaf\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", true); } // [B1, B5, B6, V6]
6546test { try toUnicodeFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb3\x92>\xcc\xb8\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba"); } // [B1, B5, B6, V6]
6547test { try toAsciiFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb3\x92>\xcc\xb8\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", false); } // [B1, B5, B6, V6]
6548test { try toAsciiFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb3\x92>\xcc\xb8\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", true); } // [B1, B5, B6, V6]
6549test { try toUnicodeFail("\xe2\xb4\x9c\xe1\xb0\xaf\xf0\x90\xb3\x92>\xcc\xb8\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba"); } // [B1, B5, B6, V6]
6550test { try toAsciiFail("\xe2\xb4\x9c\xe1\xb0\xaf\xf0\x90\xb3\x92>\xcc\xb8\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", false); } // [B1, B5, B6, V6]
6551test { try toAsciiFail("\xe2\xb4\x9c\xe1\xb0\xaf\xf0\x90\xb3\x92>\xcc\xb8\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", true); } // [B1, B5, B6, V6]
6552test { try toUnicodeFail("\xe2\xb4\x9c\xe1\xb0\xaf\xf0\x90\xb3\x92\xe2\x89\xaf\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba"); } // [B1, B5, B6, V6]
6553test { try toAsciiFail("\xe2\xb4\x9c\xe1\xb0\xaf\xf0\x90\xb3\x92\xe2\x89\xaf\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", false); } // [B1, B5, B6, V6]
6554test { try toAsciiFail("\xe2\xb4\x9c\xe1\xb0\xaf\xf0\x90\xb3\x92\xe2\x89\xaf\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", true); } // [B1, B5, B6, V6]
6555test { try toUnicodeFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb2\x92\xe2\x89\xaf\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba"); } // [B1, B5, B6, V6]
6556test { try toAsciiFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb2\x92\xe2\x89\xaf\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", false); } // [B1, B5, B6, V6]
6557test { try toAsciiFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb2\x92\xe2\x89\xaf\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", true); } // [B1, B5, B6, V6]
6558test { try toUnicodeFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb2\x92>\xcc\xb8\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba"); } // [B1, B5, B6, V6]
6559test { try toAsciiFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb2\x92>\xcc\xb8\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", false); } // [B1, B5, B6, V6]
6560test { try toAsciiFail("\xe1\x82\xbc\xe1\xb0\xaf\xf0\x90\xb2\x92>\xcc\xb8\xe3\x80\x82\xdb\xa0\xe1\x9c\xb2\xe0\xbe\xba", true); } // [B1, B5, B6, V6]
6561test { try toUnicodeFail("xn--r1f68xh1jgv7u.xn--wlb646b4ng"); } // [B1, B5, B6, V6]
6562test { try toAsciiFail("xn--r1f68xh1jgv7u.xn--wlb646b4ng", false); } // [B1, B5, B6, V6]
6563test { try toAsciiFail("xn--r1f68xh1jgv7u.xn--wlb646b4ng", true); } // [B1, B5, B6, V6]
6564test { try toUnicodeFail("xn--0nd679cf3eq67y.xn--wlb646b4ng"); } // [B1, B5, B6, V6, V7]
6565test { try toAsciiFail("xn--0nd679cf3eq67y.xn--wlb646b4ng", false); } // [B1, B5, B6, V6, V7]
6566test { try toAsciiFail("xn--0nd679cf3eq67y.xn--wlb646b4ng", true); } // [B1, B5, B6, V6, V7]
6567test { try toUnicodeFail("\xf0\x90\x8b\xb5\xe3\x80\x82\xef\xb3\xac"); } // [B1]
6568test { try toAsciiFail("\xf0\x90\x8b\xb5\xe3\x80\x82\xef\xb3\xac", false); } // [B1]
6569test { try toAsciiFail("\xf0\x90\x8b\xb5\xe3\x80\x82\xef\xb3\xac", true); } // [B1]
6570test { try toUnicodeFail("\xf0\x90\x8b\xb5\xe3\x80\x82\xd9\x83\xd9\x85"); } // [B1]
6571test { try toAsciiFail("\xf0\x90\x8b\xb5\xe3\x80\x82\xd9\x83\xd9\x85", false); } // [B1]
6572test { try toAsciiFail("\xf0\x90\x8b\xb5\xe3\x80\x82\xd9\x83\xd9\x85", true); } // [B1]
6573test { try toUnicodeFail("xn--p97c.xn--fhbe"); } // [B1]
6574test { try toAsciiFail("xn--p97c.xn--fhbe", false); } // [B1]
6575test { try toAsciiFail("xn--p97c.xn--fhbe", true); } // [B1]
6576test { try toUnicodeFail("\xf0\x90\x8b\xb5.\xd9\x83\xd9\x85"); } // [B1]
6577test { try toAsciiFail("\xf0\x90\x8b\xb5.\xd9\x83\xd9\x85", false); } // [B1]
6578test { try toAsciiFail("\xf0\x90\x8b\xb5.\xd9\x83\xd9\x85", true); } // [B1]
6579test { try toUnicodeFail("\xe2\x89\xae\xf0\x9d\x85\xb6\xef\xbc\x8e\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad"); } // [V7]
6580test { try toAsciiFail("\xe2\x89\xae\xf0\x9d\x85\xb6\xef\xbc\x8e\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad", false); } // [V7]
6581test { try toAsciiFail("\xe2\x89\xae\xf0\x9d\x85\xb6\xef\xbc\x8e\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad", true); } // [V7]
6582test { try toUnicodeFail("<\xcc\xb8\xf0\x9d\x85\xb6\xef\xbc\x8e\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad"); } // [V7]
6583test { try toAsciiFail("<\xcc\xb8\xf0\x9d\x85\xb6\xef\xbc\x8e\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad", false); } // [V7]
6584test { try toAsciiFail("<\xcc\xb8\xf0\x9d\x85\xb6\xef\xbc\x8e\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad", true); } // [V7]
6585test { try toUnicodeFail("\xe2\x89\xae\xf0\x9d\x85\xb6.\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad"); } // [V7]
6586test { try toAsciiFail("\xe2\x89\xae\xf0\x9d\x85\xb6.\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad", false); } // [V7]
6587test { try toAsciiFail("\xe2\x89\xae\xf0\x9d\x85\xb6.\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad", true); } // [V7]
6588test { try toUnicodeFail("<\xcc\xb8\xf0\x9d\x85\xb6.\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad"); } // [V7]
6589test { try toAsciiFail("<\xcc\xb8\xf0\x9d\x85\xb6.\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad", false); } // [V7]
6590test { try toAsciiFail("<\xcc\xb8\xf0\x9d\x85\xb6.\xf1\xb1\xb2\x81\xea\xab\xac\xe2\xb9\x88\xf3\xb0\xa5\xad", true); } // [V7]
6591test { try toUnicodeFail("xn--gdh.xn--4tjx101bsg00ds9pyc"); } // [V7]
6592test { try toAsciiFail("xn--gdh.xn--4tjx101bsg00ds9pyc", false); } // [V7]
6593test { try toAsciiFail("xn--gdh.xn--4tjx101bsg00ds9pyc", true); } // [V7]
6594test { try toUnicodeFail("xn--gdh0880o.xn--4tjx101bsg00ds9pyc"); } // [V7]
6595test { try toAsciiFail("xn--gdh0880o.xn--4tjx101bsg00ds9pyc", false); } // [V7]
6596test { try toAsciiFail("xn--gdh0880o.xn--4tjx101bsg00ds9pyc", true); } // [V7]
6597test { try toUnicodeFail("\xe2\xb7\xb0\xcd\x98\xe1\xa2\x95\xef\xbc\x8e\xcd\xa1\xf0\x90\xb9\xb7\xf3\xa0\xb4\x8d"); } // [B1, V6, V7]
6598test { try toAsciiFail("\xe2\xb7\xb0\xcd\x98\xe1\xa2\x95\xef\xbc\x8e\xcd\xa1\xf0\x90\xb9\xb7\xf3\xa0\xb4\x8d", false); } // [B1, V6, V7]
6599test { try toAsciiFail("\xe2\xb7\xb0\xcd\x98\xe1\xa2\x95\xef\xbc\x8e\xcd\xa1\xf0\x90\xb9\xb7\xf3\xa0\xb4\x8d", true); } // [B1, V6, V7]
6600test { try toUnicodeFail("\xe2\xb7\xb0\xcd\x98\xe1\xa2\x95.\xcd\xa1\xf0\x90\xb9\xb7\xf3\xa0\xb4\x8d"); } // [B1, V6, V7]
6601test { try toAsciiFail("\xe2\xb7\xb0\xcd\x98\xe1\xa2\x95.\xcd\xa1\xf0\x90\xb9\xb7\xf3\xa0\xb4\x8d", false); } // [B1, V6, V7]
6602test { try toAsciiFail("\xe2\xb7\xb0\xcd\x98\xe1\xa2\x95.\xcd\xa1\xf0\x90\xb9\xb7\xf3\xa0\xb4\x8d", true); } // [B1, V6, V7]
6603test { try toUnicodeFail("xn--2ua889htsp.xn--cva2687k2tv0g"); } // [B1, V6, V7]
6604test { try toAsciiFail("xn--2ua889htsp.xn--cva2687k2tv0g", false); } // [B1, V6, V7]
6605test { try toAsciiFail("xn--2ua889htsp.xn--cva2687k2tv0g", true); } // [B1, V6, V7]
6606test { try toUnicodeFail("\xef\xb5\xb9\xe1\xa1\x90\xe2\x80\x8c\xda\xad\xef\xbc\x8e\xf0\x91\x8b\xaa\xd7\x87"); } // [B1, B2, V6]
6607test { try toAsciiFail("\xef\xb5\xb9\xe1\xa1\x90\xe2\x80\x8c\xda\xad\xef\xbc\x8e\xf0\x91\x8b\xaa\xd7\x87", false); } // [B1, B2, V6]
6608test { try toAsciiFail("\xef\xb5\xb9\xe1\xa1\x90\xe2\x80\x8c\xda\xad\xef\xbc\x8e\xf0\x91\x8b\xaa\xd7\x87", true); } // [B1, B2, V6]
6609test { try toUnicodeFail("\xd8\xba\xd9\x85\xd9\x85\xe1\xa1\x90\xe2\x80\x8c\xda\xad.\xf0\x91\x8b\xaa\xd7\x87"); } // [B1, B2, V6]
6610test { try toAsciiFail("\xd8\xba\xd9\x85\xd9\x85\xe1\xa1\x90\xe2\x80\x8c\xda\xad.\xf0\x91\x8b\xaa\xd7\x87", false); } // [B1, B2, V6]
6611test { try toAsciiFail("\xd8\xba\xd9\x85\xd9\x85\xe1\xa1\x90\xe2\x80\x8c\xda\xad.\xf0\x91\x8b\xaa\xd7\x87", true); } // [B1, B2, V6]
6612test { try toUnicodeFail("xn--5gbwa03bg24e.xn--vdb1198k"); } // [B1, B2, V6]
6613test { try toAsciiFail("xn--5gbwa03bg24e.xn--vdb1198k", false); } // [B1, B2, V6]
6614test { try toAsciiFail("xn--5gbwa03bg24e.xn--vdb1198k", true); } // [B1, B2, V6]
6615test { try toUnicodeFail("xn--5gbwa03bg24eptk.xn--vdb1198k"); } // [B1, B2, V6]
6616test { try toAsciiFail("xn--5gbwa03bg24eptk.xn--vdb1198k", false); } // [B1, B2, V6]
6617test { try toAsciiFail("xn--5gbwa03bg24eptk.xn--vdb1198k", true); } // [B1, B2, V6]
6618test { try toUnicodeFail("\xf0\x91\x91\x82\xef\xbd\xa1\xe2\x80\x8d\xf3\xa5\x9e\x80\xf0\x9f\x9e\x95\xf2\xa5\x81\x94"); } // [C2, V6, V7]
6619test { try toAsciiFail("\xf0\x91\x91\x82\xef\xbd\xa1\xe2\x80\x8d\xf3\xa5\x9e\x80\xf0\x9f\x9e\x95\xf2\xa5\x81\x94", false); } // [C2, V6, V7]
6620test { try toAsciiFail("\xf0\x91\x91\x82\xef\xbd\xa1\xe2\x80\x8d\xf3\xa5\x9e\x80\xf0\x9f\x9e\x95\xf2\xa5\x81\x94", true); } // [V6, V7]
6621test { try toUnicodeFail("\xf0\x91\x91\x82\xe3\x80\x82\xe2\x80\x8d\xf3\xa5\x9e\x80\xf0\x9f\x9e\x95\xf2\xa5\x81\x94"); } // [C2, V6, V7]
6622test { try toAsciiFail("\xf0\x91\x91\x82\xe3\x80\x82\xe2\x80\x8d\xf3\xa5\x9e\x80\xf0\x9f\x9e\x95\xf2\xa5\x81\x94", false); } // [C2, V6, V7]
6623test { try toAsciiFail("\xf0\x91\x91\x82\xe3\x80\x82\xe2\x80\x8d\xf3\xa5\x9e\x80\xf0\x9f\x9e\x95\xf2\xa5\x81\x94", true); } // [V6, V7]
6624test { try toUnicodeFail("xn--8v1d.xn--ye9h41035a2qqs"); } // [V6, V7]
6625test { try toAsciiFail("xn--8v1d.xn--ye9h41035a2qqs", false); } // [V6, V7]
6626test { try toAsciiFail("xn--8v1d.xn--ye9h41035a2qqs", true); } // [V6, V7]
6627test { try toUnicodeFail("xn--8v1d.xn--1ug1386plvx1cd8vya"); } // [C2, V6, V7]
6628test { try toAsciiFail("xn--8v1d.xn--1ug1386plvx1cd8vya", false); } // [C2, V6, V7]
6629test { try toAsciiFail("xn--8v1d.xn--1ug1386plvx1cd8vya", true); } // [C2, V6, V7]
6630test { try toUnicodeFail("-\xd7\xa9\xe3\x80\x82\xe2\x92\x9a"); } // [B1, V3, V7]
6631test { try toAsciiFail("-\xd7\xa9\xe3\x80\x82\xe2\x92\x9a", false); } // [B1, V3, V7]
6632test { try toAsciiFail("-\xd7\xa9\xe3\x80\x82\xe2\x92\x9a", true); } // [B1, V3, V7]
6633test { try toUnicodeFail("-\xd7\xa9\xe3\x80\x8219."); } // [B1, V3]
6634test { try toAsciiFail("-\xd7\xa9\xe3\x80\x8219.", false); } // [B1, V3, A4_2]
6635test { try toAsciiFail("-\xd7\xa9\xe3\x80\x8219.", true); } // [B1, V3, A4_2]
6636test { try toUnicodeFail("xn----gjc.1j."); } // [B1, V3]
6637test { try toAsciiFail("xn----gjc.1j.", false); } // [B1, V3, A4_2]
6638test { try toAsciiFail("xn----gjc.1j.", true); } // [B1, V3, A4_2]
6639test { try toUnicodeFail("xn----gjc.xn--cth"); } // [B1, V3, V7]
6640test { try toAsciiFail("xn----gjc.xn--cth", false); } // [B1, V3, V7]
6641test { try toAsciiFail("xn----gjc.xn--cth", true); } // [B1, V3, V7]
6642test { try toUnicodeFail("\xf4\x8a\xbe\xbb\xe0\xa1\x85\xe2\x80\x8c\xef\xbd\xa1\xe1\xa2\x8e\xe2\x80\x8d"); } // [B5, B6, C1, C2, V7]
6643test { try toAsciiFail("\xf4\x8a\xbe\xbb\xe0\xa1\x85\xe2\x80\x8c\xef\xbd\xa1\xe1\xa2\x8e\xe2\x80\x8d", false); } // [B5, B6, C1, C2, V7]
6644test { try toAsciiFail("\xf4\x8a\xbe\xbb\xe0\xa1\x85\xe2\x80\x8c\xef\xbd\xa1\xe1\xa2\x8e\xe2\x80\x8d", true); } // [B5, B6, V7]
6645test { try toUnicodeFail("\xf4\x8a\xbe\xbb\xe0\xa1\x85\xe2\x80\x8c\xe3\x80\x82\xe1\xa2\x8e\xe2\x80\x8d"); } // [B5, B6, C1, C2, V7]
6646test { try toAsciiFail("\xf4\x8a\xbe\xbb\xe0\xa1\x85\xe2\x80\x8c\xe3\x80\x82\xe1\xa2\x8e\xe2\x80\x8d", false); } // [B5, B6, C1, C2, V7]
6647test { try toAsciiFail("\xf4\x8a\xbe\xbb\xe0\xa1\x85\xe2\x80\x8c\xe3\x80\x82\xe1\xa2\x8e\xe2\x80\x8d", true); } // [B5, B6, V7]
6648test { try toUnicodeFail("xn--3vb50049s.xn--79e"); } // [B5, B6, V7]
6649test { try toAsciiFail("xn--3vb50049s.xn--79e", false); } // [B5, B6, V7]
6650test { try toAsciiFail("xn--3vb50049s.xn--79e", true); } // [B5, B6, V7]
6651test { try toUnicodeFail("xn--3vb882jz4411a.xn--79e259a"); } // [B5, B6, C1, C2, V7]
6652test { try toAsciiFail("xn--3vb882jz4411a.xn--79e259a", false); } // [B5, B6, C1, C2, V7]
6653test { try toAsciiFail("xn--3vb882jz4411a.xn--79e259a", true); } // [B5, B6, C1, C2, V7]
6654test { try toUnicodePass("\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6655test { try toAsciiPass("\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "xn--zca266bwrr.xn--85-psd", false); }
6656test { try toAsciiPass("\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "xn--ss-e2f077r.xn--85-psd", true); }
6657test { try toUnicodePass("\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6658test { try toAsciiPass("\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "xn--zca266bwrr.xn--85-psd", false); }
6659test { try toAsciiPass("\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", true); }
6660test { try toUnicodePass("SS\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6661test { try toAsciiPass("SS\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", false); }
6662test { try toAsciiPass("SS\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", true); }
6663test { try toUnicodePass("ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6664test { try toAsciiPass("ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", false); }
6665test { try toAsciiPass("ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", true); }
6666test { try toUnicodePass("Ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6667test { try toAsciiPass("Ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", false); }
6668test { try toAsciiPass("Ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", true); }
6669test { try toUnicodePass("xn--ss-e2f077r.xn--85-psd", "ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6670test { try toAsciiPass("xn--ss-e2f077r.xn--85-psd", "xn--ss-e2f077r.xn--85-psd", false); }
6671test { try toAsciiPass("xn--ss-e2f077r.xn--85-psd", "xn--ss-e2f077r.xn--85-psd", true); }
6672test { try toUnicodePass("ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6673test { try toAsciiPass("ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", false); }
6674test { try toAsciiPass("ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", true); }
6675test { try toUnicodePass("SS\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6676test { try toAsciiPass("SS\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", false); }
6677test { try toAsciiPass("SS\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", true); }
6678test { try toUnicodePass("Ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6679test { try toAsciiPass("Ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", false); }
6680test { try toAsciiPass("Ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", true); }
6681test { try toUnicodePass("xn--zca266bwrr.xn--85-psd", "\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6682test { try toAsciiPass("xn--zca266bwrr.xn--85-psd", "xn--zca266bwrr.xn--85-psd", false); }
6683test { try toAsciiPass("xn--zca266bwrr.xn--85-psd", "xn--zca266bwrr.xn--85-psd", true); }
6684test { try toUnicodePass("\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6685test { try toAsciiPass("\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "xn--zca266bwrr.xn--85-psd", false); }
6686test { try toAsciiPass("\xc3\x9f\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085", "xn--ss-e2f077r.xn--85-psd", true); }
6687test { try toUnicodePass("SS\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6688test { try toAsciiPass("SS\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "xn--ss-e2f077r.xn--85-psd", false); }
6689test { try toAsciiPass("SS\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "xn--ss-e2f077r.xn--85-psd", true); }
6690test { try toUnicodePass("ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6691test { try toAsciiPass("ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "xn--ss-e2f077r.xn--85-psd", false); }
6692test { try toAsciiPass("ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "xn--ss-e2f077r.xn--85-psd", true); }
6693test { try toUnicodePass("Ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "ss\xe0\xa7\x81\xe1\xb7\xad.\xd8\xa085"); }
6694test { try toAsciiPass("Ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "xn--ss-e2f077r.xn--85-psd", false); }
6695test { try toAsciiPass("Ss\xe0\xa7\x81\xe1\xb7\xad\xe3\x80\x82\xd8\xa08\xe2\x82\x85", "xn--ss-e2f077r.xn--85-psd", true); }
6696test { try toUnicodeFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5\xc3\x9f"); } // [B1, V6]
6697test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5\xc3\x9f", false); } // [B1, V6]
6698test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5\xc3\x9f", true); } // [B1, V6]
6699test { try toUnicodeFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5\xc3\x9f"); } // [B1, V6]
6700test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5\xc3\x9f", false); } // [B1, V6]
6701test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5\xc3\x9f", true); } // [B1, V6]
6702test { try toUnicodeFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5SS"); } // [B1, V6]
6703test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5SS", false); } // [B1, V6]
6704test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5SS", true); } // [B1, V6]
6705test { try toUnicodeFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5ss"); } // [B1, V6]
6706test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5ss", false); } // [B1, V6]
6707test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5ss", true); } // [B1, V6]
6708test { try toUnicodeFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5Ss"); } // [B1, V6]
6709test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5Ss", false); } // [B1, V6]
6710test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x851.3\xf0\x90\xb9\xa5Ss", true); } // [B1, V6]
6711test { try toUnicodeFail("xn--1-0xb049b102o.xn--3ss-nv9t"); } // [B1, V6]
6712test { try toAsciiFail("xn--1-0xb049b102o.xn--3ss-nv9t", false); } // [B1, V6]
6713test { try toAsciiFail("xn--1-0xb049b102o.xn--3ss-nv9t", true); } // [B1, V6]
6714test { try toUnicodeFail("xn--1-0xb049b102o.xn--3-qfa7018r"); } // [B1, V6]
6715test { try toAsciiFail("xn--1-0xb049b102o.xn--3-qfa7018r", false); } // [B1, V6]
6716test { try toAsciiFail("xn--1-0xb049b102o.xn--3-qfa7018r", true); } // [B1, V6]
6717test { try toUnicodeFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5SS"); } // [B1, V6]
6718test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5SS", false); } // [B1, V6]
6719test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5SS", true); } // [B1, V6]
6720test { try toUnicodeFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5ss"); } // [B1, V6]
6721test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5ss", false); } // [B1, V6]
6722test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5ss", true); } // [B1, V6]
6723test { try toUnicodeFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5Ss"); } // [B1, V6]
6724test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5Ss", false); } // [B1, V6]
6725test { try toAsciiFail("\xe0\xab\x8d\xd2\x84\xe9\xad\x85\xf0\x9d\x9f\xa3\xef\xbc\x8e\xe2\x82\x83\xf0\x90\xb9\xa5Ss", true); } // [B1, V6]
6726test { try toUnicodeFail("\xdc\xab\xef\xbd\xa1\xf0\x91\x93\x82\xe2\x92\x88\xf0\x91\x9c\xab\xf3\xa0\xbf\xbb"); } // [B1, V6, V7]
6727test { try toAsciiFail("\xdc\xab\xef\xbd\xa1\xf0\x91\x93\x82\xe2\x92\x88\xf0\x91\x9c\xab\xf3\xa0\xbf\xbb", false); } // [B1, V6, V7]
6728test { try toAsciiFail("\xdc\xab\xef\xbd\xa1\xf0\x91\x93\x82\xe2\x92\x88\xf0\x91\x9c\xab\xf3\xa0\xbf\xbb", true); } // [B1, V6, V7]
6729test { try toUnicodeFail("\xdc\xab\xe3\x80\x82\xf0\x91\x93\x821.\xf0\x91\x9c\xab\xf3\xa0\xbf\xbb"); } // [B1, V6, V7]
6730test { try toAsciiFail("\xdc\xab\xe3\x80\x82\xf0\x91\x93\x821.\xf0\x91\x9c\xab\xf3\xa0\xbf\xbb", false); } // [B1, V6, V7]
6731test { try toAsciiFail("\xdc\xab\xe3\x80\x82\xf0\x91\x93\x821.\xf0\x91\x9c\xab\xf3\xa0\xbf\xbb", true); } // [B1, V6, V7]
6732test { try toUnicodeFail("xn--1nb.xn--1-jq9i.xn--ji2dg9877c"); } // [B1, V6, V7]
6733test { try toAsciiFail("xn--1nb.xn--1-jq9i.xn--ji2dg9877c", false); } // [B1, V6, V7]
6734test { try toAsciiFail("xn--1nb.xn--1-jq9i.xn--ji2dg9877c", true); } // [B1, V6, V7]
6735test { try toUnicodeFail("xn--1nb.xn--tsh7798f6rbrt828c"); } // [B1, V6, V7]
6736test { try toAsciiFail("xn--1nb.xn--tsh7798f6rbrt828c", false); } // [B1, V6, V7]
6737test { try toAsciiFail("xn--1nb.xn--tsh7798f6rbrt828c", true); } // [B1, V6, V7]
6738test { try toUnicodePass("\xef\xb8\x8d\xe0\xaa\x9b\xe3\x80\x82\xe5\xb5\xa8", "\xe0\xaa\x9b.\xe5\xb5\xa8"); }
6739test { try toAsciiPass("\xef\xb8\x8d\xe0\xaa\x9b\xe3\x80\x82\xe5\xb5\xa8", "xn--6dc.xn--tot", false); }
6740test { try toAsciiPass("\xef\xb8\x8d\xe0\xaa\x9b\xe3\x80\x82\xe5\xb5\xa8", "xn--6dc.xn--tot", true); }
6741test { try toUnicodePass("xn--6dc.xn--tot", "\xe0\xaa\x9b.\xe5\xb5\xa8"); }
6742test { try toAsciiPass("xn--6dc.xn--tot", "xn--6dc.xn--tot", false); }
6743test { try toAsciiPass("xn--6dc.xn--tot", "xn--6dc.xn--tot", true); }
6744test { try toUnicodePass("\xe0\xaa\x9b.\xe5\xb5\xa8", "\xe0\xaa\x9b.\xe5\xb5\xa8"); }
6745test { try toAsciiPass("\xe0\xaa\x9b.\xe5\xb5\xa8", "xn--6dc.xn--tot", false); }
6746test { try toAsciiPass("\xe0\xaa\x9b.\xe5\xb5\xa8", "xn--6dc.xn--tot", true); }
6747test { try toUnicodeFail("\xe1\x82\xb4\xe2\x89\xa0\xe1\x82\xa0.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0"); } // [B1]
6748test { try toAsciiFail("\xe1\x82\xb4\xe2\x89\xa0\xe1\x82\xa0.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0", false); } // [B1]
6749test { try toAsciiFail("\xe1\x82\xb4\xe2\x89\xa0\xe1\x82\xa0.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0", true); } // [B1]
6750test { try toUnicodeFail("\xe1\x82\xb4=\xcc\xb8\xe1\x82\xa0.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0"); } // [B1]
6751test { try toAsciiFail("\xe1\x82\xb4=\xcc\xb8\xe1\x82\xa0.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0", false); } // [B1]
6752test { try toAsciiFail("\xe1\x82\xb4=\xcc\xb8\xe1\x82\xa0.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0", true); } // [B1]
6753test { try toUnicodeFail("\xe2\xb4\x94=\xcc\xb8\xe2\xb4\x80.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0"); } // [B1]
6754test { try toAsciiFail("\xe2\xb4\x94=\xcc\xb8\xe2\xb4\x80.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0", false); } // [B1]
6755test { try toAsciiFail("\xe2\xb4\x94=\xcc\xb8\xe2\xb4\x80.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0", true); } // [B1]
6756test { try toUnicodeFail("\xe2\xb4\x94\xe2\x89\xa0\xe2\xb4\x80.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0"); } // [B1]
6757test { try toAsciiFail("\xe2\xb4\x94\xe2\x89\xa0\xe2\xb4\x80.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0", false); } // [B1]
6758test { try toAsciiFail("\xe2\xb4\x94\xe2\x89\xa0\xe2\xb4\x80.\xf0\x90\xb9\xa5\xf0\x90\xb9\xb0", true); } // [B1]
6759test { try toUnicodeFail("xn--1ch603bxb.xn--do0dwa"); } // [B1]
6760test { try toAsciiFail("xn--1ch603bxb.xn--do0dwa", false); } // [B1]
6761test { try toAsciiFail("xn--1ch603bxb.xn--do0dwa", true); } // [B1]
6762test { try toUnicodeFail("xn--7md3b171g.xn--do0dwa"); } // [B1, V7]
6763test { try toAsciiFail("xn--7md3b171g.xn--do0dwa", false); } // [B1, V7]
6764test { try toAsciiFail("xn--7md3b171g.xn--do0dwa", true); } // [B1, V7]
6765test { try toUnicodeFail("-\xe2\x80\x8c\xe2\x92\x99\xf0\x90\xab\xa5\xef\xbd\xa1\xf0\x9d\xa8\xb5"); } // [C1, V3, V6, V7]
6766test { try toAsciiFail("-\xe2\x80\x8c\xe2\x92\x99\xf0\x90\xab\xa5\xef\xbd\xa1\xf0\x9d\xa8\xb5", false); } // [C1, V3, V6, V7]
6767test { try toAsciiFail("-\xe2\x80\x8c\xe2\x92\x99\xf0\x90\xab\xa5\xef\xbd\xa1\xf0\x9d\xa8\xb5", true); } // [V3, V6, V7]
6768test { try toUnicodeFail("-\xe2\x80\x8c18.\xf0\x90\xab\xa5\xe3\x80\x82\xf0\x9d\xa8\xb5"); } // [C1, V3, V6]
6769test { try toAsciiFail("-\xe2\x80\x8c18.\xf0\x90\xab\xa5\xe3\x80\x82\xf0\x9d\xa8\xb5", false); } // [C1, V3, V6]
6770test { try toAsciiFail("-\xe2\x80\x8c18.\xf0\x90\xab\xa5\xe3\x80\x82\xf0\x9d\xa8\xb5", true); } // [V3, V6]
6771test { try toUnicodeFail("-18.xn--rx9c.xn--382h"); } // [V3, V6]
6772test { try toAsciiFail("-18.xn--rx9c.xn--382h", false); } // [V3, V6]
6773test { try toAsciiFail("-18.xn--rx9c.xn--382h", true); } // [V3, V6]
6774test { try toUnicodeFail("xn---18-9m0a.xn--rx9c.xn--382h"); } // [C1, V3, V6]
6775test { try toAsciiFail("xn---18-9m0a.xn--rx9c.xn--382h", false); } // [C1, V3, V6]
6776test { try toAsciiFail("xn---18-9m0a.xn--rx9c.xn--382h", true); } // [C1, V3, V6]
6777test { try toUnicodeFail("xn----ddps939g.xn--382h"); } // [V3, V6, V7]
6778test { try toAsciiFail("xn----ddps939g.xn--382h", false); } // [V3, V6, V7]
6779test { try toAsciiFail("xn----ddps939g.xn--382h", true); } // [V3, V6, V7]
6780test { try toUnicodeFail("xn----sgn18r3191a.xn--382h"); } // [C1, V3, V6, V7]
6781test { try toAsciiFail("xn----sgn18r3191a.xn--382h", false); } // [C1, V3, V6, V7]
6782test { try toAsciiFail("xn----sgn18r3191a.xn--382h", true); } // [C1, V3, V6, V7]
6783test { try toUnicodeFail("\xef\xb8\x92.\xca\x8c\xe1\xa0\xa3-\xf0\x90\xb9\xbd"); } // [B1, B5, B6, V7]
6784test { try toAsciiFail("\xef\xb8\x92.\xca\x8c\xe1\xa0\xa3-\xf0\x90\xb9\xbd", false); } // [B1, B5, B6, V7]
6785test { try toAsciiFail("\xef\xb8\x92.\xca\x8c\xe1\xa0\xa3-\xf0\x90\xb9\xbd", true); } // [B1, B5, B6, V7]
6786test { try toUnicodeFail("\xe3\x80\x82.\xca\x8c\xe1\xa0\xa3-\xf0\x90\xb9\xbd"); } // [B5, B6, X4_2]
6787test { try toAsciiFail("\xe3\x80\x82.\xca\x8c\xe1\xa0\xa3-\xf0\x90\xb9\xbd", false); } // [B5, B6, A4_2]
6788test { try toAsciiFail("\xe3\x80\x82.\xca\x8c\xe1\xa0\xa3-\xf0\x90\xb9\xbd", true); } // [B5, B6, A4_2]
6789test { try toUnicodeFail("\xe3\x80\x82.\xc9\x85\xe1\xa0\xa3-\xf0\x90\xb9\xbd"); } // [B5, B6, X4_2]
6790test { try toAsciiFail("\xe3\x80\x82.\xc9\x85\xe1\xa0\xa3-\xf0\x90\xb9\xbd", false); } // [B5, B6, A4_2]
6791test { try toAsciiFail("\xe3\x80\x82.\xc9\x85\xe1\xa0\xa3-\xf0\x90\xb9\xbd", true); } // [B5, B6, A4_2]
6792test { try toUnicodeFail("..xn----73a596nuh9t"); } // [B5, B6, X4_2]
6793test { try toAsciiFail("..xn----73a596nuh9t", false); } // [B5, B6, A4_2]
6794test { try toAsciiFail("..xn----73a596nuh9t", true); } // [B5, B6, A4_2]
6795test { try toUnicodeFail("\xef\xb8\x92.\xc9\x85\xe1\xa0\xa3-\xf0\x90\xb9\xbd"); } // [B1, B5, B6, V7]
6796test { try toAsciiFail("\xef\xb8\x92.\xc9\x85\xe1\xa0\xa3-\xf0\x90\xb9\xbd", false); } // [B1, B5, B6, V7]
6797test { try toAsciiFail("\xef\xb8\x92.\xc9\x85\xe1\xa0\xa3-\xf0\x90\xb9\xbd", true); } // [B1, B5, B6, V7]
6798test { try toUnicodeFail("xn--y86c.xn----73a596nuh9t"); } // [B1, B5, B6, V7]
6799test { try toAsciiFail("xn--y86c.xn----73a596nuh9t", false); } // [B1, B5, B6, V7]
6800test { try toAsciiFail("xn--y86c.xn----73a596nuh9t", true); } // [B1, B5, B6, V7]
6801test { try toUnicodeFail("\xef\xb8\x85\xef\xb8\x92\xe3\x80\x82\xf0\xa6\x80\xbe\xe1\xb3\xa0"); } // [V7]
6802test { try toAsciiFail("\xef\xb8\x85\xef\xb8\x92\xe3\x80\x82\xf0\xa6\x80\xbe\xe1\xb3\xa0", false); } // [V7]
6803test { try toAsciiFail("\xef\xb8\x85\xef\xb8\x92\xe3\x80\x82\xf0\xa6\x80\xbe\xe1\xb3\xa0", true); } // [V7]
6804test { try toAsciiFail("\xef\xb8\x85\xe3\x80\x82\xe3\x80\x82\xf0\xa6\x80\xbe\xe1\xb3\xa0", false); } // [A4_2]
6805test { try toAsciiFail("\xef\xb8\x85\xe3\x80\x82\xe3\x80\x82\xf0\xa6\x80\xbe\xe1\xb3\xa0", true); } // [A4_2]
6806test { try toAsciiFail("..xn--t6f5138v", false); } // [A4_2]
6807test { try toAsciiFail("..xn--t6f5138v", true); } // [A4_2]
6808test { try toUnicodeFail("xn--y86c.xn--t6f5138v"); } // [V7]
6809test { try toAsciiFail("xn--y86c.xn--t6f5138v", false); } // [V7]
6810test { try toAsciiFail("xn--y86c.xn--t6f5138v", true); } // [V7]
6811test { try toUnicodePass("xn--t6f5138v", "\xf0\xa6\x80\xbe\xe1\xb3\xa0"); }
6812test { try toAsciiPass("xn--t6f5138v", "xn--t6f5138v", false); }
6813test { try toAsciiPass("xn--t6f5138v", "xn--t6f5138v", true); }
6814test { try toUnicodePass("\xf0\xa6\x80\xbe\xe1\xb3\xa0", "\xf0\xa6\x80\xbe\xe1\xb3\xa0"); }
6815test { try toAsciiPass("\xf0\xa6\x80\xbe\xe1\xb3\xa0", "xn--t6f5138v", false); }
6816test { try toAsciiPass("\xf0\xa6\x80\xbe\xe1\xb3\xa0", "xn--t6f5138v", true); }
6817test { try toUnicodeFail("\xf0\x9e\xae\x91\xc3\x9f\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81"); } // [B2, B3, V7]
6818test { try toAsciiFail("\xf0\x9e\xae\x91\xc3\x9f\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81", false); } // [B2, B3, V7]
6819test { try toAsciiFail("\xf0\x9e\xae\x91\xc3\x9f\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81", true); } // [B2, B3, V7]
6820test { try toUnicodeFail("\xf0\x9e\xae\x91SS\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81"); } // [B2, B3, V7]
6821test { try toAsciiFail("\xf0\x9e\xae\x91SS\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81", false); } // [B2, B3, V7]
6822test { try toAsciiFail("\xf0\x9e\xae\x91SS\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81", true); } // [B2, B3, V7]
6823test { try toUnicodeFail("\xf0\x9e\xae\x91ss\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81"); } // [B2, B3, V7]
6824test { try toAsciiFail("\xf0\x9e\xae\x91ss\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81", false); } // [B2, B3, V7]
6825test { try toAsciiFail("\xf0\x9e\xae\x91ss\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81", true); } // [B2, B3, V7]
6826test { try toUnicodeFail("\xf0\x9e\xae\x91Ss\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81"); } // [B2, B3, V7]
6827test { try toAsciiFail("\xf0\x9e\xae\x91Ss\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81", false); } // [B2, B3, V7]
6828test { try toAsciiFail("\xf0\x9e\xae\x91Ss\xf4\x8f\x9e\x9e\xe3\x80\x82\xe1\xa1\x81", true); } // [B2, B3, V7]
6829test { try toUnicodeFail("xn--ss-o412ac6305g.xn--07e"); } // [B2, B3, V7]
6830test { try toAsciiFail("xn--ss-o412ac6305g.xn--07e", false); } // [B2, B3, V7]
6831test { try toAsciiFail("xn--ss-o412ac6305g.xn--07e", true); } // [B2, B3, V7]
6832test { try toUnicodeFail("xn--zca9432wb989f.xn--07e"); } // [B2, B3, V7]
6833test { try toAsciiFail("xn--zca9432wb989f.xn--07e", false); } // [B2, B3, V7]
6834test { try toAsciiFail("xn--zca9432wb989f.xn--07e", true); } // [B2, B3, V7]
6835test { try toUnicodeFail("\xea\xa5\x93\xe2\x80\x8d\xd8\xac\xd9\xac\xe3\x80\x82\xf0\xb1\x86\x8e\xf3\xbb\xa1\x9f\xe2\x80\x8c\xf3\xa0\x85\x86"); } // [B5, B6, C1, V6, V7]
6836test { try toAsciiFail("\xea\xa5\x93\xe2\x80\x8d\xd8\xac\xd9\xac\xe3\x80\x82\xf0\xb1\x86\x8e\xf3\xbb\xa1\x9f\xe2\x80\x8c\xf3\xa0\x85\x86", false); } // [B5, B6, C1, V6, V7]
6837test { try toAsciiFail("\xea\xa5\x93\xe2\x80\x8d\xd8\xac\xd9\xac\xe3\x80\x82\xf0\xb1\x86\x8e\xf3\xbb\xa1\x9f\xe2\x80\x8c\xf3\xa0\x85\x86", true); } // [B5, B6, V6, V7]
6838test { try toUnicodeFail("xn--rgb2k6711c.xn--ec8nj3948b"); } // [B5, B6, V6, V7]
6839test { try toAsciiFail("xn--rgb2k6711c.xn--ec8nj3948b", false); } // [B5, B6, V6, V7]
6840test { try toAsciiFail("xn--rgb2k6711c.xn--ec8nj3948b", true); } // [B5, B6, V6, V7]
6841test { try toUnicodeFail("xn--rgb2k500fhq9j.xn--0ug78870a5sp9d"); } // [B5, B6, C1, V6, V7]
6842test { try toAsciiFail("xn--rgb2k500fhq9j.xn--0ug78870a5sp9d", false); } // [B5, B6, C1, V6, V7]
6843test { try toAsciiFail("xn--rgb2k500fhq9j.xn--0ug78870a5sp9d", true); } // [B5, B6, C1, V6, V7]
6844test { try toUnicodeFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-\xc3\x9f\xe2\x80\x8c\xe2\x89\xa0"); } // [C1, V3, V7]
6845test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-\xc3\x9f\xe2\x80\x8c\xe2\x89\xa0", false); } // [C1, V3, V7]
6846test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-\xc3\x9f\xe2\x80\x8c\xe2\x89\xa0", true); } // [V3, V7]
6847test { try toUnicodeFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-\xc3\x9f\xe2\x80\x8c=\xcc\xb8"); } // [C1, V3, V7]
6848test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-\xc3\x9f\xe2\x80\x8c=\xcc\xb8", false); } // [C1, V3, V7]
6849test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-\xc3\x9f\xe2\x80\x8c=\xcc\xb8", true); } // [V3, V7]
6850test { try toUnicodeFail("\xf3\xa0\x95\x8f.-\xc3\x9f\xe2\x80\x8c\xe2\x89\xa0"); } // [C1, V3, V7]
6851test { try toAsciiFail("\xf3\xa0\x95\x8f.-\xc3\x9f\xe2\x80\x8c\xe2\x89\xa0", false); } // [C1, V3, V7]
6852test { try toAsciiFail("\xf3\xa0\x95\x8f.-\xc3\x9f\xe2\x80\x8c\xe2\x89\xa0", true); } // [V3, V7]
6853test { try toUnicodeFail("\xf3\xa0\x95\x8f.-\xc3\x9f\xe2\x80\x8c=\xcc\xb8"); } // [C1, V3, V7]
6854test { try toAsciiFail("\xf3\xa0\x95\x8f.-\xc3\x9f\xe2\x80\x8c=\xcc\xb8", false); } // [C1, V3, V7]
6855test { try toAsciiFail("\xf3\xa0\x95\x8f.-\xc3\x9f\xe2\x80\x8c=\xcc\xb8", true); } // [V3, V7]
6856test { try toUnicodeFail("\xf3\xa0\x95\x8f.-SS\xe2\x80\x8c=\xcc\xb8"); } // [C1, V3, V7]
6857test { try toAsciiFail("\xf3\xa0\x95\x8f.-SS\xe2\x80\x8c=\xcc\xb8", false); } // [C1, V3, V7]
6858test { try toAsciiFail("\xf3\xa0\x95\x8f.-SS\xe2\x80\x8c=\xcc\xb8", true); } // [V3, V7]
6859test { try toUnicodeFail("\xf3\xa0\x95\x8f.-SS\xe2\x80\x8c\xe2\x89\xa0"); } // [C1, V3, V7]
6860test { try toAsciiFail("\xf3\xa0\x95\x8f.-SS\xe2\x80\x8c\xe2\x89\xa0", false); } // [C1, V3, V7]
6861test { try toAsciiFail("\xf3\xa0\x95\x8f.-SS\xe2\x80\x8c\xe2\x89\xa0", true); } // [V3, V7]
6862test { try toUnicodeFail("\xf3\xa0\x95\x8f.-ss\xe2\x80\x8c\xe2\x89\xa0"); } // [C1, V3, V7]
6863test { try toAsciiFail("\xf3\xa0\x95\x8f.-ss\xe2\x80\x8c\xe2\x89\xa0", false); } // [C1, V3, V7]
6864test { try toAsciiFail("\xf3\xa0\x95\x8f.-ss\xe2\x80\x8c\xe2\x89\xa0", true); } // [V3, V7]
6865test { try toUnicodeFail("\xf3\xa0\x95\x8f.-ss\xe2\x80\x8c=\xcc\xb8"); } // [C1, V3, V7]
6866test { try toAsciiFail("\xf3\xa0\x95\x8f.-ss\xe2\x80\x8c=\xcc\xb8", false); } // [C1, V3, V7]
6867test { try toAsciiFail("\xf3\xa0\x95\x8f.-ss\xe2\x80\x8c=\xcc\xb8", true); } // [V3, V7]
6868test { try toUnicodeFail("\xf3\xa0\x95\x8f.-Ss\xe2\x80\x8c=\xcc\xb8"); } // [C1, V3, V7]
6869test { try toAsciiFail("\xf3\xa0\x95\x8f.-Ss\xe2\x80\x8c=\xcc\xb8", false); } // [C1, V3, V7]
6870test { try toAsciiFail("\xf3\xa0\x95\x8f.-Ss\xe2\x80\x8c=\xcc\xb8", true); } // [V3, V7]
6871test { try toUnicodeFail("\xf3\xa0\x95\x8f.-Ss\xe2\x80\x8c\xe2\x89\xa0"); } // [C1, V3, V7]
6872test { try toAsciiFail("\xf3\xa0\x95\x8f.-Ss\xe2\x80\x8c\xe2\x89\xa0", false); } // [C1, V3, V7]
6873test { try toAsciiFail("\xf3\xa0\x95\x8f.-Ss\xe2\x80\x8c\xe2\x89\xa0", true); } // [V3, V7]
6874test { try toUnicodeFail("xn--u836e.xn---ss-gl2a"); } // [V3, V7]
6875test { try toAsciiFail("xn--u836e.xn---ss-gl2a", false); } // [V3, V7]
6876test { try toAsciiFail("xn--u836e.xn---ss-gl2a", true); } // [V3, V7]
6877test { try toUnicodeFail("xn--u836e.xn---ss-cn0at5l"); } // [C1, V3, V7]
6878test { try toAsciiFail("xn--u836e.xn---ss-cn0at5l", false); } // [C1, V3, V7]
6879test { try toAsciiFail("xn--u836e.xn---ss-cn0at5l", true); } // [C1, V3, V7]
6880test { try toUnicodeFail("xn--u836e.xn----qfa750ve7b"); } // [C1, V3, V7]
6881test { try toAsciiFail("xn--u836e.xn----qfa750ve7b", false); } // [C1, V3, V7]
6882test { try toAsciiFail("xn--u836e.xn----qfa750ve7b", true); } // [C1, V3, V7]
6883test { try toUnicodeFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-SS\xe2\x80\x8c=\xcc\xb8"); } // [C1, V3, V7]
6884test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-SS\xe2\x80\x8c=\xcc\xb8", false); } // [C1, V3, V7]
6885test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-SS\xe2\x80\x8c=\xcc\xb8", true); } // [V3, V7]
6886test { try toUnicodeFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-SS\xe2\x80\x8c\xe2\x89\xa0"); } // [C1, V3, V7]
6887test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-SS\xe2\x80\x8c\xe2\x89\xa0", false); } // [C1, V3, V7]
6888test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-SS\xe2\x80\x8c\xe2\x89\xa0", true); } // [V3, V7]
6889test { try toUnicodeFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-ss\xe2\x80\x8c\xe2\x89\xa0"); } // [C1, V3, V7]
6890test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-ss\xe2\x80\x8c\xe2\x89\xa0", false); } // [C1, V3, V7]
6891test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-ss\xe2\x80\x8c\xe2\x89\xa0", true); } // [V3, V7]
6892test { try toUnicodeFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-ss\xe2\x80\x8c=\xcc\xb8"); } // [C1, V3, V7]
6893test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-ss\xe2\x80\x8c=\xcc\xb8", false); } // [C1, V3, V7]
6894test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-ss\xe2\x80\x8c=\xcc\xb8", true); } // [V3, V7]
6895test { try toUnicodeFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-Ss\xe2\x80\x8c=\xcc\xb8"); } // [C1, V3, V7]
6896test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-Ss\xe2\x80\x8c=\xcc\xb8", false); } // [C1, V3, V7]
6897test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-Ss\xe2\x80\x8c=\xcc\xb8", true); } // [V3, V7]
6898test { try toUnicodeFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-Ss\xe2\x80\x8c\xe2\x89\xa0"); } // [C1, V3, V7]
6899test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-Ss\xe2\x80\x8c\xe2\x89\xa0", false); } // [C1, V3, V7]
6900test { try toAsciiFail("\xf3\xa0\x95\x8f\xef\xbc\x8e-Ss\xe2\x80\x8c\xe2\x89\xa0", true); } // [V3, V7]
6901test { try toAsciiPass("\xe1\xa1\x99\xe2\x80\x8c\xef\xbd\xa1\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0", "xn--p8e.xn--1ch3a7084l", true); }
6902test { try toUnicodeFail("\xe1\xa1\x99\xe2\x80\x8c\xef\xbd\xa1\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0"); } // [C1]
6903test { try toAsciiFail("\xe1\xa1\x99\xe2\x80\x8c\xef\xbd\xa1\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0", false); } // [C1]
6904test { try toAsciiPass("\xe1\xa1\x99\xe2\x80\x8c\xef\xbd\xa1>\xcc\xb8\xf0\x90\x8b\xb2=\xcc\xb8", "xn--p8e.xn--1ch3a7084l", true); }
6905test { try toUnicodeFail("\xe1\xa1\x99\xe2\x80\x8c\xef\xbd\xa1>\xcc\xb8\xf0\x90\x8b\xb2=\xcc\xb8"); } // [C1]
6906test { try toAsciiFail("\xe1\xa1\x99\xe2\x80\x8c\xef\xbd\xa1>\xcc\xb8\xf0\x90\x8b\xb2=\xcc\xb8", false); } // [C1]
6907test { try toAsciiPass("\xe1\xa1\x99\xe2\x80\x8c\xe3\x80\x82\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0", "xn--p8e.xn--1ch3a7084l", true); }
6908test { try toUnicodeFail("\xe1\xa1\x99\xe2\x80\x8c\xe3\x80\x82\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0"); } // [C1]
6909test { try toAsciiFail("\xe1\xa1\x99\xe2\x80\x8c\xe3\x80\x82\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0", false); } // [C1]
6910test { try toAsciiPass("\xe1\xa1\x99\xe2\x80\x8c\xe3\x80\x82>\xcc\xb8\xf0\x90\x8b\xb2=\xcc\xb8", "xn--p8e.xn--1ch3a7084l", true); }
6911test { try toUnicodeFail("\xe1\xa1\x99\xe2\x80\x8c\xe3\x80\x82>\xcc\xb8\xf0\x90\x8b\xb2=\xcc\xb8"); } // [C1]
6912test { try toAsciiFail("\xe1\xa1\x99\xe2\x80\x8c\xe3\x80\x82>\xcc\xb8\xf0\x90\x8b\xb2=\xcc\xb8", false); } // [C1]
6913test { try toUnicodePass("xn--p8e.xn--1ch3a7084l", "\xe1\xa1\x99.\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0"); }
6914test { try toAsciiPass("xn--p8e.xn--1ch3a7084l", "xn--p8e.xn--1ch3a7084l", false); }
6915test { try toAsciiPass("xn--p8e.xn--1ch3a7084l", "xn--p8e.xn--1ch3a7084l", true); }
6916test { try toUnicodePass("\xe1\xa1\x99.\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0", "\xe1\xa1\x99.\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0"); }
6917test { try toAsciiPass("\xe1\xa1\x99.\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0", "xn--p8e.xn--1ch3a7084l", false); }
6918test { try toAsciiPass("\xe1\xa1\x99.\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0", "xn--p8e.xn--1ch3a7084l", true); }
6919test { try toUnicodePass("\xe1\xa1\x99.>\xcc\xb8\xf0\x90\x8b\xb2=\xcc\xb8", "\xe1\xa1\x99.\xe2\x89\xaf\xf0\x90\x8b\xb2\xe2\x89\xa0"); }
6920test { try toAsciiPass("\xe1\xa1\x99.>\xcc\xb8\xf0\x90\x8b\xb2=\xcc\xb8", "xn--p8e.xn--1ch3a7084l", false); }
6921test { try toAsciiPass("\xe1\xa1\x99.>\xcc\xb8\xf0\x90\x8b\xb2=\xcc\xb8", "xn--p8e.xn--1ch3a7084l", true); }
6922test { try toUnicodeFail("xn--p8e650b.xn--1ch3a7084l"); } // [C1]
6923test { try toAsciiFail("xn--p8e650b.xn--1ch3a7084l", false); } // [C1]
6924test { try toAsciiFail("xn--p8e650b.xn--1ch3a7084l", true); } // [C1]
6925test { try toUnicodeFail("\xf0\x90\xb9\xa7\xf0\x9e\xb2\x84\xf3\xa0\x81\xad\xf1\x86\xbc\xa9\xe3\x80\x82\xcd\x8e\xf0\x9f\x84\x80"); } // [B1, V6, V7]
6926test { try toAsciiFail("\xf0\x90\xb9\xa7\xf0\x9e\xb2\x84\xf3\xa0\x81\xad\xf1\x86\xbc\xa9\xe3\x80\x82\xcd\x8e\xf0\x9f\x84\x80", false); } // [B1, V6, V7]
6927test { try toAsciiFail("\xf0\x90\xb9\xa7\xf0\x9e\xb2\x84\xf3\xa0\x81\xad\xf1\x86\xbc\xa9\xe3\x80\x82\xcd\x8e\xf0\x9f\x84\x80", true); } // [B1, V6, V7]
6928test { try toUnicodeFail("\xf0\x90\xb9\xa7\xf0\x9e\xb2\x84\xf3\xa0\x81\xad\xf1\x86\xbc\xa9\xe3\x80\x82\xcd\x8e0."); } // [B1, V6, V7]
6929test { try toAsciiFail("\xf0\x90\xb9\xa7\xf0\x9e\xb2\x84\xf3\xa0\x81\xad\xf1\x86\xbc\xa9\xe3\x80\x82\xcd\x8e0.", false); } // [B1, V6, V7, A4_2]
6930test { try toAsciiFail("\xf0\x90\xb9\xa7\xf0\x9e\xb2\x84\xf3\xa0\x81\xad\xf1\x86\xbc\xa9\xe3\x80\x82\xcd\x8e0.", true); } // [B1, V6, V7, A4_2]
6931test { try toUnicodeFail("xn--fo0dw409aq58qrn69d.xn--0-bgb."); } // [B1, V6, V7]
6932test { try toAsciiFail("xn--fo0dw409aq58qrn69d.xn--0-bgb.", false); } // [B1, V6, V7, A4_2]
6933test { try toAsciiFail("xn--fo0dw409aq58qrn69d.xn--0-bgb.", true); } // [B1, V6, V7, A4_2]
6934test { try toUnicodeFail("xn--fo0dw409aq58qrn69d.xn--sua6883w"); } // [B1, V6, V7]
6935test { try toAsciiFail("xn--fo0dw409aq58qrn69d.xn--sua6883w", false); } // [B1, V6, V7]
6936test { try toAsciiFail("xn--fo0dw409aq58qrn69d.xn--sua6883w", true); } // [B1, V6, V7]
6937test { try toUnicodeFail("\xe1\x82\xa4\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82"); } // [B1, C2, V7]
6938test { try toAsciiFail("\xe1\x82\xa4\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82", false); } // [B1, C2, V7]
6939test { try toAsciiFail("\xe1\x82\xa4\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82", true); } // [B2, B3, V7]
6940test { try toUnicodeFail("\xe1\x82\xa4.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82"); } // [B1, C2, V7]
6941test { try toAsciiFail("\xe1\x82\xa4.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82", false); } // [B1, C2, V7]
6942test { try toAsciiFail("\xe1\x82\xa4.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82", true); } // [B2, B3, V7]
6943test { try toUnicodeFail("\xe2\xb4\x84.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82"); } // [B1, C2, V7]
6944test { try toAsciiFail("\xe2\xb4\x84.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82", false); } // [B1, C2, V7]
6945test { try toAsciiFail("\xe2\xb4\x84.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82", true); } // [B2, B3, V7]
6946test { try toUnicodeFail("\xe1\x82\xa4.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xce\xa3"); } // [B1, C2, V7]
6947test { try toAsciiFail("\xe1\x82\xa4.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xce\xa3", false); } // [B1, C2, V7]
6948test { try toAsciiFail("\xe1\x82\xa4.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xce\xa3", true); } // [B2, B3, V7]
6949test { try toUnicodeFail("\xe2\xb4\x84.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x83"); } // [B1, C2, V7]
6950test { try toAsciiFail("\xe2\xb4\x84.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x83", false); } // [B1, C2, V7]
6951test { try toAsciiFail("\xe2\xb4\x84.\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x83", true); } // [B2, B3, V7]
6952test { try toUnicodeFail("xn--vkj.xn--4xa73ob5892c"); } // [B2, B3, V7]
6953test { try toAsciiFail("xn--vkj.xn--4xa73ob5892c", false); } // [B2, B3, V7]
6954test { try toAsciiFail("xn--vkj.xn--4xa73ob5892c", true); } // [B2, B3, V7]
6955test { try toUnicodeFail("xn--vkj.xn--4xa73o3t5ajq467a"); } // [B1, C2, V7]
6956test { try toAsciiFail("xn--vkj.xn--4xa73o3t5ajq467a", false); } // [B1, C2, V7]
6957test { try toAsciiFail("xn--vkj.xn--4xa73o3t5ajq467a", true); } // [B1, C2, V7]
6958test { try toUnicodeFail("xn--vkj.xn--3xa93o3t5ajq467a"); } // [B1, C2, V7]
6959test { try toAsciiFail("xn--vkj.xn--3xa93o3t5ajq467a", false); } // [B1, C2, V7]
6960test { try toAsciiFail("xn--vkj.xn--3xa93o3t5ajq467a", true); } // [B1, C2, V7]
6961test { try toUnicodeFail("\xe2\xb4\x84\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82"); } // [B1, C2, V7]
6962test { try toAsciiFail("\xe2\xb4\x84\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82", false); } // [B1, C2, V7]
6963test { try toAsciiFail("\xe2\xb4\x84\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x82", true); } // [B2, B3, V7]
6964test { try toUnicodeFail("\xe1\x82\xa4\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xce\xa3"); } // [B1, C2, V7]
6965test { try toAsciiFail("\xe1\x82\xa4\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xce\xa3", false); } // [B1, C2, V7]
6966test { try toAsciiFail("\xe1\x82\xa4\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xce\xa3", true); } // [B2, B3, V7]
6967test { try toUnicodeFail("\xe2\xb4\x84\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x83"); } // [B1, C2, V7]
6968test { try toAsciiFail("\xe2\xb4\x84\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x83", false); } // [B1, C2, V7]
6969test { try toAsciiFail("\xe2\xb4\x84\xef\xbc\x8e\xe2\x80\x8d\xdc\xa1\xf3\xbb\xa3\x8b\xcf\x83", true); } // [B2, B3, V7]
6970test { try toUnicodeFail("xn--cnd.xn--4xa73ob5892c"); } // [B2, B3, V7]
6971test { try toAsciiFail("xn--cnd.xn--4xa73ob5892c", false); } // [B2, B3, V7]
6972test { try toAsciiFail("xn--cnd.xn--4xa73ob5892c", true); } // [B2, B3, V7]
6973test { try toUnicodeFail("xn--cnd.xn--4xa73o3t5ajq467a"); } // [B1, C2, V7]
6974test { try toAsciiFail("xn--cnd.xn--4xa73o3t5ajq467a", false); } // [B1, C2, V7]
6975test { try toAsciiFail("xn--cnd.xn--4xa73o3t5ajq467a", true); } // [B1, C2, V7]
6976test { try toUnicodeFail("xn--cnd.xn--3xa93o3t5ajq467a"); } // [B1, C2, V7]
6977test { try toAsciiFail("xn--cnd.xn--3xa93o3t5ajq467a", false); } // [B1, C2, V7]
6978test { try toAsciiFail("xn--cnd.xn--3xa93o3t5ajq467a", true); } // [B1, C2, V7]
6979test { try toUnicodeFail("\xf2\xae\xb5\x9b\xd8\x93.\xe1\x82\xb5"); } // [V7]
6980test { try toAsciiFail("\xf2\xae\xb5\x9b\xd8\x93.\xe1\x82\xb5", false); } // [V7]
6981test { try toAsciiFail("\xf2\xae\xb5\x9b\xd8\x93.\xe1\x82\xb5", true); } // [V7]
6982test { try toUnicodeFail("\xf2\xae\xb5\x9b\xd8\x93.\xe2\xb4\x95"); } // [V7]
6983test { try toAsciiFail("\xf2\xae\xb5\x9b\xd8\x93.\xe2\xb4\x95", false); } // [V7]
6984test { try toAsciiFail("\xf2\xae\xb5\x9b\xd8\x93.\xe2\xb4\x95", true); } // [V7]
6985test { try toUnicodeFail("xn--1fb94204l.xn--dlj"); } // [V7]
6986test { try toAsciiFail("xn--1fb94204l.xn--dlj", false); } // [V7]
6987test { try toAsciiFail("xn--1fb94204l.xn--dlj", true); } // [V7]
6988test { try toUnicodeFail("xn--1fb94204l.xn--tnd"); } // [V7]
6989test { try toAsciiFail("xn--1fb94204l.xn--tnd", false); } // [V7]
6990test { try toAsciiFail("xn--1fb94204l.xn--tnd", true); } // [V7]
6991test { try toUnicodeFail("\xe2\x89\xaf\xe1\xb7\xb3\xf0\x9e\xa4\xa5\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d"); } // [B1, C1, C2, V7]
6992test { try toAsciiFail("\xe2\x89\xaf\xe1\xb7\xb3\xf0\x9e\xa4\xa5\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d", false); } // [B1, C1, C2, V7]
6993test { try toAsciiFail("\xe2\x89\xaf\xe1\xb7\xb3\xf0\x9e\xa4\xa5\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d", true); } // [B1, V6, V7]
6994test { try toUnicodeFail(">\xcc\xb8\xe1\xb7\xb3\xf0\x9e\xa4\xa5\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d"); } // [B1, C1, C2, V7]
6995test { try toAsciiFail(">\xcc\xb8\xe1\xb7\xb3\xf0\x9e\xa4\xa5\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d", false); } // [B1, C1, C2, V7]
6996test { try toAsciiFail(">\xcc\xb8\xe1\xb7\xb3\xf0\x9e\xa4\xa5\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d", true); } // [B1, V6, V7]
6997test { try toUnicodeFail(">\xcc\xb8\xe1\xb7\xb3\xf0\x9e\xa4\x83\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d"); } // [B1, C1, C2, V7]
6998test { try toAsciiFail(">\xcc\xb8\xe1\xb7\xb3\xf0\x9e\xa4\x83\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d", false); } // [B1, C1, C2, V7]
6999test { try toAsciiFail(">\xcc\xb8\xe1\xb7\xb3\xf0\x9e\xa4\x83\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d", true); } // [B1, V6, V7]
7000test { try toUnicodeFail("\xe2\x89\xaf\xe1\xb7\xb3\xf0\x9e\xa4\x83\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d"); } // [B1, C1, C2, V7]
7001test { try toAsciiFail("\xe2\x89\xaf\xe1\xb7\xb3\xf0\x9e\xa4\x83\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d", false); } // [B1, C1, C2, V7]
7002test { try toAsciiFail("\xe2\x89\xaf\xe1\xb7\xb3\xf0\x9e\xa4\x83\xe3\x80\x82\xe2\x80\x8c\xea\xa3\x84\xf3\xa0\xaa\x89\xe2\x80\x8d", true); } // [B1, V6, V7]
7003test { try toUnicodeFail("xn--ofg13qyr21c.xn--0f9au6706d"); } // [B1, V6, V7]
7004test { try toAsciiFail("xn--ofg13qyr21c.xn--0f9au6706d", false); } // [B1, V6, V7]
7005test { try toAsciiFail("xn--ofg13qyr21c.xn--0f9au6706d", true); } // [B1, V6, V7]
7006test { try toUnicodeFail("xn--ofg13qyr21c.xn--0ugc0116hix29k"); } // [B1, C1, C2, V7]
7007test { try toAsciiFail("xn--ofg13qyr21c.xn--0ugc0116hix29k", false); } // [B1, C1, C2, V7]
7008test { try toAsciiFail("xn--ofg13qyr21c.xn--0ugc0116hix29k", true); } // [B1, C1, C2, V7]
7009test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\x84\xb7\xef\xbd\xa1\xf2\x92\x91\x81"); } // [C1, V7]
7010test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x84\xb7\xef\xbd\xa1\xf2\x92\x91\x81", false); } // [C1, V7]
7011test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x84\xb7\xef\xbd\xa1\xf2\x92\x91\x81", true); } // [V7, A4_2]
7012test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\x84\xb7\xe3\x80\x82\xf2\x92\x91\x81"); } // [C1, V7]
7013test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x84\xb7\xe3\x80\x82\xf2\x92\x91\x81", false); } // [C1, V7]
7014test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x84\xb7\xe3\x80\x82\xf2\x92\x91\x81", true); } // [V7, A4_2]
7015test { try toUnicodeFail(".xn--w720c"); } // [V7, X4_2]
7016test { try toAsciiFail(".xn--w720c", false); } // [V7, A4_2]
7017test { try toAsciiFail(".xn--w720c", true); } // [V7, A4_2]
7018test { try toUnicodeFail("xn--0ug.xn--w720c"); } // [C1, V7]
7019test { try toAsciiFail("xn--0ug.xn--w720c", false); } // [C1, V7]
7020test { try toAsciiFail("xn--0ug.xn--w720c", true); } // [C1, V7]
7021test { try toUnicodeFail("\xe2\x92\x88\xe0\xb7\x96\xe7\x84\x85.\xf3\x97\xa1\x99\xe2\x80\x8d\xea\xa1\x9f"); } // [C2, V7]
7022test { try toAsciiFail("\xe2\x92\x88\xe0\xb7\x96\xe7\x84\x85.\xf3\x97\xa1\x99\xe2\x80\x8d\xea\xa1\x9f", false); } // [C2, V7]
7023test { try toAsciiFail("\xe2\x92\x88\xe0\xb7\x96\xe7\x84\x85.\xf3\x97\xa1\x99\xe2\x80\x8d\xea\xa1\x9f", true); } // [V7]
7024test { try toUnicodeFail("1.\xe0\xb7\x96\xe7\x84\x85.\xf3\x97\xa1\x99\xe2\x80\x8d\xea\xa1\x9f"); } // [C2, V6, V7]
7025test { try toAsciiFail("1.\xe0\xb7\x96\xe7\x84\x85.\xf3\x97\xa1\x99\xe2\x80\x8d\xea\xa1\x9f", false); } // [C2, V6, V7]
7026test { try toAsciiFail("1.\xe0\xb7\x96\xe7\x84\x85.\xf3\x97\xa1\x99\xe2\x80\x8d\xea\xa1\x9f", true); } // [V6, V7]
7027test { try toUnicodeFail("1.xn--t1c6981c.xn--4c9a21133d"); } // [V6, V7]
7028test { try toAsciiFail("1.xn--t1c6981c.xn--4c9a21133d", false); } // [V6, V7]
7029test { try toAsciiFail("1.xn--t1c6981c.xn--4c9a21133d", true); } // [V6, V7]
7030test { try toUnicodeFail("1.xn--t1c6981c.xn--1ugz184c9lw7i"); } // [C2, V6, V7]
7031test { try toAsciiFail("1.xn--t1c6981c.xn--1ugz184c9lw7i", false); } // [C2, V6, V7]
7032test { try toAsciiFail("1.xn--t1c6981c.xn--1ugz184c9lw7i", true); } // [C2, V6, V7]
7033test { try toUnicodeFail("xn--t1c337io97c.xn--4c9a21133d"); } // [V7]
7034test { try toAsciiFail("xn--t1c337io97c.xn--4c9a21133d", false); } // [V7]
7035test { try toAsciiFail("xn--t1c337io97c.xn--4c9a21133d", true); } // [V7]
7036test { try toUnicodeFail("xn--t1c337io97c.xn--1ugz184c9lw7i"); } // [C2, V7]
7037test { try toAsciiFail("xn--t1c337io97c.xn--1ugz184c9lw7i", false); } // [C2, V7]
7038test { try toAsciiFail("xn--t1c337io97c.xn--1ugz184c9lw7i", true); } // [C2, V7]
7039test { try toUnicodeFail("\xe1\xb7\x8d\xcf\x82\xe2\x89\xae.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950"); } // [B1, B5, V6]
7040test { try toAsciiFail("\xe1\xb7\x8d\xcf\x82\xe2\x89\xae.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", false); } // [B1, B5, V6]
7041test { try toAsciiFail("\xe1\xb7\x8d\xcf\x82\xe2\x89\xae.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", true); } // [B1, B5, V6]
7042test { try toUnicodeFail("\xe1\xb7\x8d\xcf\x82<\xcc\xb8.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950"); } // [B1, B5, V6]
7043test { try toAsciiFail("\xe1\xb7\x8d\xcf\x82<\xcc\xb8.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", false); } // [B1, B5, V6]
7044test { try toAsciiFail("\xe1\xb7\x8d\xcf\x82<\xcc\xb8.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", true); } // [B1, B5, V6]
7045test { try toUnicodeFail("\xe1\xb7\x8d\xcf\x82<\xcc\xb8.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70"); } // [B1, B5, V6]
7046test { try toAsciiFail("\xe1\xb7\x8d\xcf\x82<\xcc\xb8.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", false); } // [B1, B5, V6]
7047test { try toAsciiFail("\xe1\xb7\x8d\xcf\x82<\xcc\xb8.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", true); } // [B1, B5, V6]
7048test { try toUnicodeFail("\xe1\xb7\x8d\xcf\x82\xe2\x89\xae.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70"); } // [B1, B5, V6]
7049test { try toAsciiFail("\xe1\xb7\x8d\xcf\x82\xe2\x89\xae.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", false); } // [B1, B5, V6]
7050test { try toAsciiFail("\xe1\xb7\x8d\xcf\x82\xe2\x89\xae.\xcf\x82\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", true); } // [B1, B5, V6]
7051test { try toUnicodeFail("\xe1\xb7\x8d\xce\xa3\xe2\x89\xae.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950"); } // [B1, B5, V6]
7052test { try toAsciiFail("\xe1\xb7\x8d\xce\xa3\xe2\x89\xae.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", false); } // [B1, B5, V6]
7053test { try toAsciiFail("\xe1\xb7\x8d\xce\xa3\xe2\x89\xae.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", true); } // [B1, B5, V6]
7054test { try toUnicodeFail("\xe1\xb7\x8d\xce\xa3<\xcc\xb8.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950"); } // [B1, B5, V6]
7055test { try toAsciiFail("\xe1\xb7\x8d\xce\xa3<\xcc\xb8.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", false); } // [B1, B5, V6]
7056test { try toAsciiFail("\xe1\xb7\x8d\xce\xa3<\xcc\xb8.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", true); } // [B1, B5, V6]
7057test { try toUnicodeFail("\xe1\xb7\x8d\xcf\x83<\xcc\xb8.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70"); } // [B1, B5, V6]
7058test { try toAsciiFail("\xe1\xb7\x8d\xcf\x83<\xcc\xb8.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", false); } // [B1, B5, V6]
7059test { try toAsciiFail("\xe1\xb7\x8d\xcf\x83<\xcc\xb8.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", true); } // [B1, B5, V6]
7060test { try toUnicodeFail("\xe1\xb7\x8d\xcf\x83\xe2\x89\xae.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70"); } // [B1, B5, V6]
7061test { try toAsciiFail("\xe1\xb7\x8d\xcf\x83\xe2\x89\xae.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", false); } // [B1, B5, V6]
7062test { try toAsciiFail("\xe1\xb7\x8d\xcf\x83\xe2\x89\xae.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", true); } // [B1, B5, V6]
7063test { try toUnicodeFail("\xe1\xb7\x8d\xce\xa3\xe2\x89\xae.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70"); } // [B1, B5, V6]
7064test { try toAsciiFail("\xe1\xb7\x8d\xce\xa3\xe2\x89\xae.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", false); } // [B1, B5, V6]
7065test { try toAsciiFail("\xe1\xb7\x8d\xce\xa3\xe2\x89\xae.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", true); } // [B1, B5, V6]
7066test { try toUnicodeFail("\xe1\xb7\x8d\xce\xa3<\xcc\xb8.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70"); } // [B1, B5, V6]
7067test { try toAsciiFail("\xe1\xb7\x8d\xce\xa3<\xcc\xb8.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", false); } // [B1, B5, V6]
7068test { try toAsciiFail("\xe1\xb7\x8d\xce\xa3<\xcc\xb8.\xce\xa3\xf0\x9d\xaa\xa6\xf0\x9e\xa4\xb70", true); } // [B1, B5, V6]
7069test { try toUnicodeFail("xn--4xa544kvid.xn--0-zmb55727aggma"); } // [B1, B5, V6]
7070test { try toAsciiFail("xn--4xa544kvid.xn--0-zmb55727aggma", false); } // [B1, B5, V6]
7071test { try toAsciiFail("xn--4xa544kvid.xn--0-zmb55727aggma", true); } // [B1, B5, V6]
7072test { try toUnicodeFail("xn--3xa744kvid.xn--0-xmb85727aggma"); } // [B1, B5, V6]
7073test { try toAsciiFail("xn--3xa744kvid.xn--0-xmb85727aggma", false); } // [B1, B5, V6]
7074test { try toAsciiFail("xn--3xa744kvid.xn--0-xmb85727aggma", true); } // [B1, B5, V6]
7075test { try toUnicodeFail("\xe1\xb7\x8d\xcf\x83\xe2\x89\xae.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950"); } // [B1, B5, V6]
7076test { try toAsciiFail("\xe1\xb7\x8d\xcf\x83\xe2\x89\xae.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", false); } // [B1, B5, V6]
7077test { try toAsciiFail("\xe1\xb7\x8d\xcf\x83\xe2\x89\xae.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", true); } // [B1, B5, V6]
7078test { try toUnicodeFail("\xe1\xb7\x8d\xcf\x83<\xcc\xb8.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950"); } // [B1, B5, V6]
7079test { try toAsciiFail("\xe1\xb7\x8d\xcf\x83<\xcc\xb8.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", false); } // [B1, B5, V6]
7080test { try toAsciiFail("\xe1\xb7\x8d\xcf\x83<\xcc\xb8.\xcf\x83\xf0\x9d\xaa\xa6\xf0\x9e\xa4\x950", true); } // [B1, B5, V6]
7081test { try toUnicodeFail("\xf2\xa2\xa6\xbe\xc3\x9f\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1"); } // [B1, B5, B6, V6, V7]
7082test { try toAsciiFail("\xf2\xa2\xa6\xbe\xc3\x9f\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1", false); } // [B1, B5, B6, V6, V7]
7083test { try toAsciiFail("\xf2\xa2\xa6\xbe\xc3\x9f\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1", true); } // [B1, B5, B6, V6, V7]
7084test { try toUnicodeFail("\xf2\xa2\xa6\xbeSS\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1"); } // [B1, B5, B6, V6, V7]
7085test { try toAsciiFail("\xf2\xa2\xa6\xbeSS\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1", false); } // [B1, B5, B6, V6, V7]
7086test { try toAsciiFail("\xf2\xa2\xa6\xbeSS\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1", true); } // [B1, B5, B6, V6, V7]
7087test { try toUnicodeFail("\xf2\xa2\xa6\xbess\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1"); } // [B1, B5, B6, V6, V7]
7088test { try toAsciiFail("\xf2\xa2\xa6\xbess\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1", false); } // [B1, B5, B6, V6, V7]
7089test { try toAsciiFail("\xf2\xa2\xa6\xbess\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1", true); } // [B1, B5, B6, V6, V7]
7090test { try toUnicodeFail("\xf2\xa2\xa6\xbeSs\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1"); } // [B1, B5, B6, V6, V7]
7091test { try toAsciiFail("\xf2\xa2\xa6\xbeSs\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1", false); } // [B1, B5, B6, V6, V7]
7092test { try toAsciiFail("\xf2\xa2\xa6\xbeSs\xd6\xb9\xf0\x90\xab\x99.\xd6\xad\xe0\xa2\xa1", true); } // [B1, B5, B6, V6, V7]
7093test { try toUnicodeFail("xn--ss-xjd6058xlz50g.xn--4cb62m"); } // [B1, B5, B6, V6, V7]
7094test { try toAsciiFail("xn--ss-xjd6058xlz50g.xn--4cb62m", false); } // [B1, B5, B6, V6, V7]
7095test { try toAsciiFail("xn--ss-xjd6058xlz50g.xn--4cb62m", true); } // [B1, B5, B6, V6, V7]
7096test { try toUnicodeFail("xn--zca89v339zj118e.xn--4cb62m"); } // [B1, B5, B6, V6, V7]
7097test { try toAsciiFail("xn--zca89v339zj118e.xn--4cb62m", false); } // [B1, B5, B6, V6, V7]
7098test { try toAsciiFail("xn--zca89v339zj118e.xn--4cb62m", true); } // [B1, B5, B6, V6, V7]
7099test { try toUnicodeFail("-\xf0\x9e\xa3\x84\xef\xbd\xa1\xe2\x92\x88"); } // [B1, V3, V7]
7100test { try toAsciiFail("-\xf0\x9e\xa3\x84\xef\xbd\xa1\xe2\x92\x88", false); } // [B1, V3, V7]
7101test { try toAsciiFail("-\xf0\x9e\xa3\x84\xef\xbd\xa1\xe2\x92\x88", true); } // [B1, V3, V7]
7102test { try toUnicodeFail("-\xf0\x9e\xa3\x84\xe3\x80\x821."); } // [B1, V3]
7103test { try toAsciiFail("-\xf0\x9e\xa3\x84\xe3\x80\x821.", false); } // [B1, V3, A4_2]
7104test { try toAsciiFail("-\xf0\x9e\xa3\x84\xe3\x80\x821.", true); } // [B1, V3, A4_2]
7105test { try toUnicodeFail("xn----xc8r.b."); } // [B1, V3]
7106test { try toAsciiFail("xn----xc8r.b.", false); } // [B1, V3, A4_2]
7107test { try toAsciiFail("xn----xc8r.b.", true); } // [B1, V3, A4_2]
7108test { try toUnicodeFail("xn----xc8r.xn--tsh"); } // [B1, V3, V7]
7109test { try toAsciiFail("xn----xc8r.xn--tsh", false); } // [B1, V3, V7]
7110test { try toAsciiFail("xn----xc8r.xn--tsh", true); } // [B1, V3, V7]
7111test { try toUnicodeFail("\xf1\x88\xa0\xa2\xf0\x90\xab\x96\xf0\x9d\x9f\xa1\xe3\x80\x82\xd8\xbe\xf0\x91\x98\xbf"); } // [B5, V7]
7112test { try toAsciiFail("\xf1\x88\xa0\xa2\xf0\x90\xab\x96\xf0\x9d\x9f\xa1\xe3\x80\x82\xd8\xbe\xf0\x91\x98\xbf", false); } // [B5, V7]
7113test { try toAsciiFail("\xf1\x88\xa0\xa2\xf0\x90\xab\x96\xf0\x9d\x9f\xa1\xe3\x80\x82\xd8\xbe\xf0\x91\x98\xbf", true); } // [B5, V7]
7114test { try toUnicodeFail("\xf1\x88\xa0\xa2\xf0\x90\xab\x969\xe3\x80\x82\xd8\xbe\xf0\x91\x98\xbf"); } // [B5, V7]
7115test { try toAsciiFail("\xf1\x88\xa0\xa2\xf0\x90\xab\x969\xe3\x80\x82\xd8\xbe\xf0\x91\x98\xbf", false); } // [B5, V7]
7116test { try toAsciiFail("\xf1\x88\xa0\xa2\xf0\x90\xab\x969\xe3\x80\x82\xd8\xbe\xf0\x91\x98\xbf", true); } // [B5, V7]
7117test { try toUnicodeFail("xn--9-el5iv442t.xn--9gb0830l"); } // [B5, V7]
7118test { try toAsciiFail("xn--9-el5iv442t.xn--9gb0830l", false); } // [B5, V7]
7119test { try toAsciiFail("xn--9-el5iv442t.xn--9gb0830l", true); } // [B5, V7]
7120test { try toUnicodeFail("\xd9\xa8\xef\xb2\x8c\xd9\xa8\xe1\xa9\x9d.\xe2\x80\x8d"); } // [B1, C2]
7121test { try toAsciiFail("\xd9\xa8\xef\xb2\x8c\xd9\xa8\xe1\xa9\x9d.\xe2\x80\x8d", false); } // [B1, C2]
7122test { try toAsciiFail("\xd9\xa8\xef\xb2\x8c\xd9\xa8\xe1\xa9\x9d.\xe2\x80\x8d", true); } // [B1, A4_2]
7123test { try toUnicodeFail("\xd9\xa8\xd9\x86\xd9\x85\xd9\xa8\xe1\xa9\x9d.\xe2\x80\x8d"); } // [B1, C2]
7124test { try toAsciiFail("\xd9\xa8\xd9\x86\xd9\x85\xd9\xa8\xe1\xa9\x9d.\xe2\x80\x8d", false); } // [B1, C2]
7125test { try toAsciiFail("\xd9\xa8\xd9\x86\xd9\x85\xd9\xa8\xe1\xa9\x9d.\xe2\x80\x8d", true); } // [B1, A4_2]
7126test { try toUnicodeFail("xn--hhbb5hc956w."); } // [B1]
7127test { try toAsciiFail("xn--hhbb5hc956w.", false); } // [B1, A4_2]
7128test { try toAsciiFail("xn--hhbb5hc956w.", true); } // [B1, A4_2]
7129test { try toUnicodeFail("xn--hhbb5hc956w.xn--1ug"); } // [B1, C2]
7130test { try toAsciiFail("xn--hhbb5hc956w.xn--1ug", false); } // [B1, C2]
7131test { try toAsciiFail("xn--hhbb5hc956w.xn--1ug", true); } // [B1, C2]
7132test { try toUnicodeFail("\xf0\x9d\x9f\x98\xef\xbc\x8e\xe1\x82\xa7\xf3\x80\xb3\x91\xef\xb5\x90\xf1\xab\x83\xb1"); } // [B1, B5, V7]
7133test { try toAsciiFail("\xf0\x9d\x9f\x98\xef\xbc\x8e\xe1\x82\xa7\xf3\x80\xb3\x91\xef\xb5\x90\xf1\xab\x83\xb1", false); } // [B1, B5, V7]
7134test { try toAsciiFail("\xf0\x9d\x9f\x98\xef\xbc\x8e\xe1\x82\xa7\xf3\x80\xb3\x91\xef\xb5\x90\xf1\xab\x83\xb1", true); } // [B1, B5, V7]
7135test { try toUnicodeFail("0.\xe1\x82\xa7\xf3\x80\xb3\x91\xd8\xaa\xd8\xac\xd9\x85\xf1\xab\x83\xb1"); } // [B1, B5, V7]
7136test { try toAsciiFail("0.\xe1\x82\xa7\xf3\x80\xb3\x91\xd8\xaa\xd8\xac\xd9\x85\xf1\xab\x83\xb1", false); } // [B1, B5, V7]
7137test { try toAsciiFail("0.\xe1\x82\xa7\xf3\x80\xb3\x91\xd8\xaa\xd8\xac\xd9\x85\xf1\xab\x83\xb1", true); } // [B1, B5, V7]
7138test { try toUnicodeFail("0.\xe2\xb4\x87\xf3\x80\xb3\x91\xd8\xaa\xd8\xac\xd9\x85\xf1\xab\x83\xb1"); } // [B1, B5, V7]
7139test { try toAsciiFail("0.\xe2\xb4\x87\xf3\x80\xb3\x91\xd8\xaa\xd8\xac\xd9\x85\xf1\xab\x83\xb1", false); } // [B1, B5, V7]
7140test { try toAsciiFail("0.\xe2\xb4\x87\xf3\x80\xb3\x91\xd8\xaa\xd8\xac\xd9\x85\xf1\xab\x83\xb1", true); } // [B1, B5, V7]
7141test { try toUnicodeFail("0.xn--pgbe9ez79qd207lvff8b"); } // [B1, B5, V7]
7142test { try toAsciiFail("0.xn--pgbe9ez79qd207lvff8b", false); } // [B1, B5, V7]
7143test { try toAsciiFail("0.xn--pgbe9ez79qd207lvff8b", true); } // [B1, B5, V7]
7144test { try toUnicodeFail("\xf0\x9d\x9f\x98\xef\xbc\x8e\xe2\xb4\x87\xf3\x80\xb3\x91\xef\xb5\x90\xf1\xab\x83\xb1"); } // [B1, B5, V7]
7145test { try toAsciiFail("\xf0\x9d\x9f\x98\xef\xbc\x8e\xe2\xb4\x87\xf3\x80\xb3\x91\xef\xb5\x90\xf1\xab\x83\xb1", false); } // [B1, B5, V7]
7146test { try toAsciiFail("\xf0\x9d\x9f\x98\xef\xbc\x8e\xe2\xb4\x87\xf3\x80\xb3\x91\xef\xb5\x90\xf1\xab\x83\xb1", true); } // [B1, B5, V7]
7147test { try toUnicodeFail("0.xn--pgbe9e344c2725svff8b"); } // [B1, B5, V7]
7148test { try toAsciiFail("0.xn--pgbe9e344c2725svff8b", false); } // [B1, B5, V7]
7149test { try toAsciiFail("0.xn--pgbe9e344c2725svff8b", true); } // [B1, B5, V7]
7150test { try toUnicodeFail("\xf0\x91\x87\x80\xe2\x96\x8d.\xe2\x81\x9e\xe1\xa0\xb0"); } // [V6]
7151test { try toAsciiFail("\xf0\x91\x87\x80\xe2\x96\x8d.\xe2\x81\x9e\xe1\xa0\xb0", false); } // [V6]
7152test { try toAsciiFail("\xf0\x91\x87\x80\xe2\x96\x8d.\xe2\x81\x9e\xe1\xa0\xb0", true); } // [V6]
7153test { try toUnicodeFail("xn--9zh3057f.xn--j7e103b"); } // [V6]
7154test { try toAsciiFail("xn--9zh3057f.xn--j7e103b", false); } // [V6]
7155test { try toAsciiFail("xn--9zh3057f.xn--j7e103b", true); } // [V6]
7156test { try toUnicodeFail("\xe2\x80\x8d-\xd9\xba.\xf2\x8f\xaf\xa9"); } // [B1, C2, V7]
7157test { try toAsciiFail("\xe2\x80\x8d-\xd9\xba.\xf2\x8f\xaf\xa9", false); } // [B1, C2, V7]
7158test { try toAsciiFail("\xe2\x80\x8d-\xd9\xba.\xf2\x8f\xaf\xa9", true); } // [B1, V3, V7]
7159test { try toUnicodeFail("xn----qrc.xn--ts49b"); } // [B1, V3, V7]
7160test { try toAsciiFail("xn----qrc.xn--ts49b", false); } // [B1, V3, V7]
7161test { try toAsciiFail("xn----qrc.xn--ts49b", true); } // [B1, V3, V7]
7162test { try toUnicodeFail("xn----qrc357q.xn--ts49b"); } // [B1, C2, V7]
7163test { try toAsciiFail("xn----qrc357q.xn--ts49b", false); } // [B1, C2, V7]
7164test { try toAsciiFail("xn----qrc357q.xn--ts49b", true); } // [B1, C2, V7]
7165test { try toUnicodeFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xef\xbd\xa1\xe2\x80\x8c\xe2\x89\xaf\xe2\x9c\xb3"); } // [B1, B5, C1]
7166test { try toAsciiFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xef\xbd\xa1\xe2\x80\x8c\xe2\x89\xaf\xe2\x9c\xb3", false); } // [B1, B5, C1]
7167test { try toAsciiFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xef\xbd\xa1\xe2\x80\x8c\xe2\x89\xaf\xe2\x9c\xb3", true); } // [B1, B5]
7168test { try toUnicodeFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xef\xbd\xa1\xe2\x80\x8c>\xcc\xb8\xe2\x9c\xb3"); } // [B1, B5, C1]
7169test { try toAsciiFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xef\xbd\xa1\xe2\x80\x8c>\xcc\xb8\xe2\x9c\xb3", false); } // [B1, B5, C1]
7170test { try toAsciiFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xef\xbd\xa1\xe2\x80\x8c>\xcc\xb8\xe2\x9c\xb3", true); } // [B1, B5]
7171test { try toUnicodeFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xe3\x80\x82\xe2\x80\x8c\xe2\x89\xaf\xe2\x9c\xb3"); } // [B1, B5, C1]
7172test { try toAsciiFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xe3\x80\x82\xe2\x80\x8c\xe2\x89\xaf\xe2\x9c\xb3", false); } // [B1, B5, C1]
7173test { try toAsciiFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xe3\x80\x82\xe2\x80\x8c\xe2\x89\xaf\xe2\x9c\xb3", true); } // [B1, B5]
7174test { try toUnicodeFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xe3\x80\x82\xe2\x80\x8c>\xcc\xb8\xe2\x9c\xb3"); } // [B1, B5, C1]
7175test { try toAsciiFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xe3\x80\x82\xe2\x80\x8c>\xcc\xb8\xe2\x9c\xb3", false); } // [B1, B5, C1]
7176test { try toAsciiFail("\xe1\xa0\xa2\xf0\x90\xae\x82\xf0\x90\xab\x98\xe5\xaf\x90\xe3\x80\x82\xe2\x80\x8c>\xcc\xb8\xe2\x9c\xb3", true); } // [B1, B5]
7177test { try toUnicodeFail("xn--46e6675axzzhota.xn--hdh99p"); } // [B1, B5]
7178test { try toAsciiFail("xn--46e6675axzzhota.xn--hdh99p", false); } // [B1, B5]
7179test { try toAsciiFail("xn--46e6675axzzhota.xn--hdh99p", true); } // [B1, B5]
7180test { try toUnicodeFail("xn--46e6675axzzhota.xn--0ug06gu8f"); } // [B1, B5, C1]
7181test { try toAsciiFail("xn--46e6675axzzhota.xn--0ug06gu8f", false); } // [B1, B5, C1]
7182test { try toAsciiFail("xn--46e6675axzzhota.xn--0ug06gu8f", true); } // [B1, B5, C1]
7183test { try toUnicodeFail("\xe2\x80\x8d\xef\xbd\xa1\xf3\xb8\xb2\x9c\xe1\x82\xba\xe1\x82\xb4\xf0\x9e\xa8\x87"); } // [B1, B5, B6, C2, V7]
7184test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf3\xb8\xb2\x9c\xe1\x82\xba\xe1\x82\xb4\xf0\x9e\xa8\x87", false); } // [B1, B5, B6, C2, V7]
7185test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf3\xb8\xb2\x9c\xe1\x82\xba\xe1\x82\xb4\xf0\x9e\xa8\x87", true); } // [B5, B6, V7, A4_2]
7186test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xb2\x9c\xe1\x82\xba\xe1\x82\xb4\xf0\x9e\xa8\x87"); } // [B1, B5, B6, C2, V7]
7187test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xb2\x9c\xe1\x82\xba\xe1\x82\xb4\xf0\x9e\xa8\x87", false); } // [B1, B5, B6, C2, V7]
7188test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xb2\x9c\xe1\x82\xba\xe1\x82\xb4\xf0\x9e\xa8\x87", true); } // [B5, B6, V7, A4_2]
7189test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xb2\x9c\xe2\xb4\x9a\xe2\xb4\x94\xf0\x9e\xa8\x87"); } // [B1, B5, B6, C2, V7]
7190test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xb2\x9c\xe2\xb4\x9a\xe2\xb4\x94\xf0\x9e\xa8\x87", false); } // [B1, B5, B6, C2, V7]
7191test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xb2\x9c\xe2\xb4\x9a\xe2\xb4\x94\xf0\x9e\xa8\x87", true); } // [B5, B6, V7, A4_2]
7192test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xb2\x9c\xe1\x82\xba\xe2\xb4\x94\xf0\x9e\xa8\x87"); } // [B1, B5, B6, C2, V7]
7193test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xb2\x9c\xe1\x82\xba\xe2\xb4\x94\xf0\x9e\xa8\x87", false); } // [B1, B5, B6, C2, V7]
7194test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf3\xb8\xb2\x9c\xe1\x82\xba\xe2\xb4\x94\xf0\x9e\xa8\x87", true); } // [B5, B6, V7, A4_2]
7195test { try toUnicodeFail(".xn--cljl81825an3r4h"); } // [B5, B6, V7, X4_2]
7196test { try toAsciiFail(".xn--cljl81825an3r4h", false); } // [B5, B6, V7, A4_2]
7197test { try toAsciiFail(".xn--cljl81825an3r4h", true); } // [B5, B6, V7, A4_2]
7198test { try toUnicodeFail("xn--1ug.xn--cljl81825an3r4h"); } // [B1, B5, B6, C2, V7]
7199test { try toAsciiFail("xn--1ug.xn--cljl81825an3r4h", false); } // [B1, B5, B6, C2, V7]
7200test { try toAsciiFail("xn--1ug.xn--cljl81825an3r4h", true); } // [B1, B5, B6, C2, V7]
7201test { try toUnicodeFail("\xe2\x80\x8d\xef\xbd\xa1\xf3\xb8\xb2\x9c\xe2\xb4\x9a\xe2\xb4\x94\xf0\x9e\xa8\x87"); } // [B1, B5, B6, C2, V7]
7202test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf3\xb8\xb2\x9c\xe2\xb4\x9a\xe2\xb4\x94\xf0\x9e\xa8\x87", false); } // [B1, B5, B6, C2, V7]
7203test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf3\xb8\xb2\x9c\xe2\xb4\x9a\xe2\xb4\x94\xf0\x9e\xa8\x87", true); } // [B5, B6, V7, A4_2]
7204test { try toUnicodeFail("\xe2\x80\x8d\xef\xbd\xa1\xf3\xb8\xb2\x9c\xe1\x82\xba\xe2\xb4\x94\xf0\x9e\xa8\x87"); } // [B1, B5, B6, C2, V7]
7205test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf3\xb8\xb2\x9c\xe1\x82\xba\xe2\xb4\x94\xf0\x9e\xa8\x87", false); } // [B1, B5, B6, C2, V7]
7206test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf3\xb8\xb2\x9c\xe1\x82\xba\xe2\xb4\x94\xf0\x9e\xa8\x87", true); } // [B5, B6, V7, A4_2]
7207test { try toUnicodeFail(".xn--ynd036lq981an3r4h"); } // [B5, B6, V7, X4_2]
7208test { try toAsciiFail(".xn--ynd036lq981an3r4h", false); } // [B5, B6, V7, A4_2]
7209test { try toAsciiFail(".xn--ynd036lq981an3r4h", true); } // [B5, B6, V7, A4_2]
7210test { try toUnicodeFail("xn--1ug.xn--ynd036lq981an3r4h"); } // [B1, B5, B6, C2, V7]
7211test { try toAsciiFail("xn--1ug.xn--ynd036lq981an3r4h", false); } // [B1, B5, B6, C2, V7]
7212test { try toAsciiFail("xn--1ug.xn--ynd036lq981an3r4h", true); } // [B1, B5, B6, C2, V7]
7213test { try toUnicodeFail(".xn--sndl01647an3h1h"); } // [B5, B6, V7, X4_2]
7214test { try toAsciiFail(".xn--sndl01647an3h1h", false); } // [B5, B6, V7, A4_2]
7215test { try toAsciiFail(".xn--sndl01647an3h1h", true); } // [B5, B6, V7, A4_2]
7216test { try toUnicodeFail("xn--1ug.xn--sndl01647an3h1h"); } // [B1, B5, B6, C2, V7]
7217test { try toAsciiFail("xn--1ug.xn--sndl01647an3h1h", false); } // [B1, B5, B6, C2, V7]
7218test { try toAsciiFail("xn--1ug.xn--sndl01647an3h1h", true); } // [B1, B5, B6, C2, V7]
7219test { try toUnicodeFail("-3.\xe2\x80\x8d\xe3\x83\x8c\xe1\xa2\x95"); } // [C2, V3]
7220test { try toAsciiFail("-3.\xe2\x80\x8d\xe3\x83\x8c\xe1\xa2\x95", false); } // [C2, V3]
7221test { try toAsciiFail("-3.\xe2\x80\x8d\xe3\x83\x8c\xe1\xa2\x95", true); } // [V3]
7222test { try toUnicodeFail("-3.xn--fbf115j"); } // [V3]
7223test { try toAsciiFail("-3.xn--fbf115j", false); } // [V3]
7224test { try toAsciiFail("-3.xn--fbf115j", true); } // [V3]
7225test { try toUnicodeFail("-3.xn--fbf739aq5o"); } // [C2, V3]
7226test { try toAsciiFail("-3.xn--fbf739aq5o", false); } // [C2, V3]
7227test { try toAsciiFail("-3.xn--fbf739aq5o", true); } // [C2, V3]
7228test { try toUnicodeFail("\xf0\x9f\x82\x83\xd9\xa6\xc3\x9f\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-"); } // [B1, C2, V3, V7]
7229test { try toAsciiFail("\xf0\x9f\x82\x83\xd9\xa6\xc3\x9f\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-", false); } // [B1, C2, V3, V7]
7230test { try toAsciiFail("\xf0\x9f\x82\x83\xd9\xa6\xc3\x9f\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-", true); } // [B1, V3, V7]
7231test { try toUnicodeFail("\xf0\x9f\x82\x83\xd9\xa6SS\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-"); } // [B1, C2, V3, V7]
7232test { try toAsciiFail("\xf0\x9f\x82\x83\xd9\xa6SS\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-", false); } // [B1, C2, V3, V7]
7233test { try toAsciiFail("\xf0\x9f\x82\x83\xd9\xa6SS\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-", true); } // [B1, V3, V7]
7234test { try toUnicodeFail("\xf0\x9f\x82\x83\xd9\xa6ss\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-"); } // [B1, C2, V3, V7]
7235test { try toAsciiFail("\xf0\x9f\x82\x83\xd9\xa6ss\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-", false); } // [B1, C2, V3, V7]
7236test { try toAsciiFail("\xf0\x9f\x82\x83\xd9\xa6ss\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-", true); } // [B1, V3, V7]
7237test { try toUnicodeFail("xn--ss-pyd98921c.xn----nz8rh7531csznt"); } // [B1, V3, V7]
7238test { try toAsciiFail("xn--ss-pyd98921c.xn----nz8rh7531csznt", false); } // [B1, V3, V7]
7239test { try toAsciiFail("xn--ss-pyd98921c.xn----nz8rh7531csznt", true); } // [B1, V3, V7]
7240test { try toUnicodeFail("xn--ss-pyd483x5k99b.xn----nz8rh7531csznt"); } // [B1, C2, V3, V7]
7241test { try toAsciiFail("xn--ss-pyd483x5k99b.xn----nz8rh7531csznt", false); } // [B1, C2, V3, V7]
7242test { try toAsciiFail("xn--ss-pyd483x5k99b.xn----nz8rh7531csznt", true); } // [B1, C2, V3, V7]
7243test { try toUnicodeFail("xn--zca34z68yzu83b.xn----nz8rh7531csznt"); } // [B1, C2, V3, V7]
7244test { try toAsciiFail("xn--zca34z68yzu83b.xn----nz8rh7531csznt", false); } // [B1, C2, V3, V7]
7245test { try toAsciiFail("xn--zca34z68yzu83b.xn----nz8rh7531csznt", true); } // [B1, C2, V3, V7]
7246test { try toUnicodeFail("\xf0\x9f\x82\x83\xd9\xa6Ss\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-"); } // [B1, C2, V3, V7]
7247test { try toAsciiFail("\xf0\x9f\x82\x83\xd9\xa6Ss\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-", false); } // [B1, C2, V3, V7]
7248test { try toAsciiFail("\xf0\x9f\x82\x83\xd9\xa6Ss\xe2\x80\x8d\xe3\x80\x82\xf3\xa0\xa0\x82\xf2\xad\xb0\x8d\xf0\x9e\xa9\x92-", true); } // [B1, V3, V7]
7249test { try toUnicodeFail("\xea\x87\x9f-\xf0\x90\xbe\xba\xda\x9f\xe3\x80\x82\xf2\xb0\x80\xba\xe2\x80\x8c"); } // [B5, B6, C1, V7]
7250test { try toAsciiFail("\xea\x87\x9f-\xf0\x90\xbe\xba\xda\x9f\xe3\x80\x82\xf2\xb0\x80\xba\xe2\x80\x8c", false); } // [B5, B6, C1, V7]
7251test { try toAsciiFail("\xea\x87\x9f-\xf0\x90\xbe\xba\xda\x9f\xe3\x80\x82\xf2\xb0\x80\xba\xe2\x80\x8c", true); } // [B5, B6, V7]
7252test { try toUnicodeFail("xn----utc4430jd3zd.xn--bp20d"); } // [B5, B6, V7]
7253test { try toAsciiFail("xn----utc4430jd3zd.xn--bp20d", false); } // [B5, B6, V7]
7254test { try toAsciiFail("xn----utc4430jd3zd.xn--bp20d", true); } // [B5, B6, V7]
7255test { try toUnicodeFail("xn----utc4430jd3zd.xn--0ugx6670i"); } // [B5, B6, C1, V7]
7256test { try toAsciiFail("xn----utc4430jd3zd.xn--0ugx6670i", false); } // [B5, B6, C1, V7]
7257test { try toAsciiFail("xn----utc4430jd3zd.xn--0ugx6670i", true); } // [B5, B6, C1, V7]
7258test { try toUnicodeFail("\xd9\xa5.\xd2\x84\xf0\x90\xa8\x97\xf0\x9d\xa9\x8b\xf0\xb4\xa4\x83"); } // [B1, V6, V7]
7259test { try toAsciiFail("\xd9\xa5.\xd2\x84\xf0\x90\xa8\x97\xf0\x9d\xa9\x8b\xf0\xb4\xa4\x83", false); } // [B1, V6, V7]
7260test { try toAsciiFail("\xd9\xa5.\xd2\x84\xf0\x90\xa8\x97\xf0\x9d\xa9\x8b\xf0\xb4\xa4\x83", true); } // [B1, V6, V7]
7261test { try toUnicodeFail("xn--eib.xn--n3a0405kus8eft5l"); } // [B1, V6, V7]
7262test { try toAsciiFail("xn--eib.xn--n3a0405kus8eft5l", false); } // [B1, V6, V7]
7263test { try toAsciiFail("xn--eib.xn--n3a0405kus8eft5l", true); } // [B1, V6, V7]
7264test { try toUnicodeFail("-.\xf1\xb1\xbc\x93\xd9\x89\xf0\x90\xa8\xbf"); } // [B1, B5, B6, V3, V7]
7265test { try toAsciiFail("-.\xf1\xb1\xbc\x93\xd9\x89\xf0\x90\xa8\xbf", false); } // [B1, B5, B6, V3, V7]
7266test { try toAsciiFail("-.\xf1\xb1\xbc\x93\xd9\x89\xf0\x90\xa8\xbf", true); } // [B1, B5, B6, V3, V7]
7267test { try toUnicodeFail("-.xn--lhb4124khbq4b"); } // [B1, B5, B6, V3, V7]
7268test { try toAsciiFail("-.xn--lhb4124khbq4b", false); } // [B1, B5, B6, V3, V7]
7269test { try toAsciiFail("-.xn--lhb4124khbq4b", true); } // [B1, B5, B6, V3, V7]
7270test { try toUnicodeFail("\xf3\xbe\xac\xa8\xcf\x82.\xf0\x9e\xb6\x99\xeb\x85\xab\xc3\x9f"); } // [B2, B3, V7]
7271test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x82.\xf0\x9e\xb6\x99\xeb\x85\xab\xc3\x9f", false); } // [B2, B3, V7]
7272test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x82.\xf0\x9e\xb6\x99\xeb\x85\xab\xc3\x9f", true); } // [B2, B3, V7]
7273test { try toUnicodeFail("\xf3\xbe\xac\xa8\xcf\x82.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6\xc3\x9f"); } // [B2, B3, V7]
7274test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x82.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6\xc3\x9f", false); } // [B2, B3, V7]
7275test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x82.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6\xc3\x9f", true); } // [B2, B3, V7]
7276test { try toUnicodeFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6SS"); } // [B2, B3, V7]
7277test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6SS", false); } // [B2, B3, V7]
7278test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6SS", true); } // [B2, B3, V7]
7279test { try toUnicodeFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xabSS"); } // [B2, B3, V7]
7280test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xabSS", false); } // [B2, B3, V7]
7281test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xabSS", true); } // [B2, B3, V7]
7282test { try toUnicodeFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xeb\x85\xabss"); } // [B2, B3, V7]
7283test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xeb\x85\xabss", false); } // [B2, B3, V7]
7284test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xeb\x85\xabss", true); } // [B2, B3, V7]
7285test { try toUnicodeFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6ss"); } // [B2, B3, V7]
7286test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6ss", false); } // [B2, B3, V7]
7287test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6ss", true); } // [B2, B3, V7]
7288test { try toUnicodeFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6ss"); } // [B2, B3, V7]
7289test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6ss", false); } // [B2, B3, V7]
7290test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6ss", true); } // [B2, B3, V7]
7291test { try toUnicodeFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xabss"); } // [B2, B3, V7]
7292test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xabss", false); } // [B2, B3, V7]
7293test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xabss", true); } // [B2, B3, V7]
7294test { try toUnicodeFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xabSs"); } // [B2, B3, V7]
7295test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xabSs", false); } // [B2, B3, V7]
7296test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xabSs", true); } // [B2, B3, V7]
7297test { try toUnicodeFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6Ss"); } // [B2, B3, V7]
7298test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6Ss", false); } // [B2, B3, V7]
7299test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6Ss", true); } // [B2, B3, V7]
7300test { try toUnicodeFail("xn--4xa76659r.xn--ss-d64i8755h"); } // [B2, B3, V7]
7301test { try toAsciiFail("xn--4xa76659r.xn--ss-d64i8755h", false); } // [B2, B3, V7]
7302test { try toAsciiFail("xn--4xa76659r.xn--ss-d64i8755h", true); } // [B2, B3, V7]
7303test { try toUnicodeFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6\xc3\x9f"); } // [B2, B3, V7]
7304test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6\xc3\x9f", false); } // [B2, B3, V7]
7305test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6\xc3\x9f", true); } // [B2, B3, V7]
7306test { try toUnicodeFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xab\xc3\x9f"); } // [B2, B3, V7]
7307test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xab\xc3\x9f", false); } // [B2, B3, V7]
7308test { try toAsciiFail("\xf3\xbe\xac\xa8\xce\xa3.\xf0\x9e\xb6\x99\xeb\x85\xab\xc3\x9f", true); } // [B2, B3, V7]
7309test { try toUnicodeFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xeb\x85\xab\xc3\x9f"); } // [B2, B3, V7]
7310test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xeb\x85\xab\xc3\x9f", false); } // [B2, B3, V7]
7311test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xeb\x85\xab\xc3\x9f", true); } // [B2, B3, V7]
7312test { try toUnicodeFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6\xc3\x9f"); } // [B2, B3, V7]
7313test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6\xc3\x9f", false); } // [B2, B3, V7]
7314test { try toAsciiFail("\xf3\xbe\xac\xa8\xcf\x83.\xf0\x9e\xb6\x99\xe1\x84\x82\xe1\x85\xa8\xe1\x86\xb6\xc3\x9f", true); } // [B2, B3, V7]
7315test { try toUnicodeFail("xn--4xa76659r.xn--zca5051g4h4i"); } // [B2, B3, V7]
7316test { try toAsciiFail("xn--4xa76659r.xn--zca5051g4h4i", false); } // [B2, B3, V7]
7317test { try toAsciiFail("xn--4xa76659r.xn--zca5051g4h4i", true); } // [B2, B3, V7]
7318test { try toUnicodeFail("xn--3xa96659r.xn--zca5051g4h4i"); } // [B2, B3, V7]
7319test { try toAsciiFail("xn--3xa96659r.xn--zca5051g4h4i", false); } // [B2, B3, V7]
7320test { try toAsciiFail("xn--3xa96659r.xn--zca5051g4h4i", true); } // [B2, B3, V7]
7321test { try toAsciiPass("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c", "xn--u4e969b.xn--1ch", true); }
7322test { try toUnicodeFail("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c"); } // [C1, C2]
7323test { try toAsciiFail("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c", false); } // [C1, C2]
7324test { try toAsciiPass("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c", "xn--u4e969b.xn--1ch", true); }
7325test { try toUnicodeFail("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c"); } // [C1, C2]
7326test { try toAsciiFail("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c", false); } // [C1, C2]
7327test { try toAsciiPass("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c", "xn--u4e969b.xn--1ch", true); }
7328test { try toUnicodeFail("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c"); } // [C1, C2]
7329test { try toAsciiFail("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c", false); } // [C1, C2]
7330test { try toAsciiPass("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c", "xn--u4e969b.xn--1ch", true); }
7331test { try toUnicodeFail("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c"); } // [C1, C2]
7332test { try toAsciiFail("\xe2\x84\xb2\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c", false); } // [C1, C2]
7333test { try toAsciiPass("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c", "xn--u4e969b.xn--1ch", true); }
7334test { try toUnicodeFail("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c"); } // [C1, C2]
7335test { try toAsciiFail("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c", false); } // [C1, C2]
7336test { try toAsciiPass("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c", "xn--u4e969b.xn--1ch", true); }
7337test { try toUnicodeFail("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c"); } // [C1, C2]
7338test { try toAsciiFail("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xe3\x80\x82\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c", false); } // [C1, C2]
7339test { try toUnicodePass("xn--u4e969b.xn--1ch", "\xe2\x85\x8e\xe1\x9f\x92.\xe2\x89\xa0"); }
7340test { try toAsciiPass("xn--u4e969b.xn--1ch", "xn--u4e969b.xn--1ch", false); }
7341test { try toAsciiPass("xn--u4e969b.xn--1ch", "xn--u4e969b.xn--1ch", true); }
7342test { try toUnicodePass("\xe2\x85\x8e\xe1\x9f\x92.\xe2\x89\xa0", "\xe2\x85\x8e\xe1\x9f\x92.\xe2\x89\xa0"); }
7343test { try toAsciiPass("\xe2\x85\x8e\xe1\x9f\x92.\xe2\x89\xa0", "xn--u4e969b.xn--1ch", false); }
7344test { try toAsciiPass("\xe2\x85\x8e\xe1\x9f\x92.\xe2\x89\xa0", "xn--u4e969b.xn--1ch", true); }
7345test { try toUnicodePass("\xe2\x85\x8e\xe1\x9f\x92.=\xcc\xb8", "\xe2\x85\x8e\xe1\x9f\x92.\xe2\x89\xa0"); }
7346test { try toAsciiPass("\xe2\x85\x8e\xe1\x9f\x92.=\xcc\xb8", "xn--u4e969b.xn--1ch", false); }
7347test { try toAsciiPass("\xe2\x85\x8e\xe1\x9f\x92.=\xcc\xb8", "xn--u4e969b.xn--1ch", true); }
7348test { try toUnicodePass("\xe2\x84\xb2\xe1\x9f\x92.=\xcc\xb8", "\xe2\x85\x8e\xe1\x9f\x92.\xe2\x89\xa0"); }
7349test { try toAsciiPass("\xe2\x84\xb2\xe1\x9f\x92.=\xcc\xb8", "xn--u4e969b.xn--1ch", false); }
7350test { try toAsciiPass("\xe2\x84\xb2\xe1\x9f\x92.=\xcc\xb8", "xn--u4e969b.xn--1ch", true); }
7351test { try toUnicodePass("\xe2\x84\xb2\xe1\x9f\x92.\xe2\x89\xa0", "\xe2\x85\x8e\xe1\x9f\x92.\xe2\x89\xa0"); }
7352test { try toAsciiPass("\xe2\x84\xb2\xe1\x9f\x92.\xe2\x89\xa0", "xn--u4e969b.xn--1ch", false); }
7353test { try toAsciiPass("\xe2\x84\xb2\xe1\x9f\x92.\xe2\x89\xa0", "xn--u4e969b.xn--1ch", true); }
7354test { try toUnicodeFail("xn--u4e823bq1a.xn--0ugb89o"); } // [C1, C2]
7355test { try toAsciiFail("xn--u4e823bq1a.xn--0ugb89o", false); } // [C1, C2]
7356test { try toAsciiFail("xn--u4e823bq1a.xn--0ugb89o", true); } // [C1, C2]
7357test { try toAsciiPass("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c", "xn--u4e969b.xn--1ch", true); }
7358test { try toUnicodeFail("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c"); } // [C1, C2]
7359test { try toAsciiFail("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1=\xcc\xb8\xe2\x80\x8d\xe2\x80\x8c", false); } // [C1, C2]
7360test { try toAsciiPass("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c", "xn--u4e969b.xn--1ch", true); }
7361test { try toUnicodeFail("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c"); } // [C1, C2]
7362test { try toAsciiFail("\xe2\x85\x8e\xe1\x9f\x92\xe2\x80\x8d\xef\xbd\xa1\xe2\x89\xa0\xe2\x80\x8d\xe2\x80\x8c", false); } // [C1, C2]
7363test { try toUnicodeFail("xn--u4e319b.xn--1ch"); } // [V7]
7364test { try toAsciiFail("xn--u4e319b.xn--1ch", false); } // [V7]
7365test { try toAsciiFail("xn--u4e319b.xn--1ch", true); } // [V7]
7366test { try toUnicodeFail("xn--u4e823bcza.xn--0ugb89o"); } // [C1, C2, V7]
7367test { try toAsciiFail("xn--u4e823bcza.xn--0ugb89o", false); } // [C1, C2, V7]
7368test { try toAsciiFail("xn--u4e823bcza.xn--0ugb89o", true); } // [C1, C2, V7]
7369test { try toUnicodeFail("\xf0\x90\x8b\xba\xea\xab\xb6\xea\xa5\x93\xf3\xa7\xa6\x89\xef\xbc\x8e\xe2\x80\x8c\xe1\x9c\x94\xda\x8f"); } // [B1, C1, V7]
7370test { try toAsciiFail("\xf0\x90\x8b\xba\xea\xab\xb6\xea\xa5\x93\xf3\xa7\xa6\x89\xef\xbc\x8e\xe2\x80\x8c\xe1\x9c\x94\xda\x8f", false); } // [B1, C1, V7]
7371test { try toAsciiFail("\xf0\x90\x8b\xba\xea\xab\xb6\xea\xa5\x93\xf3\xa7\xa6\x89\xef\xbc\x8e\xe2\x80\x8c\xe1\x9c\x94\xda\x8f", true); } // [B1, V6, V7]
7372test { try toUnicodeFail("\xf0\x90\x8b\xba\xea\xab\xb6\xea\xa5\x93\xf3\xa7\xa6\x89.\xe2\x80\x8c\xe1\x9c\x94\xda\x8f"); } // [B1, C1, V7]
7373test { try toAsciiFail("\xf0\x90\x8b\xba\xea\xab\xb6\xea\xa5\x93\xf3\xa7\xa6\x89.\xe2\x80\x8c\xe1\x9c\x94\xda\x8f", false); } // [B1, C1, V7]
7374test { try toAsciiFail("\xf0\x90\x8b\xba\xea\xab\xb6\xea\xa5\x93\xf3\xa7\xa6\x89.\xe2\x80\x8c\xe1\x9c\x94\xda\x8f", true); } // [B1, V6, V7]
7375test { try toUnicodeFail("xn--3j9a14ak27osbz2o.xn--ljb175f"); } // [B1, V6, V7]
7376test { try toAsciiFail("xn--3j9a14ak27osbz2o.xn--ljb175f", false); } // [B1, V6, V7]
7377test { try toAsciiFail("xn--3j9a14ak27osbz2o.xn--ljb175f", true); } // [B1, V6, V7]
7378test { try toUnicodeFail("xn--3j9a14ak27osbz2o.xn--ljb175f1wg"); } // [B1, C1, V7]
7379test { try toAsciiFail("xn--3j9a14ak27osbz2o.xn--ljb175f1wg", false); } // [B1, C1, V7]
7380test { try toAsciiFail("xn--3j9a14ak27osbz2o.xn--ljb175f1wg", true); } // [B1, C1, V7]
7381test { try toUnicodeFail("\xf1\xba\x94\xaf\xe0\xbe\xa8\xef\xbc\x8e\xe2\x89\xaf"); } // [V7]
7382test { try toAsciiFail("\xf1\xba\x94\xaf\xe0\xbe\xa8\xef\xbc\x8e\xe2\x89\xaf", false); } // [V7]
7383test { try toAsciiFail("\xf1\xba\x94\xaf\xe0\xbe\xa8\xef\xbc\x8e\xe2\x89\xaf", true); } // [V7]
7384test { try toUnicodeFail("\xf1\xba\x94\xaf\xe0\xbe\xa8\xef\xbc\x8e>\xcc\xb8"); } // [V7]
7385test { try toAsciiFail("\xf1\xba\x94\xaf\xe0\xbe\xa8\xef\xbc\x8e>\xcc\xb8", false); } // [V7]
7386test { try toAsciiFail("\xf1\xba\x94\xaf\xe0\xbe\xa8\xef\xbc\x8e>\xcc\xb8", true); } // [V7]
7387test { try toUnicodeFail("\xf1\xba\x94\xaf\xe0\xbe\xa8.\xe2\x89\xaf"); } // [V7]
7388test { try toAsciiFail("\xf1\xba\x94\xaf\xe0\xbe\xa8.\xe2\x89\xaf", false); } // [V7]
7389test { try toAsciiFail("\xf1\xba\x94\xaf\xe0\xbe\xa8.\xe2\x89\xaf", true); } // [V7]
7390test { try toUnicodeFail("\xf1\xba\x94\xaf\xe0\xbe\xa8.>\xcc\xb8"); } // [V7]
7391test { try toAsciiFail("\xf1\xba\x94\xaf\xe0\xbe\xa8.>\xcc\xb8", false); } // [V7]
7392test { try toAsciiFail("\xf1\xba\x94\xaf\xe0\xbe\xa8.>\xcc\xb8", true); } // [V7]
7393test { try toUnicodeFail("xn--4fd57150h.xn--hdh"); } // [V7]
7394test { try toAsciiFail("xn--4fd57150h.xn--hdh", false); } // [V7]
7395test { try toAsciiFail("xn--4fd57150h.xn--hdh", true); } // [V7]
7396test { try toUnicodeFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe1\x82\xb3\xef\xbc\x8e\xf0\x90\x87\xbd"); } // [B1, C2, V6]
7397test { try toAsciiFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe1\x82\xb3\xef\xbc\x8e\xf0\x90\x87\xbd", false); } // [B1, C2, V6]
7398test { try toAsciiFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe1\x82\xb3\xef\xbc\x8e\xf0\x90\x87\xbd", true); } // [B1, B2, B3, V6]
7399test { try toUnicodeFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe1\x82\xb3.\xf0\x90\x87\xbd"); } // [B1, C2, V6]
7400test { try toAsciiFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe1\x82\xb3.\xf0\x90\x87\xbd", false); } // [B1, C2, V6]
7401test { try toAsciiFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe1\x82\xb3.\xf0\x90\x87\xbd", true); } // [B1, B2, B3, V6]
7402test { try toUnicodeFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe2\xb4\x93.\xf0\x90\x87\xbd"); } // [B1, C2, V6]
7403test { try toAsciiFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe2\xb4\x93.\xf0\x90\x87\xbd", false); } // [B1, C2, V6]
7404test { try toAsciiFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe2\xb4\x93.\xf0\x90\x87\xbd", true); } // [B1, B2, B3, V6]
7405test { try toUnicodeFail("xn--blj7492l.xn--m27c"); } // [B1, B2, B3, V6]
7406test { try toAsciiFail("xn--blj7492l.xn--m27c", false); } // [B1, B2, B3, V6]
7407test { try toAsciiFail("xn--blj7492l.xn--m27c", true); } // [B1, B2, B3, V6]
7408test { try toUnicodeFail("xn--1ugz52c4i16a.xn--m27c"); } // [B1, C2, V6]
7409test { try toAsciiFail("xn--1ugz52c4i16a.xn--m27c", false); } // [B1, C2, V6]
7410test { try toAsciiFail("xn--1ugz52c4i16a.xn--m27c", true); } // [B1, C2, V6]
7411test { try toUnicodeFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe2\xb4\x93\xef\xbc\x8e\xf0\x90\x87\xbd"); } // [B1, C2, V6]
7412test { try toAsciiFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe2\xb4\x93\xef\xbc\x8e\xf0\x90\x87\xbd", false); } // [B1, C2, V6]
7413test { try toAsciiFail("\xe2\x80\x8d\xf0\x9e\xa1\x84\xe2\xb4\x93\xef\xbc\x8e\xf0\x90\x87\xbd", true); } // [B1, B2, B3, V6]
7414test { try toUnicodeFail("xn--rnd5552v.xn--m27c"); } // [B1, B2, B3, V6, V7]
7415test { try toAsciiFail("xn--rnd5552v.xn--m27c", false); } // [B1, B2, B3, V6, V7]
7416test { try toAsciiFail("xn--rnd5552v.xn--m27c", true); } // [B1, B2, B3, V6, V7]
7417test { try toUnicodeFail("xn--rnd379ex885a.xn--m27c"); } // [B1, C2, V6, V7]
7418test { try toAsciiFail("xn--rnd379ex885a.xn--m27c", false); } // [B1, C2, V6, V7]
7419test { try toAsciiFail("xn--rnd379ex885a.xn--m27c", true); } // [B1, C2, V6, V7]
7420test { try toUnicodeFail("\xf0\x90\xaa\x92\xc3\x9f\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4"); } // [B2, B3]
7421test { try toAsciiFail("\xf0\x90\xaa\x92\xc3\x9f\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4", false); } // [B2, B3]
7422test { try toAsciiFail("\xf0\x90\xaa\x92\xc3\x9f\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4", true); } // [B2, B3]
7423test { try toUnicodeFail("\xf0\x90\xaa\x92\xc3\x9f\xea\xa3\xaa.\xe1\xa1\xa4"); } // [B2, B3]
7424test { try toAsciiFail("\xf0\x90\xaa\x92\xc3\x9f\xea\xa3\xaa.\xe1\xa1\xa4", false); } // [B2, B3]
7425test { try toAsciiFail("\xf0\x90\xaa\x92\xc3\x9f\xea\xa3\xaa.\xe1\xa1\xa4", true); } // [B2, B3]
7426test { try toUnicodeFail("\xf0\x90\xaa\x92SS\xea\xa3\xaa.\xe1\xa1\xa4"); } // [B2, B3]
7427test { try toAsciiFail("\xf0\x90\xaa\x92SS\xea\xa3\xaa.\xe1\xa1\xa4", false); } // [B2, B3]
7428test { try toAsciiFail("\xf0\x90\xaa\x92SS\xea\xa3\xaa.\xe1\xa1\xa4", true); } // [B2, B3]
7429test { try toUnicodeFail("\xf0\x90\xaa\x92ss\xea\xa3\xaa.\xe1\xa1\xa4"); } // [B2, B3]
7430test { try toAsciiFail("\xf0\x90\xaa\x92ss\xea\xa3\xaa.\xe1\xa1\xa4", false); } // [B2, B3]
7431test { try toAsciiFail("\xf0\x90\xaa\x92ss\xea\xa3\xaa.\xe1\xa1\xa4", true); } // [B2, B3]
7432test { try toUnicodeFail("xn--ss-tu9hw933a.xn--08e"); } // [B2, B3]
7433test { try toAsciiFail("xn--ss-tu9hw933a.xn--08e", false); } // [B2, B3]
7434test { try toAsciiFail("xn--ss-tu9hw933a.xn--08e", true); } // [B2, B3]
7435test { try toUnicodeFail("xn--zca2517f2hvc.xn--08e"); } // [B2, B3]
7436test { try toAsciiFail("xn--zca2517f2hvc.xn--08e", false); } // [B2, B3]
7437test { try toAsciiFail("xn--zca2517f2hvc.xn--08e", true); } // [B2, B3]
7438test { try toUnicodeFail("\xf0\x90\xaa\x92SS\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4"); } // [B2, B3]
7439test { try toAsciiFail("\xf0\x90\xaa\x92SS\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4", false); } // [B2, B3]
7440test { try toAsciiFail("\xf0\x90\xaa\x92SS\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4", true); } // [B2, B3]
7441test { try toUnicodeFail("\xf0\x90\xaa\x92ss\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4"); } // [B2, B3]
7442test { try toAsciiFail("\xf0\x90\xaa\x92ss\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4", false); } // [B2, B3]
7443test { try toAsciiFail("\xf0\x90\xaa\x92ss\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4", true); } // [B2, B3]
7444test { try toUnicodeFail("\xf0\x90\xaa\x92Ss\xea\xa3\xaa.\xe1\xa1\xa4"); } // [B2, B3]
7445test { try toAsciiFail("\xf0\x90\xaa\x92Ss\xea\xa3\xaa.\xe1\xa1\xa4", false); } // [B2, B3]
7446test { try toAsciiFail("\xf0\x90\xaa\x92Ss\xea\xa3\xaa.\xe1\xa1\xa4", true); } // [B2, B3]
7447test { try toUnicodeFail("\xf0\x90\xaa\x92Ss\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4"); } // [B2, B3]
7448test { try toAsciiFail("\xf0\x90\xaa\x92Ss\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4", false); } // [B2, B3]
7449test { try toAsciiFail("\xf0\x90\xaa\x92Ss\xea\xa3\xaa\xef\xbc\x8e\xe1\xa1\xa4", true); } // [B2, B3]
7450test { try toUnicodeFail("\xf0\x90\xa8\xbf\xf3\xa0\x86\x8c\xe9\xb8\xae\xf0\x91\x9a\xb6.\xcf\x82"); } // [V6]
7451test { try toAsciiFail("\xf0\x90\xa8\xbf\xf3\xa0\x86\x8c\xe9\xb8\xae\xf0\x91\x9a\xb6.\xcf\x82", false); } // [V6]
7452test { try toAsciiFail("\xf0\x90\xa8\xbf\xf3\xa0\x86\x8c\xe9\xb8\xae\xf0\x91\x9a\xb6.\xcf\x82", true); } // [V6]
7453test { try toUnicodeFail("\xf0\x90\xa8\xbf\xf3\xa0\x86\x8c\xe9\xb8\xae\xf0\x91\x9a\xb6.\xce\xa3"); } // [V6]
7454test { try toAsciiFail("\xf0\x90\xa8\xbf\xf3\xa0\x86\x8c\xe9\xb8\xae\xf0\x91\x9a\xb6.\xce\xa3", false); } // [V6]
7455test { try toAsciiFail("\xf0\x90\xa8\xbf\xf3\xa0\x86\x8c\xe9\xb8\xae\xf0\x91\x9a\xb6.\xce\xa3", true); } // [V6]
7456test { try toUnicodeFail("\xf0\x90\xa8\xbf\xf3\xa0\x86\x8c\xe9\xb8\xae\xf0\x91\x9a\xb6.\xcf\x83"); } // [V6]
7457test { try toAsciiFail("\xf0\x90\xa8\xbf\xf3\xa0\x86\x8c\xe9\xb8\xae\xf0\x91\x9a\xb6.\xcf\x83", false); } // [V6]
7458test { try toAsciiFail("\xf0\x90\xa8\xbf\xf3\xa0\x86\x8c\xe9\xb8\xae\xf0\x91\x9a\xb6.\xcf\x83", true); } // [V6]
7459test { try toUnicodeFail("xn--l76a726rt2h.xn--4xa"); } // [V6]
7460test { try toAsciiFail("xn--l76a726rt2h.xn--4xa", false); } // [V6]
7461test { try toAsciiFail("xn--l76a726rt2h.xn--4xa", true); } // [V6]
7462test { try toUnicodeFail("xn--l76a726rt2h.xn--3xa"); } // [V6]
7463test { try toAsciiFail("xn--l76a726rt2h.xn--3xa", false); } // [V6]
7464test { try toAsciiFail("xn--l76a726rt2h.xn--3xa", true); } // [V6]
7465test { try toUnicodeFail("\xe2\x92\x97\xf0\x9e\xa4\xac\xe3\x80\x82-\xf0\x91\x9a\xb6"); } // [B1, V3, V7]
7466test { try toAsciiFail("\xe2\x92\x97\xf0\x9e\xa4\xac\xe3\x80\x82-\xf0\x91\x9a\xb6", false); } // [B1, V3, V7]
7467test { try toAsciiFail("\xe2\x92\x97\xf0\x9e\xa4\xac\xe3\x80\x82-\xf0\x91\x9a\xb6", true); } // [B1, V3, V7]
7468test { try toUnicodeFail("16.\xf0\x9e\xa4\xac\xe3\x80\x82-\xf0\x91\x9a\xb6"); } // [B1, V3]
7469test { try toAsciiFail("16.\xf0\x9e\xa4\xac\xe3\x80\x82-\xf0\x91\x9a\xb6", false); } // [B1, V3]
7470test { try toAsciiFail("16.\xf0\x9e\xa4\xac\xe3\x80\x82-\xf0\x91\x9a\xb6", true); } // [B1, V3]
7471test { try toUnicodeFail("16.\xf0\x9e\xa4\x8a\xe3\x80\x82-\xf0\x91\x9a\xb6"); } // [B1, V3]
7472test { try toAsciiFail("16.\xf0\x9e\xa4\x8a\xe3\x80\x82-\xf0\x91\x9a\xb6", false); } // [B1, V3]
7473test { try toAsciiFail("16.\xf0\x9e\xa4\x8a\xe3\x80\x82-\xf0\x91\x9a\xb6", true); } // [B1, V3]
7474test { try toUnicodeFail("16.xn--ke6h.xn----4j0j"); } // [B1, V3]
7475test { try toAsciiFail("16.xn--ke6h.xn----4j0j", false); } // [B1, V3]
7476test { try toAsciiFail("16.xn--ke6h.xn----4j0j", true); } // [B1, V3]
7477test { try toUnicodeFail("\xe2\x92\x97\xf0\x9e\xa4\x8a\xe3\x80\x82-\xf0\x91\x9a\xb6"); } // [B1, V3, V7]
7478test { try toAsciiFail("\xe2\x92\x97\xf0\x9e\xa4\x8a\xe3\x80\x82-\xf0\x91\x9a\xb6", false); } // [B1, V3, V7]
7479test { try toAsciiFail("\xe2\x92\x97\xf0\x9e\xa4\x8a\xe3\x80\x82-\xf0\x91\x9a\xb6", true); } // [B1, V3, V7]
7480test { try toUnicodeFail("xn--8shw466n.xn----4j0j"); } // [B1, V3, V7]
7481test { try toAsciiFail("xn--8shw466n.xn----4j0j", false); } // [B1, V3, V7]
7482test { try toAsciiFail("xn--8shw466n.xn----4j0j", true); } // [B1, V3, V7]
7483test { try toUnicodeFail("\xe0\xa2\xb3\xf0\x9e\xa4\xbf\xe2\xbe\xab\xef\xbd\xa1\xf0\x90\xb9\xa3\xda\x8f\xe2\x92\x88"); } // [B1, B2, B3, V7]
7484test { try toAsciiFail("\xe0\xa2\xb3\xf0\x9e\xa4\xbf\xe2\xbe\xab\xef\xbd\xa1\xf0\x90\xb9\xa3\xda\x8f\xe2\x92\x88", false); } // [B1, B2, B3, V7]
7485test { try toAsciiFail("\xe0\xa2\xb3\xf0\x9e\xa4\xbf\xe2\xbe\xab\xef\xbd\xa1\xf0\x90\xb9\xa3\xda\x8f\xe2\x92\x88", true); } // [B1, B2, B3, V7]
7486test { try toUnicodeFail("\xe0\xa2\xb3\xf0\x9e\xa4\xbf\xe9\x9a\xb9\xe3\x80\x82\xf0\x90\xb9\xa3\xda\x8f1."); } // [B1, B2, B3]
7487test { try toAsciiFail("\xe0\xa2\xb3\xf0\x9e\xa4\xbf\xe9\x9a\xb9\xe3\x80\x82\xf0\x90\xb9\xa3\xda\x8f1.", false); } // [B1, B2, B3, A4_2]
7488test { try toAsciiFail("\xe0\xa2\xb3\xf0\x9e\xa4\xbf\xe9\x9a\xb9\xe3\x80\x82\xf0\x90\xb9\xa3\xda\x8f1.", true); } // [B1, B2, B3, A4_2]
7489test { try toUnicodeFail("\xe0\xa2\xb3\xf0\x9e\xa4\x9d\xe9\x9a\xb9\xe3\x80\x82\xf0\x90\xb9\xa3\xda\x8f1."); } // [B1, B2, B3]
7490test { try toAsciiFail("\xe0\xa2\xb3\xf0\x9e\xa4\x9d\xe9\x9a\xb9\xe3\x80\x82\xf0\x90\xb9\xa3\xda\x8f1.", false); } // [B1, B2, B3, A4_2]
7491test { try toAsciiFail("\xe0\xa2\xb3\xf0\x9e\xa4\x9d\xe9\x9a\xb9\xe3\x80\x82\xf0\x90\xb9\xa3\xda\x8f1.", true); } // [B1, B2, B3, A4_2]
7492test { try toUnicodeFail("xn--8yb0383efiwk.xn--1-wsc3373r."); } // [B1, B2, B3]
7493test { try toAsciiFail("xn--8yb0383efiwk.xn--1-wsc3373r.", false); } // [B1, B2, B3, A4_2]
7494test { try toAsciiFail("xn--8yb0383efiwk.xn--1-wsc3373r.", true); } // [B1, B2, B3, A4_2]
7495test { try toUnicodeFail("\xe0\xa2\xb3\xf0\x9e\xa4\x9d\xe2\xbe\xab\xef\xbd\xa1\xf0\x90\xb9\xa3\xda\x8f\xe2\x92\x88"); } // [B1, B2, B3, V7]
7496test { try toAsciiFail("\xe0\xa2\xb3\xf0\x9e\xa4\x9d\xe2\xbe\xab\xef\xbd\xa1\xf0\x90\xb9\xa3\xda\x8f\xe2\x92\x88", false); } // [B1, B2, B3, V7]
7497test { try toAsciiFail("\xe0\xa2\xb3\xf0\x9e\xa4\x9d\xe2\xbe\xab\xef\xbd\xa1\xf0\x90\xb9\xa3\xda\x8f\xe2\x92\x88", true); } // [B1, B2, B3, V7]
7498test { try toUnicodeFail("xn--8yb0383efiwk.xn--ljb064mol4n"); } // [B1, B2, B3, V7]
7499test { try toAsciiFail("xn--8yb0383efiwk.xn--ljb064mol4n", false); } // [B1, B2, B3, V7]
7500test { try toAsciiFail("xn--8yb0383efiwk.xn--ljb064mol4n", true); } // [B1, B2, B3, V7]
7501test { try toUnicodeFail("\xe2\x90\xb3\xf0\x9a\x8e\x9b\xf0\x9d\x9f\xa7\xd9\xa1.\xe1\xa1\xa28\xe0\xbd\xb2\xd8\x80"); } // [B5, B6, V7]
7502test { try toAsciiFail("\xe2\x90\xb3\xf0\x9a\x8e\x9b\xf0\x9d\x9f\xa7\xd9\xa1.\xe1\xa1\xa28\xe0\xbd\xb2\xd8\x80", false); } // [B5, B6, V7]
7503test { try toAsciiFail("\xe2\x90\xb3\xf0\x9a\x8e\x9b\xf0\x9d\x9f\xa7\xd9\xa1.\xe1\xa1\xa28\xe0\xbd\xb2\xd8\x80", true); } // [B5, B6, V7]
7504test { try toUnicodeFail("\xe2\x90\xb3\xf0\x9a\x8e\x9b5\xd9\xa1.\xe1\xa1\xa28\xe0\xbd\xb2\xd8\x80"); } // [B5, B6, V7]
7505test { try toAsciiFail("\xe2\x90\xb3\xf0\x9a\x8e\x9b5\xd9\xa1.\xe1\xa1\xa28\xe0\xbd\xb2\xd8\x80", false); } // [B5, B6, V7]
7506test { try toAsciiFail("\xe2\x90\xb3\xf0\x9a\x8e\x9b5\xd9\xa1.\xe1\xa1\xa28\xe0\xbd\xb2\xd8\x80", true); } // [B5, B6, V7]
7507test { try toUnicodeFail("xn--5-bqc410un435a.xn--8-rkc763epjj"); } // [B5, B6, V7]
7508test { try toAsciiFail("xn--5-bqc410un435a.xn--8-rkc763epjj", false); } // [B5, B6, V7]
7509test { try toAsciiFail("xn--5-bqc410un435a.xn--8-rkc763epjj", true); } // [B5, B6, V7]
7510test { try toUnicodeFail("\xf0\x90\xb9\xa0.\xf0\x9f\x84\x80\xe2\x92\x92-\xf3\xa8\xb0\x88"); } // [B1, V7]
7511test { try toAsciiFail("\xf0\x90\xb9\xa0.\xf0\x9f\x84\x80\xe2\x92\x92-\xf3\xa8\xb0\x88", false); } // [B1, V7]
7512test { try toAsciiFail("\xf0\x90\xb9\xa0.\xf0\x9f\x84\x80\xe2\x92\x92-\xf3\xa8\xb0\x88", true); } // [B1, V7]
7513test { try toUnicodeFail("\xf0\x90\xb9\xa0.0.11.-\xf3\xa8\xb0\x88"); } // [B1, V3, V7]
7514test { try toAsciiFail("\xf0\x90\xb9\xa0.0.11.-\xf3\xa8\xb0\x88", false); } // [B1, V3, V7]
7515test { try toAsciiFail("\xf0\x90\xb9\xa0.0.11.-\xf3\xa8\xb0\x88", true); } // [B1, V3, V7]
7516test { try toUnicodeFail("xn--7n0d.0.11.xn----8j07m"); } // [B1, V3, V7]
7517test { try toAsciiFail("xn--7n0d.0.11.xn----8j07m", false); } // [B1, V3, V7]
7518test { try toAsciiFail("xn--7n0d.0.11.xn----8j07m", true); } // [B1, V3, V7]
7519test { try toUnicodeFail("xn--7n0d.xn----xcp9757q1s13g"); } // [B1, V7]
7520test { try toAsciiFail("xn--7n0d.xn----xcp9757q1s13g", false); } // [B1, V7]
7521test { try toAsciiFail("xn--7n0d.xn----xcp9757q1s13g", true); } // [B1, V7]
7522test { try toUnicodeFail("\xcf\x82-\xe3\x80\x82\xe2\x80\x8c\xf0\x9d\x9f\xad-"); } // [C1, V3]
7523test { try toAsciiFail("\xcf\x82-\xe3\x80\x82\xe2\x80\x8c\xf0\x9d\x9f\xad-", false); } // [C1, V3]
7524test { try toAsciiFail("\xcf\x82-\xe3\x80\x82\xe2\x80\x8c\xf0\x9d\x9f\xad-", true); } // [V3]
7525test { try toUnicodeFail("\xcf\x82-\xe3\x80\x82\xe2\x80\x8c1-"); } // [C1, V3]
7526test { try toAsciiFail("\xcf\x82-\xe3\x80\x82\xe2\x80\x8c1-", false); } // [C1, V3]
7527test { try toAsciiFail("\xcf\x82-\xe3\x80\x82\xe2\x80\x8c1-", true); } // [V3]
7528test { try toUnicodeFail("\xce\xa3-\xe3\x80\x82\xe2\x80\x8c1-"); } // [C1, V3]
7529test { try toAsciiFail("\xce\xa3-\xe3\x80\x82\xe2\x80\x8c1-", false); } // [C1, V3]
7530test { try toAsciiFail("\xce\xa3-\xe3\x80\x82\xe2\x80\x8c1-", true); } // [V3]
7531test { try toUnicodeFail("\xcf\x83-\xe3\x80\x82\xe2\x80\x8c1-"); } // [C1, V3]
7532test { try toAsciiFail("\xcf\x83-\xe3\x80\x82\xe2\x80\x8c1-", false); } // [C1, V3]
7533test { try toAsciiFail("\xcf\x83-\xe3\x80\x82\xe2\x80\x8c1-", true); } // [V3]
7534test { try toUnicodeFail("xn----zmb.1-"); } // [V3]
7535test { try toAsciiFail("xn----zmb.1-", false); } // [V3]
7536test { try toAsciiFail("xn----zmb.1-", true); } // [V3]
7537test { try toUnicodeFail("xn----zmb.xn--1--i1t"); } // [C1, V3]
7538test { try toAsciiFail("xn----zmb.xn--1--i1t", false); } // [C1, V3]
7539test { try toAsciiFail("xn----zmb.xn--1--i1t", true); } // [C1, V3]
7540test { try toUnicodeFail("xn----xmb.xn--1--i1t"); } // [C1, V3]
7541test { try toAsciiFail("xn----xmb.xn--1--i1t", false); } // [C1, V3]
7542test { try toAsciiFail("xn----xmb.xn--1--i1t", true); } // [C1, V3]
7543test { try toUnicodeFail("\xce\xa3-\xe3\x80\x82\xe2\x80\x8c\xf0\x9d\x9f\xad-"); } // [C1, V3]
7544test { try toAsciiFail("\xce\xa3-\xe3\x80\x82\xe2\x80\x8c\xf0\x9d\x9f\xad-", false); } // [C1, V3]
7545test { try toAsciiFail("\xce\xa3-\xe3\x80\x82\xe2\x80\x8c\xf0\x9d\x9f\xad-", true); } // [V3]
7546test { try toUnicodeFail("\xcf\x83-\xe3\x80\x82\xe2\x80\x8c\xf0\x9d\x9f\xad-"); } // [C1, V3]
7547test { try toAsciiFail("\xcf\x83-\xe3\x80\x82\xe2\x80\x8c\xf0\x9d\x9f\xad-", false); } // [C1, V3]
7548test { try toAsciiFail("\xcf\x83-\xe3\x80\x82\xe2\x80\x8c\xf0\x9d\x9f\xad-", true); } // [V3]
7549test { try toUnicodeFail("\xe1\x9c\xb4-\xe0\xb3\xa2\xef\xbc\x8e\xf3\xa0\x84\xa9\xe1\x82\xa4"); } // [V6]
7550test { try toAsciiFail("\xe1\x9c\xb4-\xe0\xb3\xa2\xef\xbc\x8e\xf3\xa0\x84\xa9\xe1\x82\xa4", false); } // [V6]
7551test { try toAsciiFail("\xe1\x9c\xb4-\xe0\xb3\xa2\xef\xbc\x8e\xf3\xa0\x84\xa9\xe1\x82\xa4", true); } // [V6]
7552test { try toUnicodeFail("\xe1\x9c\xb4-\xe0\xb3\xa2.\xf3\xa0\x84\xa9\xe1\x82\xa4"); } // [V6]
7553test { try toAsciiFail("\xe1\x9c\xb4-\xe0\xb3\xa2.\xf3\xa0\x84\xa9\xe1\x82\xa4", false); } // [V6]
7554test { try toAsciiFail("\xe1\x9c\xb4-\xe0\xb3\xa2.\xf3\xa0\x84\xa9\xe1\x82\xa4", true); } // [V6]
7555test { try toUnicodeFail("\xe1\x9c\xb4-\xe0\xb3\xa2.\xf3\xa0\x84\xa9\xe2\xb4\x84"); } // [V6]
7556test { try toAsciiFail("\xe1\x9c\xb4-\xe0\xb3\xa2.\xf3\xa0\x84\xa9\xe2\xb4\x84", false); } // [V6]
7557test { try toAsciiFail("\xe1\x9c\xb4-\xe0\xb3\xa2.\xf3\xa0\x84\xa9\xe2\xb4\x84", true); } // [V6]
7558test { try toUnicodeFail("xn----ggf830f.xn--vkj"); } // [V6]
7559test { try toAsciiFail("xn----ggf830f.xn--vkj", false); } // [V6]
7560test { try toAsciiFail("xn----ggf830f.xn--vkj", true); } // [V6]
7561test { try toUnicodeFail("\xe1\x9c\xb4-\xe0\xb3\xa2\xef\xbc\x8e\xf3\xa0\x84\xa9\xe2\xb4\x84"); } // [V6]
7562test { try toAsciiFail("\xe1\x9c\xb4-\xe0\xb3\xa2\xef\xbc\x8e\xf3\xa0\x84\xa9\xe2\xb4\x84", false); } // [V6]
7563test { try toAsciiFail("\xe1\x9c\xb4-\xe0\xb3\xa2\xef\xbc\x8e\xf3\xa0\x84\xa9\xe2\xb4\x84", true); } // [V6]
7564test { try toUnicodeFail("xn----ggf830f.xn--cnd"); } // [V6, V7]
7565test { try toAsciiFail("xn----ggf830f.xn--cnd", false); } // [V6, V7]
7566test { try toAsciiFail("xn----ggf830f.xn--cnd", true); } // [V6, V7]
7567test { try toUnicodeFail("\xf2\xad\x88\x97\xe2\x99\x8b\xda\xbb\xf0\x90\xa6\xa5\xef\xbd\xa1\xe0\xa5\x94\xe2\x92\x88"); } // [B1, B5, B6, V6, V7]
7568test { try toAsciiFail("\xf2\xad\x88\x97\xe2\x99\x8b\xda\xbb\xf0\x90\xa6\xa5\xef\xbd\xa1\xe0\xa5\x94\xe2\x92\x88", false); } // [B1, B5, B6, V6, V7]
7569test { try toAsciiFail("\xf2\xad\x88\x97\xe2\x99\x8b\xda\xbb\xf0\x90\xa6\xa5\xef\xbd\xa1\xe0\xa5\x94\xe2\x92\x88", true); } // [B1, B5, B6, V6, V7]
7570test { try toUnicodeFail("\xf2\xad\x88\x97\xe2\x99\x8b\xda\xbb\xf0\x90\xa6\xa5\xe3\x80\x82\xe0\xa5\x941."); } // [B1, B5, B6, V6, V7]
7571test { try toAsciiFail("\xf2\xad\x88\x97\xe2\x99\x8b\xda\xbb\xf0\x90\xa6\xa5\xe3\x80\x82\xe0\xa5\x941.", false); } // [B1, B5, B6, V6, V7, A4_2]
7572test { try toAsciiFail("\xf2\xad\x88\x97\xe2\x99\x8b\xda\xbb\xf0\x90\xa6\xa5\xe3\x80\x82\xe0\xa5\x941.", true); } // [B1, B5, B6, V6, V7, A4_2]
7573test { try toUnicodeFail("xn--ukb372n129m3rs7f.xn--1-fyd."); } // [B1, B5, B6, V6, V7]
7574test { try toAsciiFail("xn--ukb372n129m3rs7f.xn--1-fyd.", false); } // [B1, B5, B6, V6, V7, A4_2]
7575test { try toAsciiFail("xn--ukb372n129m3rs7f.xn--1-fyd.", true); } // [B1, B5, B6, V6, V7, A4_2]
7576test { try toUnicodeFail("xn--ukb372n129m3rs7f.xn--u3b240l"); } // [B1, B5, B6, V6, V7]
7577test { try toAsciiFail("xn--ukb372n129m3rs7f.xn--u3b240l", false); } // [B1, B5, B6, V6, V7]
7578test { try toAsciiFail("xn--ukb372n129m3rs7f.xn--u3b240l", true); } // [B1, B5, B6, V6, V7]
7579test { try toUnicodeFail("\xd6\xa4\xef\xbc\x8e\xdb\x81\xe1\xaa\xb3\xe2\x80\x8c"); } // [B1, B3, C1, V6]
7580test { try toAsciiFail("\xd6\xa4\xef\xbc\x8e\xdb\x81\xe1\xaa\xb3\xe2\x80\x8c", false); } // [B1, B3, C1, V6]
7581test { try toAsciiFail("\xd6\xa4\xef\xbc\x8e\xdb\x81\xe1\xaa\xb3\xe2\x80\x8c", true); } // [B1, V6]
7582test { try toUnicodeFail("\xd6\xa4.\xdb\x81\xe1\xaa\xb3\xe2\x80\x8c"); } // [B1, B3, C1, V6]
7583test { try toAsciiFail("\xd6\xa4.\xdb\x81\xe1\xaa\xb3\xe2\x80\x8c", false); } // [B1, B3, C1, V6]
7584test { try toAsciiFail("\xd6\xa4.\xdb\x81\xe1\xaa\xb3\xe2\x80\x8c", true); } // [B1, V6]
7585test { try toUnicodeFail("xn--vcb.xn--0kb623h"); } // [B1, V6]
7586test { try toAsciiFail("xn--vcb.xn--0kb623h", false); } // [B1, V6]
7587test { try toAsciiFail("xn--vcb.xn--0kb623h", true); } // [B1, V6]
7588test { try toUnicodeFail("xn--vcb.xn--0kb623hm1d"); } // [B1, B3, C1, V6]
7589test { try toAsciiFail("xn--vcb.xn--0kb623hm1d", false); } // [B1, B3, C1, V6]
7590test { try toAsciiFail("xn--vcb.xn--0kb623hm1d", true); } // [B1, B3, C1, V6]
7591test { try toUnicodeFail("\xf1\xa2\xad\x8f\xe0\xa1\x86\xe2\x89\xae\xe0\xab\x8d\xef\xbc\x8e\xf0\x9e\xa6\x8a"); } // [B5, B6, V7]
7592test { try toAsciiFail("\xf1\xa2\xad\x8f\xe0\xa1\x86\xe2\x89\xae\xe0\xab\x8d\xef\xbc\x8e\xf0\x9e\xa6\x8a", false); } // [B5, B6, V7]
7593test { try toAsciiFail("\xf1\xa2\xad\x8f\xe0\xa1\x86\xe2\x89\xae\xe0\xab\x8d\xef\xbc\x8e\xf0\x9e\xa6\x8a", true); } // [B5, B6, V7]
7594test { try toUnicodeFail("\xf1\xa2\xad\x8f\xe0\xa1\x86<\xcc\xb8\xe0\xab\x8d\xef\xbc\x8e\xf0\x9e\xa6\x8a"); } // [B5, B6, V7]
7595test { try toAsciiFail("\xf1\xa2\xad\x8f\xe0\xa1\x86<\xcc\xb8\xe0\xab\x8d\xef\xbc\x8e\xf0\x9e\xa6\x8a", false); } // [B5, B6, V7]
7596test { try toAsciiFail("\xf1\xa2\xad\x8f\xe0\xa1\x86<\xcc\xb8\xe0\xab\x8d\xef\xbc\x8e\xf0\x9e\xa6\x8a", true); } // [B5, B6, V7]
7597test { try toUnicodeFail("\xf1\xa2\xad\x8f\xe0\xa1\x86\xe2\x89\xae\xe0\xab\x8d.\xf0\x9e\xa6\x8a"); } // [B5, B6, V7]
7598test { try toAsciiFail("\xf1\xa2\xad\x8f\xe0\xa1\x86\xe2\x89\xae\xe0\xab\x8d.\xf0\x9e\xa6\x8a", false); } // [B5, B6, V7]
7599test { try toAsciiFail("\xf1\xa2\xad\x8f\xe0\xa1\x86\xe2\x89\xae\xe0\xab\x8d.\xf0\x9e\xa6\x8a", true); } // [B5, B6, V7]
7600test { try toUnicodeFail("\xf1\xa2\xad\x8f\xe0\xa1\x86<\xcc\xb8\xe0\xab\x8d.\xf0\x9e\xa6\x8a"); } // [B5, B6, V7]
7601test { try toAsciiFail("\xf1\xa2\xad\x8f\xe0\xa1\x86<\xcc\xb8\xe0\xab\x8d.\xf0\x9e\xa6\x8a", false); } // [B5, B6, V7]
7602test { try toAsciiFail("\xf1\xa2\xad\x8f\xe0\xa1\x86<\xcc\xb8\xe0\xab\x8d.\xf0\x9e\xa6\x8a", true); } // [B5, B6, V7]
7603test { try toUnicodeFail("xn--4vb80kq29ayo62l.xn--8g6h"); } // [B5, B6, V7]
7604test { try toAsciiFail("xn--4vb80kq29ayo62l.xn--8g6h", false); } // [B5, B6, V7]
7605test { try toAsciiFail("xn--4vb80kq29ayo62l.xn--8g6h", true); } // [B5, B6, V7]
7606test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\x80\x98\xe2\x92\x88\xea\xa1\x8d\xe6\x93\x89"); } // [C2, V6, V7]
7607test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\x80\x98\xe2\x92\x88\xea\xa1\x8d\xe6\x93\x89", false); } // [C2, V6, V7]
7608test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\x80\x98\xe2\x92\x88\xea\xa1\x8d\xe6\x93\x89", true); } // [V6, V7, A4_2]
7609test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\x80\x981.\xea\xa1\x8d\xe6\x93\x89"); } // [C2, V6]
7610test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\x80\x981.\xea\xa1\x8d\xe6\x93\x89", false); } // [C2, V6]
7611test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\x80\x981.\xea\xa1\x8d\xe6\x93\x89", true); } // [V6, A4_2]
7612test { try toUnicodeFail(".xn--1-1p4r.xn--s7uv61m"); } // [V6, X4_2]
7613test { try toAsciiFail(".xn--1-1p4r.xn--s7uv61m", false); } // [V6, A4_2]
7614test { try toAsciiFail(".xn--1-1p4r.xn--s7uv61m", true); } // [V6, A4_2]
7615test { try toUnicodeFail("xn--1ug.xn--1-1p4r.xn--s7uv61m"); } // [C2, V6]
7616test { try toAsciiFail("xn--1ug.xn--1-1p4r.xn--s7uv61m", false); } // [C2, V6]
7617test { try toAsciiFail("xn--1ug.xn--1-1p4r.xn--s7uv61m", true); } // [C2, V6]
7618test { try toUnicodeFail(".xn--tsh026uql4bew9p"); } // [V6, V7, X4_2]
7619test { try toAsciiFail(".xn--tsh026uql4bew9p", false); } // [V6, V7, A4_2]
7620test { try toAsciiFail(".xn--tsh026uql4bew9p", true); } // [V6, V7, A4_2]
7621test { try toUnicodeFail("xn--1ug.xn--tsh026uql4bew9p"); } // [C2, V6, V7]
7622test { try toAsciiFail("xn--1ug.xn--tsh026uql4bew9p", false); } // [C2, V6, V7]
7623test { try toAsciiFail("xn--1ug.xn--tsh026uql4bew9p", true); } // [C2, V6, V7]
7624test { try toUnicodeFail("\xe2\x82\x88\xdf\x8b\xef\xbc\x8e\xef\xad\xa4\xe2\x89\xa0"); } // [B1, B3]
7625test { try toAsciiFail("\xe2\x82\x88\xdf\x8b\xef\xbc\x8e\xef\xad\xa4\xe2\x89\xa0", false); } // [B1, B3]
7626test { try toAsciiFail("\xe2\x82\x88\xdf\x8b\xef\xbc\x8e\xef\xad\xa4\xe2\x89\xa0", true); } // [B1, B3]
7627test { try toUnicodeFail("\xe2\x82\x88\xdf\x8b\xef\xbc\x8e\xef\xad\xa4=\xcc\xb8"); } // [B1, B3]
7628test { try toAsciiFail("\xe2\x82\x88\xdf\x8b\xef\xbc\x8e\xef\xad\xa4=\xcc\xb8", false); } // [B1, B3]
7629test { try toAsciiFail("\xe2\x82\x88\xdf\x8b\xef\xbc\x8e\xef\xad\xa4=\xcc\xb8", true); } // [B1, B3]
7630test { try toUnicodeFail("8\xdf\x8b.\xd9\xbf\xe2\x89\xa0"); } // [B1, B3]
7631test { try toAsciiFail("8\xdf\x8b.\xd9\xbf\xe2\x89\xa0", false); } // [B1, B3]
7632test { try toAsciiFail("8\xdf\x8b.\xd9\xbf\xe2\x89\xa0", true); } // [B1, B3]
7633test { try toUnicodeFail("8\xdf\x8b.\xd9\xbf=\xcc\xb8"); } // [B1, B3]
7634test { try toAsciiFail("8\xdf\x8b.\xd9\xbf=\xcc\xb8", false); } // [B1, B3]
7635test { try toAsciiFail("8\xdf\x8b.\xd9\xbf=\xcc\xb8", true); } // [B1, B3]
7636test { try toUnicodeFail("xn--8-zbd.xn--4ib883l"); } // [B1, B3]
7637test { try toAsciiFail("xn--8-zbd.xn--4ib883l", false); } // [B1, B3]
7638test { try toAsciiFail("xn--8-zbd.xn--4ib883l", true); } // [B1, B3]
7639test { try toUnicodeFail("\xe1\xa2\xa1\xdf\x9e\xf2\xb9\x90\xa3.\xe2\x92\x92\xd9\x82\xf0\x91\x8d\xa6"); } // [B1, B5, V7]
7640test { try toAsciiFail("\xe1\xa2\xa1\xdf\x9e\xf2\xb9\x90\xa3.\xe2\x92\x92\xd9\x82\xf0\x91\x8d\xa6", false); } // [B1, B5, V7]
7641test { try toAsciiFail("\xe1\xa2\xa1\xdf\x9e\xf2\xb9\x90\xa3.\xe2\x92\x92\xd9\x82\xf0\x91\x8d\xa6", true); } // [B1, B5, V7]
7642test { try toUnicodeFail("\xe1\xa2\xa1\xdf\x9e\xf2\xb9\x90\xa3.11.\xd9\x82\xf0\x91\x8d\xa6"); } // [B1, B5, V7]
7643test { try toAsciiFail("\xe1\xa2\xa1\xdf\x9e\xf2\xb9\x90\xa3.11.\xd9\x82\xf0\x91\x8d\xa6", false); } // [B1, B5, V7]
7644test { try toAsciiFail("\xe1\xa2\xa1\xdf\x9e\xf2\xb9\x90\xa3.11.\xd9\x82\xf0\x91\x8d\xa6", true); } // [B1, B5, V7]
7645test { try toUnicodeFail("xn--5sb596fi873t.11.xn--ehb4198k"); } // [B1, B5, V7]
7646test { try toAsciiFail("xn--5sb596fi873t.11.xn--ehb4198k", false); } // [B1, B5, V7]
7647test { try toAsciiFail("xn--5sb596fi873t.11.xn--ehb4198k", true); } // [B1, B5, V7]
7648test { try toUnicodeFail("xn--5sb596fi873t.xn--ehb336mvy7n"); } // [B1, B5, V7]
7649test { try toAsciiFail("xn--5sb596fi873t.xn--ehb336mvy7n", false); } // [B1, B5, V7]
7650test { try toAsciiFail("xn--5sb596fi873t.xn--ehb336mvy7n", true); } // [B1, B5, V7]
7651test { try toUnicodeFail("\xe0\xb9\x88-\xf0\x90\xb9\xba\xf0\x9d\x9f\x9c.\xcd\xa3\xdb\xa1\xe2\x92\x8f"); } // [B1, V6, V7]
7652test { try toAsciiFail("\xe0\xb9\x88-\xf0\x90\xb9\xba\xf0\x9d\x9f\x9c.\xcd\xa3\xdb\xa1\xe2\x92\x8f", false); } // [B1, V6, V7]
7653test { try toAsciiFail("\xe0\xb9\x88-\xf0\x90\xb9\xba\xf0\x9d\x9f\x9c.\xcd\xa3\xdb\xa1\xe2\x92\x8f", true); } // [B1, V6, V7]
7654test { try toUnicodeFail("\xe0\xb9\x88-\xf0\x90\xb9\xba4.\xcd\xa3\xdb\xa18."); } // [B1, V6]
7655test { try toAsciiFail("\xe0\xb9\x88-\xf0\x90\xb9\xba4.\xcd\xa3\xdb\xa18.", false); } // [B1, V6, A4_2]
7656test { try toAsciiFail("\xe0\xb9\x88-\xf0\x90\xb9\xba4.\xcd\xa3\xdb\xa18.", true); } // [B1, V6, A4_2]
7657test { try toUnicodeFail("xn---4-owiz479s.xn--8-ihb69x."); } // [B1, V6]
7658test { try toAsciiFail("xn---4-owiz479s.xn--8-ihb69x.", false); } // [B1, V6, A4_2]
7659test { try toAsciiFail("xn---4-owiz479s.xn--8-ihb69x.", true); } // [B1, V6, A4_2]
7660test { try toUnicodeFail("xn---4-owiz479s.xn--eva20pjv9a"); } // [B1, V6, V7]
7661test { try toAsciiFail("xn---4-owiz479s.xn--eva20pjv9a", false); } // [B1, V6, V7]
7662test { try toAsciiFail("xn---4-owiz479s.xn--eva20pjv9a", true); } // [B1, V6, V7]
7663test { try toUnicodeFail("\xe2\xab\x90\xef\xbd\xa1\xe1\x83\x80-\xf3\x83\x90\xa2"); } // [V7]
7664test { try toAsciiFail("\xe2\xab\x90\xef\xbd\xa1\xe1\x83\x80-\xf3\x83\x90\xa2", false); } // [V7]
7665test { try toAsciiFail("\xe2\xab\x90\xef\xbd\xa1\xe1\x83\x80-\xf3\x83\x90\xa2", true); } // [V7]
7666test { try toUnicodeFail("\xe2\xab\x90\xe3\x80\x82\xe1\x83\x80-\xf3\x83\x90\xa2"); } // [V7]
7667test { try toAsciiFail("\xe2\xab\x90\xe3\x80\x82\xe1\x83\x80-\xf3\x83\x90\xa2", false); } // [V7]
7668test { try toAsciiFail("\xe2\xab\x90\xe3\x80\x82\xe1\x83\x80-\xf3\x83\x90\xa2", true); } // [V7]
7669test { try toUnicodeFail("\xe2\xab\x90\xe3\x80\x82\xe2\xb4\xa0-\xf3\x83\x90\xa2"); } // [V7]
7670test { try toAsciiFail("\xe2\xab\x90\xe3\x80\x82\xe2\xb4\xa0-\xf3\x83\x90\xa2", false); } // [V7]
7671test { try toAsciiFail("\xe2\xab\x90\xe3\x80\x82\xe2\xb4\xa0-\xf3\x83\x90\xa2", true); } // [V7]
7672test { try toUnicodeFail("xn--r3i.xn----2wst7439i"); } // [V7]
7673test { try toAsciiFail("xn--r3i.xn----2wst7439i", false); } // [V7]
7674test { try toAsciiFail("xn--r3i.xn----2wst7439i", true); } // [V7]
7675test { try toUnicodeFail("\xe2\xab\x90\xef\xbd\xa1\xe2\xb4\xa0-\xf3\x83\x90\xa2"); } // [V7]
7676test { try toAsciiFail("\xe2\xab\x90\xef\xbd\xa1\xe2\xb4\xa0-\xf3\x83\x90\xa2", false); } // [V7]
7677test { try toAsciiFail("\xe2\xab\x90\xef\xbd\xa1\xe2\xb4\xa0-\xf3\x83\x90\xa2", true); } // [V7]
7678test { try toUnicodeFail("xn--r3i.xn----z1g58579u"); } // [V7]
7679test { try toAsciiFail("xn--r3i.xn----z1g58579u", false); } // [V7]
7680test { try toAsciiFail("xn--r3i.xn----z1g58579u", true); } // [V7]
7681test { try toUnicodeFail("\xf0\x91\x91\x82\xe2\x97\x8a\xef\xbc\x8e\xe2\xa6\x9f\xe2\x88\xa0"); } // [V6]
7682test { try toAsciiFail("\xf0\x91\x91\x82\xe2\x97\x8a\xef\xbc\x8e\xe2\xa6\x9f\xe2\x88\xa0", false); } // [V6]
7683test { try toAsciiFail("\xf0\x91\x91\x82\xe2\x97\x8a\xef\xbc\x8e\xe2\xa6\x9f\xe2\x88\xa0", true); } // [V6]
7684test { try toUnicodeFail("\xf0\x91\x91\x82\xe2\x97\x8a.\xe2\xa6\x9f\xe2\x88\xa0"); } // [V6]
7685test { try toAsciiFail("\xf0\x91\x91\x82\xe2\x97\x8a.\xe2\xa6\x9f\xe2\x88\xa0", false); } // [V6]
7686test { try toAsciiFail("\xf0\x91\x91\x82\xe2\x97\x8a.\xe2\xa6\x9f\xe2\x88\xa0", true); } // [V6]
7687test { try toUnicodeFail("xn--01h3338f.xn--79g270a"); } // [V6]
7688test { try toAsciiFail("xn--01h3338f.xn--79g270a", false); } // [V6]
7689test { try toAsciiFail("xn--01h3338f.xn--79g270a", true); } // [V6]
7690test { try toUnicodeFail("\xf0\xbf\x8c\xb0-\xd9\xa2\xe3\x80\x82\xf3\x8b\xb8\x9b\xea\xa1\x82"); } // [B5, B6, V7]
7691test { try toAsciiFail("\xf0\xbf\x8c\xb0-\xd9\xa2\xe3\x80\x82\xf3\x8b\xb8\x9b\xea\xa1\x82", false); } // [B5, B6, V7]
7692test { try toAsciiFail("\xf0\xbf\x8c\xb0-\xd9\xa2\xe3\x80\x82\xf3\x8b\xb8\x9b\xea\xa1\x82", true); } // [B5, B6, V7]
7693test { try toUnicodeFail("xn----dqc20828e.xn--bc9an2879c"); } // [B5, B6, V7]
7694test { try toAsciiFail("xn----dqc20828e.xn--bc9an2879c", false); } // [B5, B6, V7]
7695test { try toAsciiFail("xn----dqc20828e.xn--bc9an2879c", true); } // [B5, B6, V7]
7696test { try toUnicodeFail("\xd9\xb8\xe3\x80\x82\xf3\xa0\x8f\xac\xdd\x81\xf0\x9e\xaa\xad\xf0\x90\xb9\xaa"); } // [B1, V7]
7697test { try toAsciiFail("\xd9\xb8\xe3\x80\x82\xf3\xa0\x8f\xac\xdd\x81\xf0\x9e\xaa\xad\xf0\x90\xb9\xaa", false); } // [B1, V7]
7698test { try toAsciiFail("\xd9\xb8\xe3\x80\x82\xf3\xa0\x8f\xac\xdd\x81\xf0\x9e\xaa\xad\xf0\x90\xb9\xaa", true); } // [B1, V7]
7699test { try toUnicodeFail("\xd9\x8a\xd9\xb4\xe3\x80\x82\xf3\xa0\x8f\xac\xdd\x81\xf0\x9e\xaa\xad\xf0\x90\xb9\xaa"); } // [B1, V7]
7700test { try toAsciiFail("\xd9\x8a\xd9\xb4\xe3\x80\x82\xf3\xa0\x8f\xac\xdd\x81\xf0\x9e\xaa\xad\xf0\x90\xb9\xaa", false); } // [B1, V7]
7701test { try toAsciiFail("\xd9\x8a\xd9\xb4\xe3\x80\x82\xf3\xa0\x8f\xac\xdd\x81\xf0\x9e\xaa\xad\xf0\x90\xb9\xaa", true); } // [B1, V7]
7702test { try toUnicodeFail("xn--mhb8f.xn--oob2585kfdsfsbo7h"); } // [B1, V7]
7703test { try toAsciiFail("xn--mhb8f.xn--oob2585kfdsfsbo7h", false); } // [B1, V7]
7704test { try toAsciiFail("xn--mhb8f.xn--oob2585kfdsfsbo7h", true); } // [B1, V7]
7705test { try toUnicodeFail("\xf0\x90\xab\x86\xea\x8c\x84\xef\xbd\xa1\xe2\x80\x8d\xe1\xa3\xac"); } // [B1, B2, B3, C2]
7706test { try toAsciiFail("\xf0\x90\xab\x86\xea\x8c\x84\xef\xbd\xa1\xe2\x80\x8d\xe1\xa3\xac", false); } // [B1, B2, B3, C2]
7707test { try toAsciiFail("\xf0\x90\xab\x86\xea\x8c\x84\xef\xbd\xa1\xe2\x80\x8d\xe1\xa3\xac", true); } // [B2, B3]
7708test { try toUnicodeFail("\xf0\x90\xab\x86\xea\x8c\x84\xe3\x80\x82\xe2\x80\x8d\xe1\xa3\xac"); } // [B1, B2, B3, C2]
7709test { try toAsciiFail("\xf0\x90\xab\x86\xea\x8c\x84\xe3\x80\x82\xe2\x80\x8d\xe1\xa3\xac", false); } // [B1, B2, B3, C2]
7710test { try toAsciiFail("\xf0\x90\xab\x86\xea\x8c\x84\xe3\x80\x82\xe2\x80\x8d\xe1\xa3\xac", true); } // [B2, B3]
7711test { try toUnicodeFail("xn--y77ao18q.xn--wdf"); } // [B2, B3]
7712test { try toAsciiFail("xn--y77ao18q.xn--wdf", false); } // [B2, B3]
7713test { try toAsciiFail("xn--y77ao18q.xn--wdf", true); } // [B2, B3]
7714test { try toUnicodeFail("xn--y77ao18q.xn--wdf367a"); } // [B1, B2, B3, C2]
7715test { try toAsciiFail("xn--y77ao18q.xn--wdf367a", false); } // [B1, B2, B3, C2]
7716test { try toAsciiFail("xn--y77ao18q.xn--wdf367a", true); } // [B1, B2, B3, C2]
7717test { try toUnicodeFail("\xe2\x82\x80\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e\xe2\x89\xaf-"); } // [B1, B6, V3, V7]
7718test { try toAsciiFail("\xe2\x82\x80\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e\xe2\x89\xaf-", false); } // [B1, B6, V3, V7]
7719test { try toAsciiFail("\xe2\x82\x80\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e\xe2\x89\xaf-", true); } // [B1, B6, V3, V7]
7720test { try toUnicodeFail("\xe2\x82\x80\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e>\xcc\xb8-"); } // [B1, B6, V3, V7]
7721test { try toAsciiFail("\xe2\x82\x80\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e>\xcc\xb8-", false); } // [B1, B6, V3, V7]
7722test { try toAsciiFail("\xe2\x82\x80\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e>\xcc\xb8-", true); } // [B1, B6, V3, V7]
7723test { try toUnicodeFail("0\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e\xe2\x89\xaf-"); } // [B1, B6, V3, V7]
7724test { try toAsciiFail("0\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e\xe2\x89\xaf-", false); } // [B1, B6, V3, V7]
7725test { try toAsciiFail("0\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e\xe2\x89\xaf-", true); } // [B1, B6, V3, V7]
7726test { try toUnicodeFail("0\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e>\xcc\xb8-"); } // [B1, B6, V3, V7]
7727test { try toAsciiFail("0\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e>\xcc\xb8-", false); } // [B1, B6, V3, V7]
7728test { try toAsciiFail("0\xd9\xa2\xe3\x80\x82\xf3\x85\xaa\x9e>\xcc\xb8-", true); } // [B1, B6, V3, V7]
7729test { try toUnicodeFail("xn--0-dqc.xn----ogov3342l"); } // [B1, B6, V3, V7]
7730test { try toAsciiFail("xn--0-dqc.xn----ogov3342l", false); } // [B1, B6, V3, V7]
7731test { try toAsciiFail("xn--0-dqc.xn----ogov3342l", true); } // [B1, B6, V3, V7]
7732test { try toUnicodeFail("\xcc\x9c\xf0\x90\xb9\xab-\xf0\x9e\xaf\x83.\xf0\x90\x8b\xa4\xe0\xa1\x85"); } // [B1, V6, V7]
7733test { try toAsciiFail("\xcc\x9c\xf0\x90\xb9\xab-\xf0\x9e\xaf\x83.\xf0\x90\x8b\xa4\xe0\xa1\x85", false); } // [B1, V6, V7]
7734test { try toAsciiFail("\xcc\x9c\xf0\x90\xb9\xab-\xf0\x9e\xaf\x83.\xf0\x90\x8b\xa4\xe0\xa1\x85", true); } // [B1, V6, V7]
7735test { try toUnicodeFail("xn----gdb7046r692g.xn--3vb1349j"); } // [B1, V6, V7]
7736test { try toAsciiFail("xn----gdb7046r692g.xn--3vb1349j", false); } // [B1, V6, V7]
7737test { try toAsciiFail("xn----gdb7046r692g.xn--3vb1349j", true); } // [B1, V6, V7]
7738test { try toUnicodeFail("\xe2\x89\xa0\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94"); } // [B1, V6]
7739test { try toAsciiFail("\xe2\x89\xa0\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94", false); } // [B1, V6]
7740test { try toAsciiFail("\xe2\x89\xa0\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94", true); } // [B1, V6]
7741test { try toUnicodeFail("=\xcc\xb8\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94"); } // [B1, V6]
7742test { try toAsciiFail("=\xcc\xb8\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94", false); } // [B1, V6]
7743test { try toAsciiFail("=\xcc\xb8\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94", true); } // [B1, V6]
7744test { try toUnicodeFail("\xe2\x89\xa0\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94"); } // [B1, V6]
7745test { try toAsciiFail("\xe2\x89\xa0\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94", false); } // [B1, V6]
7746test { try toAsciiFail("\xe2\x89\xa0\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94", true); } // [B1, V6]
7747test { try toUnicodeFail("=\xcc\xb8\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94"); } // [B1, V6]
7748test { try toAsciiFail("=\xcc\xb8\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94", false); } // [B1, V6]
7749test { try toAsciiFail("=\xcc\xb8\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe1\x83\x81\xd6\x94", true); } // [B1, V6]
7750test { try toUnicodeFail("=\xcc\xb8\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94"); } // [B1, V6]
7751test { try toAsciiFail("=\xcc\xb8\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94", false); } // [B1, V6]
7752test { try toAsciiFail("=\xcc\xb8\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94", true); } // [B1, V6]
7753test { try toUnicodeFail("\xe2\x89\xa0\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94"); } // [B1, V6]
7754test { try toAsciiFail("\xe2\x89\xa0\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94", false); } // [B1, V6]
7755test { try toAsciiFail("\xe2\x89\xa0\xe3\x80\x82\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94", true); } // [B1, V6]
7756test { try toUnicodeFail("xn--1ch.xn--fcb363rk03mypug"); } // [B1, V6]
7757test { try toAsciiFail("xn--1ch.xn--fcb363rk03mypug", false); } // [B1, V6]
7758test { try toAsciiFail("xn--1ch.xn--fcb363rk03mypug", true); } // [B1, V6]
7759test { try toUnicodeFail("=\xcc\xb8\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94"); } // [B1, V6]
7760test { try toAsciiFail("=\xcc\xb8\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94", false); } // [B1, V6]
7761test { try toAsciiFail("=\xcc\xb8\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94", true); } // [B1, V6]
7762test { try toUnicodeFail("\xe2\x89\xa0\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94"); } // [B1, V6]
7763test { try toAsciiFail("\xe2\x89\xa0\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94", false); } // [B1, V6]
7764test { try toAsciiFail("\xe2\x89\xa0\xef\xbd\xa1\xf0\x9d\xa9\x91\xf0\x90\xb9\xa9\xe2\xb4\xa1\xd6\x94", true); } // [B1, V6]
7765test { try toUnicodeFail("xn--1ch.xn--fcb538c649rypog"); } // [B1, V6, V7]
7766test { try toAsciiFail("xn--1ch.xn--fcb538c649rypog", false); } // [B1, V6, V7]
7767test { try toAsciiFail("xn--1ch.xn--fcb538c649rypog", true); } // [B1, V6, V7]
7768test { try toUnicodeFail("\xf0\x96\xab\xb3\xe2\x89\xa0.\xe1\x82\xa0\xf0\x90\xae\x80"); } // [B1, B5, B6, V6]
7769test { try toAsciiFail("\xf0\x96\xab\xb3\xe2\x89\xa0.\xe1\x82\xa0\xf0\x90\xae\x80", false); } // [B1, B5, B6, V6]
7770test { try toAsciiFail("\xf0\x96\xab\xb3\xe2\x89\xa0.\xe1\x82\xa0\xf0\x90\xae\x80", true); } // [B1, B5, B6, V6]
7771test { try toUnicodeFail("\xf0\x96\xab\xb3=\xcc\xb8.\xe1\x82\xa0\xf0\x90\xae\x80"); } // [B1, B5, B6, V6]
7772test { try toAsciiFail("\xf0\x96\xab\xb3=\xcc\xb8.\xe1\x82\xa0\xf0\x90\xae\x80", false); } // [B1, B5, B6, V6]
7773test { try toAsciiFail("\xf0\x96\xab\xb3=\xcc\xb8.\xe1\x82\xa0\xf0\x90\xae\x80", true); } // [B1, B5, B6, V6]
7774test { try toUnicodeFail("\xf0\x96\xab\xb3=\xcc\xb8.\xe2\xb4\x80\xf0\x90\xae\x80"); } // [B1, B5, B6, V6]
7775test { try toAsciiFail("\xf0\x96\xab\xb3=\xcc\xb8.\xe2\xb4\x80\xf0\x90\xae\x80", false); } // [B1, B5, B6, V6]
7776test { try toAsciiFail("\xf0\x96\xab\xb3=\xcc\xb8.\xe2\xb4\x80\xf0\x90\xae\x80", true); } // [B1, B5, B6, V6]
7777test { try toUnicodeFail("\xf0\x96\xab\xb3\xe2\x89\xa0.\xe2\xb4\x80\xf0\x90\xae\x80"); } // [B1, B5, B6, V6]
7778test { try toAsciiFail("\xf0\x96\xab\xb3\xe2\x89\xa0.\xe2\xb4\x80\xf0\x90\xae\x80", false); } // [B1, B5, B6, V6]
7779test { try toAsciiFail("\xf0\x96\xab\xb3\xe2\x89\xa0.\xe2\xb4\x80\xf0\x90\xae\x80", true); } // [B1, B5, B6, V6]
7780test { try toUnicodeFail("xn--1ch9250k.xn--rkj6232e"); } // [B1, B5, B6, V6]
7781test { try toAsciiFail("xn--1ch9250k.xn--rkj6232e", false); } // [B1, B5, B6, V6]
7782test { try toAsciiFail("xn--1ch9250k.xn--rkj6232e", true); } // [B1, B5, B6, V6]
7783test { try toUnicodeFail("xn--1ch9250k.xn--7md2659j"); } // [B1, B5, B6, V6, V7]
7784test { try toAsciiFail("xn--1ch9250k.xn--7md2659j", false); } // [B1, B5, B6, V6, V7]
7785test { try toAsciiFail("xn--1ch9250k.xn--7md2659j", true); } // [B1, B5, B6, V6, V7]
7786test { try toUnicodeFail("\xf3\xa0\x85\xbe\xdc\xb6\xdc\xa6\xef\xbc\x8e\xe1\xa2\x9a\xe9\x96\xaa\xe0\xa3\xa2\xf0\x9d\xa9\x9f"); } // [B1, B5, B6, V6, V7]
7787test { try toAsciiFail("\xf3\xa0\x85\xbe\xdc\xb6\xdc\xa6\xef\xbc\x8e\xe1\xa2\x9a\xe9\x96\xaa\xe0\xa3\xa2\xf0\x9d\xa9\x9f", false); } // [B1, B5, B6, V6, V7]
7788test { try toAsciiFail("\xf3\xa0\x85\xbe\xdc\xb6\xdc\xa6\xef\xbc\x8e\xe1\xa2\x9a\xe9\x96\xaa\xe0\xa3\xa2\xf0\x9d\xa9\x9f", true); } // [B1, B5, B6, V6, V7]
7789test { try toUnicodeFail("\xf3\xa0\x85\xbe\xdc\xb6\xdc\xa6.\xe1\xa2\x9a\xe9\x96\xaa\xe0\xa3\xa2\xf0\x9d\xa9\x9f"); } // [B1, B5, B6, V6, V7]
7790test { try toAsciiFail("\xf3\xa0\x85\xbe\xdc\xb6\xdc\xa6.\xe1\xa2\x9a\xe9\x96\xaa\xe0\xa3\xa2\xf0\x9d\xa9\x9f", false); } // [B1, B5, B6, V6, V7]
7791test { try toAsciiFail("\xf3\xa0\x85\xbe\xdc\xb6\xdc\xa6.\xe1\xa2\x9a\xe9\x96\xaa\xe0\xa3\xa2\xf0\x9d\xa9\x9f", true); } // [B1, B5, B6, V6, V7]
7792test { try toUnicodeFail("xn--wnb5a.xn--l0b161fis8gbp5m"); } // [B1, B5, B6, V6, V7]
7793test { try toAsciiFail("xn--wnb5a.xn--l0b161fis8gbp5m", false); } // [B1, B5, B6, V6, V7]
7794test { try toAsciiFail("xn--wnb5a.xn--l0b161fis8gbp5m", true); } // [B1, B5, B6, V6, V7]
7795test { try toUnicodeFail("\xe2\x80\x8d\xf3\xa0\x87\x9c\xdb\x8b\xea\xa3\xa9\xef\xbd\xa1\xe2\x83\x9d\xe0\xbe\xb0-\xe1\x9b\x9f"); } // [B1, C2, V6]
7796test { try toAsciiFail("\xe2\x80\x8d\xf3\xa0\x87\x9c\xdb\x8b\xea\xa3\xa9\xef\xbd\xa1\xe2\x83\x9d\xe0\xbe\xb0-\xe1\x9b\x9f", false); } // [B1, C2, V6]
7797test { try toAsciiFail("\xe2\x80\x8d\xf3\xa0\x87\x9c\xdb\x8b\xea\xa3\xa9\xef\xbd\xa1\xe2\x83\x9d\xe0\xbe\xb0-\xe1\x9b\x9f", true); } // [B1, V6]
7798test { try toUnicodeFail("\xe2\x80\x8d\xf3\xa0\x87\x9c\xdb\x8b\xea\xa3\xa9\xe3\x80\x82\xe2\x83\x9d\xe0\xbe\xb0-\xe1\x9b\x9f"); } // [B1, C2, V6]
7799test { try toAsciiFail("\xe2\x80\x8d\xf3\xa0\x87\x9c\xdb\x8b\xea\xa3\xa9\xe3\x80\x82\xe2\x83\x9d\xe0\xbe\xb0-\xe1\x9b\x9f", false); } // [B1, C2, V6]
7800test { try toAsciiFail("\xe2\x80\x8d\xf3\xa0\x87\x9c\xdb\x8b\xea\xa3\xa9\xe3\x80\x82\xe2\x83\x9d\xe0\xbe\xb0-\xe1\x9b\x9f", true); } // [B1, V6]
7801test { try toUnicodeFail("xn--blb8114f.xn----gmg236cj6k"); } // [B1, V6]
7802test { try toAsciiFail("xn--blb8114f.xn----gmg236cj6k", false); } // [B1, V6]
7803test { try toAsciiFail("xn--blb8114f.xn----gmg236cj6k", true); } // [B1, V6]
7804test { try toUnicodeFail("xn--blb540ke10h.xn----gmg236cj6k"); } // [B1, C2, V6]
7805test { try toAsciiFail("xn--blb540ke10h.xn----gmg236cj6k", false); } // [B1, C2, V6]
7806test { try toAsciiFail("xn--blb540ke10h.xn----gmg236cj6k", true); } // [B1, C2, V6]
7807test { try toUnicodeFail("\xed\x97\x81\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba\xf0\x9d\x9f\x9c"); } // [V7]
7808test { try toAsciiFail("\xed\x97\x81\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba\xf0\x9d\x9f\x9c", false); } // [V7]
7809test { try toAsciiFail("\xed\x97\x81\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba\xf0\x9d\x9f\x9c", true); } // [V7]
7810test { try toUnicodeFail("\xe1\x84\x92\xe1\x85\xa4\xe1\x86\xbc\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba\xf0\x9d\x9f\x9c"); } // [V7]
7811test { try toAsciiFail("\xe1\x84\x92\xe1\x85\xa4\xe1\x86\xbc\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba\xf0\x9d\x9f\x9c", false); } // [V7]
7812test { try toAsciiFail("\xe1\x84\x92\xe1\x85\xa4\xe1\x86\xbc\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba\xf0\x9d\x9f\x9c", true); } // [V7]
7813test { try toUnicodeFail("\xed\x97\x81\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba4"); } // [V7]
7814test { try toAsciiFail("\xed\x97\x81\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba4", false); } // [V7]
7815test { try toAsciiFail("\xed\x97\x81\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba4", true); } // [V7]
7816test { try toUnicodeFail("\xe1\x84\x92\xe1\x85\xa4\xe1\x86\xbc\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba4"); } // [V7]
7817test { try toAsciiFail("\xe1\x84\x92\xe1\x85\xa4\xe1\x86\xbc\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba4", false); } // [V7]
7818test { try toAsciiFail("\xe1\x84\x92\xe1\x85\xa4\xe1\x86\xbc\xf3\x98\x96\x99\xe0\xb8\xba\xf3\x9a\x8d\x9a\xe3\x80\x82\xda\xba4", true); } // [V7]
7819test { try toUnicodeFail("xn--o4c1723h8g85gt4ya.xn--4-dvc"); } // [V7]
7820test { try toAsciiFail("xn--o4c1723h8g85gt4ya.xn--4-dvc", false); } // [V7]
7821test { try toAsciiFail("xn--o4c1723h8g85gt4ya.xn--4-dvc", true); } // [V7]
7822test { try toUnicodeFail("\xf0\x90\xb9\xad\xef\xbd\xa1\xf3\x83\xb1\x82\xe2\x80\x8c\xe1\x82\xbe"); } // [B1, C1, V7]
7823test { try toAsciiFail("\xf0\x90\xb9\xad\xef\xbd\xa1\xf3\x83\xb1\x82\xe2\x80\x8c\xe1\x82\xbe", false); } // [B1, C1, V7]
7824test { try toAsciiFail("\xf0\x90\xb9\xad\xef\xbd\xa1\xf3\x83\xb1\x82\xe2\x80\x8c\xe1\x82\xbe", true); } // [B1, V7]
7825test { try toUnicodeFail("\xf0\x90\xb9\xad\xe3\x80\x82\xf3\x83\xb1\x82\xe2\x80\x8c\xe1\x82\xbe"); } // [B1, C1, V7]
7826test { try toAsciiFail("\xf0\x90\xb9\xad\xe3\x80\x82\xf3\x83\xb1\x82\xe2\x80\x8c\xe1\x82\xbe", false); } // [B1, C1, V7]
7827test { try toAsciiFail("\xf0\x90\xb9\xad\xe3\x80\x82\xf3\x83\xb1\x82\xe2\x80\x8c\xe1\x82\xbe", true); } // [B1, V7]
7828test { try toUnicodeFail("\xf0\x90\xb9\xad\xe3\x80\x82\xf3\x83\xb1\x82\xe2\x80\x8c\xe2\xb4\x9e"); } // [B1, C1, V7]
7829test { try toAsciiFail("\xf0\x90\xb9\xad\xe3\x80\x82\xf3\x83\xb1\x82\xe2\x80\x8c\xe2\xb4\x9e", false); } // [B1, C1, V7]
7830test { try toAsciiFail("\xf0\x90\xb9\xad\xe3\x80\x82\xf3\x83\xb1\x82\xe2\x80\x8c\xe2\xb4\x9e", true); } // [B1, V7]
7831test { try toUnicodeFail("xn--lo0d.xn--mljx1099g"); } // [B1, V7]
7832test { try toAsciiFail("xn--lo0d.xn--mljx1099g", false); } // [B1, V7]
7833test { try toAsciiFail("xn--lo0d.xn--mljx1099g", true); } // [B1, V7]
7834test { try toUnicodeFail("xn--lo0d.xn--0ugx72cwi33v"); } // [B1, C1, V7]
7835test { try toAsciiFail("xn--lo0d.xn--0ugx72cwi33v", false); } // [B1, C1, V7]
7836test { try toAsciiFail("xn--lo0d.xn--0ugx72cwi33v", true); } // [B1, C1, V7]
7837test { try toUnicodeFail("\xf0\x90\xb9\xad\xef\xbd\xa1\xf3\x83\xb1\x82\xe2\x80\x8c\xe2\xb4\x9e"); } // [B1, C1, V7]
7838test { try toAsciiFail("\xf0\x90\xb9\xad\xef\xbd\xa1\xf3\x83\xb1\x82\xe2\x80\x8c\xe2\xb4\x9e", false); } // [B1, C1, V7]
7839test { try toAsciiFail("\xf0\x90\xb9\xad\xef\xbd\xa1\xf3\x83\xb1\x82\xe2\x80\x8c\xe2\xb4\x9e", true); } // [B1, V7]
7840test { try toUnicodeFail("xn--lo0d.xn--2nd75260n"); } // [B1, V7]
7841test { try toAsciiFail("xn--lo0d.xn--2nd75260n", false); } // [B1, V7]
7842test { try toAsciiFail("xn--lo0d.xn--2nd75260n", true); } // [B1, V7]
7843test { try toUnicodeFail("xn--lo0d.xn--2nd949eqw95u"); } // [B1, C1, V7]
7844test { try toAsciiFail("xn--lo0d.xn--2nd949eqw95u", false); } // [B1, C1, V7]
7845test { try toAsciiFail("xn--lo0d.xn--2nd949eqw95u", true); } // [B1, C1, V7]
7846test { try toUnicodeFail("\xea\xa5\x93.\xcc\xbd\xf0\x91\x82\xbd\xe9\xa6\x8b"); } // [V6, V7]
7847test { try toAsciiFail("\xea\xa5\x93.\xcc\xbd\xf0\x91\x82\xbd\xe9\xa6\x8b", false); } // [V6, V7]
7848test { try toAsciiFail("\xea\xa5\x93.\xcc\xbd\xf0\x91\x82\xbd\xe9\xa6\x8b", true); } // [V6, V7]
7849test { try toUnicodeFail("xn--3j9a.xn--bua0708eqzrd"); } // [V6, V7]
7850test { try toAsciiFail("xn--3j9a.xn--bua0708eqzrd", false); } // [V6, V7]
7851test { try toAsciiFail("xn--3j9a.xn--bua0708eqzrd", true); } // [V6, V7]
7852test { try toUnicodeFail("\xf3\x88\xab\x9d\xf2\xaa\x9b\xb8\xe2\x80\x8d\xef\xbd\xa1\xe4\x9c\x96"); } // [C2, V7]
7853test { try toAsciiFail("\xf3\x88\xab\x9d\xf2\xaa\x9b\xb8\xe2\x80\x8d\xef\xbd\xa1\xe4\x9c\x96", false); } // [C2, V7]
7854test { try toAsciiFail("\xf3\x88\xab\x9d\xf2\xaa\x9b\xb8\xe2\x80\x8d\xef\xbd\xa1\xe4\x9c\x96", true); } // [V7]
7855test { try toUnicodeFail("\xf3\x88\xab\x9d\xf2\xaa\x9b\xb8\xe2\x80\x8d\xe3\x80\x82\xe4\x9c\x96"); } // [C2, V7]
7856test { try toAsciiFail("\xf3\x88\xab\x9d\xf2\xaa\x9b\xb8\xe2\x80\x8d\xe3\x80\x82\xe4\x9c\x96", false); } // [C2, V7]
7857test { try toAsciiFail("\xf3\x88\xab\x9d\xf2\xaa\x9b\xb8\xe2\x80\x8d\xe3\x80\x82\xe4\x9c\x96", true); } // [V7]
7858test { try toUnicodeFail("xn--g138cxw05a.xn--k0o"); } // [V7]
7859test { try toAsciiFail("xn--g138cxw05a.xn--k0o", false); } // [V7]
7860test { try toAsciiFail("xn--g138cxw05a.xn--k0o", true); } // [V7]
7861test { try toUnicodeFail("xn--1ug30527h9mxi.xn--k0o"); } // [C2, V7]
7862test { try toAsciiFail("xn--1ug30527h9mxi.xn--k0o", false); } // [C2, V7]
7863test { try toAsciiFail("xn--1ug30527h9mxi.xn--k0o", true); } // [C2, V7]
7864test { try toUnicodeFail("\xe1\xa1\xaf\xe2\x9a\x89\xe5\xa7\xb6\xf0\x9f\x84\x89\xef\xbc\x8e\xdb\xb7\xe2\x80\x8d\xf0\x9f\x8e\xaa\xe2\x80\x8d"); } // [C2, U1]
7865test { try toAsciiFail("\xe1\xa1\xaf\xe2\x9a\x89\xe5\xa7\xb6\xf0\x9f\x84\x89\xef\xbc\x8e\xdb\xb7\xe2\x80\x8d\xf0\x9f\x8e\xaa\xe2\x80\x8d", false); } // [C2, U1]
7866test { try toAsciiFail("\xe1\xa1\xaf\xe2\x9a\x89\xe5\xa7\xb6\xf0\x9f\x84\x89\xef\xbc\x8e\xdb\xb7\xe2\x80\x8d\xf0\x9f\x8e\xaa\xe2\x80\x8d", true); } // [U1]
7867test { try toUnicodeFail("\xe1\xa1\xaf\xe2\x9a\x89\xe5\xa7\xb68,.\xdb\xb7\xe2\x80\x8d\xf0\x9f\x8e\xaa\xe2\x80\x8d"); } // [C2, U1]
7868test { try toAsciiFail("\xe1\xa1\xaf\xe2\x9a\x89\xe5\xa7\xb68,.\xdb\xb7\xe2\x80\x8d\xf0\x9f\x8e\xaa\xe2\x80\x8d", false); } // [C2, U1]
7869test { try toAsciiFail("\xe1\xa1\xaf\xe2\x9a\x89\xe5\xa7\xb68,.\xdb\xb7\xe2\x80\x8d\xf0\x9f\x8e\xaa\xe2\x80\x8d", true); } // [U1]
7870test { try toUnicodeFail("xn--8,-g9oy26fzu4d.xn--kmb6733w"); } // [U1]
7871test { try toAsciiFail("xn--8,-g9oy26fzu4d.xn--kmb6733w", false); } // [U1]
7872test { try toAsciiFail("xn--8,-g9oy26fzu4d.xn--kmb6733w", true); } // [U1]
7873test { try toUnicodeFail("xn--8,-g9oy26fzu4d.xn--kmb859ja94998b"); } // [C2, U1]
7874test { try toAsciiFail("xn--8,-g9oy26fzu4d.xn--kmb859ja94998b", false); } // [C2, U1]
7875test { try toAsciiFail("xn--8,-g9oy26fzu4d.xn--kmb859ja94998b", true); } // [C2, U1]
7876test { try toUnicodeFail("xn--c9e433epi4b3j20a.xn--kmb6733w"); } // [V7]
7877test { try toAsciiFail("xn--c9e433epi4b3j20a.xn--kmb6733w", false); } // [V7]
7878test { try toAsciiFail("xn--c9e433epi4b3j20a.xn--kmb6733w", true); } // [V7]
7879test { try toUnicodeFail("xn--c9e433epi4b3j20a.xn--kmb859ja94998b"); } // [C2, V7]
7880test { try toAsciiFail("xn--c9e433epi4b3j20a.xn--kmb859ja94998b", false); } // [C2, V7]
7881test { try toAsciiFail("xn--c9e433epi4b3j20a.xn--kmb859ja94998b", true); } // [C2, V7]
7882test { try toUnicodeFail("\xf0\x9e\xbd\x80.\xf0\x90\xb9\xb8\xf0\x9f\x9a\x96\xe0\xb8\xba"); } // [B1, V7]
7883test { try toAsciiFail("\xf0\x9e\xbd\x80.\xf0\x90\xb9\xb8\xf0\x9f\x9a\x96\xe0\xb8\xba", false); } // [B1, V7]
7884test { try toAsciiFail("\xf0\x9e\xbd\x80.\xf0\x90\xb9\xb8\xf0\x9f\x9a\x96\xe0\xb8\xba", true); } // [B1, V7]
7885test { try toUnicodeFail("xn--0n7h.xn--o4c9032klszf"); } // [B1, V7]
7886test { try toAsciiFail("xn--0n7h.xn--o4c9032klszf", false); } // [B1, V7]
7887test { try toAsciiFail("xn--0n7h.xn--o4c9032klszf", true); } // [B1, V7]
7888test { try toUnicodeFail("\xe1\x82\xb4\xe1\xa0\xb5\xef\xbd\xa1\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9"); } // [B1]
7889test { try toAsciiFail("\xe1\x82\xb4\xe1\xa0\xb5\xef\xbd\xa1\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9", false); } // [B1]
7890test { try toAsciiFail("\xe1\x82\xb4\xe1\xa0\xb5\xef\xbd\xa1\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9", true); } // [B1]
7891test { try toUnicodeFail("\xe1\x82\xb4\xe1\xa0\xb5\xe3\x80\x82\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9"); } // [B1]
7892test { try toAsciiFail("\xe1\x82\xb4\xe1\xa0\xb5\xe3\x80\x82\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9", false); } // [B1]
7893test { try toAsciiFail("\xe1\x82\xb4\xe1\xa0\xb5\xe3\x80\x82\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9", true); } // [B1]
7894test { try toUnicodeFail("\xe2\xb4\x94\xe1\xa0\xb5\xe3\x80\x82\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9"); } // [B1]
7895test { try toAsciiFail("\xe2\xb4\x94\xe1\xa0\xb5\xe3\x80\x82\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9", false); } // [B1]
7896test { try toAsciiFail("\xe2\xb4\x94\xe1\xa0\xb5\xe3\x80\x82\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9", true); } // [B1]
7897test { try toUnicodeFail("xn--o7e997h.xn--mmb9ml895e"); } // [B1]
7898test { try toAsciiFail("xn--o7e997h.xn--mmb9ml895e", false); } // [B1]
7899test { try toAsciiFail("xn--o7e997h.xn--mmb9ml895e", true); } // [B1]
7900test { try toUnicodeFail("\xe2\xb4\x94\xe1\xa0\xb5\xef\xbd\xa1\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9"); } // [B1]
7901test { try toAsciiFail("\xe2\xb4\x94\xe1\xa0\xb5\xef\xbd\xa1\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9", false); } // [B1]
7902test { try toAsciiFail("\xe2\xb4\x94\xe1\xa0\xb5\xef\xbd\xa1\xf0\x90\xb9\xa7\xdd\x87\xdb\xb9", true); } // [B1]
7903test { try toUnicodeFail("xn--snd659a.xn--mmb9ml895e"); } // [B1, V7]
7904test { try toAsciiFail("xn--snd659a.xn--mmb9ml895e", false); } // [B1, V7]
7905test { try toAsciiFail("xn--snd659a.xn--mmb9ml895e", true); } // [B1, V7]
7906test { try toUnicodeFail("\xe1\x8d\x9f\xe1\xa1\x88\xe2\x80\x8c\xef\xbc\x8e\xef\xb8\x92-\xf0\x96\xbe\x90-"); } // [C1, V3, V6, V7]
7907test { try toAsciiFail("\xe1\x8d\x9f\xe1\xa1\x88\xe2\x80\x8c\xef\xbc\x8e\xef\xb8\x92-\xf0\x96\xbe\x90-", false); } // [C1, V3, V6, V7]
7908test { try toAsciiFail("\xe1\x8d\x9f\xe1\xa1\x88\xe2\x80\x8c\xef\xbc\x8e\xef\xb8\x92-\xf0\x96\xbe\x90-", true); } // [V3, V6, V7]
7909test { try toUnicodeFail("\xe1\x8d\x9f\xe1\xa1\x88\xe2\x80\x8c.\xe3\x80\x82-\xf0\x96\xbe\x90-"); } // [C1, V3, V6, X4_2]
7910test { try toAsciiFail("\xe1\x8d\x9f\xe1\xa1\x88\xe2\x80\x8c.\xe3\x80\x82-\xf0\x96\xbe\x90-", false); } // [C1, V3, V6, A4_2]
7911test { try toAsciiFail("\xe1\x8d\x9f\xe1\xa1\x88\xe2\x80\x8c.\xe3\x80\x82-\xf0\x96\xbe\x90-", true); } // [V3, V6, A4_2]
7912test { try toUnicodeFail("xn--b7d82w..xn-----pe4u"); } // [V3, V6, X4_2]
7913test { try toAsciiFail("xn--b7d82w..xn-----pe4u", false); } // [V3, V6, A4_2]
7914test { try toAsciiFail("xn--b7d82w..xn-----pe4u", true); } // [V3, V6, A4_2]
7915test { try toUnicodeFail("xn--b7d82wo4h..xn-----pe4u"); } // [C1, V3, V6, X4_2]
7916test { try toAsciiFail("xn--b7d82wo4h..xn-----pe4u", false); } // [C1, V3, V6, A4_2]
7917test { try toAsciiFail("xn--b7d82wo4h..xn-----pe4u", true); } // [C1, V3, V6, A4_2]
7918test { try toUnicodeFail("xn--b7d82w.xn-----c82nz547a"); } // [V3, V6, V7]
7919test { try toAsciiFail("xn--b7d82w.xn-----c82nz547a", false); } // [V3, V6, V7]
7920test { try toAsciiFail("xn--b7d82w.xn-----c82nz547a", true); } // [V3, V6, V7]
7921test { try toUnicodeFail("xn--b7d82wo4h.xn-----c82nz547a"); } // [C1, V3, V6, V7]
7922test { try toAsciiFail("xn--b7d82wo4h.xn-----c82nz547a", false); } // [C1, V3, V6, V7]
7923test { try toAsciiFail("xn--b7d82wo4h.xn-----c82nz547a", true); } // [C1, V3, V6, V7]
7924test { try toUnicodeFail("\xe2\x92\x88\xd8\x81\xe2\x92\x96\xe2\x80\x8c.\xe1\xb7\xb0\xdf\x9b"); } // [B1, C1, V6, V7]
7925test { try toAsciiFail("\xe2\x92\x88\xd8\x81\xe2\x92\x96\xe2\x80\x8c.\xe1\xb7\xb0\xdf\x9b", false); } // [B1, C1, V6, V7]
7926test { try toAsciiFail("\xe2\x92\x88\xd8\x81\xe2\x92\x96\xe2\x80\x8c.\xe1\xb7\xb0\xdf\x9b", true); } // [B1, V6, V7]
7927test { try toUnicodeFail("1.\xd8\x8115.\xe2\x80\x8c.\xe1\xb7\xb0\xdf\x9b"); } // [B1, C1, V6, V7]
7928test { try toAsciiFail("1.\xd8\x8115.\xe2\x80\x8c.\xe1\xb7\xb0\xdf\x9b", false); } // [B1, C1, V6, V7]
7929test { try toAsciiFail("1.\xd8\x8115.\xe2\x80\x8c.\xe1\xb7\xb0\xdf\x9b", true); } // [B1, V6, V7, A4_2]
7930test { try toUnicodeFail("1.xn--15-1pd..xn--2sb914i"); } // [B1, V6, V7, X4_2]
7931test { try toAsciiFail("1.xn--15-1pd..xn--2sb914i", false); } // [B1, V6, V7, A4_2]
7932test { try toAsciiFail("1.xn--15-1pd..xn--2sb914i", true); } // [B1, V6, V7, A4_2]
7933test { try toUnicodeFail("1.xn--15-1pd.xn--0ug.xn--2sb914i"); } // [B1, C1, V6, V7]
7934test { try toAsciiFail("1.xn--15-1pd.xn--0ug.xn--2sb914i", false); } // [B1, C1, V6, V7]
7935test { try toAsciiFail("1.xn--15-1pd.xn--0ug.xn--2sb914i", true); } // [B1, C1, V6, V7]
7936test { try toUnicodeFail("xn--jfb347mib.xn--2sb914i"); } // [B1, V6, V7]
7937test { try toAsciiFail("xn--jfb347mib.xn--2sb914i", false); } // [B1, V6, V7]
7938test { try toAsciiFail("xn--jfb347mib.xn--2sb914i", true); } // [B1, V6, V7]
7939test { try toUnicodeFail("xn--jfb844kmfdwb.xn--2sb914i"); } // [B1, C1, V6, V7]
7940test { try toAsciiFail("xn--jfb844kmfdwb.xn--2sb914i", false); } // [B1, C1, V6, V7]
7941test { try toAsciiFail("xn--jfb844kmfdwb.xn--2sb914i", true); } // [B1, C1, V6, V7]
7942test { try toUnicodeFail("\xf0\x9d\xa9\x9c\xe3\x80\x82-\xe0\xad\x8d\xe1\x82\xab"); } // [V3, V6]
7943test { try toAsciiFail("\xf0\x9d\xa9\x9c\xe3\x80\x82-\xe0\xad\x8d\xe1\x82\xab", false); } // [V3, V6]
7944test { try toAsciiFail("\xf0\x9d\xa9\x9c\xe3\x80\x82-\xe0\xad\x8d\xe1\x82\xab", true); } // [V3, V6]
7945test { try toUnicodeFail("\xf0\x9d\xa9\x9c\xe3\x80\x82-\xe0\xad\x8d\xe2\xb4\x8b"); } // [V3, V6]
7946test { try toAsciiFail("\xf0\x9d\xa9\x9c\xe3\x80\x82-\xe0\xad\x8d\xe2\xb4\x8b", false); } // [V3, V6]
7947test { try toAsciiFail("\xf0\x9d\xa9\x9c\xe3\x80\x82-\xe0\xad\x8d\xe2\xb4\x8b", true); } // [V3, V6]
7948test { try toUnicodeFail("xn--792h.xn----bse820x"); } // [V3, V6]
7949test { try toAsciiFail("xn--792h.xn----bse820x", false); } // [V3, V6]
7950test { try toAsciiFail("xn--792h.xn----bse820x", true); } // [V3, V6]
7951test { try toUnicodeFail("xn--792h.xn----bse632b"); } // [V3, V6, V7]
7952test { try toAsciiFail("xn--792h.xn----bse632b", false); } // [V3, V6, V7]
7953test { try toAsciiFail("xn--792h.xn----bse632b", true); } // [V3, V6, V7]
7954test { try toUnicodeFail("\xc3\x9f\xe1\x83\x80.\xd8\xa0\xe5\x88\xaf\xe1\x82\xbd"); } // [B2, B3]
7955test { try toAsciiFail("\xc3\x9f\xe1\x83\x80.\xd8\xa0\xe5\x88\xaf\xe1\x82\xbd", false); } // [B2, B3]
7956test { try toAsciiFail("\xc3\x9f\xe1\x83\x80.\xd8\xa0\xe5\x88\xaf\xe1\x82\xbd", true); } // [B2, B3]
7957test { try toUnicodeFail("\xc3\x9f\xe2\xb4\xa0.\xd8\xa0\xe5\x88\xaf\xe2\xb4\x9d"); } // [B2, B3]
7958test { try toAsciiFail("\xc3\x9f\xe2\xb4\xa0.\xd8\xa0\xe5\x88\xaf\xe2\xb4\x9d", false); } // [B2, B3]
7959test { try toAsciiFail("\xc3\x9f\xe2\xb4\xa0.\xd8\xa0\xe5\x88\xaf\xe2\xb4\x9d", true); } // [B2, B3]
7960test { try toUnicodeFail("SS\xe1\x83\x80.\xd8\xa0\xe5\x88\xaf\xe1\x82\xbd"); } // [B2, B3]
7961test { try toAsciiFail("SS\xe1\x83\x80.\xd8\xa0\xe5\x88\xaf\xe1\x82\xbd", false); } // [B2, B3]
7962test { try toAsciiFail("SS\xe1\x83\x80.\xd8\xa0\xe5\x88\xaf\xe1\x82\xbd", true); } // [B2, B3]
7963test { try toUnicodeFail("ss\xe2\xb4\xa0.\xd8\xa0\xe5\x88\xaf\xe2\xb4\x9d"); } // [B2, B3]
7964test { try toAsciiFail("ss\xe2\xb4\xa0.\xd8\xa0\xe5\x88\xaf\xe2\xb4\x9d", false); } // [B2, B3]
7965test { try toAsciiFail("ss\xe2\xb4\xa0.\xd8\xa0\xe5\x88\xaf\xe2\xb4\x9d", true); } // [B2, B3]
7966test { try toUnicodeFail("Ss\xe2\xb4\xa0.\xd8\xa0\xe5\x88\xaf\xe1\x82\xbd"); } // [B2, B3]
7967test { try toAsciiFail("Ss\xe2\xb4\xa0.\xd8\xa0\xe5\x88\xaf\xe1\x82\xbd", false); } // [B2, B3]
7968test { try toAsciiFail("Ss\xe2\xb4\xa0.\xd8\xa0\xe5\x88\xaf\xe1\x82\xbd", true); } // [B2, B3]
7969test { try toUnicodeFail("xn--ss-j81a.xn--fgb670rovy"); } // [B2, B3]
7970test { try toAsciiFail("xn--ss-j81a.xn--fgb670rovy", false); } // [B2, B3]
7971test { try toAsciiFail("xn--ss-j81a.xn--fgb670rovy", true); } // [B2, B3]
7972test { try toUnicodeFail("xn--zca277t.xn--fgb670rovy"); } // [B2, B3]
7973test { try toAsciiFail("xn--zca277t.xn--fgb670rovy", false); } // [B2, B3]
7974test { try toAsciiFail("xn--zca277t.xn--fgb670rovy", true); } // [B2, B3]
7975test { try toUnicodeFail("xn--ss-j81a.xn--fgb845cb66c"); } // [B2, B3, V7]
7976test { try toAsciiFail("xn--ss-j81a.xn--fgb845cb66c", false); } // [B2, B3, V7]
7977test { try toAsciiFail("xn--ss-j81a.xn--fgb845cb66c", true); } // [B2, B3, V7]
7978test { try toUnicodeFail("xn--ss-wgk.xn--fgb845cb66c"); } // [B2, B3, V7]
7979test { try toAsciiFail("xn--ss-wgk.xn--fgb845cb66c", false); } // [B2, B3, V7]
7980test { try toAsciiFail("xn--ss-wgk.xn--fgb845cb66c", true); } // [B2, B3, V7]
7981test { try toUnicodeFail("xn--zca442f.xn--fgb845cb66c"); } // [B2, B3, V7]
7982test { try toAsciiFail("xn--zca442f.xn--fgb845cb66c", false); } // [B2, B3, V7]
7983test { try toAsciiFail("xn--zca442f.xn--fgb845cb66c", true); } // [B2, B3, V7]
7984test { try toUnicodeFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xef\xbd\xa1\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3"); } // [B5, B6, V6]
7985test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xef\xbd\xa1\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", false); } // [B5, B6, V6]
7986test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xef\xbd\xa1\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", true); } // [B5, B6, V6]
7987test { try toUnicodeFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xef\xbd\xa1\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3"); } // [B5, B6, V6]
7988test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xef\xbd\xa1\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", false); } // [B5, B6, V6]
7989test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xef\xbd\xa1\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", true); } // [B5, B6, V6]
7990test { try toUnicodeFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xe3\x80\x82\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3"); } // [B5, B6, V6]
7991test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xe3\x80\x82\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", false); } // [B5, B6, V6]
7992test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xe3\x80\x82\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", true); } // [B5, B6, V6]
7993test { try toUnicodeFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xe3\x80\x82\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3"); } // [B5, B6, V6]
7994test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xe3\x80\x82\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", false); } // [B5, B6, V6]
7995test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x84\xb2\xe3\x80\x82\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", true); } // [B5, B6, V6]
7996test { try toUnicodeFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3"); } // [B5, B6, V6]
7997test { try toAsciiFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", false); } // [B5, B6, V6]
7998test { try toAsciiFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", true); } // [B5, B6, V6]
7999test { try toUnicodeFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3"); } // [B5, B6, V6]
8000test { try toAsciiFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", false); } // [B5, B6, V6]
8001test { try toAsciiFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", true); } // [B5, B6, V6]
8002test { try toUnicodeFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3"); } // [B5, B6, V6]
8003test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", false); } // [B5, B6, V6]
8004test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", true); } // [B5, B6, V6]
8005test { try toUnicodeFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3"); } // [B5, B6, V6]
8006test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", false); } // [B5, B6, V6]
8007test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xe3\x80\x82\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", true); } // [B5, B6, V6]
8008test { try toUnicodeFail("xn--yxf24x4ol.xn--sib102gc69k"); } // [B5, B6, V6]
8009test { try toAsciiFail("xn--yxf24x4ol.xn--sib102gc69k", false); } // [B5, B6, V6]
8010test { try toAsciiFail("xn--yxf24x4ol.xn--sib102gc69k", true); } // [B5, B6, V6]
8011test { try toUnicodeFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3"); } // [B5, B6, V6]
8012test { try toAsciiFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", false); } // [B5, B6, V6]
8013test { try toAsciiFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", true); } // [B5, B6, V6]
8014test { try toUnicodeFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3"); } // [B5, B6, V6]
8015test { try toAsciiFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", false); } // [B5, B6, V6]
8016test { try toAsciiFail("\xe1\xae\xaa\xe2\xb4\x83\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", true); } // [B5, B6, V6]
8017test { try toUnicodeFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3"); } // [B5, B6, V6]
8018test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", false); } // [B5, B6, V6]
8019test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xed\x88\xbb\xd9\xb3", true); } // [B5, B6, V6]
8020test { try toUnicodeFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3"); } // [B5, B6, V6]
8021test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", false); } // [B5, B6, V6]
8022test { try toAsciiFail("\xe1\xae\xaa\xe1\x82\xa3\xe2\x85\x8e\xef\xbd\xa1\xe1\xa0\xb3\xe1\x84\x90\xe1\x85\xae\xe1\x86\xb6\xd9\xb3", true); } // [B5, B6, V6]
8023test { try toUnicodeFail("xn--bnd957c2pe.xn--sib102gc69k"); } // [B5, B6, V6, V7]
8024test { try toAsciiFail("xn--bnd957c2pe.xn--sib102gc69k", false); } // [B5, B6, V6, V7]
8025test { try toAsciiFail("xn--bnd957c2pe.xn--sib102gc69k", true); } // [B5, B6, V6, V7]
8026test { try toUnicodeFail("xn--bnd957cone.xn--sib102gc69k"); } // [B5, B6, V6, V7]
8027test { try toAsciiFail("xn--bnd957cone.xn--sib102gc69k", false); } // [B5, B6, V6, V7]
8028test { try toAsciiFail("xn--bnd957cone.xn--sib102gc69k", true); } // [B5, B6, V6, V7]
8029test { try toUnicodeFail("\xdb\xac.\xe0\xa2\xa2\xf0\x90\xb9\xab\xd9\xbc"); } // [B1, V6]
8030test { try toAsciiFail("\xdb\xac.\xe0\xa2\xa2\xf0\x90\xb9\xab\xd9\xbc", false); } // [B1, V6]
8031test { try toAsciiFail("\xdb\xac.\xe0\xa2\xa2\xf0\x90\xb9\xab\xd9\xbc", true); } // [B1, V6]
8032test { try toUnicodeFail("xn--8lb.xn--1ib31ily45b"); } // [B1, V6]
8033test { try toAsciiFail("xn--8lb.xn--1ib31ily45b", false); } // [B1, V6]
8034test { try toAsciiFail("xn--8lb.xn--1ib31ily45b", true); } // [B1, V6]
8035test { try toUnicodeFail("\xda\xb6\xdb\x9f\xe3\x80\x82\xe2\x82\x87\xea\xa0\x86"); } // [B1]
8036test { try toAsciiFail("\xda\xb6\xdb\x9f\xe3\x80\x82\xe2\x82\x87\xea\xa0\x86", false); } // [B1]
8037test { try toAsciiFail("\xda\xb6\xdb\x9f\xe3\x80\x82\xe2\x82\x87\xea\xa0\x86", true); } // [B1]
8038test { try toUnicodeFail("\xda\xb6\xdb\x9f\xe3\x80\x827\xea\xa0\x86"); } // [B1]
8039test { try toAsciiFail("\xda\xb6\xdb\x9f\xe3\x80\x827\xea\xa0\x86", false); } // [B1]
8040test { try toAsciiFail("\xda\xb6\xdb\x9f\xe3\x80\x827\xea\xa0\x86", true); } // [B1]
8041test { try toUnicodeFail("xn--pkb6f.xn--7-x93e"); } // [B1]
8042test { try toAsciiFail("xn--pkb6f.xn--7-x93e", false); } // [B1]
8043test { try toAsciiFail("xn--pkb6f.xn--7-x93e", true); } // [B1]
8044test { try toUnicodeFail("\xda\xb6\xdb\x9f.7\xea\xa0\x86"); } // [B1]
8045test { try toAsciiFail("\xda\xb6\xdb\x9f.7\xea\xa0\x86", false); } // [B1]
8046test { try toAsciiFail("\xda\xb6\xdb\x9f.7\xea\xa0\x86", true); } // [B1]
8047test { try toUnicodeFail("\xe1\x83\x83\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3\xe2\x89\xae\xf3\xa0\xa9\x89"); } // [B1, B5, B6, C1, V7]
8048test { try toAsciiFail("\xe1\x83\x83\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3\xe2\x89\xae\xf3\xa0\xa9\x89", false); } // [B1, B5, B6, C1, V7]
8049test { try toAsciiFail("\xe1\x83\x83\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3\xe2\x89\xae\xf3\xa0\xa9\x89", true); } // [B1, B5, B6, V6, V7]
8050test { try toUnicodeFail("\xe1\x83\x83\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3<\xcc\xb8\xf3\xa0\xa9\x89"); } // [B1, B5, B6, C1, V7]
8051test { try toAsciiFail("\xe1\x83\x83\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3<\xcc\xb8\xf3\xa0\xa9\x89", false); } // [B1, B5, B6, C1, V7]
8052test { try toAsciiFail("\xe1\x83\x83\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3<\xcc\xb8\xf3\xa0\xa9\x89", true); } // [B1, B5, B6, V6, V7]
8053test { try toUnicodeFail("\xe2\xb4\xa3\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3<\xcc\xb8\xf3\xa0\xa9\x89"); } // [B1, B5, B6, C1, V7]
8054test { try toAsciiFail("\xe2\xb4\xa3\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3<\xcc\xb8\xf3\xa0\xa9\x89", false); } // [B1, B5, B6, C1, V7]
8055test { try toAsciiFail("\xe2\xb4\xa3\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3<\xcc\xb8\xf3\xa0\xa9\x89", true); } // [B1, B5, B6, V6, V7]
8056test { try toUnicodeFail("\xe2\xb4\xa3\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3\xe2\x89\xae\xf3\xa0\xa9\x89"); } // [B1, B5, B6, C1, V7]
8057test { try toAsciiFail("\xe2\xb4\xa3\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3\xe2\x89\xae\xf3\xa0\xa9\x89", false); } // [B1, B5, B6, C1, V7]
8058test { try toAsciiFail("\xe2\xb4\xa3\xf0\x90\xb9\xbb.\xe2\x80\x8c\xf0\x9d\xaa\xa3\xe2\x89\xae\xf3\xa0\xa9\x89", true); } // [B1, B5, B6, V6, V7]
8059test { try toUnicodeFail("xn--rlj6323e.xn--gdh4944ob3x3e"); } // [B1, B5, B6, V6, V7]
8060test { try toAsciiFail("xn--rlj6323e.xn--gdh4944ob3x3e", false); } // [B1, B5, B6, V6, V7]
8061test { try toAsciiFail("xn--rlj6323e.xn--gdh4944ob3x3e", true); } // [B1, B5, B6, V6, V7]
8062test { try toUnicodeFail("xn--rlj6323e.xn--0ugy6gn120eb103g"); } // [B1, B5, B6, C1, V7]
8063test { try toAsciiFail("xn--rlj6323e.xn--0ugy6gn120eb103g", false); } // [B1, B5, B6, C1, V7]
8064test { try toAsciiFail("xn--rlj6323e.xn--0ugy6gn120eb103g", true); } // [B1, B5, B6, C1, V7]
8065test { try toUnicodeFail("xn--7nd8101k.xn--gdh4944ob3x3e"); } // [B1, B5, B6, V6, V7]
8066test { try toAsciiFail("xn--7nd8101k.xn--gdh4944ob3x3e", false); } // [B1, B5, B6, V6, V7]
8067test { try toAsciiFail("xn--7nd8101k.xn--gdh4944ob3x3e", true); } // [B1, B5, B6, V6, V7]
8068test { try toUnicodeFail("xn--7nd8101k.xn--0ugy6gn120eb103g"); } // [B1, B5, B6, C1, V7]
8069test { try toAsciiFail("xn--7nd8101k.xn--0ugy6gn120eb103g", false); } // [B1, B5, B6, C1, V7]
8070test { try toAsciiFail("xn--7nd8101k.xn--0ugy6gn120eb103g", true); } // [B1, B5, B6, C1, V7]
8071test { try toUnicodeFail("\xf0\x9d\x9f\xb5\xe9\x9a\x81\xe2\xaf\xae\xef\xbc\x8e\xe1\xa0\x8d\xe2\x80\x8c"); } // [C1]
8072test { try toAsciiFail("\xf0\x9d\x9f\xb5\xe9\x9a\x81\xe2\xaf\xae\xef\xbc\x8e\xe1\xa0\x8d\xe2\x80\x8c", false); } // [C1]
8073test { try toAsciiFail("\xf0\x9d\x9f\xb5\xe9\x9a\x81\xe2\xaf\xae\xef\xbc\x8e\xe1\xa0\x8d\xe2\x80\x8c", true); } // [A4_2]
8074test { try toUnicodeFail("9\xe9\x9a\x81\xe2\xaf\xae.\xe1\xa0\x8d\xe2\x80\x8c"); } // [C1]
8075test { try toAsciiFail("9\xe9\x9a\x81\xe2\xaf\xae.\xe1\xa0\x8d\xe2\x80\x8c", false); } // [C1]
8076test { try toAsciiFail("9\xe9\x9a\x81\xe2\xaf\xae.\xe1\xa0\x8d\xe2\x80\x8c", true); } // [A4_2]
8077test { try toUnicodePass("xn--9-mfs8024b.", "9\xe9\x9a\x81\xe2\xaf\xae."); }
8078test { try toAsciiFail("xn--9-mfs8024b.", false); } // [A4_2]
8079test { try toAsciiFail("xn--9-mfs8024b.", true); } // [A4_2]
8080test { try toUnicodePass("9\xe9\x9a\x81\xe2\xaf\xae.", "9\xe9\x9a\x81\xe2\xaf\xae."); }
8081test { try toAsciiFail("9\xe9\x9a\x81\xe2\xaf\xae.", false); } // [A4_2]
8082test { try toAsciiFail("9\xe9\x9a\x81\xe2\xaf\xae.", true); } // [A4_2]
8083test { try toUnicodeFail("xn--9-mfs8024b.xn--0ug"); } // [C1]
8084test { try toAsciiFail("xn--9-mfs8024b.xn--0ug", false); } // [C1]
8085test { try toAsciiFail("xn--9-mfs8024b.xn--0ug", true); } // [C1]
8086test { try toUnicodeFail("\xe2\x92\x8f\xf0\x90\xb9\xa7\xef\xbd\xa1\xe1\x83\x83\xe0\xbe\x84\xe5\xbd\xa6"); } // [B1, V7]
8087test { try toAsciiFail("\xe2\x92\x8f\xf0\x90\xb9\xa7\xef\xbd\xa1\xe1\x83\x83\xe0\xbe\x84\xe5\xbd\xa6", false); } // [B1, V7]
8088test { try toAsciiFail("\xe2\x92\x8f\xf0\x90\xb9\xa7\xef\xbd\xa1\xe1\x83\x83\xe0\xbe\x84\xe5\xbd\xa6", true); } // [B1, V7]
8089test { try toUnicodeFail("8.\xf0\x90\xb9\xa7\xe3\x80\x82\xe1\x83\x83\xe0\xbe\x84\xe5\xbd\xa6"); } // [B1]
8090test { try toAsciiFail("8.\xf0\x90\xb9\xa7\xe3\x80\x82\xe1\x83\x83\xe0\xbe\x84\xe5\xbd\xa6", false); } // [B1]
8091test { try toAsciiFail("8.\xf0\x90\xb9\xa7\xe3\x80\x82\xe1\x83\x83\xe0\xbe\x84\xe5\xbd\xa6", true); } // [B1]
8092test { try toUnicodeFail("8.\xf0\x90\xb9\xa7\xe3\x80\x82\xe2\xb4\xa3\xe0\xbe\x84\xe5\xbd\xa6"); } // [B1]
8093test { try toAsciiFail("8.\xf0\x90\xb9\xa7\xe3\x80\x82\xe2\xb4\xa3\xe0\xbe\x84\xe5\xbd\xa6", false); } // [B1]
8094test { try toAsciiFail("8.\xf0\x90\xb9\xa7\xe3\x80\x82\xe2\xb4\xa3\xe0\xbe\x84\xe5\xbd\xa6", true); } // [B1]
8095test { try toUnicodeFail("8.xn--fo0d.xn--3ed972m6o8a"); } // [B1]
8096test { try toAsciiFail("8.xn--fo0d.xn--3ed972m6o8a", false); } // [B1]
8097test { try toAsciiFail("8.xn--fo0d.xn--3ed972m6o8a", true); } // [B1]
8098test { try toUnicodeFail("\xe2\x92\x8f\xf0\x90\xb9\xa7\xef\xbd\xa1\xe2\xb4\xa3\xe0\xbe\x84\xe5\xbd\xa6"); } // [B1, V7]
8099test { try toAsciiFail("\xe2\x92\x8f\xf0\x90\xb9\xa7\xef\xbd\xa1\xe2\xb4\xa3\xe0\xbe\x84\xe5\xbd\xa6", false); } // [B1, V7]
8100test { try toAsciiFail("\xe2\x92\x8f\xf0\x90\xb9\xa7\xef\xbd\xa1\xe2\xb4\xa3\xe0\xbe\x84\xe5\xbd\xa6", true); } // [B1, V7]
8101test { try toUnicodeFail("xn--0sh2466f.xn--3ed972m6o8a"); } // [B1, V7]
8102test { try toAsciiFail("xn--0sh2466f.xn--3ed972m6o8a", false); } // [B1, V7]
8103test { try toAsciiFail("xn--0sh2466f.xn--3ed972m6o8a", true); } // [B1, V7]
8104test { try toUnicodeFail("8.xn--fo0d.xn--3ed15dt93o"); } // [B1, V7]
8105test { try toAsciiFail("8.xn--fo0d.xn--3ed15dt93o", false); } // [B1, V7]
8106test { try toAsciiFail("8.xn--fo0d.xn--3ed15dt93o", true); } // [B1, V7]
8107test { try toUnicodeFail("xn--0sh2466f.xn--3ed15dt93o"); } // [B1, V7]
8108test { try toAsciiFail("xn--0sh2466f.xn--3ed15dt93o", false); } // [B1, V7]
8109test { try toAsciiFail("xn--0sh2466f.xn--3ed15dt93o", true); } // [B1, V7]
8110test { try toUnicodeFail("-\xe9\x97\xae\xf1\xac\xb0\x94\xe2\x92\x9b\xe3\x80\x82\xd8\x84-\xf1\x9c\x97\x89\xe6\xa9\xac"); } // [B1, V3, V7]
8111test { try toAsciiFail("-\xe9\x97\xae\xf1\xac\xb0\x94\xe2\x92\x9b\xe3\x80\x82\xd8\x84-\xf1\x9c\x97\x89\xe6\xa9\xac", false); } // [B1, V3, V7]
8112test { try toAsciiFail("-\xe9\x97\xae\xf1\xac\xb0\x94\xe2\x92\x9b\xe3\x80\x82\xd8\x84-\xf1\x9c\x97\x89\xe6\xa9\xac", true); } // [B1, V3, V7]
8113test { try toUnicodeFail("-\xe9\x97\xae\xf1\xac\xb0\x9420.\xe3\x80\x82\xd8\x84-\xf1\x9c\x97\x89\xe6\xa9\xac"); } // [B1, V3, V7, X4_2]
8114test { try toAsciiFail("-\xe9\x97\xae\xf1\xac\xb0\x9420.\xe3\x80\x82\xd8\x84-\xf1\x9c\x97\x89\xe6\xa9\xac", false); } // [B1, V3, V7, A4_2]
8115test { try toAsciiFail("-\xe9\x97\xae\xf1\xac\xb0\x9420.\xe3\x80\x82\xd8\x84-\xf1\x9c\x97\x89\xe6\xa9\xac", true); } // [B1, V3, V7, A4_2]
8116test { try toUnicodeFail("xn---20-658jx1776d..xn----ykc7228efm46d"); } // [B1, V3, V7, X4_2]
8117test { try toAsciiFail("xn---20-658jx1776d..xn----ykc7228efm46d", false); } // [B1, V3, V7, A4_2]
8118test { try toAsciiFail("xn---20-658jx1776d..xn----ykc7228efm46d", true); } // [B1, V3, V7, A4_2]
8119test { try toUnicodeFail("xn----hdpu849bhis3e.xn----ykc7228efm46d"); } // [B1, V3, V7]
8120test { try toAsciiFail("xn----hdpu849bhis3e.xn----ykc7228efm46d", false); } // [B1, V3, V7]
8121test { try toAsciiFail("xn----hdpu849bhis3e.xn----ykc7228efm46d", true); } // [B1, V3, V7]
8122test { try toUnicodeFail("\xe1\xae\xac\xe1\x82\xac\xe2\x80\x8c\xcc\xa5\xe3\x80\x82\xf0\x9d\x9f\xb8"); } // [C1, V6]
8123test { try toAsciiFail("\xe1\xae\xac\xe1\x82\xac\xe2\x80\x8c\xcc\xa5\xe3\x80\x82\xf0\x9d\x9f\xb8", false); } // [C1, V6]
8124test { try toAsciiFail("\xe1\xae\xac\xe1\x82\xac\xe2\x80\x8c\xcc\xa5\xe3\x80\x82\xf0\x9d\x9f\xb8", true); } // [V6]
8125test { try toUnicodeFail("\xe1\xae\xac\xe1\x82\xac\xe2\x80\x8c\xcc\xa5\xe3\x80\x822"); } // [C1, V6]
8126test { try toAsciiFail("\xe1\xae\xac\xe1\x82\xac\xe2\x80\x8c\xcc\xa5\xe3\x80\x822", false); } // [C1, V6]
8127test { try toAsciiFail("\xe1\xae\xac\xe1\x82\xac\xe2\x80\x8c\xcc\xa5\xe3\x80\x822", true); } // [V6]
8128test { try toUnicodeFail("\xe1\xae\xac\xe2\xb4\x8c\xe2\x80\x8c\xcc\xa5\xe3\x80\x822"); } // [C1, V6]
8129test { try toAsciiFail("\xe1\xae\xac\xe2\xb4\x8c\xe2\x80\x8c\xcc\xa5\xe3\x80\x822", false); } // [C1, V6]
8130test { try toAsciiFail("\xe1\xae\xac\xe2\xb4\x8c\xe2\x80\x8c\xcc\xa5\xe3\x80\x822", true); } // [V6]
8131test { try toUnicodeFail("xn--mta176jjjm.c"); } // [V6]
8132test { try toAsciiFail("xn--mta176jjjm.c", false); } // [V6]
8133test { try toAsciiFail("xn--mta176jjjm.c", true); } // [V6]
8134test { try toUnicodeFail("xn--mta176j97cl2q.c"); } // [C1, V6]
8135test { try toAsciiFail("xn--mta176j97cl2q.c", false); } // [C1, V6]
8136test { try toAsciiFail("xn--mta176j97cl2q.c", true); } // [C1, V6]
8137test { try toUnicodeFail("\xe1\xae\xac\xe2\xb4\x8c\xe2\x80\x8c\xcc\xa5\xe3\x80\x82\xf0\x9d\x9f\xb8"); } // [C1, V6]
8138test { try toAsciiFail("\xe1\xae\xac\xe2\xb4\x8c\xe2\x80\x8c\xcc\xa5\xe3\x80\x82\xf0\x9d\x9f\xb8", false); } // [C1, V6]
8139test { try toAsciiFail("\xe1\xae\xac\xe2\xb4\x8c\xe2\x80\x8c\xcc\xa5\xe3\x80\x82\xf0\x9d\x9f\xb8", true); } // [V6]
8140test { try toUnicodeFail("xn--mta930emri.c"); } // [V6, V7]
8141test { try toAsciiFail("xn--mta930emri.c", false); } // [V6, V7]
8142test { try toAsciiFail("xn--mta930emri.c", true); } // [V6, V7]
8143test { try toUnicodeFail("xn--mta930emribme.c"); } // [C1, V6, V7]
8144test { try toAsciiFail("xn--mta930emribme.c", false); } // [C1, V6, V7]
8145test { try toAsciiFail("xn--mta930emribme.c", true); } // [C1, V6, V7]
8146test { try toUnicodeFail("?\xe3\x80\x82\xea\xa0\x86\xd9\xa9\xf3\xa0\x92\xa9"); } // [B1, V6, V7, U1]
8147test { try toAsciiFail("?\xe3\x80\x82\xea\xa0\x86\xd9\xa9\xf3\xa0\x92\xa9", false); } // [B1, V6, V7, U1]
8148test { try toAsciiFail("?\xe3\x80\x82\xea\xa0\x86\xd9\xa9\xf3\xa0\x92\xa9", true); } // [B1, V6, V7, U1]
8149test { try toUnicodeFail("?.xn--iib9583fusy0i"); } // [B1, V6, V7, U1]
8150test { try toAsciiFail("?.xn--iib9583fusy0i", false); } // [B1, V6, V7, U1]
8151test { try toAsciiFail("?.xn--iib9583fusy0i", true); } // [B1, V6, V7, U1]
8152test { try toUnicodeFail("\xf3\xa0\x84\x81\xcd\x9f\xe2\xbe\xb6\xef\xbd\xa1\xe2\x82\x87\xef\xb8\x92\xeb\x88\x87\xe2\x89\xae"); } // [V6, V7]
8153test { try toAsciiFail("\xf3\xa0\x84\x81\xcd\x9f\xe2\xbe\xb6\xef\xbd\xa1\xe2\x82\x87\xef\xb8\x92\xeb\x88\x87\xe2\x89\xae", false); } // [V6, V7]
8154test { try toAsciiFail("\xf3\xa0\x84\x81\xcd\x9f\xe2\xbe\xb6\xef\xbd\xa1\xe2\x82\x87\xef\xb8\x92\xeb\x88\x87\xe2\x89\xae", true); } // [V6, V7]
8155test { try toUnicodeFail("\xf3\xa0\x84\x81\xcd\x9f\xe2\xbe\xb6\xef\xbd\xa1\xe2\x82\x87\xef\xb8\x92\xe1\x84\x82\xe1\x85\xae\xe1\x86\xaa<\xcc\xb8"); } // [V6, V7]
8156test { try toAsciiFail("\xf3\xa0\x84\x81\xcd\x9f\xe2\xbe\xb6\xef\xbd\xa1\xe2\x82\x87\xef\xb8\x92\xe1\x84\x82\xe1\x85\xae\xe1\x86\xaa<\xcc\xb8", false); } // [V6, V7]
8157test { try toAsciiFail("\xf3\xa0\x84\x81\xcd\x9f\xe2\xbe\xb6\xef\xbd\xa1\xe2\x82\x87\xef\xb8\x92\xe1\x84\x82\xe1\x85\xae\xe1\x86\xaa<\xcc\xb8", true); } // [V6, V7]
8158test { try toUnicodeFail("\xf3\xa0\x84\x81\xcd\x9f\xe9\xa3\x9b\xe3\x80\x827\xe3\x80\x82\xeb\x88\x87\xe2\x89\xae"); } // [V6]
8159test { try toAsciiFail("\xf3\xa0\x84\x81\xcd\x9f\xe9\xa3\x9b\xe3\x80\x827\xe3\x80\x82\xeb\x88\x87\xe2\x89\xae", false); } // [V6]
8160test { try toAsciiFail("\xf3\xa0\x84\x81\xcd\x9f\xe9\xa3\x9b\xe3\x80\x827\xe3\x80\x82\xeb\x88\x87\xe2\x89\xae", true); } // [V6]
8161test { try toUnicodeFail("\xf3\xa0\x84\x81\xcd\x9f\xe9\xa3\x9b\xe3\x80\x827\xe3\x80\x82\xe1\x84\x82\xe1\x85\xae\xe1\x86\xaa<\xcc\xb8"); } // [V6]
8162test { try toAsciiFail("\xf3\xa0\x84\x81\xcd\x9f\xe9\xa3\x9b\xe3\x80\x827\xe3\x80\x82\xe1\x84\x82\xe1\x85\xae\xe1\x86\xaa<\xcc\xb8", false); } // [V6]
8163test { try toAsciiFail("\xf3\xa0\x84\x81\xcd\x9f\xe9\xa3\x9b\xe3\x80\x827\xe3\x80\x82\xe1\x84\x82\xe1\x85\xae\xe1\x86\xaa<\xcc\xb8", true); } // [V6]
8164test { try toUnicodeFail("xn--9ua0567e.7.xn--gdh6767c"); } // [V6]
8165test { try toAsciiFail("xn--9ua0567e.7.xn--gdh6767c", false); } // [V6]
8166test { try toAsciiFail("xn--9ua0567e.7.xn--gdh6767c", true); } // [V6]
8167test { try toUnicodeFail("xn--9ua0567e.xn--7-ngou006d1ttc"); } // [V6, V7]
8168test { try toAsciiFail("xn--9ua0567e.xn--7-ngou006d1ttc", false); } // [V6, V7]
8169test { try toAsciiFail("xn--9ua0567e.xn--7-ngou006d1ttc", true); } // [V6, V7]
8170test { try toUnicodeFail("\xe2\x80\x8c\xef\xb8\x89\xf0\x90\xb9\xb4\xe2\x80\x8d\xef\xbc\x8e\xe2\x80\x8c\xe2\xbf\x83"); } // [B1, C1, C2]
8171test { try toAsciiFail("\xe2\x80\x8c\xef\xb8\x89\xf0\x90\xb9\xb4\xe2\x80\x8d\xef\xbc\x8e\xe2\x80\x8c\xe2\xbf\x83", false); } // [B1, C1, C2]
8172test { try toAsciiFail("\xe2\x80\x8c\xef\xb8\x89\xf0\x90\xb9\xb4\xe2\x80\x8d\xef\xbc\x8e\xe2\x80\x8c\xe2\xbf\x83", true); } // [B1]
8173test { try toUnicodeFail("\xe2\x80\x8c\xef\xb8\x89\xf0\x90\xb9\xb4\xe2\x80\x8d.\xe2\x80\x8c\xe9\xb3\xa5"); } // [B1, C1, C2]
8174test { try toAsciiFail("\xe2\x80\x8c\xef\xb8\x89\xf0\x90\xb9\xb4\xe2\x80\x8d.\xe2\x80\x8c\xe9\xb3\xa5", false); } // [B1, C1, C2]
8175test { try toAsciiFail("\xe2\x80\x8c\xef\xb8\x89\xf0\x90\xb9\xb4\xe2\x80\x8d.\xe2\x80\x8c\xe9\xb3\xa5", true); } // [B1]
8176test { try toUnicodeFail("xn--so0d.xn--6x6a"); } // [B1]
8177test { try toAsciiFail("xn--so0d.xn--6x6a", false); } // [B1]
8178test { try toAsciiFail("xn--so0d.xn--6x6a", true); } // [B1]
8179test { try toUnicodeFail("xn--0ugc6024p.xn--0ug1920c"); } // [B1, C1, C2]
8180test { try toAsciiFail("xn--0ugc6024p.xn--0ug1920c", false); } // [B1, C1, C2]
8181test { try toAsciiFail("xn--0ugc6024p.xn--0ug1920c", true); } // [B1, C1, C2]
8182test { try toUnicodeFail("\xf0\x9f\x8d\xae\xef\xbc\x8e\xe2\x80\x8d\xf3\xa0\x97\x92\xf0\x90\xa6\x81\xf0\x9d\xa8\x9d"); } // [B1, C2, V7]
8183test { try toAsciiFail("\xf0\x9f\x8d\xae\xef\xbc\x8e\xe2\x80\x8d\xf3\xa0\x97\x92\xf0\x90\xa6\x81\xf0\x9d\xa8\x9d", false); } // [B1, C2, V7]
8184test { try toAsciiFail("\xf0\x9f\x8d\xae\xef\xbc\x8e\xe2\x80\x8d\xf3\xa0\x97\x92\xf0\x90\xa6\x81\xf0\x9d\xa8\x9d", true); } // [B1, V7]
8185test { try toUnicodeFail("\xf0\x9f\x8d\xae.\xe2\x80\x8d\xf3\xa0\x97\x92\xf0\x90\xa6\x81\xf0\x9d\xa8\x9d"); } // [B1, C2, V7]
8186test { try toAsciiFail("\xf0\x9f\x8d\xae.\xe2\x80\x8d\xf3\xa0\x97\x92\xf0\x90\xa6\x81\xf0\x9d\xa8\x9d", false); } // [B1, C2, V7]
8187test { try toAsciiFail("\xf0\x9f\x8d\xae.\xe2\x80\x8d\xf3\xa0\x97\x92\xf0\x90\xa6\x81\xf0\x9d\xa8\x9d", true); } // [B1, V7]
8188test { try toUnicodeFail("xn--lj8h.xn--ln9ci476aqmr2g"); } // [B1, V7]
8189test { try toAsciiFail("xn--lj8h.xn--ln9ci476aqmr2g", false); } // [B1, V7]
8190test { try toAsciiFail("xn--lj8h.xn--ln9ci476aqmr2g", true); } // [B1, V7]
8191test { try toUnicodeFail("xn--lj8h.xn--1ug6603gr1pfwq37h"); } // [B1, C2, V7]
8192test { try toAsciiFail("xn--lj8h.xn--1ug6603gr1pfwq37h", false); } // [B1, C2, V7]
8193test { try toAsciiFail("xn--lj8h.xn--1ug6603gr1pfwq37h", true); } // [B1, C2, V7]
8194test { try toAsciiPass("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\x93\xe2\x80\x8d", "xn--2ib43l.xn--te6h", true); }
8195test { try toUnicodeFail("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\x93\xe2\x80\x8d"); } // [B3, C2]
8196test { try toAsciiFail("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\x93\xe2\x80\x8d", false); } // [B3, C2]
8197test { try toAsciiPass("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\xb5\xe2\x80\x8d", "xn--2ib43l.xn--te6h", true); }
8198test { try toUnicodeFail("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\xb5\xe2\x80\x8d"); } // [B3, C2]
8199test { try toAsciiFail("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\xb5\xe2\x80\x8d", false); } // [B3, C2]
8200test { try toUnicodePass("xn--2ib43l.xn--te6h", "\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\xb5"); }
8201test { try toAsciiPass("xn--2ib43l.xn--te6h", "xn--2ib43l.xn--te6h", false); }
8202test { try toAsciiPass("xn--2ib43l.xn--te6h", "xn--2ib43l.xn--te6h", true); }
8203test { try toUnicodePass("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\xb5", "\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\xb5"); }
8204test { try toAsciiPass("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\xb5", "xn--2ib43l.xn--te6h", false); }
8205test { try toAsciiPass("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\xb5", "xn--2ib43l.xn--te6h", true); }
8206test { try toUnicodePass("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\x93", "\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\xb5"); }
8207test { try toAsciiPass("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\x93", "xn--2ib43l.xn--te6h", false); }
8208test { try toAsciiPass("\xd9\xbd\xe0\xa5\x83.\xf0\x9e\xa4\x93", "xn--2ib43l.xn--te6h", true); }
8209test { try toUnicodeFail("xn--2ib43l.xn--1ugy711p"); } // [B3, C2]
8210test { try toAsciiFail("xn--2ib43l.xn--1ugy711p", false); } // [B3, C2]
8211test { try toAsciiFail("xn--2ib43l.xn--1ugy711p", true); } // [B3, C2]
8212test { try toUnicodeFail("\xd9\xa4\xe0\xa9\x8d-\xef\xbc\x8e\xf3\xa5\x9c\xbd\xe1\x80\xb9\xf1\xa6\xa6\x90"); } // [B1, V3, V7]
8213test { try toAsciiFail("\xd9\xa4\xe0\xa9\x8d-\xef\xbc\x8e\xf3\xa5\x9c\xbd\xe1\x80\xb9\xf1\xa6\xa6\x90", false); } // [B1, V3, V7]
8214test { try toAsciiFail("\xd9\xa4\xe0\xa9\x8d-\xef\xbc\x8e\xf3\xa5\x9c\xbd\xe1\x80\xb9\xf1\xa6\xa6\x90", true); } // [B1, V3, V7]
8215test { try toUnicodeFail("\xd9\xa4\xe0\xa9\x8d-.\xf3\xa5\x9c\xbd\xe1\x80\xb9\xf1\xa6\xa6\x90"); } // [B1, V3, V7]
8216test { try toAsciiFail("\xd9\xa4\xe0\xa9\x8d-.\xf3\xa5\x9c\xbd\xe1\x80\xb9\xf1\xa6\xa6\x90", false); } // [B1, V3, V7]
8217test { try toAsciiFail("\xd9\xa4\xe0\xa9\x8d-.\xf3\xa5\x9c\xbd\xe1\x80\xb9\xf1\xa6\xa6\x90", true); } // [B1, V3, V7]
8218test { try toUnicodeFail("xn----gqc711a.xn--9jd88234f3qm0b"); } // [B1, V3, V7]
8219test { try toAsciiFail("xn----gqc711a.xn--9jd88234f3qm0b", false); } // [B1, V3, V7]
8220test { try toAsciiFail("xn----gqc711a.xn--9jd88234f3qm0b", true); } // [B1, V3, V7]
8221test { try toUnicodeFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xef\xbd\xa1\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4\xe2\x89\xae"); } // [B1, C1, V6]
8222test { try toAsciiFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xef\xbd\xa1\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4\xe2\x89\xae", false); } // [B1, C1, V6]
8223test { try toAsciiFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xef\xbd\xa1\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4\xe2\x89\xae", true); } // [B1, V6]
8224test { try toUnicodeFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xef\xbd\xa1\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4<\xcc\xb8"); } // [B1, C1, V6]
8225test { try toAsciiFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xef\xbd\xa1\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4<\xcc\xb8", false); } // [B1, C1, V6]
8226test { try toAsciiFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xef\xbd\xa1\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4<\xcc\xb8", true); } // [B1, V6]
8227test { try toUnicodeFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xe3\x80\x82\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4\xe2\x89\xae"); } // [B1, C1, V6]
8228test { try toAsciiFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xe3\x80\x82\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4\xe2\x89\xae", false); } // [B1, C1, V6]
8229test { try toAsciiFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xe3\x80\x82\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4\xe2\x89\xae", true); } // [B1, V6]
8230test { try toUnicodeFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xe3\x80\x82\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4<\xcc\xb8"); } // [B1, C1, V6]
8231test { try toAsciiFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xe3\x80\x82\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4<\xcc\xb8", false); } // [B1, C1, V6]
8232test { try toAsciiFail("4\xe1\x80\xba-\xf0\x90\xb9\xb8\xe3\x80\x82\xea\xa8\xa9\xe2\x80\x8c\xf0\x90\xb9\xb4<\xcc\xb8", true); } // [B1, V6]
8233test { try toUnicodeFail("xn--4--e4j7831r.xn--gdh8754cz40c"); } // [B1, V6]
8234test { try toAsciiFail("xn--4--e4j7831r.xn--gdh8754cz40c", false); } // [B1, V6]
8235test { try toAsciiFail("xn--4--e4j7831r.xn--gdh8754cz40c", true); } // [B1, V6]
8236test { try toUnicodeFail("xn--4--e4j7831r.xn--0ugy6gjy5sl3ud"); } // [B1, C1, V6]
8237test { try toAsciiFail("xn--4--e4j7831r.xn--0ugy6gjy5sl3ud", false); } // [B1, C1, V6]
8238test { try toAsciiFail("xn--4--e4j7831r.xn--0ugy6gjy5sl3ud", true); } // [B1, C1, V6]
8239test { try toUnicodeFail("\xe2\x80\x8c\xe3\x80\x82\xef\xbe\xa0\xe0\xbe\x84\xe0\xbe\x96"); } // [C1, V6]
8240test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xef\xbe\xa0\xe0\xbe\x84\xe0\xbe\x96", false); } // [C1, V6]
8241test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xef\xbe\xa0\xe0\xbe\x84\xe0\xbe\x96", true); } // [V6, A4_2]
8242test { try toUnicodeFail("\xe2\x80\x8c\xe3\x80\x82\xe1\x85\xa0\xe0\xbe\x84\xe0\xbe\x96"); } // [C1, V6]
8243test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xe1\x85\xa0\xe0\xbe\x84\xe0\xbe\x96", false); } // [C1, V6]
8244test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xe1\x85\xa0\xe0\xbe\x84\xe0\xbe\x96", true); } // [V6, A4_2]
8245test { try toUnicodeFail(".xn--3ed0b"); } // [V6, X4_2]
8246test { try toAsciiFail(".xn--3ed0b", false); } // [V6, A4_2]
8247test { try toAsciiFail(".xn--3ed0b", true); } // [V6, A4_2]
8248test { try toUnicodeFail("xn--0ug.xn--3ed0b"); } // [C1, V6]
8249test { try toAsciiFail("xn--0ug.xn--3ed0b", false); } // [C1, V6]
8250test { try toAsciiFail("xn--0ug.xn--3ed0b", true); } // [C1, V6]
8251test { try toUnicodeFail(".xn--3ed0b20h"); } // [V7, X4_2]
8252test { try toAsciiFail(".xn--3ed0b20h", false); } // [V7, A4_2]
8253test { try toAsciiFail(".xn--3ed0b20h", true); } // [V7, A4_2]
8254test { try toUnicodeFail("xn--0ug.xn--3ed0b20h"); } // [C1, V7]
8255test { try toAsciiFail("xn--0ug.xn--3ed0b20h", false); } // [C1, V7]
8256test { try toAsciiFail("xn--0ug.xn--3ed0b20h", true); } // [C1, V7]
8257test { try toUnicodeFail(".xn--3ed0by082k"); } // [V7, X4_2]
8258test { try toAsciiFail(".xn--3ed0by082k", false); } // [V7, A4_2]
8259test { try toAsciiFail(".xn--3ed0by082k", true); } // [V7, A4_2]
8260test { try toUnicodeFail("xn--0ug.xn--3ed0by082k"); } // [C1, V7]
8261test { try toAsciiFail("xn--0ug.xn--3ed0by082k", false); } // [C1, V7]
8262test { try toAsciiFail("xn--0ug.xn--3ed0by082k", true); } // [C1, V7]
8263test { try toUnicodeFail("\xe2\x89\xaf\xf2\x8d\x98\x85\xef\xbc\x8e\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b"); } // [C2, V7]
8264test { try toAsciiFail("\xe2\x89\xaf\xf2\x8d\x98\x85\xef\xbc\x8e\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b", false); } // [C2, V7]
8265test { try toAsciiFail("\xe2\x89\xaf\xf2\x8d\x98\x85\xef\xbc\x8e\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b", true); } // [V7]
8266test { try toUnicodeFail(">\xcc\xb8\xf2\x8d\x98\x85\xef\xbc\x8e\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b"); } // [C2, V7]
8267test { try toAsciiFail(">\xcc\xb8\xf2\x8d\x98\x85\xef\xbc\x8e\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b", false); } // [C2, V7]
8268test { try toAsciiFail(">\xcc\xb8\xf2\x8d\x98\x85\xef\xbc\x8e\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b", true); } // [V7]
8269test { try toUnicodeFail("\xe2\x89\xaf\xf2\x8d\x98\x85.\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b"); } // [C2, V7]
8270test { try toAsciiFail("\xe2\x89\xaf\xf2\x8d\x98\x85.\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b", false); } // [C2, V7]
8271test { try toAsciiFail("\xe2\x89\xaf\xf2\x8d\x98\x85.\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b", true); } // [V7]
8272test { try toUnicodeFail(">\xcc\xb8\xf2\x8d\x98\x85.\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b"); } // [C2, V7]
8273test { try toAsciiFail(">\xcc\xb8\xf2\x8d\x98\x85.\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b", false); } // [C2, V7]
8274test { try toAsciiFail(">\xcc\xb8\xf2\x8d\x98\x85.\xe2\x80\x8d\xf0\x90\x85\xbc\xf2\xb2\x87\x9b", true); } // [V7]
8275test { try toUnicodeFail("xn--hdh84488f.xn--xy7cw2886b"); } // [V7]
8276test { try toAsciiFail("xn--hdh84488f.xn--xy7cw2886b", false); } // [V7]
8277test { try toAsciiFail("xn--hdh84488f.xn--xy7cw2886b", true); } // [V7]
8278test { try toUnicodeFail("xn--hdh84488f.xn--1ug8099fbjp4e"); } // [C2, V7]
8279test { try toAsciiFail("xn--hdh84488f.xn--1ug8099fbjp4e", false); } // [C2, V7]
8280test { try toAsciiFail("xn--hdh84488f.xn--1ug8099fbjp4e", true); } // [C2, V7]
8281test { try toUnicodeFail("\xd9\x81\xc3\x9f\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab"); } // [B1, B2]
8282test { try toAsciiFail("\xd9\x81\xc3\x9f\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab", false); } // [B1, B2]
8283test { try toAsciiFail("\xd9\x81\xc3\x9f\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab", true); } // [B1, B2]
8284test { try toUnicodeFail("\xd9\x81\xc3\x9f\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab"); } // [B1, B2]
8285test { try toAsciiFail("\xd9\x81\xc3\x9f\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab", false); } // [B1, B2]
8286test { try toAsciiFail("\xd9\x81\xc3\x9f\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab", true); } // [B1, B2]
8287test { try toUnicodeFail("\xd9\x81SS\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab"); } // [B1, B2]
8288test { try toAsciiFail("\xd9\x81SS\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab", false); } // [B1, B2]
8289test { try toAsciiFail("\xd9\x81SS\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab", true); } // [B1, B2]
8290test { try toUnicodeFail("\xd9\x81ss\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab"); } // [B1, B2]
8291test { try toAsciiFail("\xd9\x81ss\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab", false); } // [B1, B2]
8292test { try toAsciiFail("\xd9\x81ss\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab", true); } // [B1, B2]
8293test { try toUnicodeFail("xn--ss-jvd2339x.xn--7-mm5i"); } // [B1, B2]
8294test { try toAsciiFail("xn--ss-jvd2339x.xn--7-mm5i", false); } // [B1, B2]
8295test { try toAsciiFail("xn--ss-jvd2339x.xn--7-mm5i", true); } // [B1, B2]
8296test { try toUnicodeFail("xn--zca96ys96y.xn--7-mm5i"); } // [B1, B2]
8297test { try toAsciiFail("xn--zca96ys96y.xn--7-mm5i", false); } // [B1, B2]
8298test { try toAsciiFail("xn--zca96ys96y.xn--7-mm5i", true); } // [B1, B2]
8299test { try toUnicodeFail("\xd9\x81SS\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab"); } // [B1, B2]
8300test { try toAsciiFail("\xd9\x81SS\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab", false); } // [B1, B2]
8301test { try toAsciiFail("\xd9\x81SS\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab", true); } // [B1, B2]
8302test { try toUnicodeFail("\xd9\x81ss\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab"); } // [B1, B2]
8303test { try toAsciiFail("\xd9\x81ss\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab", false); } // [B1, B2]
8304test { try toAsciiFail("\xd9\x81ss\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab", true); } // [B1, B2]
8305test { try toUnicodeFail("\xd9\x81Ss\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab"); } // [B1, B2]
8306test { try toAsciiFail("\xd9\x81Ss\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab", false); } // [B1, B2]
8307test { try toAsciiFail("\xd9\x81Ss\xf0\x90\xb0\xaf\xe3\x80\x827\xf0\x90\xab\xab", true); } // [B1, B2]
8308test { try toUnicodeFail("\xd9\x81Ss\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab"); } // [B1, B2]
8309test { try toAsciiFail("\xd9\x81Ss\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab", false); } // [B1, B2]
8310test { try toAsciiFail("\xd9\x81Ss\xf0\x90\xb0\xaf\xef\xbd\xa1\xf0\x9d\x9f\x95\xf0\x90\xab\xab", true); } // [B1, B2]
8311test { try toUnicodeFail("\xc3\x9f\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2"); } // [B2, B5, B6, V7]
8312test { try toAsciiFail("\xc3\x9f\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2", false); } // [B2, B5, B6, V7]
8313test { try toAsciiFail("\xc3\x9f\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2", true); } // [B2, B5, B6, V7]
8314test { try toUnicodeFail("SS\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2"); } // [B2, B5, B6, V7]
8315test { try toAsciiFail("SS\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2", false); } // [B2, B5, B6, V7]
8316test { try toAsciiFail("SS\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2", true); } // [B2, B5, B6, V7]
8317test { try toUnicodeFail("ss\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2"); } // [B2, B5, B6, V7]
8318test { try toAsciiFail("ss\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2", false); } // [B2, B5, B6, V7]
8319test { try toAsciiFail("ss\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2", true); } // [B2, B5, B6, V7]
8320test { try toUnicodeFail("Ss\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2"); } // [B2, B5, B6, V7]
8321test { try toAsciiFail("Ss\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2", false); } // [B2, B5, B6, V7]
8322test { try toAsciiFail("Ss\xde\xac\xde\xa7\xe0\xa2\xb1\xe3\x80\x82\xf0\x90\xad\x81\xf4\x85\xae\x99\xf0\x90\xb9\xb2", true); } // [B2, B5, B6, V7]
8323test { try toUnicodeFail("xn--ss-9qet02k.xn--e09co8cr9861c"); } // [B2, B5, B6, V7]
8324test { try toAsciiFail("xn--ss-9qet02k.xn--e09co8cr9861c", false); } // [B2, B5, B6, V7]
8325test { try toAsciiFail("xn--ss-9qet02k.xn--e09co8cr9861c", true); } // [B2, B5, B6, V7]
8326test { try toUnicodeFail("xn--zca685aoa95h.xn--e09co8cr9861c"); } // [B2, B5, B6, V7]
8327test { try toAsciiFail("xn--zca685aoa95h.xn--e09co8cr9861c", false); } // [B2, B5, B6, V7]
8328test { try toAsciiFail("xn--zca685aoa95h.xn--e09co8cr9861c", true); } // [B2, B5, B6, V7]
8329test { try toUnicodeFail("-\xef\xbd\xa1\xf3\xa0\x89\x97\xe2\x92\x8c\xf0\x9e\xaf\x9b"); } // [B1, V3, V7]
8330test { try toAsciiFail("-\xef\xbd\xa1\xf3\xa0\x89\x97\xe2\x92\x8c\xf0\x9e\xaf\x9b", false); } // [B1, V3, V7]
8331test { try toAsciiFail("-\xef\xbd\xa1\xf3\xa0\x89\x97\xe2\x92\x8c\xf0\x9e\xaf\x9b", true); } // [B1, V3, V7]
8332test { try toUnicodeFail("-\xe3\x80\x82\xf3\xa0\x89\x975.\xf0\x9e\xaf\x9b"); } // [B1, V3, V7]
8333test { try toAsciiFail("-\xe3\x80\x82\xf3\xa0\x89\x975.\xf0\x9e\xaf\x9b", false); } // [B1, V3, V7]
8334test { try toAsciiFail("-\xe3\x80\x82\xf3\xa0\x89\x975.\xf0\x9e\xaf\x9b", true); } // [B1, V3, V7]
8335test { try toUnicodeFail("-.xn--5-zz21m.xn--6x6h"); } // [B1, V3, V7]
8336test { try toAsciiFail("-.xn--5-zz21m.xn--6x6h", false); } // [B1, V3, V7]
8337test { try toAsciiFail("-.xn--5-zz21m.xn--6x6h", true); } // [B1, V3, V7]
8338test { try toUnicodeFail("-.xn--xsh6367n1bi3e"); } // [B1, V3, V7]
8339test { try toAsciiFail("-.xn--xsh6367n1bi3e", false); } // [B1, V3, V7]
8340test { try toAsciiFail("-.xn--xsh6367n1bi3e", true); } // [B1, V3, V7]
8341test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xcf\x82\xef\xbc\x8e-\xe2\x89\xae\xef\xb2\xab"); } // [B1, V3, V7]
8342test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x82\xef\xbc\x8e-\xe2\x89\xae\xef\xb2\xab", false); } // [B1, V3, V7]
8343test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x82\xef\xbc\x8e-\xe2\x89\xae\xef\xb2\xab", true); } // [B1, V3, V7]
8344test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xcf\x82\xef\xbc\x8e-<\xcc\xb8\xef\xb2\xab"); } // [B1, V3, V7]
8345test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x82\xef\xbc\x8e-<\xcc\xb8\xef\xb2\xab", false); } // [B1, V3, V7]
8346test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x82\xef\xbc\x8e-<\xcc\xb8\xef\xb2\xab", true); } // [B1, V3, V7]
8347test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xcf\x82.-\xe2\x89\xae\xd8\xae\xd8\xac"); } // [B1, V3, V7]
8348test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x82.-\xe2\x89\xae\xd8\xae\xd8\xac", false); } // [B1, V3, V7]
8349test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x82.-\xe2\x89\xae\xd8\xae\xd8\xac", true); } // [B1, V3, V7]
8350test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xcf\x82.-<\xcc\xb8\xd8\xae\xd8\xac"); } // [B1, V3, V7]
8351test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x82.-<\xcc\xb8\xd8\xae\xd8\xac", false); } // [B1, V3, V7]
8352test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x82.-<\xcc\xb8\xd8\xae\xd8\xac", true); } // [B1, V3, V7]
8353test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xce\xa3.-<\xcc\xb8\xd8\xae\xd8\xac"); } // [B1, V3, V7]
8354test { try toAsciiFail("\xf0\xbc\x8e\x8f\xce\xa3.-<\xcc\xb8\xd8\xae\xd8\xac", false); } // [B1, V3, V7]
8355test { try toAsciiFail("\xf0\xbc\x8e\x8f\xce\xa3.-<\xcc\xb8\xd8\xae\xd8\xac", true); } // [B1, V3, V7]
8356test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xce\xa3.-\xe2\x89\xae\xd8\xae\xd8\xac"); } // [B1, V3, V7]
8357test { try toAsciiFail("\xf0\xbc\x8e\x8f\xce\xa3.-\xe2\x89\xae\xd8\xae\xd8\xac", false); } // [B1, V3, V7]
8358test { try toAsciiFail("\xf0\xbc\x8e\x8f\xce\xa3.-\xe2\x89\xae\xd8\xae\xd8\xac", true); } // [B1, V3, V7]
8359test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xcf\x83.-\xe2\x89\xae\xd8\xae\xd8\xac"); } // [B1, V3, V7]
8360test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x83.-\xe2\x89\xae\xd8\xae\xd8\xac", false); } // [B1, V3, V7]
8361test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x83.-\xe2\x89\xae\xd8\xae\xd8\xac", true); } // [B1, V3, V7]
8362test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xcf\x83.-<\xcc\xb8\xd8\xae\xd8\xac"); } // [B1, V3, V7]
8363test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x83.-<\xcc\xb8\xd8\xae\xd8\xac", false); } // [B1, V3, V7]
8364test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x83.-<\xcc\xb8\xd8\xae\xd8\xac", true); } // [B1, V3, V7]
8365test { try toUnicodeFail("xn--4xa92520c.xn----9mcf1400a"); } // [B1, V3, V7]
8366test { try toAsciiFail("xn--4xa92520c.xn----9mcf1400a", false); } // [B1, V3, V7]
8367test { try toAsciiFail("xn--4xa92520c.xn----9mcf1400a", true); } // [B1, V3, V7]
8368test { try toUnicodeFail("xn--3xa13520c.xn----9mcf1400a"); } // [B1, V3, V7]
8369test { try toAsciiFail("xn--3xa13520c.xn----9mcf1400a", false); } // [B1, V3, V7]
8370test { try toAsciiFail("xn--3xa13520c.xn----9mcf1400a", true); } // [B1, V3, V7]
8371test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xce\xa3\xef\xbc\x8e-<\xcc\xb8\xef\xb2\xab"); } // [B1, V3, V7]
8372test { try toAsciiFail("\xf0\xbc\x8e\x8f\xce\xa3\xef\xbc\x8e-<\xcc\xb8\xef\xb2\xab", false); } // [B1, V3, V7]
8373test { try toAsciiFail("\xf0\xbc\x8e\x8f\xce\xa3\xef\xbc\x8e-<\xcc\xb8\xef\xb2\xab", true); } // [B1, V3, V7]
8374test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xce\xa3\xef\xbc\x8e-\xe2\x89\xae\xef\xb2\xab"); } // [B1, V3, V7]
8375test { try toAsciiFail("\xf0\xbc\x8e\x8f\xce\xa3\xef\xbc\x8e-\xe2\x89\xae\xef\xb2\xab", false); } // [B1, V3, V7]
8376test { try toAsciiFail("\xf0\xbc\x8e\x8f\xce\xa3\xef\xbc\x8e-\xe2\x89\xae\xef\xb2\xab", true); } // [B1, V3, V7]
8377test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xcf\x83\xef\xbc\x8e-\xe2\x89\xae\xef\xb2\xab"); } // [B1, V3, V7]
8378test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x83\xef\xbc\x8e-\xe2\x89\xae\xef\xb2\xab", false); } // [B1, V3, V7]
8379test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x83\xef\xbc\x8e-\xe2\x89\xae\xef\xb2\xab", true); } // [B1, V3, V7]
8380test { try toUnicodeFail("\xf0\xbc\x8e\x8f\xcf\x83\xef\xbc\x8e-<\xcc\xb8\xef\xb2\xab"); } // [B1, V3, V7]
8381test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x83\xef\xbc\x8e-<\xcc\xb8\xef\xb2\xab", false); } // [B1, V3, V7]
8382test { try toAsciiFail("\xf0\xbc\x8e\x8f\xcf\x83\xef\xbc\x8e-<\xcc\xb8\xef\xb2\xab", true); } // [B1, V3, V7]
8383test { try toUnicodeFail("\xea\xa1\x97\xe0\xa2\xb8\xdc\x99\xef\xbc\x8e\xf1\x94\xa4\x94\xf3\xa0\x9b\x99\xe0\xb1\x8d\xef\xb0\xbe"); } // [B5, B6, V7]
8384test { try toAsciiFail("\xea\xa1\x97\xe0\xa2\xb8\xdc\x99\xef\xbc\x8e\xf1\x94\xa4\x94\xf3\xa0\x9b\x99\xe0\xb1\x8d\xef\xb0\xbe", false); } // [B5, B6, V7]
8385test { try toAsciiFail("\xea\xa1\x97\xe0\xa2\xb8\xdc\x99\xef\xbc\x8e\xf1\x94\xa4\x94\xf3\xa0\x9b\x99\xe0\xb1\x8d\xef\xb0\xbe", true); } // [B5, B6, V7]
8386test { try toUnicodeFail("\xea\xa1\x97\xe0\xa2\xb8\xdc\x99.\xf1\x94\xa4\x94\xf3\xa0\x9b\x99\xe0\xb1\x8d\xd9\x83\xd9\x8a"); } // [B5, B6, V7]
8387test { try toAsciiFail("\xea\xa1\x97\xe0\xa2\xb8\xdc\x99.\xf1\x94\xa4\x94\xf3\xa0\x9b\x99\xe0\xb1\x8d\xd9\x83\xd9\x8a", false); } // [B5, B6, V7]
8388test { try toAsciiFail("\xea\xa1\x97\xe0\xa2\xb8\xdc\x99.\xf1\x94\xa4\x94\xf3\xa0\x9b\x99\xe0\xb1\x8d\xd9\x83\xd9\x8a", true); } // [B5, B6, V7]
8389test { try toUnicodeFail("xn--jnb34fs003a.xn--fhbo927bk128mpi24d"); } // [B5, B6, V7]
8390test { try toAsciiFail("xn--jnb34fs003a.xn--fhbo927bk128mpi24d", false); } // [B5, B6, V7]
8391test { try toAsciiFail("xn--jnb34fs003a.xn--fhbo927bk128mpi24d", true); } // [B5, B6, V7]
8392test { try toUnicodeFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\x8c\xf0\x90\xab\xad\xe3\x80\x82\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83"); } // [B1]
8393test { try toAsciiFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\x8c\xf0\x90\xab\xad\xe3\x80\x82\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83", false); } // [B1]
8394test { try toAsciiFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\x8c\xf0\x90\xab\xad\xe3\x80\x82\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83", true); } // [B1]
8395test { try toUnicodeFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\xae\xf0\x90\xab\xad\xe3\x80\x82\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83"); } // [B1]
8396test { try toAsciiFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\xae\xf0\x90\xab\xad\xe3\x80\x82\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83", false); } // [B1]
8397test { try toAsciiFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\xae\xf0\x90\xab\xad\xe3\x80\x82\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83", true); } // [B1]
8398test { try toUnicodeFail("xn--dzb5191kezbrw47a.xn--p4e3841jz9tf"); } // [B1]
8399test { try toAsciiFail("xn--dzb5191kezbrw47a.xn--p4e3841jz9tf", false); } // [B1]
8400test { try toAsciiFail("xn--dzb5191kezbrw47a.xn--p4e3841jz9tf", true); } // [B1]
8401test { try toUnicodeFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\xae\xf0\x90\xab\xad.\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83"); } // [B1]
8402test { try toAsciiFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\xae\xf0\x90\xab\xad.\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83", false); } // [B1]
8403test { try toAsciiFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\xae\xf0\x90\xab\xad.\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83", true); } // [B1]
8404test { try toUnicodeFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\x8c\xf0\x90\xab\xad.\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83"); } // [B1]
8405test { try toAsciiFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\x8c\xf0\x90\xab\xad.\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83", false); } // [B1]
8406test { try toAsciiFail("\xf0\x90\xa0\xb0\xe0\xa2\xb7\xf0\x9e\xa4\x8c\xf0\x90\xab\xad.\xf0\x90\x8b\xa6\xe1\x9f\x8d\xf0\x9d\xa9\x83", true); } // [B1]
8407test { try toUnicodeFail("\xe2\x82\x82\xe3\x98\xb7--\xe3\x80\x82\xdb\x93\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf"); } // [B1, C1, V2, V3]
8408test { try toAsciiFail("\xe2\x82\x82\xe3\x98\xb7--\xe3\x80\x82\xdb\x93\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf", false); } // [B1, C1, V2, V3]
8409test { try toAsciiFail("\xe2\x82\x82\xe3\x98\xb7--\xe3\x80\x82\xdb\x93\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf", true); } // [B1, V2, V3]
8410test { try toUnicodeFail("\xe2\x82\x82\xe3\x98\xb7--\xe3\x80\x82\xdb\x92\xd9\x94\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf"); } // [B1, C1, V2, V3]
8411test { try toAsciiFail("\xe2\x82\x82\xe3\x98\xb7--\xe3\x80\x82\xdb\x92\xd9\x94\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf", false); } // [B1, C1, V2, V3]
8412test { try toAsciiFail("\xe2\x82\x82\xe3\x98\xb7--\xe3\x80\x82\xdb\x92\xd9\x94\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf", true); } // [B1, V2, V3]
8413test { try toUnicodeFail("2\xe3\x98\xb7--\xe3\x80\x82\xdb\x93\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf"); } // [B1, C1, V2, V3]
8414test { try toAsciiFail("2\xe3\x98\xb7--\xe3\x80\x82\xdb\x93\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf", false); } // [B1, C1, V2, V3]
8415test { try toAsciiFail("2\xe3\x98\xb7--\xe3\x80\x82\xdb\x93\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf", true); } // [B1, V2, V3]
8416test { try toUnicodeFail("2\xe3\x98\xb7--\xe3\x80\x82\xdb\x92\xd9\x94\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf"); } // [B1, C1, V2, V3]
8417test { try toAsciiFail("2\xe3\x98\xb7--\xe3\x80\x82\xdb\x92\xd9\x94\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf", false); } // [B1, C1, V2, V3]
8418test { try toAsciiFail("2\xe3\x98\xb7--\xe3\x80\x82\xdb\x92\xd9\x94\xe2\x80\x8c\xf0\x90\xab\x86\xf0\x91\x96\xbf", true); } // [B1, V2, V3]
8419test { try toUnicodeFail("xn--2---u58b.xn--jlb8024k14g"); } // [B1, V2, V3]
8420test { try toAsciiFail("xn--2---u58b.xn--jlb8024k14g", false); } // [B1, V2, V3]
8421test { try toAsciiFail("xn--2---u58b.xn--jlb8024k14g", true); } // [B1, V2, V3]
8422test { try toUnicodeFail("xn--2---u58b.xn--jlb820ku99nbgj"); } // [B1, C1, V2, V3]
8423test { try toAsciiFail("xn--2---u58b.xn--jlb820ku99nbgj", false); } // [B1, C1, V2, V3]
8424test { try toAsciiFail("xn--2---u58b.xn--jlb820ku99nbgj", true); } // [B1, C1, V2, V3]
8425test { try toUnicodeFail("-\xf0\x98\x8a\xbb\xef\xbc\x8e\xe1\xa1\xae\xd8\xad-"); } // [B1, B5, B6, V3]
8426test { try toAsciiFail("-\xf0\x98\x8a\xbb\xef\xbc\x8e\xe1\xa1\xae\xd8\xad-", false); } // [B1, B5, B6, V3]
8427test { try toAsciiFail("-\xf0\x98\x8a\xbb\xef\xbc\x8e\xe1\xa1\xae\xd8\xad-", true); } // [B1, B5, B6, V3]
8428test { try toUnicodeFail("-\xf0\x98\x8a\xbb.\xe1\xa1\xae\xd8\xad-"); } // [B1, B5, B6, V3]
8429test { try toAsciiFail("-\xf0\x98\x8a\xbb.\xe1\xa1\xae\xd8\xad-", false); } // [B1, B5, B6, V3]
8430test { try toAsciiFail("-\xf0\x98\x8a\xbb.\xe1\xa1\xae\xd8\xad-", true); } // [B1, B5, B6, V3]
8431test { try toUnicodeFail("xn----bp5n.xn----bnc231l"); } // [B1, B5, B6, V3]
8432test { try toAsciiFail("xn----bp5n.xn----bnc231l", false); } // [B1, B5, B6, V3]
8433test { try toAsciiFail("xn----bp5n.xn----bnc231l", true); } // [B1, B5, B6, V3]
8434test { try toUnicodeFail("\xe2\x80\x8c-\xc3\x9f\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf"); } // [B1, B5, B6, C1]
8435test { try toAsciiFail("\xe2\x80\x8c-\xc3\x9f\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", false); } // [B1, B5, B6, C1]
8436test { try toAsciiFail("\xe2\x80\x8c-\xc3\x9f\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", true); } // [B1, B5, B6, V3]
8437test { try toUnicodeFail("\xe2\x80\x8c-\xc3\x9f\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf"); } // [B1, B5, B6, C1]
8438test { try toAsciiFail("\xe2\x80\x8c-\xc3\x9f\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", false); } // [B1, B5, B6, C1]
8439test { try toAsciiFail("\xe2\x80\x8c-\xc3\x9f\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", true); } // [B1, B5, B6, V3]
8440test { try toUnicodeFail("\xe2\x80\x8c-SS\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf"); } // [B1, B5, B6, C1]
8441test { try toAsciiFail("\xe2\x80\x8c-SS\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", false); } // [B1, B5, B6, C1]
8442test { try toAsciiFail("\xe2\x80\x8c-SS\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", true); } // [B1, B5, B6, V3]
8443test { try toUnicodeFail("\xe2\x80\x8c-ss\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf"); } // [B1, B5, B6, C1]
8444test { try toAsciiFail("\xe2\x80\x8c-ss\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", false); } // [B1, B5, B6, C1]
8445test { try toAsciiFail("\xe2\x80\x8c-ss\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", true); } // [B1, B5, B6, V3]
8446test { try toUnicodeFail("\xe2\x80\x8c-Ss\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf"); } // [B1, B5, B6, C1]
8447test { try toAsciiFail("\xe2\x80\x8c-Ss\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", false); } // [B1, B5, B6, C1]
8448test { try toAsciiFail("\xe2\x80\x8c-Ss\xe3\x80\x82\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", true); } // [B1, B5, B6, V3]
8449test { try toUnicodeFail("-ss.xn--bhb925glx3p"); } // [B1, B5, B6, V3]
8450test { try toAsciiFail("-ss.xn--bhb925glx3p", false); } // [B1, B5, B6, V3]
8451test { try toAsciiFail("-ss.xn--bhb925glx3p", true); } // [B1, B5, B6, V3]
8452test { try toUnicodeFail("xn---ss-8m0a.xn--bhb925glx3p"); } // [B1, B5, B6, C1]
8453test { try toAsciiFail("xn---ss-8m0a.xn--bhb925glx3p", false); } // [B1, B5, B6, C1]
8454test { try toAsciiFail("xn---ss-8m0a.xn--bhb925glx3p", true); } // [B1, B5, B6, C1]
8455test { try toUnicodeFail("xn----qfa550v.xn--bhb925glx3p"); } // [B1, B5, B6, C1]
8456test { try toAsciiFail("xn----qfa550v.xn--bhb925glx3p", false); } // [B1, B5, B6, C1]
8457test { try toAsciiFail("xn----qfa550v.xn--bhb925glx3p", true); } // [B1, B5, B6, C1]
8458test { try toUnicodeFail("\xe2\x80\x8c-SS\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf"); } // [B1, B5, B6, C1]
8459test { try toAsciiFail("\xe2\x80\x8c-SS\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", false); } // [B1, B5, B6, C1]
8460test { try toAsciiFail("\xe2\x80\x8c-SS\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", true); } // [B1, B5, B6, V3]
8461test { try toUnicodeFail("\xe2\x80\x8c-ss\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf"); } // [B1, B5, B6, C1]
8462test { try toAsciiFail("\xe2\x80\x8c-ss\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", false); } // [B1, B5, B6, C1]
8463test { try toAsciiFail("\xe2\x80\x8c-ss\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", true); } // [B1, B5, B6, V3]
8464test { try toUnicodeFail("\xe2\x80\x8c-Ss\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf"); } // [B1, B5, B6, C1]
8465test { try toAsciiFail("\xe2\x80\x8c-Ss\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", false); } // [B1, B5, B6, C1]
8466test { try toAsciiFail("\xe2\x80\x8c-Ss\xef\xbd\xa1\xe1\xa2\xa3\xf0\x90\xb9\xad\xd8\xbf", true); } // [B1, B5, B6, V3]
8467test { try toUnicodePass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xeb\x88\xb5", "\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5"); }
8468test { try toAsciiPass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xeb\x88\xb5", "xn--s5a04sn4u297k.xn--2e1b", false); }
8469test { try toAsciiPass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xeb\x88\xb5", "xn--s5a04sn4u297k.xn--2e1b", true); }
8470test { try toUnicodePass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5"); }
8471test { try toAsciiPass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "xn--s5a04sn4u297k.xn--2e1b", false); }
8472test { try toAsciiPass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "xn--s5a04sn4u297k.xn--2e1b", true); }
8473test { try toUnicodePass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5", "\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5"); }
8474test { try toAsciiPass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5", "xn--s5a04sn4u297k.xn--2e1b", false); }
8475test { try toAsciiPass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5", "xn--s5a04sn4u297k.xn--2e1b", true); }
8476test { try toUnicodePass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6.\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5"); }
8477test { try toAsciiPass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6.\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "xn--s5a04sn4u297k.xn--2e1b", false); }
8478test { try toAsciiPass("\xea\xa7\x90\xd3\x80\xe1\xae\xaa\xe0\xa3\xb6.\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "xn--s5a04sn4u297k.xn--2e1b", true); }
8479test { try toUnicodePass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5"); }
8480test { try toAsciiPass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "xn--s5a04sn4u297k.xn--2e1b", false); }
8481test { try toAsciiPass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "xn--s5a04sn4u297k.xn--2e1b", true); }
8482test { try toUnicodePass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5", "\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5"); }
8483test { try toAsciiPass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5", "xn--s5a04sn4u297k.xn--2e1b", false); }
8484test { try toAsciiPass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5", "xn--s5a04sn4u297k.xn--2e1b", true); }
8485test { try toUnicodePass("xn--s5a04sn4u297k.xn--2e1b", "\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5"); }
8486test { try toAsciiPass("xn--s5a04sn4u297k.xn--2e1b", "xn--s5a04sn4u297k.xn--2e1b", false); }
8487test { try toAsciiPass("xn--s5a04sn4u297k.xn--2e1b", "xn--s5a04sn4u297k.xn--2e1b", true); }
8488test { try toUnicodePass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5"); }
8489test { try toAsciiPass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "xn--s5a04sn4u297k.xn--2e1b", false); }
8490test { try toAsciiPass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xe1\x84\x82\xe1\x85\xaf\xe1\x86\xbc", "xn--s5a04sn4u297k.xn--2e1b", true); }
8491test { try toUnicodePass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xeb\x88\xb5", "\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6.\xeb\x88\xb5"); }
8492test { try toAsciiPass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xeb\x88\xb5", "xn--s5a04sn4u297k.xn--2e1b", false); }
8493test { try toAsciiPass("\xea\xa7\x90\xd3\x8f\xe1\xae\xaa\xe0\xa3\xb6\xef\xbc\x8e\xeb\x88\xb5", "xn--s5a04sn4u297k.xn--2e1b", true); }
8494test { try toUnicodeFail("xn--d5a07sn4u297k.xn--2e1b"); } // [V7]
8495test { try toAsciiFail("xn--d5a07sn4u297k.xn--2e1b", false); } // [V7]
8496test { try toAsciiFail("xn--d5a07sn4u297k.xn--2e1b", true); } // [V7]
8497test { try toUnicodeFail("\xea\xa3\xaa\xef\xbd\xa1\xf0\x96\x84\xbf\xf0\x91\x86\xbe\xf3\xa0\x87\x97"); } // [V6, V7]
8498test { try toAsciiFail("\xea\xa3\xaa\xef\xbd\xa1\xf0\x96\x84\xbf\xf0\x91\x86\xbe\xf3\xa0\x87\x97", false); } // [V6, V7]
8499test { try toAsciiFail("\xea\xa3\xaa\xef\xbd\xa1\xf0\x96\x84\xbf\xf0\x91\x86\xbe\xf3\xa0\x87\x97", true); } // [V6, V7]
8500test { try toUnicodeFail("\xea\xa3\xaa\xe3\x80\x82\xf0\x96\x84\xbf\xf0\x91\x86\xbe\xf3\xa0\x87\x97"); } // [V6, V7]
8501test { try toAsciiFail("\xea\xa3\xaa\xe3\x80\x82\xf0\x96\x84\xbf\xf0\x91\x86\xbe\xf3\xa0\x87\x97", false); } // [V6, V7]
8502test { try toAsciiFail("\xea\xa3\xaa\xe3\x80\x82\xf0\x96\x84\xbf\xf0\x91\x86\xbe\xf3\xa0\x87\x97", true); } // [V6, V7]
8503test { try toUnicodeFail("xn--3g9a.xn--ud1dz07k"); } // [V6, V7]
8504test { try toAsciiFail("xn--3g9a.xn--ud1dz07k", false); } // [V6, V7]
8505test { try toAsciiFail("xn--3g9a.xn--ud1dz07k", true); } // [V6, V7]
8506test { try toUnicodeFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf\xe2\x89\xaf\xe2\xbe\x87"); } // [V7]
8507test { try toAsciiFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf\xe2\x89\xaf\xe2\xbe\x87", false); } // [V7]
8508test { try toAsciiFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf\xe2\x89\xaf\xe2\xbe\x87", true); } // [V7]
8509test { try toUnicodeFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf>\xcc\xb8\xe2\xbe\x87"); } // [V7]
8510test { try toAsciiFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf>\xcc\xb8\xe2\xbe\x87", false); } // [V7]
8511test { try toAsciiFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf>\xcc\xb8\xe2\xbe\x87", true); } // [V7]
8512test { try toUnicodeFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf\xe2\x89\xaf\xe8\x88\x9b"); } // [V7]
8513test { try toAsciiFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf\xe2\x89\xaf\xe8\x88\x9b", false); } // [V7]
8514test { try toAsciiFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf\xe2\x89\xaf\xe8\x88\x9b", true); } // [V7]
8515test { try toUnicodeFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf>\xcc\xb8\xe8\x88\x9b"); } // [V7]
8516test { try toAsciiFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf>\xcc\xb8\xe8\x88\x9b", false); } // [V7]
8517test { try toAsciiFail("\xf3\x87\x93\x93\xf0\x91\x9a\xb3\xe3\x80\x82\xf1\x90\xb7\xbf>\xcc\xb8\xe8\x88\x9b", true); } // [V7]
8518test { try toUnicodeFail("xn--3e2d79770c.xn--hdh0088abyy1c"); } // [V7]
8519test { try toAsciiFail("xn--3e2d79770c.xn--hdh0088abyy1c", false); } // [V7]
8520test { try toAsciiFail("xn--3e2d79770c.xn--hdh0088abyy1c", true); } // [V7]
8521test { try toUnicodeFail("\xf0\x90\xab\x87\xd9\xa1\xe2\x80\x8c\xef\xbc\x8e\xe2\x80\x8d\xe2\x80\x8c"); } // [B1, B3, C1, C2]
8522test { try toAsciiFail("\xf0\x90\xab\x87\xd9\xa1\xe2\x80\x8c\xef\xbc\x8e\xe2\x80\x8d\xe2\x80\x8c", false); } // [B1, B3, C1, C2]
8523test { try toAsciiFail("\xf0\x90\xab\x87\xd9\xa1\xe2\x80\x8c\xef\xbc\x8e\xe2\x80\x8d\xe2\x80\x8c", true); } // [A4_2]
8524test { try toUnicodeFail("\xf0\x90\xab\x87\xd9\xa1\xe2\x80\x8c.\xe2\x80\x8d\xe2\x80\x8c"); } // [B1, B3, C1, C2]
8525test { try toAsciiFail("\xf0\x90\xab\x87\xd9\xa1\xe2\x80\x8c.\xe2\x80\x8d\xe2\x80\x8c", false); } // [B1, B3, C1, C2]
8526test { try toAsciiFail("\xf0\x90\xab\x87\xd9\xa1\xe2\x80\x8c.\xe2\x80\x8d\xe2\x80\x8c", true); } // [A4_2]
8527test { try toUnicodePass("xn--9hb7344k.", "\xf0\x90\xab\x87\xd9\xa1."); }
8528test { try toAsciiFail("xn--9hb7344k.", false); } // [A4_2]
8529test { try toAsciiFail("xn--9hb7344k.", true); } // [A4_2]
8530test { try toUnicodePass("\xf0\x90\xab\x87\xd9\xa1.", "\xf0\x90\xab\x87\xd9\xa1."); }
8531test { try toAsciiFail("\xf0\x90\xab\x87\xd9\xa1.", false); } // [A4_2]
8532test { try toAsciiFail("\xf0\x90\xab\x87\xd9\xa1.", true); } // [A4_2]
8533test { try toUnicodeFail("xn--9hb652kv99n.xn--0ugb"); } // [B1, B3, C1, C2]
8534test { try toAsciiFail("xn--9hb652kv99n.xn--0ugb", false); } // [B1, B3, C1, C2]
8535test { try toAsciiFail("xn--9hb652kv99n.xn--0ugb", true); } // [B1, B3, C1, C2]
8536test { try toUnicodeFail("\xf1\xa1\x85\x88\xe7\xa0\xaa\xe2\x89\xaf\xe1\xa2\x91\xef\xbd\xa1\xe2\x89\xaf\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c"); } // [C1, V7]
8537test { try toAsciiFail("\xf1\xa1\x85\x88\xe7\xa0\xaa\xe2\x89\xaf\xe1\xa2\x91\xef\xbd\xa1\xe2\x89\xaf\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c", false); } // [C1, V7]
8538test { try toAsciiFail("\xf1\xa1\x85\x88\xe7\xa0\xaa\xe2\x89\xaf\xe1\xa2\x91\xef\xbd\xa1\xe2\x89\xaf\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c", true); } // [V7]
8539test { try toUnicodeFail("\xf1\xa1\x85\x88\xe7\xa0\xaa>\xcc\xb8\xe1\xa2\x91\xef\xbd\xa1>\xcc\xb8\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c"); } // [C1, V7]
8540test { try toAsciiFail("\xf1\xa1\x85\x88\xe7\xa0\xaa>\xcc\xb8\xe1\xa2\x91\xef\xbd\xa1>\xcc\xb8\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c", false); } // [C1, V7]
8541test { try toAsciiFail("\xf1\xa1\x85\x88\xe7\xa0\xaa>\xcc\xb8\xe1\xa2\x91\xef\xbd\xa1>\xcc\xb8\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c", true); } // [V7]
8542test { try toUnicodeFail("\xf1\xa1\x85\x88\xe7\xa0\xaa\xe2\x89\xaf\xe1\xa2\x91\xe3\x80\x82\xe2\x89\xaf\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c"); } // [C1, V7]
8543test { try toAsciiFail("\xf1\xa1\x85\x88\xe7\xa0\xaa\xe2\x89\xaf\xe1\xa2\x91\xe3\x80\x82\xe2\x89\xaf\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c", false); } // [C1, V7]
8544test { try toAsciiFail("\xf1\xa1\x85\x88\xe7\xa0\xaa\xe2\x89\xaf\xe1\xa2\x91\xe3\x80\x82\xe2\x89\xaf\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c", true); } // [V7]
8545test { try toUnicodeFail("\xf1\xa1\x85\x88\xe7\xa0\xaa>\xcc\xb8\xe1\xa2\x91\xe3\x80\x82>\xcc\xb8\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c"); } // [C1, V7]
8546test { try toAsciiFail("\xf1\xa1\x85\x88\xe7\xa0\xaa>\xcc\xb8\xe1\xa2\x91\xe3\x80\x82>\xcc\xb8\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c", false); } // [C1, V7]
8547test { try toAsciiFail("\xf1\xa1\x85\x88\xe7\xa0\xaa>\xcc\xb8\xe1\xa2\x91\xe3\x80\x82>\xcc\xb8\xf0\x9d\xa9\x9a\xf2\x93\xb4\x94\xe2\x80\x8c", true); } // [V7]
8548test { try toUnicodeFail("xn--bbf561cf95e57y3e.xn--hdh0834o7mj6b"); } // [V7]
8549test { try toAsciiFail("xn--bbf561cf95e57y3e.xn--hdh0834o7mj6b", false); } // [V7]
8550test { try toAsciiFail("xn--bbf561cf95e57y3e.xn--hdh0834o7mj6b", true); } // [V7]
8551test { try toUnicodeFail("xn--bbf561cf95e57y3e.xn--0ugz6gc910ejro8c"); } // [C1, V7]
8552test { try toAsciiFail("xn--bbf561cf95e57y3e.xn--0ugz6gc910ejro8c", false); } // [C1, V7]
8553test { try toAsciiFail("xn--bbf561cf95e57y3e.xn--0ugz6gc910ejro8c", true); } // [C1, V7]
8554test { try toUnicodeFail("\xe1\x83\x85.\xf0\x91\x84\xb3\xe3\x8a\xb8"); } // [V6]
8555test { try toAsciiFail("\xe1\x83\x85.\xf0\x91\x84\xb3\xe3\x8a\xb8", false); } // [V6]
8556test { try toAsciiFail("\xe1\x83\x85.\xf0\x91\x84\xb3\xe3\x8a\xb8", true); } // [V6]
8557test { try toUnicodeFail("\xe1\x83\x85.\xf0\x91\x84\xb343"); } // [V6]
8558test { try toAsciiFail("\xe1\x83\x85.\xf0\x91\x84\xb343", false); } // [V6]
8559test { try toAsciiFail("\xe1\x83\x85.\xf0\x91\x84\xb343", true); } // [V6]
8560test { try toUnicodeFail("\xe2\xb4\xa5.\xf0\x91\x84\xb343"); } // [V6]
8561test { try toAsciiFail("\xe2\xb4\xa5.\xf0\x91\x84\xb343", false); } // [V6]
8562test { try toAsciiFail("\xe2\xb4\xa5.\xf0\x91\x84\xb343", true); } // [V6]
8563test { try toUnicodeFail("xn--tlj.xn--43-274o"); } // [V6]
8564test { try toAsciiFail("xn--tlj.xn--43-274o", false); } // [V6]
8565test { try toAsciiFail("xn--tlj.xn--43-274o", true); } // [V6]
8566test { try toUnicodeFail("\xe2\xb4\xa5.\xf0\x91\x84\xb3\xe3\x8a\xb8"); } // [V6]
8567test { try toAsciiFail("\xe2\xb4\xa5.\xf0\x91\x84\xb3\xe3\x8a\xb8", false); } // [V6]
8568test { try toAsciiFail("\xe2\xb4\xa5.\xf0\x91\x84\xb3\xe3\x8a\xb8", true); } // [V6]
8569test { try toUnicodeFail("xn--9nd.xn--43-274o"); } // [V6, V7]
8570test { try toAsciiFail("xn--9nd.xn--43-274o", false); } // [V6, V7]
8571test { try toAsciiFail("xn--9nd.xn--43-274o", true); } // [V6, V7]
8572test { try toUnicodeFail("\xf0\x9d\x9f\x8e\xd9\xa3\xe3\x80\x82\xe1\x82\xb2\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0"); } // [B1, B5, B6]
8573test { try toAsciiFail("\xf0\x9d\x9f\x8e\xd9\xa3\xe3\x80\x82\xe1\x82\xb2\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0", false); } // [B1, B5, B6]
8574test { try toAsciiFail("\xf0\x9d\x9f\x8e\xd9\xa3\xe3\x80\x82\xe1\x82\xb2\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0", true); } // [B1, B5, B6]
8575test { try toUnicodeFail("0\xd9\xa3\xe3\x80\x82\xe1\x82\xb2\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0"); } // [B1, B5, B6]
8576test { try toAsciiFail("0\xd9\xa3\xe3\x80\x82\xe1\x82\xb2\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0", false); } // [B1, B5, B6]
8577test { try toAsciiFail("0\xd9\xa3\xe3\x80\x82\xe1\x82\xb2\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0", true); } // [B1, B5, B6]
8578test { try toUnicodeFail("0\xd9\xa3\xe3\x80\x82\xe2\xb4\x92\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0"); } // [B1, B5, B6]
8579test { try toAsciiFail("0\xd9\xa3\xe3\x80\x82\xe2\xb4\x92\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0", false); } // [B1, B5, B6]
8580test { try toAsciiFail("0\xd9\xa3\xe3\x80\x82\xe2\xb4\x92\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0", true); } // [B1, B5, B6]
8581test { try toUnicodeFail("xn--0-fqc.xn--10b369eivp359r"); } // [B1, B5, B6]
8582test { try toAsciiFail("xn--0-fqc.xn--10b369eivp359r", false); } // [B1, B5, B6]
8583test { try toAsciiFail("xn--0-fqc.xn--10b369eivp359r", true); } // [B1, B5, B6]
8584test { try toUnicodeFail("\xf0\x9d\x9f\x8e\xd9\xa3\xe3\x80\x82\xe2\xb4\x92\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0"); } // [B1, B5, B6]
8585test { try toAsciiFail("\xf0\x9d\x9f\x8e\xd9\xa3\xe3\x80\x82\xe2\xb4\x92\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0", false); } // [B1, B5, B6]
8586test { try toAsciiFail("\xf0\x9d\x9f\x8e\xd9\xa3\xe3\x80\x82\xe2\xb4\x92\xe1\xa1\x87\xe0\xa3\xb2\xf0\x90\xb9\xa0", true); } // [B1, B5, B6]
8587test { try toUnicodeFail("xn--0-fqc.xn--10b180bnwgfy0z"); } // [B1, B5, B6, V7]
8588test { try toAsciiFail("xn--0-fqc.xn--10b180bnwgfy0z", false); } // [B1, B5, B6, V7]
8589test { try toAsciiFail("xn--0-fqc.xn--10b180bnwgfy0z", true); } // [B1, B5, B6, V7]
8590test { try toUnicodeFail("\xf1\x97\xaa\xa8\xf3\xa0\x84\x89\xef\xbe\xa0\xe0\xbe\xb7.\xf1\xb8\x9e\xb0\xea\xa5\x93"); } // [V7]
8591test { try toAsciiFail("\xf1\x97\xaa\xa8\xf3\xa0\x84\x89\xef\xbe\xa0\xe0\xbe\xb7.\xf1\xb8\x9e\xb0\xea\xa5\x93", false); } // [V7]
8592test { try toAsciiFail("\xf1\x97\xaa\xa8\xf3\xa0\x84\x89\xef\xbe\xa0\xe0\xbe\xb7.\xf1\xb8\x9e\xb0\xea\xa5\x93", true); } // [V7]
8593test { try toUnicodeFail("\xf1\x97\xaa\xa8\xf3\xa0\x84\x89\xe1\x85\xa0\xe0\xbe\xb7.\xf1\xb8\x9e\xb0\xea\xa5\x93"); } // [V7]
8594test { try toAsciiFail("\xf1\x97\xaa\xa8\xf3\xa0\x84\x89\xe1\x85\xa0\xe0\xbe\xb7.\xf1\xb8\x9e\xb0\xea\xa5\x93", false); } // [V7]
8595test { try toAsciiFail("\xf1\x97\xaa\xa8\xf3\xa0\x84\x89\xe1\x85\xa0\xe0\xbe\xb7.\xf1\xb8\x9e\xb0\xea\xa5\x93", true); } // [V7]
8596test { try toUnicodeFail("xn--kgd72212e.xn--3j9au7544a"); } // [V7]
8597test { try toAsciiFail("xn--kgd72212e.xn--3j9au7544a", false); } // [V7]
8598test { try toAsciiFail("xn--kgd72212e.xn--3j9au7544a", true); } // [V7]
8599test { try toUnicodeFail("xn--kgd36f9z57y.xn--3j9au7544a"); } // [V7]
8600test { try toAsciiFail("xn--kgd36f9z57y.xn--3j9au7544a", false); } // [V7]
8601test { try toAsciiFail("xn--kgd36f9z57y.xn--3j9au7544a", true); } // [V7]
8602test { try toUnicodeFail("xn--kgd7493jee34a.xn--3j9au7544a"); } // [V7]
8603test { try toAsciiFail("xn--kgd7493jee34a.xn--3j9au7544a", false); } // [V7]
8604test { try toAsciiFail("xn--kgd7493jee34a.xn--3j9au7544a", true); } // [V7]
8605test { try toUnicodeFail("\xd8\x98.\xdb\xb3\xe2\x80\x8c\xea\xa5\x93"); } // [C1, V6]
8606test { try toAsciiFail("\xd8\x98.\xdb\xb3\xe2\x80\x8c\xea\xa5\x93", false); } // [C1, V6]
8607test { try toAsciiFail("\xd8\x98.\xdb\xb3\xe2\x80\x8c\xea\xa5\x93", true); } // [V6]
8608test { try toUnicodeFail("xn--6fb.xn--gmb0524f"); } // [V6]
8609test { try toAsciiFail("xn--6fb.xn--gmb0524f", false); } // [V6]
8610test { try toAsciiFail("xn--6fb.xn--gmb0524f", true); } // [V6]
8611test { try toUnicodeFail("xn--6fb.xn--gmb469jjf1h"); } // [C1, V6]
8612test { try toAsciiFail("xn--6fb.xn--gmb469jjf1h", false); } // [C1, V6]
8613test { try toAsciiFail("xn--6fb.xn--gmb469jjf1h", true); } // [C1, V6]
8614test { try toUnicodeFail("\xe1\xa1\x8c\xef\xbc\x8e\xef\xb8\x92\xe1\xa2\x91"); } // [V7]
8615test { try toAsciiFail("\xe1\xa1\x8c\xef\xbc\x8e\xef\xb8\x92\xe1\xa2\x91", false); } // [V7]
8616test { try toAsciiFail("\xe1\xa1\x8c\xef\xbc\x8e\xef\xb8\x92\xe1\xa2\x91", true); } // [V7]
8617test { try toAsciiFail("\xe1\xa1\x8c.\xe3\x80\x82\xe1\xa2\x91", false); } // [A4_2]
8618test { try toAsciiFail("\xe1\xa1\x8c.\xe3\x80\x82\xe1\xa2\x91", true); } // [A4_2]
8619test { try toAsciiFail("xn--c8e..xn--bbf", false); } // [A4_2]
8620test { try toAsciiFail("xn--c8e..xn--bbf", true); } // [A4_2]
8621test { try toUnicodeFail("xn--c8e.xn--bbf9168i"); } // [V7]
8622test { try toAsciiFail("xn--c8e.xn--bbf9168i", false); } // [V7]
8623test { try toAsciiFail("xn--c8e.xn--bbf9168i", true); } // [V7]
8624test { try toUnicodeFail("\xf0\x91\x8b\xaa\xe1\x81\xb3\xef\xbd\xa1\xf0\x9e\xbd\xa7"); } // [B1, V6, V7]
8625test { try toAsciiFail("\xf0\x91\x8b\xaa\xe1\x81\xb3\xef\xbd\xa1\xf0\x9e\xbd\xa7", false); } // [B1, V6, V7]
8626test { try toAsciiFail("\xf0\x91\x8b\xaa\xe1\x81\xb3\xef\xbd\xa1\xf0\x9e\xbd\xa7", true); } // [B1, V6, V7]
8627test { try toUnicodeFail("\xf0\x91\x8b\xaa\xe1\x81\xb3\xe3\x80\x82\xf0\x9e\xbd\xa7"); } // [B1, V6, V7]
8628test { try toAsciiFail("\xf0\x91\x8b\xaa\xe1\x81\xb3\xe3\x80\x82\xf0\x9e\xbd\xa7", false); } // [B1, V6, V7]
8629test { try toAsciiFail("\xf0\x91\x8b\xaa\xe1\x81\xb3\xe3\x80\x82\xf0\x9e\xbd\xa7", true); } // [B1, V6, V7]
8630test { try toUnicodeFail("xn--xld7443k.xn--4o7h"); } // [B1, V6, V7]
8631test { try toAsciiFail("xn--xld7443k.xn--4o7h", false); } // [B1, V6, V7]
8632test { try toAsciiFail("xn--xld7443k.xn--4o7h", true); } // [B1, V6, V7]
8633test { try toUnicodeFail("\xf0\x9e\xb7\x8f\xe3\x80\x82\xe1\xa0\xa2\xf2\x93\x98\x86"); } // [V7]
8634test { try toAsciiFail("\xf0\x9e\xb7\x8f\xe3\x80\x82\xe1\xa0\xa2\xf2\x93\x98\x86", false); } // [V7]
8635test { try toAsciiFail("\xf0\x9e\xb7\x8f\xe3\x80\x82\xe1\xa0\xa2\xf2\x93\x98\x86", true); } // [V7]
8636test { try toUnicodeFail("xn--hd7h.xn--46e66060j"); } // [V7]
8637test { try toAsciiFail("xn--hd7h.xn--46e66060j", false); } // [V7]
8638test { try toAsciiFail("xn--hd7h.xn--46e66060j", true); } // [V7]
8639test { try toUnicodeFail("\xf0\x91\x84\xb3\xe3\xb4\xbc\xef\xbc\x8e\xe2\x80\x8c\xf0\x90\xb9\xa1\xe2\x83\xab\xf1\xab\xba\xa6"); } // [B1, C1, V6, V7]
8640test { try toAsciiFail("\xf0\x91\x84\xb3\xe3\xb4\xbc\xef\xbc\x8e\xe2\x80\x8c\xf0\x90\xb9\xa1\xe2\x83\xab\xf1\xab\xba\xa6", false); } // [B1, C1, V6, V7]
8641test { try toAsciiFail("\xf0\x91\x84\xb3\xe3\xb4\xbc\xef\xbc\x8e\xe2\x80\x8c\xf0\x90\xb9\xa1\xe2\x83\xab\xf1\xab\xba\xa6", true); } // [B1, V6, V7]
8642test { try toUnicodeFail("\xf0\x91\x84\xb3\xe3\xb4\xbc.\xe2\x80\x8c\xf0\x90\xb9\xa1\xe2\x83\xab\xf1\xab\xba\xa6"); } // [B1, C1, V6, V7]
8643test { try toAsciiFail("\xf0\x91\x84\xb3\xe3\xb4\xbc.\xe2\x80\x8c\xf0\x90\xb9\xa1\xe2\x83\xab\xf1\xab\xba\xa6", false); } // [B1, C1, V6, V7]
8644test { try toAsciiFail("\xf0\x91\x84\xb3\xe3\xb4\xbc.\xe2\x80\x8c\xf0\x90\xb9\xa1\xe2\x83\xab\xf1\xab\xba\xa6", true); } // [B1, V6, V7]
8645test { try toUnicodeFail("xn--iym9428c.xn--e1g3464g08p3b"); } // [B1, V6, V7]
8646test { try toAsciiFail("xn--iym9428c.xn--e1g3464g08p3b", false); } // [B1, V6, V7]
8647test { try toAsciiFail("xn--iym9428c.xn--e1g3464g08p3b", true); } // [B1, V6, V7]
8648test { try toUnicodeFail("xn--iym9428c.xn--0ug46a7218cllv0c"); } // [B1, C1, V6, V7]
8649test { try toAsciiFail("xn--iym9428c.xn--0ug46a7218cllv0c", false); } // [B1, C1, V6, V7]
8650test { try toAsciiFail("xn--iym9428c.xn--0ug46a7218cllv0c", true); } // [B1, C1, V6, V7]
8651test { try toUnicodeFail("\xf1\xa0\xbb\x9f\xf0\x90\xb9\xb3\xf0\x91\x88\xaf\xef\xbd\xa1\xcc\x9d"); } // [B1, B5, B6, V6, V7]
8652test { try toAsciiFail("\xf1\xa0\xbb\x9f\xf0\x90\xb9\xb3\xf0\x91\x88\xaf\xef\xbd\xa1\xcc\x9d", false); } // [B1, B5, B6, V6, V7]
8653test { try toAsciiFail("\xf1\xa0\xbb\x9f\xf0\x90\xb9\xb3\xf0\x91\x88\xaf\xef\xbd\xa1\xcc\x9d", true); } // [B1, B5, B6, V6, V7]
8654test { try toUnicodeFail("\xf1\xa0\xbb\x9f\xf0\x90\xb9\xb3\xf0\x91\x88\xaf\xe3\x80\x82\xcc\x9d"); } // [B1, B5, B6, V6, V7]
8655test { try toAsciiFail("\xf1\xa0\xbb\x9f\xf0\x90\xb9\xb3\xf0\x91\x88\xaf\xe3\x80\x82\xcc\x9d", false); } // [B1, B5, B6, V6, V7]
8656test { try toAsciiFail("\xf1\xa0\xbb\x9f\xf0\x90\xb9\xb3\xf0\x91\x88\xaf\xe3\x80\x82\xcc\x9d", true); } // [B1, B5, B6, V6, V7]
8657test { try toUnicodeFail("xn--ro0dw7dey96m.xn--eta"); } // [B1, B5, B6, V6, V7]
8658test { try toAsciiFail("xn--ro0dw7dey96m.xn--eta", false); } // [B1, B5, B6, V6, V7]
8659test { try toAsciiFail("xn--ro0dw7dey96m.xn--eta", true); } // [B1, B5, B6, V6, V7]
8660test { try toUnicodeFail("\xe1\xa2\x8a\xeb\xbe\x9c\xf3\xa0\xb1\xb4\xf0\x91\x9a\xb6\xe3\x80\x82\xe0\xa2\x9d\xf0\x90\xb9\xa5"); } // [B1, V6, V7]
8661test { try toAsciiFail("\xe1\xa2\x8a\xeb\xbe\x9c\xf3\xa0\xb1\xb4\xf0\x91\x9a\xb6\xe3\x80\x82\xe0\xa2\x9d\xf0\x90\xb9\xa5", false); } // [B1, V6, V7]
8662test { try toAsciiFail("\xe1\xa2\x8a\xeb\xbe\x9c\xf3\xa0\xb1\xb4\xf0\x91\x9a\xb6\xe3\x80\x82\xe0\xa2\x9d\xf0\x90\xb9\xa5", true); } // [B1, V6, V7]
8663test { try toUnicodeFail("\xe1\xa2\x8a\xe1\x84\x88\xe1\x85\xac\xe1\x86\xaf\xf3\xa0\xb1\xb4\xf0\x91\x9a\xb6\xe3\x80\x82\xe0\xa2\x9d\xf0\x90\xb9\xa5"); } // [B1, V6, V7]
8664test { try toAsciiFail("\xe1\xa2\x8a\xe1\x84\x88\xe1\x85\xac\xe1\x86\xaf\xf3\xa0\xb1\xb4\xf0\x91\x9a\xb6\xe3\x80\x82\xe0\xa2\x9d\xf0\x90\xb9\xa5", false); } // [B1, V6, V7]
8665test { try toAsciiFail("\xe1\xa2\x8a\xe1\x84\x88\xe1\x85\xac\xe1\x86\xaf\xf3\xa0\xb1\xb4\xf0\x91\x9a\xb6\xe3\x80\x82\xe0\xa2\x9d\xf0\x90\xb9\xa5", true); } // [B1, V6, V7]
8666test { try toUnicodeFail("xn--39e4566fjv8bwmt6n.xn--myb6415k"); } // [B1, V6, V7]
8667test { try toAsciiFail("xn--39e4566fjv8bwmt6n.xn--myb6415k", false); } // [B1, V6, V7]
8668test { try toAsciiFail("xn--39e4566fjv8bwmt6n.xn--myb6415k", true); } // [B1, V6, V7]
8669test { try toUnicodeFail("\xf0\x90\xb9\xa5\xe2\x89\xa0\xef\xbd\xa1\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c"); } // [B1, C1, V7]
8670test { try toAsciiFail("\xf0\x90\xb9\xa5\xe2\x89\xa0\xef\xbd\xa1\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c", false); } // [B1, C1, V7]
8671test { try toAsciiFail("\xf0\x90\xb9\xa5\xe2\x89\xa0\xef\xbd\xa1\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c", true); } // [B1, V7]
8672test { try toUnicodeFail("\xf0\x90\xb9\xa5=\xcc\xb8\xef\xbd\xa1\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c"); } // [B1, C1, V7]
8673test { try toAsciiFail("\xf0\x90\xb9\xa5=\xcc\xb8\xef\xbd\xa1\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c", false); } // [B1, C1, V7]
8674test { try toAsciiFail("\xf0\x90\xb9\xa5=\xcc\xb8\xef\xbd\xa1\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c", true); } // [B1, V7]
8675test { try toUnicodeFail("\xf0\x90\xb9\xa5\xe2\x89\xa0\xe3\x80\x82\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c"); } // [B1, C1, V7]
8676test { try toAsciiFail("\xf0\x90\xb9\xa5\xe2\x89\xa0\xe3\x80\x82\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c", false); } // [B1, C1, V7]
8677test { try toAsciiFail("\xf0\x90\xb9\xa5\xe2\x89\xa0\xe3\x80\x82\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c", true); } // [B1, V7]
8678test { try toUnicodeFail("\xf0\x90\xb9\xa5=\xcc\xb8\xe3\x80\x82\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c"); } // [B1, C1, V7]
8679test { try toAsciiFail("\xf0\x90\xb9\xa5=\xcc\xb8\xe3\x80\x82\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c", false); } // [B1, C1, V7]
8680test { try toAsciiFail("\xf0\x90\xb9\xa5=\xcc\xb8\xe3\x80\x82\xf0\x90\x8b\xb2\xf3\xa0\xa7\xa0\xe2\x80\x8c", true); } // [B1, V7]
8681test { try toUnicodeFail("xn--1ch6704g.xn--m97cw2999c"); } // [B1, V7]
8682test { try toAsciiFail("xn--1ch6704g.xn--m97cw2999c", false); } // [B1, V7]
8683test { try toAsciiFail("xn--1ch6704g.xn--m97cw2999c", true); } // [B1, V7]
8684test { try toUnicodeFail("xn--1ch6704g.xn--0ug3840g51u4g"); } // [B1, C1, V7]
8685test { try toAsciiFail("xn--1ch6704g.xn--0ug3840g51u4g", false); } // [B1, C1, V7]
8686test { try toAsciiFail("xn--1ch6704g.xn--0ug3840g51u4g", true); } // [B1, C1, V7]
8687test { try toUnicodeFail("\xe1\x85\x9f\xf1\x99\xaf\xa0\xe0\xa5\x8d\xef\xbc\x8e\xe2\x80\x8d\xea\xa5\x93\xf0\x90\xaa\xa4"); } // [B1, C2, V7]
8688test { try toAsciiFail("\xe1\x85\x9f\xf1\x99\xaf\xa0\xe0\xa5\x8d\xef\xbc\x8e\xe2\x80\x8d\xea\xa5\x93\xf0\x90\xaa\xa4", false); } // [B1, C2, V7]
8689test { try toAsciiFail("\xe1\x85\x9f\xf1\x99\xaf\xa0\xe0\xa5\x8d\xef\xbc\x8e\xe2\x80\x8d\xea\xa5\x93\xf0\x90\xaa\xa4", true); } // [B5, B6, V6, V7]
8690test { try toUnicodeFail("\xe1\x85\x9f\xf1\x99\xaf\xa0\xe0\xa5\x8d.\xe2\x80\x8d\xea\xa5\x93\xf0\x90\xaa\xa4"); } // [B1, C2, V7]
8691test { try toAsciiFail("\xe1\x85\x9f\xf1\x99\xaf\xa0\xe0\xa5\x8d.\xe2\x80\x8d\xea\xa5\x93\xf0\x90\xaa\xa4", false); } // [B1, C2, V7]
8692test { try toAsciiFail("\xe1\x85\x9f\xf1\x99\xaf\xa0\xe0\xa5\x8d.\xe2\x80\x8d\xea\xa5\x93\xf0\x90\xaa\xa4", true); } // [B5, B6, V6, V7]
8693test { try toUnicodeFail("xn--n3b91514e.xn--3j9al95p"); } // [B5, B6, V6, V7]
8694test { try toAsciiFail("xn--n3b91514e.xn--3j9al95p", false); } // [B5, B6, V6, V7]
8695test { try toAsciiFail("xn--n3b91514e.xn--3j9al95p", true); } // [B5, B6, V6, V7]
8696test { try toUnicodeFail("xn--n3b91514e.xn--1ug6815co9wc"); } // [B1, C2, V7]
8697test { try toAsciiFail("xn--n3b91514e.xn--1ug6815co9wc", false); } // [B1, C2, V7]
8698test { try toAsciiFail("xn--n3b91514e.xn--1ug6815co9wc", true); } // [B1, C2, V7]
8699test { try toUnicodeFail("xn--n3b542bb085j.xn--3j9al95p"); } // [B5, B6, V6, V7]
8700test { try toAsciiFail("xn--n3b542bb085j.xn--3j9al95p", false); } // [B5, B6, V6, V7]
8701test { try toAsciiFail("xn--n3b542bb085j.xn--3j9al95p", true); } // [B5, B6, V6, V7]
8702test { try toUnicodeFail("xn--n3b542bb085j.xn--1ug6815co9wc"); } // [B1, C2, V7]
8703test { try toAsciiFail("xn--n3b542bb085j.xn--1ug6815co9wc", false); } // [B1, C2, V7]
8704test { try toAsciiFail("xn--n3b542bb085j.xn--1ug6815co9wc", true); } // [B1, C2, V7]
8705test { try toUnicodeFail("\xf2\x8c\x8b\x94\xf3\xa0\x86\x8e\xf3\xa0\x86\x97\xf0\x91\xb2\x95\xe3\x80\x82\xe2\x89\xae"); } // [V7]
8706test { try toAsciiFail("\xf2\x8c\x8b\x94\xf3\xa0\x86\x8e\xf3\xa0\x86\x97\xf0\x91\xb2\x95\xe3\x80\x82\xe2\x89\xae", false); } // [V7]
8707test { try toAsciiFail("\xf2\x8c\x8b\x94\xf3\xa0\x86\x8e\xf3\xa0\x86\x97\xf0\x91\xb2\x95\xe3\x80\x82\xe2\x89\xae", true); } // [V7]
8708test { try toUnicodeFail("\xf2\x8c\x8b\x94\xf3\xa0\x86\x8e\xf3\xa0\x86\x97\xf0\x91\xb2\x95\xe3\x80\x82<\xcc\xb8"); } // [V7]
8709test { try toAsciiFail("\xf2\x8c\x8b\x94\xf3\xa0\x86\x8e\xf3\xa0\x86\x97\xf0\x91\xb2\x95\xe3\x80\x82<\xcc\xb8", false); } // [V7]
8710test { try toAsciiFail("\xf2\x8c\x8b\x94\xf3\xa0\x86\x8e\xf3\xa0\x86\x97\xf0\x91\xb2\x95\xe3\x80\x82<\xcc\xb8", true); } // [V7]
8711test { try toUnicodeFail("xn--4m3dv4354a.xn--gdh"); } // [V7]
8712test { try toAsciiFail("xn--4m3dv4354a.xn--gdh", false); } // [V7]
8713test { try toAsciiFail("xn--4m3dv4354a.xn--gdh", true); } // [V7]
8714test { try toUnicodeFail("\xf3\xa0\x86\xa6.\xe0\xa3\xa3\xe6\x9a\x80\xe2\x89\xa0"); } // [V6, X4_2]
8715test { try toAsciiFail("\xf3\xa0\x86\xa6.\xe0\xa3\xa3\xe6\x9a\x80\xe2\x89\xa0", false); } // [V6, A4_2]
8716test { try toAsciiFail("\xf3\xa0\x86\xa6.\xe0\xa3\xa3\xe6\x9a\x80\xe2\x89\xa0", true); } // [V6, A4_2]
8717test { try toUnicodeFail("\xf3\xa0\x86\xa6.\xe0\xa3\xa3\xe6\x9a\x80=\xcc\xb8"); } // [V6, X4_2]
8718test { try toAsciiFail("\xf3\xa0\x86\xa6.\xe0\xa3\xa3\xe6\x9a\x80=\xcc\xb8", false); } // [V6, A4_2]
8719test { try toAsciiFail("\xf3\xa0\x86\xa6.\xe0\xa3\xa3\xe6\x9a\x80=\xcc\xb8", true); } // [V6, A4_2]
8720test { try toUnicodeFail(".xn--m0b461k3g2c"); } // [V6, X4_2]
8721test { try toAsciiFail(".xn--m0b461k3g2c", false); } // [V6, A4_2]
8722test { try toAsciiFail(".xn--m0b461k3g2c", true); } // [V6, A4_2]
8723test { try toUnicodeFail("\xf0\x90\xa1\xa4\xea\xaf\xad\xef\xbd\xa1\xef\xb4\xb0\xf2\x9c\x96\x85\xe1\xb7\xb0"); } // [B2, B3, V7]
8724test { try toAsciiFail("\xf0\x90\xa1\xa4\xea\xaf\xad\xef\xbd\xa1\xef\xb4\xb0\xf2\x9c\x96\x85\xe1\xb7\xb0", false); } // [B2, B3, V7]
8725test { try toAsciiFail("\xf0\x90\xa1\xa4\xea\xaf\xad\xef\xbd\xa1\xef\xb4\xb0\xf2\x9c\x96\x85\xe1\xb7\xb0", true); } // [B2, B3, V7]
8726test { try toUnicodeFail("\xf0\x90\xa1\xa4\xea\xaf\xad\xe3\x80\x82\xd8\xb4\xd9\x85\xf2\x9c\x96\x85\xe1\xb7\xb0"); } // [B2, B3, V7]
8727test { try toAsciiFail("\xf0\x90\xa1\xa4\xea\xaf\xad\xe3\x80\x82\xd8\xb4\xd9\x85\xf2\x9c\x96\x85\xe1\xb7\xb0", false); } // [B2, B3, V7]
8728test { try toAsciiFail("\xf0\x90\xa1\xa4\xea\xaf\xad\xe3\x80\x82\xd8\xb4\xd9\x85\xf2\x9c\x96\x85\xe1\xb7\xb0", true); } // [B2, B3, V7]
8729test { try toUnicodeFail("xn--429ak76o.xn--zgb8a701kox37t"); } // [B2, B3, V7]
8730test { try toAsciiFail("xn--429ak76o.xn--zgb8a701kox37t", false); } // [B2, B3, V7]
8731test { try toAsciiFail("xn--429ak76o.xn--zgb8a701kox37t", true); } // [B2, B3, V7]
8732test { try toUnicodeFail("\xf0\x9d\x89\x83\xe2\x80\x8d\xe2\x92\x88\xef\xbd\xa1\xe1\x82\xac\xf0\x9e\xb1\x93"); } // [B1, B5, B6, C2, V6, V7]
8733test { try toAsciiFail("\xf0\x9d\x89\x83\xe2\x80\x8d\xe2\x92\x88\xef\xbd\xa1\xe1\x82\xac\xf0\x9e\xb1\x93", false); } // [B1, B5, B6, C2, V6, V7]
8734test { try toAsciiFail("\xf0\x9d\x89\x83\xe2\x80\x8d\xe2\x92\x88\xef\xbd\xa1\xe1\x82\xac\xf0\x9e\xb1\x93", true); } // [B1, B5, B6, V6, V7]
8735test { try toUnicodeFail("\xf0\x9d\x89\x83\xe2\x80\x8d1.\xe3\x80\x82\xe1\x82\xac\xf0\x9e\xb1\x93"); } // [B1, B5, B6, C2, V6, V7, X4_2]
8736test { try toAsciiFail("\xf0\x9d\x89\x83\xe2\x80\x8d1.\xe3\x80\x82\xe1\x82\xac\xf0\x9e\xb1\x93", false); } // [B1, B5, B6, C2, V6, V7, A4_2]
8737test { try toAsciiFail("\xf0\x9d\x89\x83\xe2\x80\x8d1.\xe3\x80\x82\xe1\x82\xac\xf0\x9e\xb1\x93", true); } // [B1, B5, B6, V6, V7, A4_2]
8738test { try toUnicodeFail("\xf0\x9d\x89\x83\xe2\x80\x8d1.\xe3\x80\x82\xe2\xb4\x8c\xf0\x9e\xb1\x93"); } // [B1, B5, B6, C2, V6, V7, X4_2]
8739test { try toAsciiFail("\xf0\x9d\x89\x83\xe2\x80\x8d1.\xe3\x80\x82\xe2\xb4\x8c\xf0\x9e\xb1\x93", false); } // [B1, B5, B6, C2, V6, V7, A4_2]
8740test { try toAsciiFail("\xf0\x9d\x89\x83\xe2\x80\x8d1.\xe3\x80\x82\xe2\xb4\x8c\xf0\x9e\xb1\x93", true); } // [B1, B5, B6, V6, V7, A4_2]
8741test { try toUnicodeFail("xn--1-px8q..xn--3kj4524l"); } // [B1, B5, B6, V6, V7, X4_2]
8742test { try toAsciiFail("xn--1-px8q..xn--3kj4524l", false); } // [B1, B5, B6, V6, V7, A4_2]
8743test { try toAsciiFail("xn--1-px8q..xn--3kj4524l", true); } // [B1, B5, B6, V6, V7, A4_2]
8744test { try toUnicodeFail("xn--1-tgn9827q..xn--3kj4524l"); } // [B1, B5, B6, C2, V6, V7, X4_2]
8745test { try toAsciiFail("xn--1-tgn9827q..xn--3kj4524l", false); } // [B1, B5, B6, C2, V6, V7, A4_2]
8746test { try toAsciiFail("xn--1-tgn9827q..xn--3kj4524l", true); } // [B1, B5, B6, C2, V6, V7, A4_2]
8747test { try toUnicodeFail("\xf0\x9d\x89\x83\xe2\x80\x8d\xe2\x92\x88\xef\xbd\xa1\xe2\xb4\x8c\xf0\x9e\xb1\x93"); } // [B1, B5, B6, C2, V6, V7]
8748test { try toAsciiFail("\xf0\x9d\x89\x83\xe2\x80\x8d\xe2\x92\x88\xef\xbd\xa1\xe2\xb4\x8c\xf0\x9e\xb1\x93", false); } // [B1, B5, B6, C2, V6, V7]
8749test { try toAsciiFail("\xf0\x9d\x89\x83\xe2\x80\x8d\xe2\x92\x88\xef\xbd\xa1\xe2\xb4\x8c\xf0\x9e\xb1\x93", true); } // [B1, B5, B6, V6, V7]
8750test { try toUnicodeFail("xn--tshz828m.xn--3kj4524l"); } // [B1, B5, B6, V6, V7]
8751test { try toAsciiFail("xn--tshz828m.xn--3kj4524l", false); } // [B1, B5, B6, V6, V7]
8752test { try toAsciiFail("xn--tshz828m.xn--3kj4524l", true); } // [B1, B5, B6, V6, V7]
8753test { try toUnicodeFail("xn--1ug68oq348b.xn--3kj4524l"); } // [B1, B5, B6, C2, V6, V7]
8754test { try toAsciiFail("xn--1ug68oq348b.xn--3kj4524l", false); } // [B1, B5, B6, C2, V6, V7]
8755test { try toAsciiFail("xn--1ug68oq348b.xn--3kj4524l", true); } // [B1, B5, B6, C2, V6, V7]
8756test { try toUnicodeFail("xn--1-px8q..xn--knd8464v"); } // [B1, B5, B6, V6, V7, X4_2]
8757test { try toAsciiFail("xn--1-px8q..xn--knd8464v", false); } // [B1, B5, B6, V6, V7, A4_2]
8758test { try toAsciiFail("xn--1-px8q..xn--knd8464v", true); } // [B1, B5, B6, V6, V7, A4_2]
8759test { try toUnicodeFail("xn--1-tgn9827q..xn--knd8464v"); } // [B1, B5, B6, C2, V6, V7, X4_2]
8760test { try toAsciiFail("xn--1-tgn9827q..xn--knd8464v", false); } // [B1, B5, B6, C2, V6, V7, A4_2]
8761test { try toAsciiFail("xn--1-tgn9827q..xn--knd8464v", true); } // [B1, B5, B6, C2, V6, V7, A4_2]
8762test { try toUnicodeFail("xn--tshz828m.xn--knd8464v"); } // [B1, B5, B6, V6, V7]
8763test { try toAsciiFail("xn--tshz828m.xn--knd8464v", false); } // [B1, B5, B6, V6, V7]
8764test { try toAsciiFail("xn--tshz828m.xn--knd8464v", true); } // [B1, B5, B6, V6, V7]
8765test { try toUnicodeFail("xn--1ug68oq348b.xn--knd8464v"); } // [B1, B5, B6, C2, V6, V7]
8766test { try toAsciiFail("xn--1ug68oq348b.xn--knd8464v", false); } // [B1, B5, B6, C2, V6, V7]
8767test { try toAsciiFail("xn--1ug68oq348b.xn--knd8464v", true); } // [B1, B5, B6, C2, V6, V7]
8768test { try toUnicodeFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\xb8.\xcf\x82\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94"); } // [B1, V7]
8769test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\xb8.\xcf\x82\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", false); } // [B1, V7]
8770test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\xb8.\xcf\x82\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", true); } // [B1, V7]
8771test { try toUnicodeFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\x96.\xce\xa3\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94"); } // [B1, V7]
8772test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\x96.\xce\xa3\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", false); } // [B1, V7]
8773test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\x96.\xce\xa3\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", true); } // [B1, V7]
8774test { try toUnicodeFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\xb8.\xcf\x83\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94"); } // [B1, V7]
8775test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\xb8.\xcf\x83\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", false); } // [B1, V7]
8776test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\xb8.\xcf\x83\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", true); } // [B1, V7]
8777test { try toUnicodeFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\x96.\xcf\x83\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94"); } // [B1, V7]
8778test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\x96.\xcf\x83\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", false); } // [B1, V7]
8779test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\x96.\xcf\x83\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", true); } // [B1, V7]
8780test { try toUnicodeFail("xn--ybc0236vjvxgt5q0g.xn--4xa82737giye6b"); } // [B1, V7]
8781test { try toAsciiFail("xn--ybc0236vjvxgt5q0g.xn--4xa82737giye6b", false); } // [B1, V7]
8782test { try toAsciiFail("xn--ybc0236vjvxgt5q0g.xn--4xa82737giye6b", true); } // [B1, V7]
8783test { try toUnicodeFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\x96.\xcf\x82\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94"); } // [B1, V7]
8784test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\x96.\xcf\x82\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", false); } // [B1, V7]
8785test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\x96.\xcf\x82\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", true); } // [B1, V7]
8786test { try toUnicodeFail("xn--ybc0236vjvxgt5q0g.xn--3xa03737giye6b"); } // [B1, V7]
8787test { try toAsciiFail("xn--ybc0236vjvxgt5q0g.xn--3xa03737giye6b", false); } // [B1, V7]
8788test { try toAsciiFail("xn--ybc0236vjvxgt5q0g.xn--3xa03737giye6b", true); } // [B1, V7]
8789test { try toUnicodeFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\xb8.\xce\xa3\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94"); } // [B1, V7]
8790test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\xb8.\xce\xa3\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", false); } // [B1, V7]
8791test { try toAsciiFail("\xf3\xa0\xa3\x99\xe0\xa9\x8d\xf0\xb1\xab\x98\xf0\x9e\xa4\xb8.\xce\xa3\xf1\xb5\xaf\x9e\xf4\x88\xb0\x94", true); } // [B1, V7]
8792test { try toUnicodeFail("\xdf\x93\xe3\x80\x82\xe2\x80\x8c\xf0\x90\xab\x80\xf2\x9e\xad\xb1"); } // [B1, C1, V7]
8793test { try toAsciiFail("\xdf\x93\xe3\x80\x82\xe2\x80\x8c\xf0\x90\xab\x80\xf2\x9e\xad\xb1", false); } // [B1, C1, V7]
8794test { try toAsciiFail("\xdf\x93\xe3\x80\x82\xe2\x80\x8c\xf0\x90\xab\x80\xf2\x9e\xad\xb1", true); } // [B2, B3, V7]
8795test { try toUnicodeFail("xn--usb.xn--pw9ci1099a"); } // [B2, B3, V7]
8796test { try toAsciiFail("xn--usb.xn--pw9ci1099a", false); } // [B2, B3, V7]
8797test { try toAsciiFail("xn--usb.xn--pw9ci1099a", true); } // [B2, B3, V7]
8798test { try toUnicodeFail("xn--usb.xn--0ug9553gm3v5d"); } // [B1, C1, V7]
8799test { try toAsciiFail("xn--usb.xn--0ug9553gm3v5d", false); } // [B1, C1, V7]
8800test { try toAsciiFail("xn--usb.xn--0ug9553gm3v5d", true); } // [B1, C1, V7]
8801test { try toUnicodeFail("\xe1\xb0\xae\xf0\x9e\x80\x9d.\xd6\xa6\xea\xa1\x9f\xf0\x9e\xa4\x95\xf3\xa0\x86\x96"); } // [B1, V6]
8802test { try toAsciiFail("\xe1\xb0\xae\xf0\x9e\x80\x9d.\xd6\xa6\xea\xa1\x9f\xf0\x9e\xa4\x95\xf3\xa0\x86\x96", false); } // [B1, V6]
8803test { try toAsciiFail("\xe1\xb0\xae\xf0\x9e\x80\x9d.\xd6\xa6\xea\xa1\x9f\xf0\x9e\xa4\x95\xf3\xa0\x86\x96", true); } // [B1, V6]
8804test { try toUnicodeFail("\xe1\xb0\xae\xf0\x9e\x80\x9d.\xd6\xa6\xea\xa1\x9f\xf0\x9e\xa4\xb7\xf3\xa0\x86\x96"); } // [B1, V6]
8805test { try toAsciiFail("\xe1\xb0\xae\xf0\x9e\x80\x9d.\xd6\xa6\xea\xa1\x9f\xf0\x9e\xa4\xb7\xf3\xa0\x86\x96", false); } // [B1, V6]
8806test { try toAsciiFail("\xe1\xb0\xae\xf0\x9e\x80\x9d.\xd6\xa6\xea\xa1\x9f\xf0\x9e\xa4\xb7\xf3\xa0\x86\x96", true); } // [B1, V6]
8807test { try toUnicodeFail("xn--q1f4493q.xn--xcb8244fifvj"); } // [B1, V6]
8808test { try toAsciiFail("xn--q1f4493q.xn--xcb8244fifvj", false); } // [B1, V6]
8809test { try toAsciiFail("xn--q1f4493q.xn--xcb8244fifvj", true); } // [B1, V6]
8810test { try toUnicodeFail("\xe4\x82\xb9\xf3\xbe\x96\x85\xf0\x90\x8b\xa6\xef\xbc\x8e\xe2\x80\x8d"); } // [C2, V7]
8811test { try toAsciiFail("\xe4\x82\xb9\xf3\xbe\x96\x85\xf0\x90\x8b\xa6\xef\xbc\x8e\xe2\x80\x8d", false); } // [C2, V7]
8812test { try toAsciiFail("\xe4\x82\xb9\xf3\xbe\x96\x85\xf0\x90\x8b\xa6\xef\xbc\x8e\xe2\x80\x8d", true); } // [V7, A4_2]
8813test { try toUnicodeFail("\xe4\x82\xb9\xf3\xbe\x96\x85\xf0\x90\x8b\xa6.\xe2\x80\x8d"); } // [C2, V7]
8814test { try toAsciiFail("\xe4\x82\xb9\xf3\xbe\x96\x85\xf0\x90\x8b\xa6.\xe2\x80\x8d", false); } // [C2, V7]
8815test { try toAsciiFail("\xe4\x82\xb9\xf3\xbe\x96\x85\xf0\x90\x8b\xa6.\xe2\x80\x8d", true); } // [V7, A4_2]
8816test { try toUnicodeFail("xn--0on3543c5981i."); } // [V7]
8817test { try toAsciiFail("xn--0on3543c5981i.", false); } // [V7, A4_2]
8818test { try toAsciiFail("xn--0on3543c5981i.", true); } // [V7, A4_2]
8819test { try toUnicodeFail("xn--0on3543c5981i.xn--1ug"); } // [C2, V7]
8820test { try toAsciiFail("xn--0on3543c5981i.xn--1ug", false); } // [C2, V7]
8821test { try toAsciiFail("xn--0on3543c5981i.xn--1ug", true); } // [C2, V7]
8822test { try toUnicodeFail("\xea\xa7\x80\xe2\x80\x8c\xf0\x90\xb9\xb2\xe2\x80\x8c\xef\xbd\xa1\xdd\xa7\xf0\x9f\x84\x89"); } // [B3, B5, B6, C1, V6, U1]
8823test { try toAsciiFail("\xea\xa7\x80\xe2\x80\x8c\xf0\x90\xb9\xb2\xe2\x80\x8c\xef\xbd\xa1\xdd\xa7\xf0\x9f\x84\x89", false); } // [B3, B5, B6, C1, V6, U1]
8824test { try toAsciiFail("\xea\xa7\x80\xe2\x80\x8c\xf0\x90\xb9\xb2\xe2\x80\x8c\xef\xbd\xa1\xdd\xa7\xf0\x9f\x84\x89", true); } // [B3, B5, B6, V6, U1]
8825test { try toUnicodeFail("\xea\xa7\x80\xe2\x80\x8c\xf0\x90\xb9\xb2\xe2\x80\x8c\xe3\x80\x82\xdd\xa78,"); } // [B3, B5, B6, C1, V6, U1]
8826test { try toAsciiFail("\xea\xa7\x80\xe2\x80\x8c\xf0\x90\xb9\xb2\xe2\x80\x8c\xe3\x80\x82\xdd\xa78,", false); } // [B3, B5, B6, C1, V6, U1]
8827test { try toAsciiFail("\xea\xa7\x80\xe2\x80\x8c\xf0\x90\xb9\xb2\xe2\x80\x8c\xe3\x80\x82\xdd\xa78,", true); } // [B3, B5, B6, V6, U1]
8828test { try toUnicodeFail("xn--7m9an32q.xn--8,-qle"); } // [B3, B5, B6, V6, U1]
8829test { try toAsciiFail("xn--7m9an32q.xn--8,-qle", false); } // [B3, B5, B6, V6, U1]
8830test { try toAsciiFail("xn--7m9an32q.xn--8,-qle", true); } // [B3, B5, B6, V6, U1]
8831test { try toUnicodeFail("xn--0uga8686hdgvd.xn--8,-qle"); } // [B3, B5, B6, C1, V6, U1]
8832test { try toAsciiFail("xn--0uga8686hdgvd.xn--8,-qle", false); } // [B3, B5, B6, C1, V6, U1]
8833test { try toAsciiFail("xn--0uga8686hdgvd.xn--8,-qle", true); } // [B3, B5, B6, C1, V6, U1]
8834test { try toUnicodeFail("xn--7m9an32q.xn--rpb6081w"); } // [B5, B6, V6, V7]
8835test { try toAsciiFail("xn--7m9an32q.xn--rpb6081w", false); } // [B5, B6, V6, V7]
8836test { try toAsciiFail("xn--7m9an32q.xn--rpb6081w", true); } // [B5, B6, V6, V7]
8837test { try toUnicodeFail("xn--0uga8686hdgvd.xn--rpb6081w"); } // [B5, B6, C1, V6, V7]
8838test { try toAsciiFail("xn--0uga8686hdgvd.xn--rpb6081w", false); } // [B5, B6, C1, V6, V7]
8839test { try toAsciiFail("xn--0uga8686hdgvd.xn--rpb6081w", true); } // [B5, B6, C1, V6, V7]
8840test { try toUnicodeFail("\xef\xb8\x92\xef\xbd\xa1\xe1\x82\xa3\xe2\x89\xaf"); } // [V7]
8841test { try toAsciiFail("\xef\xb8\x92\xef\xbd\xa1\xe1\x82\xa3\xe2\x89\xaf", false); } // [V7]
8842test { try toAsciiFail("\xef\xb8\x92\xef\xbd\xa1\xe1\x82\xa3\xe2\x89\xaf", true); } // [V7]
8843test { try toUnicodeFail("\xef\xb8\x92\xef\xbd\xa1\xe1\x82\xa3>\xcc\xb8"); } // [V7]
8844test { try toAsciiFail("\xef\xb8\x92\xef\xbd\xa1\xe1\x82\xa3>\xcc\xb8", false); } // [V7]
8845test { try toAsciiFail("\xef\xb8\x92\xef\xbd\xa1\xe1\x82\xa3>\xcc\xb8", true); } // [V7]
8846test { try toAsciiFail("\xe3\x80\x82\xe3\x80\x82\xe1\x82\xa3\xe2\x89\xaf", false); } // [A4_2]
8847test { try toAsciiFail("\xe3\x80\x82\xe3\x80\x82\xe1\x82\xa3\xe2\x89\xaf", true); } // [A4_2]
8848test { try toAsciiFail("\xe3\x80\x82\xe3\x80\x82\xe1\x82\xa3>\xcc\xb8", false); } // [A4_2]
8849test { try toAsciiFail("\xe3\x80\x82\xe3\x80\x82\xe1\x82\xa3>\xcc\xb8", true); } // [A4_2]
8850test { try toAsciiFail("\xe3\x80\x82\xe3\x80\x82\xe2\xb4\x83>\xcc\xb8", false); } // [A4_2]
8851test { try toAsciiFail("\xe3\x80\x82\xe3\x80\x82\xe2\xb4\x83>\xcc\xb8", true); } // [A4_2]
8852test { try toAsciiFail("\xe3\x80\x82\xe3\x80\x82\xe2\xb4\x83\xe2\x89\xaf", false); } // [A4_2]
8853test { try toAsciiFail("\xe3\x80\x82\xe3\x80\x82\xe2\xb4\x83\xe2\x89\xaf", true); } // [A4_2]
8854test { try toAsciiFail("..xn--hdh782b", false); } // [A4_2]
8855test { try toAsciiFail("..xn--hdh782b", true); } // [A4_2]
8856test { try toUnicodeFail("\xef\xb8\x92\xef\xbd\xa1\xe2\xb4\x83>\xcc\xb8"); } // [V7]
8857test { try toAsciiFail("\xef\xb8\x92\xef\xbd\xa1\xe2\xb4\x83>\xcc\xb8", false); } // [V7]
8858test { try toAsciiFail("\xef\xb8\x92\xef\xbd\xa1\xe2\xb4\x83>\xcc\xb8", true); } // [V7]
8859test { try toUnicodeFail("\xef\xb8\x92\xef\xbd\xa1\xe2\xb4\x83\xe2\x89\xaf"); } // [V7]
8860test { try toAsciiFail("\xef\xb8\x92\xef\xbd\xa1\xe2\xb4\x83\xe2\x89\xaf", false); } // [V7]
8861test { try toAsciiFail("\xef\xb8\x92\xef\xbd\xa1\xe2\xb4\x83\xe2\x89\xaf", true); } // [V7]
8862test { try toUnicodeFail("xn--y86c.xn--hdh782b"); } // [V7]
8863test { try toAsciiFail("xn--y86c.xn--hdh782b", false); } // [V7]
8864test { try toAsciiFail("xn--y86c.xn--hdh782b", true); } // [V7]
8865test { try toUnicodeFail("..xn--bnd622g"); } // [V7, X4_2]
8866test { try toAsciiFail("..xn--bnd622g", false); } // [V7, A4_2]
8867test { try toAsciiFail("..xn--bnd622g", true); } // [V7, A4_2]
8868test { try toUnicodeFail("xn--y86c.xn--bnd622g"); } // [V7]
8869test { try toAsciiFail("xn--y86c.xn--bnd622g", false); } // [V7]
8870test { try toAsciiFail("xn--y86c.xn--bnd622g", true); } // [V7]
8871test { try toUnicodeFail("\xf0\x90\xb9\xae\xef\xbd\xa1\xf3\xa0\xa2\xbc\xe2\x80\x8d"); } // [B1, C2, V7]
8872test { try toAsciiFail("\xf0\x90\xb9\xae\xef\xbd\xa1\xf3\xa0\xa2\xbc\xe2\x80\x8d", false); } // [B1, C2, V7]
8873test { try toAsciiFail("\xf0\x90\xb9\xae\xef\xbd\xa1\xf3\xa0\xa2\xbc\xe2\x80\x8d", true); } // [B1, V7]
8874test { try toUnicodeFail("\xf0\x90\xb9\xae\xe3\x80\x82\xf3\xa0\xa2\xbc\xe2\x80\x8d"); } // [B1, C2, V7]
8875test { try toAsciiFail("\xf0\x90\xb9\xae\xe3\x80\x82\xf3\xa0\xa2\xbc\xe2\x80\x8d", false); } // [B1, C2, V7]
8876test { try toAsciiFail("\xf0\x90\xb9\xae\xe3\x80\x82\xf3\xa0\xa2\xbc\xe2\x80\x8d", true); } // [B1, V7]
8877test { try toUnicodeFail("xn--mo0d.xn--wy46e"); } // [B1, V7]
8878test { try toAsciiFail("xn--mo0d.xn--wy46e", false); } // [B1, V7]
8879test { try toAsciiFail("xn--mo0d.xn--wy46e", true); } // [B1, V7]
8880test { try toUnicodeFail("xn--mo0d.xn--1ug18431l"); } // [B1, C2, V7]
8881test { try toAsciiFail("xn--mo0d.xn--1ug18431l", false); } // [B1, C2, V7]
8882test { try toAsciiFail("xn--mo0d.xn--1ug18431l", true); } // [B1, C2, V7]
8883test { try toUnicodeFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xef\xbd\xa1\xef\xb8\x92\xdd\xbd\xe2\x80\x8d\xe1\x82\xaf"); } // [B1, B5, B6, C2, V7]
8884test { try toAsciiFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xef\xbd\xa1\xef\xb8\x92\xdd\xbd\xe2\x80\x8d\xe1\x82\xaf", false); } // [B1, B5, B6, C2, V7]
8885test { try toAsciiFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xef\xbd\xa1\xef\xb8\x92\xdd\xbd\xe2\x80\x8d\xe1\x82\xaf", true); } // [B1, B5, B6, V7]
8886test { try toUnicodeFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xe3\x80\x82\xe3\x80\x82\xdd\xbd\xe2\x80\x8d\xe1\x82\xaf"); } // [B2, B3, B5, B6, C2, X4_2]
8887test { try toAsciiFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xe3\x80\x82\xe3\x80\x82\xdd\xbd\xe2\x80\x8d\xe1\x82\xaf", false); } // [B2, B3, B5, B6, C2, A4_2]
8888test { try toAsciiFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xe3\x80\x82\xe3\x80\x82\xdd\xbd\xe2\x80\x8d\xe1\x82\xaf", true); } // [B2, B3, B5, B6, A4_2]
8889test { try toUnicodeFail("\xe2\xb4\x9e\xf0\x90\xb9\xa8\xe3\x80\x82\xe3\x80\x82\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f"); } // [B2, B3, B5, B6, C2, X4_2]
8890test { try toAsciiFail("\xe2\xb4\x9e\xf0\x90\xb9\xa8\xe3\x80\x82\xe3\x80\x82\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f", false); } // [B2, B3, B5, B6, C2, A4_2]
8891test { try toAsciiFail("\xe2\xb4\x9e\xf0\x90\xb9\xa8\xe3\x80\x82\xe3\x80\x82\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f", true); } // [B2, B3, B5, B6, A4_2]
8892test { try toUnicodeFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xe3\x80\x82\xe3\x80\x82\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f"); } // [B2, B3, B5, B6, C2, X4_2]
8893test { try toAsciiFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xe3\x80\x82\xe3\x80\x82\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f", false); } // [B2, B3, B5, B6, C2, A4_2]
8894test { try toAsciiFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xe3\x80\x82\xe3\x80\x82\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f", true); } // [B2, B3, B5, B6, A4_2]
8895test { try toUnicodeFail("xn--mlju223e..xn--eqb053q"); } // [B2, B3, B5, B6, X4_2]
8896test { try toAsciiFail("xn--mlju223e..xn--eqb053q", false); } // [B2, B3, B5, B6, A4_2]
8897test { try toAsciiFail("xn--mlju223e..xn--eqb053q", true); } // [B2, B3, B5, B6, A4_2]
8898test { try toUnicodeFail("xn--mlju223e..xn--eqb096jpgj"); } // [B2, B3, B5, B6, C2, X4_2]
8899test { try toAsciiFail("xn--mlju223e..xn--eqb096jpgj", false); } // [B2, B3, B5, B6, C2, A4_2]
8900test { try toAsciiFail("xn--mlju223e..xn--eqb096jpgj", true); } // [B2, B3, B5, B6, C2, A4_2]
8901test { try toUnicodeFail("\xe2\xb4\x9e\xf0\x90\xb9\xa8\xef\xbd\xa1\xef\xb8\x92\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f"); } // [B1, B5, B6, C2, V7]
8902test { try toAsciiFail("\xe2\xb4\x9e\xf0\x90\xb9\xa8\xef\xbd\xa1\xef\xb8\x92\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f", false); } // [B1, B5, B6, C2, V7]
8903test { try toAsciiFail("\xe2\xb4\x9e\xf0\x90\xb9\xa8\xef\xbd\xa1\xef\xb8\x92\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f", true); } // [B1, B5, B6, V7]
8904test { try toUnicodeFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xef\xbd\xa1\xef\xb8\x92\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f"); } // [B1, B5, B6, C2, V7]
8905test { try toAsciiFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xef\xbd\xa1\xef\xb8\x92\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f", false); } // [B1, B5, B6, C2, V7]
8906test { try toAsciiFail("\xe1\x82\xbe\xf0\x90\xb9\xa8\xef\xbd\xa1\xef\xb8\x92\xdd\xbd\xe2\x80\x8d\xe2\xb4\x8f", true); } // [B1, B5, B6, V7]
8907test { try toUnicodeFail("xn--mlju223e.xn--eqb053qjk7l"); } // [B1, B5, B6, V7]
8908test { try toAsciiFail("xn--mlju223e.xn--eqb053qjk7l", false); } // [B1, B5, B6, V7]
8909test { try toAsciiFail("xn--mlju223e.xn--eqb053qjk7l", true); } // [B1, B5, B6, V7]
8910test { try toUnicodeFail("xn--mlju223e.xn--eqb096jpgj9y7r"); } // [B1, B5, B6, C2, V7]
8911test { try toAsciiFail("xn--mlju223e.xn--eqb096jpgj9y7r", false); } // [B1, B5, B6, C2, V7]
8912test { try toAsciiFail("xn--mlju223e.xn--eqb096jpgj9y7r", true); } // [B1, B5, B6, C2, V7]
8913test { try toUnicodeFail("xn--2nd0990k..xn--eqb053q"); } // [B2, B3, B5, B6, V7, X4_2]
8914test { try toAsciiFail("xn--2nd0990k..xn--eqb053q", false); } // [B2, B3, B5, B6, V7, A4_2]
8915test { try toAsciiFail("xn--2nd0990k..xn--eqb053q", true); } // [B2, B3, B5, B6, V7, A4_2]
8916test { try toUnicodeFail("xn--2nd0990k..xn--eqb096jpgj"); } // [B2, B3, B5, B6, C2, V7, X4_2]
8917test { try toAsciiFail("xn--2nd0990k..xn--eqb096jpgj", false); } // [B2, B3, B5, B6, C2, V7, A4_2]
8918test { try toAsciiFail("xn--2nd0990k..xn--eqb096jpgj", true); } // [B2, B3, B5, B6, C2, V7, A4_2]
8919test { try toUnicodeFail("xn--2nd0990k..xn--eqb228b"); } // [B2, B3, B5, B6, V7, X4_2]
8920test { try toAsciiFail("xn--2nd0990k..xn--eqb228b", false); } // [B2, B3, B5, B6, V7, A4_2]
8921test { try toAsciiFail("xn--2nd0990k..xn--eqb228b", true); } // [B2, B3, B5, B6, V7, A4_2]
8922test { try toUnicodeFail("xn--2nd0990k..xn--eqb228bgzm"); } // [B2, B3, B5, B6, C2, V7, X4_2]
8923test { try toAsciiFail("xn--2nd0990k..xn--eqb228bgzm", false); } // [B2, B3, B5, B6, C2, V7, A4_2]
8924test { try toAsciiFail("xn--2nd0990k..xn--eqb228bgzm", true); } // [B2, B3, B5, B6, C2, V7, A4_2]
8925test { try toUnicodeFail("xn--2nd0990k.xn--eqb053qjk7l"); } // [B1, B5, B6, V7]
8926test { try toAsciiFail("xn--2nd0990k.xn--eqb053qjk7l", false); } // [B1, B5, B6, V7]
8927test { try toAsciiFail("xn--2nd0990k.xn--eqb053qjk7l", true); } // [B1, B5, B6, V7]
8928test { try toUnicodeFail("xn--2nd0990k.xn--eqb096jpgj9y7r"); } // [B1, B5, B6, C2, V7]
8929test { try toAsciiFail("xn--2nd0990k.xn--eqb096jpgj9y7r", false); } // [B1, B5, B6, C2, V7]
8930test { try toAsciiFail("xn--2nd0990k.xn--eqb096jpgj9y7r", true); } // [B1, B5, B6, C2, V7]
8931test { try toUnicodeFail("xn--2nd0990k.xn--eqb228b583r"); } // [B1, B5, B6, V7]
8932test { try toAsciiFail("xn--2nd0990k.xn--eqb228b583r", false); } // [B1, B5, B6, V7]
8933test { try toAsciiFail("xn--2nd0990k.xn--eqb228b583r", true); } // [B1, B5, B6, V7]
8934test { try toUnicodeFail("xn--2nd0990k.xn--eqb228bgzmvp0t"); } // [B1, B5, B6, C2, V7]
8935test { try toAsciiFail("xn--2nd0990k.xn--eqb228bgzmvp0t", false); } // [B1, B5, B6, C2, V7]
8936test { try toAsciiFail("xn--2nd0990k.xn--eqb228bgzmvp0t", true); } // [B1, B5, B6, C2, V7]
8937test { try toUnicodeFail("\xe2\x80\x8c\xe1\x82\xa6\xf0\x9d\x9f\xb9\xe3\x80\x82-\xe2\x83\x92-\xdf\x91"); } // [B1, C1, V3]
8938test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xa6\xf0\x9d\x9f\xb9\xe3\x80\x82-\xe2\x83\x92-\xdf\x91", false); } // [B1, C1, V3]
8939test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xa6\xf0\x9d\x9f\xb9\xe3\x80\x82-\xe2\x83\x92-\xdf\x91", true); } // [B1, V3]
8940test { try toUnicodeFail("\xe2\x80\x8c\xe1\x82\xa63\xe3\x80\x82-\xe2\x83\x92-\xdf\x91"); } // [B1, C1, V3]
8941test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xa63\xe3\x80\x82-\xe2\x83\x92-\xdf\x91", false); } // [B1, C1, V3]
8942test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xa63\xe3\x80\x82-\xe2\x83\x92-\xdf\x91", true); } // [B1, V3]
8943test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\x863\xe3\x80\x82-\xe2\x83\x92-\xdf\x91"); } // [B1, C1, V3]
8944test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x863\xe3\x80\x82-\xe2\x83\x92-\xdf\x91", false); } // [B1, C1, V3]
8945test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x863\xe3\x80\x82-\xe2\x83\x92-\xdf\x91", true); } // [B1, V3]
8946test { try toUnicodeFail("xn--3-lvs.xn-----vue617w"); } // [B1, V3]
8947test { try toAsciiFail("xn--3-lvs.xn-----vue617w", false); } // [B1, V3]
8948test { try toAsciiFail("xn--3-lvs.xn-----vue617w", true); } // [B1, V3]
8949test { try toUnicodeFail("xn--3-rgnv99c.xn-----vue617w"); } // [B1, C1, V3]
8950test { try toAsciiFail("xn--3-rgnv99c.xn-----vue617w", false); } // [B1, C1, V3]
8951test { try toAsciiFail("xn--3-rgnv99c.xn-----vue617w", true); } // [B1, C1, V3]
8952test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\x86\xf0\x9d\x9f\xb9\xe3\x80\x82-\xe2\x83\x92-\xdf\x91"); } // [B1, C1, V3]
8953test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x86\xf0\x9d\x9f\xb9\xe3\x80\x82-\xe2\x83\x92-\xdf\x91", false); } // [B1, C1, V3]
8954test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x86\xf0\x9d\x9f\xb9\xe3\x80\x82-\xe2\x83\x92-\xdf\x91", true); } // [B1, V3]
8955test { try toUnicodeFail("xn--3-i0g.xn-----vue617w"); } // [B1, V3, V7]
8956test { try toAsciiFail("xn--3-i0g.xn-----vue617w", false); } // [B1, V3, V7]
8957test { try toAsciiFail("xn--3-i0g.xn-----vue617w", true); } // [B1, V3, V7]
8958test { try toUnicodeFail("xn--3-i0g939i.xn-----vue617w"); } // [B1, C1, V3, V7]
8959test { try toAsciiFail("xn--3-i0g939i.xn-----vue617w", false); } // [B1, C1, V3, V7]
8960test { try toAsciiFail("xn--3-i0g939i.xn-----vue617w", true); } // [B1, C1, V3, V7]
8961test { try toUnicodeFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xef\xbd\xa1\xe2\x89\xa0-\xf0\x9f\xa4\x96"); } // [V7]
8962test { try toAsciiFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xef\xbd\xa1\xe2\x89\xa0-\xf0\x9f\xa4\x96", false); } // [V7]
8963test { try toAsciiFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xef\xbd\xa1\xe2\x89\xa0-\xf0\x9f\xa4\x96", true); } // [V7]
8964test { try toUnicodeFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xef\xbd\xa1=\xcc\xb8-\xf0\x9f\xa4\x96"); } // [V7]
8965test { try toAsciiFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xef\xbd\xa1=\xcc\xb8-\xf0\x9f\xa4\x96", false); } // [V7]
8966test { try toAsciiFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xef\xbd\xa1=\xcc\xb8-\xf0\x9f\xa4\x96", true); } // [V7]
8967test { try toUnicodeFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xe3\x80\x82\xe2\x89\xa0-\xf0\x9f\xa4\x96"); } // [V7]
8968test { try toAsciiFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xe3\x80\x82\xe2\x89\xa0-\xf0\x9f\xa4\x96", false); } // [V7]
8969test { try toAsciiFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xe3\x80\x82\xe2\x89\xa0-\xf0\x9f\xa4\x96", true); } // [V7]
8970test { try toUnicodeFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xe3\x80\x82=\xcc\xb8-\xf0\x9f\xa4\x96"); } // [V7]
8971test { try toAsciiFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xe3\x80\x82=\xcc\xb8-\xf0\x9f\xa4\x96", false); } // [V7]
8972test { try toAsciiFail("\xe7\xae\x83\xe1\x83\x81-\xf3\xa0\x81\x9d\xe3\x80\x82=\xcc\xb8-\xf0\x9f\xa4\x96", true); } // [V7]
8973test { try toUnicodeFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xe3\x80\x82=\xcc\xb8-\xf0\x9f\xa4\x96"); } // [V7]
8974test { try toAsciiFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xe3\x80\x82=\xcc\xb8-\xf0\x9f\xa4\x96", false); } // [V7]
8975test { try toAsciiFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xe3\x80\x82=\xcc\xb8-\xf0\x9f\xa4\x96", true); } // [V7]
8976test { try toUnicodeFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xe3\x80\x82\xe2\x89\xa0-\xf0\x9f\xa4\x96"); } // [V7]
8977test { try toAsciiFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xe3\x80\x82\xe2\x89\xa0-\xf0\x9f\xa4\x96", false); } // [V7]
8978test { try toAsciiFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xe3\x80\x82\xe2\x89\xa0-\xf0\x9f\xa4\x96", true); } // [V7]
8979test { try toUnicodeFail("xn----4wsr321ay823p.xn----tfot873s"); } // [V7]
8980test { try toAsciiFail("xn----4wsr321ay823p.xn----tfot873s", false); } // [V7]
8981test { try toAsciiFail("xn----4wsr321ay823p.xn----tfot873s", true); } // [V7]
8982test { try toUnicodeFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xef\xbd\xa1=\xcc\xb8-\xf0\x9f\xa4\x96"); } // [V7]
8983test { try toAsciiFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xef\xbd\xa1=\xcc\xb8-\xf0\x9f\xa4\x96", false); } // [V7]
8984test { try toAsciiFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xef\xbd\xa1=\xcc\xb8-\xf0\x9f\xa4\x96", true); } // [V7]
8985test { try toUnicodeFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xef\xbd\xa1\xe2\x89\xa0-\xf0\x9f\xa4\x96"); } // [V7]
8986test { try toAsciiFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xef\xbd\xa1\xe2\x89\xa0-\xf0\x9f\xa4\x96", false); } // [V7]
8987test { try toAsciiFail("\xe7\xae\x83\xe2\xb4\xa1-\xf3\xa0\x81\x9d\xef\xbd\xa1\xe2\x89\xa0-\xf0\x9f\xa4\x96", true); } // [V7]
8988test { try toUnicodeFail("xn----11g3013fy8x5m.xn----tfot873s"); } // [V7]
8989test { try toAsciiFail("xn----11g3013fy8x5m.xn----tfot873s", false); } // [V7]
8990test { try toAsciiFail("xn----11g3013fy8x5m.xn----tfot873s", true); } // [V7]
8991test { try toUnicodePass("\xdf\xa5.\xda\xb5", "\xdf\xa5.\xda\xb5"); }
8992test { try toAsciiPass("\xdf\xa5.\xda\xb5", "xn--dtb.xn--okb", false); }
8993test { try toAsciiPass("\xdf\xa5.\xda\xb5", "xn--dtb.xn--okb", true); }
8994test { try toUnicodePass("xn--dtb.xn--okb", "\xdf\xa5.\xda\xb5"); }
8995test { try toAsciiPass("xn--dtb.xn--okb", "xn--dtb.xn--okb", false); }
8996test { try toAsciiPass("xn--dtb.xn--okb", "xn--dtb.xn--okb", true); }
8997test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8d.\xf0\x9e\xa4\xbf"); } // [B1, C1, C2]
8998test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8d.\xf0\x9e\xa4\xbf", false); } // [B1, C1, C2]
8999test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8d.\xf0\x9e\xa4\xbf", true); } // [A4_2]
9000test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8d.\xf0\x9e\xa4\x9d"); } // [B1, C1, C2]
9001test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8d.\xf0\x9e\xa4\x9d", false); } // [B1, C1, C2]
9002test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8d.\xf0\x9e\xa4\x9d", true); } // [A4_2]
9003test { try toAsciiFail(".xn--3e6h", false); } // [A4_2]
9004test { try toAsciiFail(".xn--3e6h", true); } // [A4_2]
9005test { try toUnicodeFail("xn--0ugc.xn--3e6h"); } // [B1, C1, C2]
9006test { try toAsciiFail("xn--0ugc.xn--3e6h", false); } // [B1, C1, C2]
9007test { try toAsciiFail("xn--0ugc.xn--3e6h", true); } // [B1, C1, C2]
9008test { try toUnicodePass("xn--3e6h", "\xf0\x9e\xa4\xbf"); }
9009test { try toAsciiPass("xn--3e6h", "xn--3e6h", false); }
9010test { try toAsciiPass("xn--3e6h", "xn--3e6h", true); }
9011test { try toUnicodePass("\xf0\x9e\xa4\xbf", "\xf0\x9e\xa4\xbf"); }
9012test { try toAsciiPass("\xf0\x9e\xa4\xbf", "xn--3e6h", false); }
9013test { try toAsciiPass("\xf0\x9e\xa4\xbf", "xn--3e6h", true); }
9014test { try toUnicodePass("\xf0\x9e\xa4\x9d", "\xf0\x9e\xa4\xbf"); }
9015test { try toAsciiPass("\xf0\x9e\xa4\x9d", "xn--3e6h", false); }
9016test { try toAsciiPass("\xf0\x9e\xa4\x9d", "xn--3e6h", true); }
9017test { try toUnicodeFail("\xf0\x9f\x9c\x91\xf0\x90\xb9\xa7\xd8\xb9.\xcf\x82\xf0\x91\x8d\x8d\xe8\x9c\xb9"); } // [B1]
9018test { try toAsciiFail("\xf0\x9f\x9c\x91\xf0\x90\xb9\xa7\xd8\xb9.\xcf\x82\xf0\x91\x8d\x8d\xe8\x9c\xb9", false); } // [B1]
9019test { try toAsciiFail("\xf0\x9f\x9c\x91\xf0\x90\xb9\xa7\xd8\xb9.\xcf\x82\xf0\x91\x8d\x8d\xe8\x9c\xb9", true); } // [B1]
9020test { try toUnicodeFail("\xf0\x9f\x9c\x91\xf0\x90\xb9\xa7\xd8\xb9.\xce\xa3\xf0\x91\x8d\x8d\xe8\x9c\xb9"); } // [B1]
9021test { try toAsciiFail("\xf0\x9f\x9c\x91\xf0\x90\xb9\xa7\xd8\xb9.\xce\xa3\xf0\x91\x8d\x8d\xe8\x9c\xb9", false); } // [B1]
9022test { try toAsciiFail("\xf0\x9f\x9c\x91\xf0\x90\xb9\xa7\xd8\xb9.\xce\xa3\xf0\x91\x8d\x8d\xe8\x9c\xb9", true); } // [B1]
9023test { try toUnicodeFail("\xf0\x9f\x9c\x91\xf0\x90\xb9\xa7\xd8\xb9.\xcf\x83\xf0\x91\x8d\x8d\xe8\x9c\xb9"); } // [B1]
9024test { try toAsciiFail("\xf0\x9f\x9c\x91\xf0\x90\xb9\xa7\xd8\xb9.\xcf\x83\xf0\x91\x8d\x8d\xe8\x9c\xb9", false); } // [B1]
9025test { try toAsciiFail("\xf0\x9f\x9c\x91\xf0\x90\xb9\xa7\xd8\xb9.\xcf\x83\xf0\x91\x8d\x8d\xe8\x9c\xb9", true); } // [B1]
9026test { try toUnicodeFail("xn--4gb3736kk4zf.xn--4xa2248dy27d"); } // [B1]
9027test { try toAsciiFail("xn--4gb3736kk4zf.xn--4xa2248dy27d", false); } // [B1]
9028test { try toAsciiFail("xn--4gb3736kk4zf.xn--4xa2248dy27d", true); } // [B1]
9029test { try toUnicodeFail("xn--4gb3736kk4zf.xn--3xa4248dy27d"); } // [B1]
9030test { try toAsciiFail("xn--4gb3736kk4zf.xn--3xa4248dy27d", false); } // [B1]
9031test { try toAsciiFail("xn--4gb3736kk4zf.xn--3xa4248dy27d", true); } // [B1]
9032test { try toUnicodeFail("\xf2\xab\xa0\x90\xe3\x82\xb9\xf4\x86\x9f\xa4\xd9\xa9\xef\xbc\x8e\xf3\x9a\x83\x9f"); } // [B5, B6, V7]
9033test { try toAsciiFail("\xf2\xab\xa0\x90\xe3\x82\xb9\xf4\x86\x9f\xa4\xd9\xa9\xef\xbc\x8e\xf3\x9a\x83\x9f", false); } // [B5, B6, V7]
9034test { try toAsciiFail("\xf2\xab\xa0\x90\xe3\x82\xb9\xf4\x86\x9f\xa4\xd9\xa9\xef\xbc\x8e\xf3\x9a\x83\x9f", true); } // [B5, B6, V7]
9035test { try toUnicodeFail("\xf2\xab\xa0\x90\xe3\x82\xb9\xf4\x86\x9f\xa4\xd9\xa9.\xf3\x9a\x83\x9f"); } // [B5, B6, V7]
9036test { try toAsciiFail("\xf2\xab\xa0\x90\xe3\x82\xb9\xf4\x86\x9f\xa4\xd9\xa9.\xf3\x9a\x83\x9f", false); } // [B5, B6, V7]
9037test { try toAsciiFail("\xf2\xab\xa0\x90\xe3\x82\xb9\xf4\x86\x9f\xa4\xd9\xa9.\xf3\x9a\x83\x9f", true); } // [B5, B6, V7]
9038test { try toUnicodeFail("xn--iib777sp230oo708a.xn--7824e"); } // [B5, B6, V7]
9039test { try toAsciiFail("xn--iib777sp230oo708a.xn--7824e", false); } // [B5, B6, V7]
9040test { try toAsciiFail("xn--iib777sp230oo708a.xn--7824e", true); } // [B5, B6, V7]
9041test { try toUnicodeFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d\xef\xbc\x8e\xd6\x9a?\xdb\x82"); } // [B1, V6, V7, U1]
9042test { try toAsciiFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d\xef\xbc\x8e\xd6\x9a?\xdb\x82", false); } // [B1, V6, V7, U1]
9043test { try toAsciiFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d\xef\xbc\x8e\xd6\x9a?\xdb\x82", true); } // [B1, V6, V7, U1]
9044test { try toUnicodeFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d\xef\xbc\x8e\xd6\x9a?\xdb\x81\xd9\x94"); } // [B1, V6, V7, U1]
9045test { try toAsciiFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d\xef\xbc\x8e\xd6\x9a?\xdb\x81\xd9\x94", false); } // [B1, V6, V7, U1]
9046test { try toAsciiFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d\xef\xbc\x8e\xd6\x9a?\xdb\x81\xd9\x94", true); } // [B1, V6, V7, U1]
9047test { try toUnicodeFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d.\xd6\x9a?\xdb\x82"); } // [B1, V6, V7, U1]
9048test { try toAsciiFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d.\xd6\x9a?\xdb\x82", false); } // [B1, V6, V7, U1]
9049test { try toAsciiFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d.\xd6\x9a?\xdb\x82", true); } // [B1, V6, V7, U1]
9050test { try toUnicodeFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d.\xd6\x9a?\xdb\x81\xd9\x94"); } // [B1, V6, V7, U1]
9051test { try toAsciiFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d.\xd6\x9a?\xdb\x81\xd9\x94", false); } // [B1, V6, V7, U1]
9052test { try toAsciiFail("\xf0\x9d\xaa\xa3\xf2\x95\xa1\x9d.\xd6\x9a?\xdb\x81\xd9\x94", true); } // [B1, V6, V7, U1]
9053test { try toUnicodeFail("xn--8c3hu7971a.xn--?-wec30g"); } // [B1, V6, V7, U1]
9054test { try toAsciiFail("xn--8c3hu7971a.xn--?-wec30g", false); } // [B1, V6, V7, U1]
9055test { try toAsciiFail("xn--8c3hu7971a.xn--?-wec30g", true); } // [B1, V6, V7, U1]
9056test { try toUnicodeFail("xn--8c3hu7971a.\xd6\x9a?\xdb\x82"); } // [B1, V6, V7, U1]
9057test { try toAsciiFail("xn--8c3hu7971a.\xd6\x9a?\xdb\x82", false); } // [B1, V6, V7, U1]
9058test { try toAsciiFail("xn--8c3hu7971a.\xd6\x9a?\xdb\x82", true); } // [B1, V6, V7, U1]
9059test { try toUnicodeFail("xn--8c3hu7971a.\xd6\x9a?\xdb\x81\xd9\x94"); } // [B1, V6, V7, U1]
9060test { try toAsciiFail("xn--8c3hu7971a.\xd6\x9a?\xdb\x81\xd9\x94", false); } // [B1, V6, V7, U1]
9061test { try toAsciiFail("xn--8c3hu7971a.\xd6\x9a?\xdb\x81\xd9\x94", true); } // [B1, V6, V7, U1]
9062test { try toUnicodeFail("XN--8C3HU7971A.\xd6\x9a?\xdb\x81\xd9\x94"); } // [B1, V6, V7, U1]
9063test { try toAsciiFail("XN--8C3HU7971A.\xd6\x9a?\xdb\x81\xd9\x94", false); } // [B1, V6, V7, U1]
9064test { try toAsciiFail("XN--8C3HU7971A.\xd6\x9a?\xdb\x81\xd9\x94", true); } // [B1, V6, V7, U1]
9065test { try toUnicodeFail("XN--8C3HU7971A.\xd6\x9a?\xdb\x82"); } // [B1, V6, V7, U1]
9066test { try toAsciiFail("XN--8C3HU7971A.\xd6\x9a?\xdb\x82", false); } // [B1, V6, V7, U1]
9067test { try toAsciiFail("XN--8C3HU7971A.\xd6\x9a?\xdb\x82", true); } // [B1, V6, V7, U1]
9068test { try toUnicodeFail("Xn--8c3hu7971a.\xd6\x9a?\xdb\x82"); } // [B1, V6, V7, U1]
9069test { try toAsciiFail("Xn--8c3hu7971a.\xd6\x9a?\xdb\x82", false); } // [B1, V6, V7, U1]
9070test { try toAsciiFail("Xn--8c3hu7971a.\xd6\x9a?\xdb\x82", true); } // [B1, V6, V7, U1]
9071test { try toUnicodeFail("Xn--8c3hu7971a.\xd6\x9a?\xdb\x81\xd9\x94"); } // [B1, V6, V7, U1]
9072test { try toAsciiFail("Xn--8c3hu7971a.\xd6\x9a?\xdb\x81\xd9\x94", false); } // [B1, V6, V7, U1]
9073test { try toAsciiFail("Xn--8c3hu7971a.\xd6\x9a?\xdb\x81\xd9\x94", true); } // [B1, V6, V7, U1]
9074test { try toUnicodeFail("\xd9\xa0\xf2\xaa\x93\xb5\xe2\x80\x8c\xe3\x80\x82\xdd\x97"); } // [B1, C1, V7]
9075test { try toAsciiFail("\xd9\xa0\xf2\xaa\x93\xb5\xe2\x80\x8c\xe3\x80\x82\xdd\x97", false); } // [B1, C1, V7]
9076test { try toAsciiFail("\xd9\xa0\xf2\xaa\x93\xb5\xe2\x80\x8c\xe3\x80\x82\xdd\x97", true); } // [B1, V7]
9077test { try toUnicodeFail("xn--8hb82030l.xn--bpb"); } // [B1, V7]
9078test { try toAsciiFail("xn--8hb82030l.xn--bpb", false); } // [B1, V7]
9079test { try toAsciiFail("xn--8hb82030l.xn--bpb", true); } // [B1, V7]
9080test { try toUnicodeFail("xn--8hb852ke991q.xn--bpb"); } // [B1, C1, V7]
9081test { try toAsciiFail("xn--8hb852ke991q.xn--bpb", false); } // [B1, C1, V7]
9082test { try toAsciiFail("xn--8hb852ke991q.xn--bpb", true); } // [B1, C1, V7]
9083test { try toUnicodeFail("\xe1\x80\xba\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82-\xe2\x80\x8c"); } // [C1, V3, V6]
9084test { try toAsciiFail("\xe1\x80\xba\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82-\xe2\x80\x8c", false); } // [C1, V3, V6]
9085test { try toAsciiFail("\xe1\x80\xba\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82-\xe2\x80\x8c", true); } // [V3, V6]
9086test { try toUnicodeFail("xn--bkd.-"); } // [V3, V6]
9087test { try toAsciiFail("xn--bkd.-", false); } // [V3, V6]
9088test { try toAsciiFail("xn--bkd.-", true); } // [V3, V6]
9089test { try toUnicodeFail("xn--bkd412fca.xn----sgn"); } // [C1, V3, V6]
9090test { try toAsciiFail("xn--bkd412fca.xn----sgn", false); } // [C1, V3, V6]
9091test { try toAsciiFail("xn--bkd412fca.xn----sgn", true); } // [C1, V3, V6]
9092test { try toUnicodeFail("\xef\xb8\x92\xef\xbd\xa1\xe1\xad\x84\xe1\xa1\x89"); } // [V6, V7]
9093test { try toAsciiFail("\xef\xb8\x92\xef\xbd\xa1\xe1\xad\x84\xe1\xa1\x89", false); } // [V6, V7]
9094test { try toAsciiFail("\xef\xb8\x92\xef\xbd\xa1\xe1\xad\x84\xe1\xa1\x89", true); } // [V6, V7]
9095test { try toUnicodeFail("\xe3\x80\x82\xe3\x80\x82\xe1\xad\x84\xe1\xa1\x89"); } // [V6, X4_2]
9096test { try toAsciiFail("\xe3\x80\x82\xe3\x80\x82\xe1\xad\x84\xe1\xa1\x89", false); } // [V6, A4_2]
9097test { try toAsciiFail("\xe3\x80\x82\xe3\x80\x82\xe1\xad\x84\xe1\xa1\x89", true); } // [V6, A4_2]
9098test { try toUnicodeFail("..xn--87e93m"); } // [V6, X4_2]
9099test { try toAsciiFail("..xn--87e93m", false); } // [V6, A4_2]
9100test { try toAsciiFail("..xn--87e93m", true); } // [V6, A4_2]
9101test { try toUnicodeFail("xn--y86c.xn--87e93m"); } // [V6, V7]
9102test { try toAsciiFail("xn--y86c.xn--87e93m", false); } // [V6, V7]
9103test { try toAsciiFail("xn--y86c.xn--87e93m", true); } // [V6, V7]
9104test { try toUnicodeFail("\xdd\x98\xc3\x9f\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90"); } // [B2, B3, B5]
9105test { try toAsciiFail("\xdd\x98\xc3\x9f\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90", false); } // [B2, B3, B5]
9106test { try toAsciiFail("\xdd\x98\xc3\x9f\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90", true); } // [B2, B3, B5]
9107test { try toUnicodeFail("\xdd\x98\xc3\x9f\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82"); } // [B2, B3, B5]
9108test { try toAsciiFail("\xdd\x98\xc3\x9f\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82", false); } // [B2, B3, B5]
9109test { try toAsciiFail("\xdd\x98\xc3\x9f\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82", true); } // [B2, B3, B5]
9110test { try toUnicodeFail("\xdd\x98SS\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82"); } // [B2, B3, B5]
9111test { try toAsciiFail("\xdd\x98SS\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82", false); } // [B2, B3, B5]
9112test { try toAsciiFail("\xdd\x98SS\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82", true); } // [B2, B3, B5]
9113test { try toUnicodeFail("\xdd\x98ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82"); } // [B2, B3, B5]
9114test { try toAsciiFail("\xdd\x98ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82", false); } // [B2, B3, B5]
9115test { try toAsciiFail("\xdd\x98ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82", true); } // [B2, B3, B5]
9116test { try toUnicodeFail("xn--ss-gke.xn--2-b5c641gfmf"); } // [B2, B3, B5]
9117test { try toAsciiFail("xn--ss-gke.xn--2-b5c641gfmf", false); } // [B2, B3, B5]
9118test { try toAsciiFail("xn--ss-gke.xn--2-b5c641gfmf", true); } // [B2, B3, B5]
9119test { try toUnicodeFail("xn--zca724a.xn--2-b5c641gfmf"); } // [B2, B3, B5]
9120test { try toAsciiFail("xn--zca724a.xn--2-b5c641gfmf", false); } // [B2, B3, B5]
9121test { try toAsciiFail("xn--zca724a.xn--2-b5c641gfmf", true); } // [B2, B3, B5]
9122test { try toUnicodeFail("\xdd\x98SS\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90"); } // [B2, B3, B5]
9123test { try toAsciiFail("\xdd\x98SS\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90", false); } // [B2, B3, B5]
9124test { try toAsciiFail("\xdd\x98SS\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90", true); } // [B2, B3, B5]
9125test { try toUnicodeFail("\xdd\x98ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90"); } // [B2, B3, B5]
9126test { try toAsciiFail("\xdd\x98ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90", false); } // [B2, B3, B5]
9127test { try toAsciiFail("\xdd\x98ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90", true); } // [B2, B3, B5]
9128test { try toUnicodeFail("\xdd\x98Ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82"); } // [B2, B3, B5]
9129test { try toAsciiFail("\xdd\x98Ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82", false); } // [B2, B3, B5]
9130test { try toAsciiFail("\xdd\x98Ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa82", true); } // [B2, B3, B5]
9131test { try toUnicodeFail("\xdd\x98Ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90"); } // [B2, B3, B5]
9132test { try toAsciiFail("\xdd\x98Ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90", false); } // [B2, B3, B5]
9133test { try toAsciiFail("\xdd\x98Ss\xe3\x80\x82\xe1\x8c\xab\xe1\xa2\x8a\xdd\xa8\xf0\x9d\x9f\x90", true); } // [B2, B3, B5]
9134test { try toUnicodeFail("\xdf\x83\xf0\x9e\xb6\x87\xe1\x9a\xb2.\xe0\xa4\x82\xcd\x93\xf0\x9d\x9f\x9a\xe0\xa7\x8d"); } // [B1, B2, B3, V6, V7]
9135test { try toAsciiFail("\xdf\x83\xf0\x9e\xb6\x87\xe1\x9a\xb2.\xe0\xa4\x82\xcd\x93\xf0\x9d\x9f\x9a\xe0\xa7\x8d", false); } // [B1, B2, B3, V6, V7]
9136test { try toAsciiFail("\xdf\x83\xf0\x9e\xb6\x87\xe1\x9a\xb2.\xe0\xa4\x82\xcd\x93\xf0\x9d\x9f\x9a\xe0\xa7\x8d", true); } // [B1, B2, B3, V6, V7]
9137test { try toUnicodeFail("\xdf\x83\xf0\x9e\xb6\x87\xe1\x9a\xb2.\xe0\xa4\x82\xcd\x932\xe0\xa7\x8d"); } // [B1, B2, B3, V6, V7]
9138test { try toAsciiFail("\xdf\x83\xf0\x9e\xb6\x87\xe1\x9a\xb2.\xe0\xa4\x82\xcd\x932\xe0\xa7\x8d", false); } // [B1, B2, B3, V6, V7]
9139test { try toAsciiFail("\xdf\x83\xf0\x9e\xb6\x87\xe1\x9a\xb2.\xe0\xa4\x82\xcd\x932\xe0\xa7\x8d", true); } // [B1, B2, B3, V6, V7]
9140test { try toUnicodeFail("xn--esb067enh07a.xn--2-lgb874bjxa"); } // [B1, B2, B3, V6, V7]
9141test { try toAsciiFail("xn--esb067enh07a.xn--2-lgb874bjxa", false); } // [B1, B2, B3, V6, V7]
9142test { try toAsciiFail("xn--esb067enh07a.xn--2-lgb874bjxa", true); } // [B1, B2, B3, V6, V7]
9143test { try toUnicodeFail("-\xe1\xae\xab\xef\xb8\x92\xe2\x80\x8d.\xf1\x92\xb6\x88\xf1\xa5\xb9\x93"); } // [C2, V3, V7]
9144test { try toAsciiFail("-\xe1\xae\xab\xef\xb8\x92\xe2\x80\x8d.\xf1\x92\xb6\x88\xf1\xa5\xb9\x93", false); } // [C2, V3, V7]
9145test { try toAsciiFail("-\xe1\xae\xab\xef\xb8\x92\xe2\x80\x8d.\xf1\x92\xb6\x88\xf1\xa5\xb9\x93", true); } // [V3, V7]
9146test { try toUnicodeFail("-\xe1\xae\xab\xe3\x80\x82\xe2\x80\x8d.\xf1\x92\xb6\x88\xf1\xa5\xb9\x93"); } // [C2, V3, V7]
9147test { try toAsciiFail("-\xe1\xae\xab\xe3\x80\x82\xe2\x80\x8d.\xf1\x92\xb6\x88\xf1\xa5\xb9\x93", false); } // [C2, V3, V7]
9148test { try toAsciiFail("-\xe1\xae\xab\xe3\x80\x82\xe2\x80\x8d.\xf1\x92\xb6\x88\xf1\xa5\xb9\x93", true); } // [V3, V7, A4_2]
9149test { try toUnicodeFail("xn----qml..xn--x50zy803a"); } // [V3, V7, X4_2]
9150test { try toAsciiFail("xn----qml..xn--x50zy803a", false); } // [V3, V7, A4_2]
9151test { try toAsciiFail("xn----qml..xn--x50zy803a", true); } // [V3, V7, A4_2]
9152test { try toUnicodeFail("xn----qml.xn--1ug.xn--x50zy803a"); } // [C2, V3, V7]
9153test { try toAsciiFail("xn----qml.xn--1ug.xn--x50zy803a", false); } // [C2, V3, V7]
9154test { try toAsciiFail("xn----qml.xn--1ug.xn--x50zy803a", true); } // [C2, V3, V7]
9155test { try toUnicodeFail("xn----qml1407i.xn--x50zy803a"); } // [V3, V7]
9156test { try toAsciiFail("xn----qml1407i.xn--x50zy803a", false); } // [V3, V7]
9157test { try toAsciiFail("xn----qml1407i.xn--x50zy803a", true); } // [V3, V7]
9158test { try toUnicodeFail("xn----qmlv7tw180a.xn--x50zy803a"); } // [C2, V3, V7]
9159test { try toAsciiFail("xn----qmlv7tw180a.xn--x50zy803a", false); } // [C2, V3, V7]
9160test { try toAsciiFail("xn----qmlv7tw180a.xn--x50zy803a", true); } // [C2, V3, V7]
9161test { try toUnicodeFail("\xf3\xa0\xa6\xae.\xe2\x89\xaf\xf0\x9e\x80\x86"); } // [V7]
9162test { try toAsciiFail("\xf3\xa0\xa6\xae.\xe2\x89\xaf\xf0\x9e\x80\x86", false); } // [V7]
9163test { try toAsciiFail("\xf3\xa0\xa6\xae.\xe2\x89\xaf\xf0\x9e\x80\x86", true); } // [V7]
9164test { try toUnicodeFail("\xf3\xa0\xa6\xae.>\xcc\xb8\xf0\x9e\x80\x86"); } // [V7]
9165test { try toAsciiFail("\xf3\xa0\xa6\xae.>\xcc\xb8\xf0\x9e\x80\x86", false); } // [V7]
9166test { try toAsciiFail("\xf3\xa0\xa6\xae.>\xcc\xb8\xf0\x9e\x80\x86", true); } // [V7]
9167test { try toUnicodeFail("xn--t546e.xn--hdh5166o"); } // [V7]
9168test { try toAsciiFail("xn--t546e.xn--hdh5166o", false); } // [V7]
9169test { try toAsciiFail("xn--t546e.xn--hdh5166o", true); } // [V7]
9170test { try toUnicodeFail("-\xf0\x91\x84\xb3\xf3\xa0\x8a\x97\xf0\x90\xb9\xa9\xe3\x80\x82\xf0\x9e\xae\xb1"); } // [B1, V3, V7]
9171test { try toAsciiFail("-\xf0\x91\x84\xb3\xf3\xa0\x8a\x97\xf0\x90\xb9\xa9\xe3\x80\x82\xf0\x9e\xae\xb1", false); } // [B1, V3, V7]
9172test { try toAsciiFail("-\xf0\x91\x84\xb3\xf3\xa0\x8a\x97\xf0\x90\xb9\xa9\xe3\x80\x82\xf0\x9e\xae\xb1", true); } // [B1, V3, V7]
9173test { try toUnicodeFail("xn----p26i72em2894c.xn--zw6h"); } // [B1, V3, V7]
9174test { try toAsciiFail("xn----p26i72em2894c.xn--zw6h", false); } // [B1, V3, V7]
9175test { try toAsciiFail("xn----p26i72em2894c.xn--zw6h", true); } // [B1, V3, V7]
9176test { try toUnicodePass("\xda\xb9\xef\xbc\x8e\xe1\xa1\xb3\xe1\x85\x9f", "\xda\xb9.\xe1\xa1\xb3"); }
9177test { try toAsciiPass("\xda\xb9\xef\xbc\x8e\xe1\xa1\xb3\xe1\x85\x9f", "xn--skb.xn--g9e", false); }
9178test { try toAsciiPass("\xda\xb9\xef\xbc\x8e\xe1\xa1\xb3\xe1\x85\x9f", "xn--skb.xn--g9e", true); }
9179test { try toUnicodePass("\xda\xb9.\xe1\xa1\xb3\xe1\x85\x9f", "\xda\xb9.\xe1\xa1\xb3"); }
9180test { try toAsciiPass("\xda\xb9.\xe1\xa1\xb3\xe1\x85\x9f", "xn--skb.xn--g9e", false); }
9181test { try toAsciiPass("\xda\xb9.\xe1\xa1\xb3\xe1\x85\x9f", "xn--skb.xn--g9e", true); }
9182test { try toUnicodePass("xn--skb.xn--g9e", "\xda\xb9.\xe1\xa1\xb3"); }
9183test { try toAsciiPass("xn--skb.xn--g9e", "xn--skb.xn--g9e", false); }
9184test { try toAsciiPass("xn--skb.xn--g9e", "xn--skb.xn--g9e", true); }
9185test { try toUnicodePass("\xda\xb9.\xe1\xa1\xb3", "\xda\xb9.\xe1\xa1\xb3"); }
9186test { try toAsciiPass("\xda\xb9.\xe1\xa1\xb3", "xn--skb.xn--g9e", false); }
9187test { try toAsciiPass("\xda\xb9.\xe1\xa1\xb3", "xn--skb.xn--g9e", true); }
9188test { try toUnicodeFail("xn--skb.xn--osd737a"); } // [V7]
9189test { try toAsciiFail("xn--skb.xn--osd737a", false); } // [V7]
9190test { try toAsciiFail("xn--skb.xn--osd737a", true); } // [V7]
9191test { try toUnicodeFail("\xe3\xa8\x9b\xf0\x98\xb1\x8e.\xef\xb8\x92\xf0\x9d\x9f\x95\xe0\xb4\x81"); } // [V7]
9192test { try toAsciiFail("\xe3\xa8\x9b\xf0\x98\xb1\x8e.\xef\xb8\x92\xf0\x9d\x9f\x95\xe0\xb4\x81", false); } // [V7]
9193test { try toAsciiFail("\xe3\xa8\x9b\xf0\x98\xb1\x8e.\xef\xb8\x92\xf0\x9d\x9f\x95\xe0\xb4\x81", true); } // [V7]
9194test { try toAsciiFail("\xe3\xa8\x9b\xf0\x98\xb1\x8e.\xe3\x80\x827\xe0\xb4\x81", false); } // [A4_2]
9195test { try toAsciiFail("\xe3\xa8\x9b\xf0\x98\xb1\x8e.\xe3\x80\x827\xe0\xb4\x81", true); } // [A4_2]
9196test { try toAsciiFail("xn--mbm8237g..xn--7-7hf", false); } // [A4_2]
9197test { try toAsciiFail("xn--mbm8237g..xn--7-7hf", true); } // [A4_2]
9198test { try toUnicodeFail("xn--mbm8237g.xn--7-7hf1526p"); } // [V7]
9199test { try toAsciiFail("xn--mbm8237g.xn--7-7hf1526p", false); } // [V7]
9200test { try toAsciiFail("xn--mbm8237g.xn--7-7hf1526p", true); } // [V7]
9201test { try toUnicodeFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3\xe2\x89\xae"); } // [B1, B3, V3, V7]
9202test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3\xe2\x89\xae", false); } // [B1, B3, V3, V7]
9203test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3\xe2\x89\xae", true); } // [B1, B3, V3, V7]
9204test { try toUnicodeFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3<\xcc\xb8"); } // [B1, B3, V3, V7]
9205test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3<\xcc\xb8", false); } // [B1, B3, V3, V7]
9206test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3<\xcc\xb8", true); } // [B1, B3, V3, V7]
9207test { try toUnicodeFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3\xe2\x89\xae"); } // [B1, B3, V3, V7]
9208test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3\xe2\x89\xae", false); } // [B1, B3, V3, V7]
9209test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3\xe2\x89\xae", true); } // [B1, B3, V3, V7]
9210test { try toUnicodeFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3<\xcc\xb8"); } // [B1, B3, V3, V7]
9211test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3<\xcc\xb8", false); } // [B1, B3, V3, V7]
9212test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\xa3<\xcc\xb8", true); } // [B1, B3, V3, V7]
9213test { try toUnicodeFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81<\xcc\xb8"); } // [B1, B3, V3, V7]
9214test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81<\xcc\xb8", false); } // [B1, B3, V3, V7]
9215test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81<\xcc\xb8", true); } // [B1, B3, V3, V7]
9216test { try toUnicodeFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81\xe2\x89\xae"); } // [B1, B3, V3, V7]
9217test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81\xe2\x89\xae", false); } // [B1, B3, V3, V7]
9218test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xe3\x80\x82\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81\xe2\x89\xae", true); } // [B1, B3, V3, V7]
9219test { try toUnicodeFail("xn----dxc06304e.xn--gdh5020pk5c"); } // [B1, B3, V3, V7]
9220test { try toAsciiFail("xn----dxc06304e.xn--gdh5020pk5c", false); } // [B1, B3, V3, V7]
9221test { try toAsciiFail("xn----dxc06304e.xn--gdh5020pk5c", true); } // [B1, B3, V3, V7]
9222test { try toUnicodeFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81<\xcc\xb8"); } // [B1, B3, V3, V7]
9223test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81<\xcc\xb8", false); } // [B1, B3, V3, V7]
9224test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81<\xcc\xb8", true); } // [B1, B3, V3, V7]
9225test { try toUnicodeFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81\xe2\x89\xae"); } // [B1, B3, V3, V7]
9226test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81\xe2\x89\xae", false); } // [B1, B3, V3, V7]
9227test { try toAsciiFail("\xdb\x9d\xf0\xbb\xb1\xa7-\xef\xbd\xa1\xf0\x9e\xb7\x81\xe2\x81\xa4\xf0\x9e\xa4\x81\xe2\x89\xae", true); } // [B1, B3, V3, V7]
9228test { try toAsciiPass("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9229test { try toUnicodeFail("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6"); } // [C1]
9230test { try toAsciiFail("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", false); } // [C1]
9231test { try toAsciiPass("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9232test { try toUnicodeFail("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6"); } // [C1]
9233test { try toAsciiFail("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", false); } // [C1]
9234test { try toAsciiPass("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9235test { try toUnicodeFail("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96"); } // [C1]
9236test { try toAsciiFail("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", false); } // [C1]
9237test { try toAsciiPass("SS\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9238test { try toUnicodeFail("SS\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6"); } // [C1]
9239test { try toAsciiFail("SS\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", false); } // [C1]
9240test { try toAsciiPass("ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9241test { try toUnicodeFail("ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96"); } // [C1]
9242test { try toAsciiFail("ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", false); } // [C1]
9243test { try toAsciiPass("Ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe2\xb4\x96", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9244test { try toUnicodeFail("Ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe2\xb4\x96"); } // [C1]
9245test { try toAsciiFail("Ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe2\xb4\x96", false); } // [C1]
9246test { try toUnicodePass("xn--ss-4epx629f.xn--ifh802b6a", "ss\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96"); }
9247test { try toAsciiPass("xn--ss-4epx629f.xn--ifh802b6a", "xn--ss-4epx629f.xn--ifh802b6a", false); }
9248test { try toAsciiPass("xn--ss-4epx629f.xn--ifh802b6a", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9249test { try toUnicodePass("ss\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", "ss\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96"); }
9250test { try toAsciiPass("ss\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", "xn--ss-4epx629f.xn--ifh802b6a", false); }
9251test { try toAsciiPass("ss\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9252test { try toUnicodePass("SS\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", "ss\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96"); }
9253test { try toAsciiPass("SS\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", "xn--ss-4epx629f.xn--ifh802b6a", false); }
9254test { try toAsciiPass("SS\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9255test { try toUnicodePass("Ss\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe2\xb4\x96", "ss\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96"); }
9256test { try toAsciiPass("Ss\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe2\xb4\x96", "xn--ss-4epx629f.xn--ifh802b6a", false); }
9257test { try toAsciiPass("Ss\xea\xab\xb6\xe1\xa2\xa5.\xe2\x8a\xb6\xe1\x83\x81\xe2\xb4\x96", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9258test { try toUnicodeFail("xn--ss-4ep585bkm5p.xn--ifh802b6a"); } // [C1]
9259test { try toAsciiFail("xn--ss-4ep585bkm5p.xn--ifh802b6a", false); } // [C1]
9260test { try toAsciiFail("xn--ss-4ep585bkm5p.xn--ifh802b6a", true); } // [C1]
9261test { try toUnicodeFail("xn--zca682johfi89m.xn--ifh802b6a"); } // [C1]
9262test { try toAsciiFail("xn--zca682johfi89m.xn--ifh802b6a", false); } // [C1]
9263test { try toAsciiFail("xn--zca682johfi89m.xn--ifh802b6a", true); } // [C1]
9264test { try toAsciiPass("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9265test { try toUnicodeFail("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96"); } // [C1]
9266test { try toAsciiFail("\xc3\x9f\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", false); } // [C1]
9267test { try toAsciiPass("SS\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9268test { try toUnicodeFail("SS\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6"); } // [C1]
9269test { try toAsciiFail("SS\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe1\x83\x81\xe1\x82\xb6", false); } // [C1]
9270test { try toAsciiPass("ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9271test { try toUnicodeFail("ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96"); } // [C1]
9272test { try toAsciiFail("ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe2\xb4\xa1\xe2\xb4\x96", false); } // [C1]
9273test { try toAsciiPass("Ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe1\x83\x81\xe2\xb4\x96", "xn--ss-4epx629f.xn--ifh802b6a", true); }
9274test { try toUnicodeFail("Ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe1\x83\x81\xe2\xb4\x96"); } // [C1]
9275test { try toAsciiFail("Ss\xe2\x80\x8c\xea\xab\xb6\xe1\xa2\xa5\xef\xbc\x8e\xe2\x8a\xb6\xe1\x83\x81\xe2\xb4\x96", false); } // [C1]
9276test { try toUnicodeFail("xn--ss-4epx629f.xn--5nd703gyrh"); } // [V7]
9277test { try toAsciiFail("xn--ss-4epx629f.xn--5nd703gyrh", false); } // [V7]
9278test { try toAsciiFail("xn--ss-4epx629f.xn--5nd703gyrh", true); } // [V7]
9279test { try toUnicodeFail("xn--ss-4ep585bkm5p.xn--5nd703gyrh"); } // [C1, V7]
9280test { try toAsciiFail("xn--ss-4ep585bkm5p.xn--5nd703gyrh", false); } // [C1, V7]
9281test { try toAsciiFail("xn--ss-4ep585bkm5p.xn--5nd703gyrh", true); } // [C1, V7]
9282test { try toUnicodeFail("xn--ss-4epx629f.xn--undv409k"); } // [V7]
9283test { try toAsciiFail("xn--ss-4epx629f.xn--undv409k", false); } // [V7]
9284test { try toAsciiFail("xn--ss-4epx629f.xn--undv409k", true); } // [V7]
9285test { try toUnicodeFail("xn--ss-4ep585bkm5p.xn--undv409k"); } // [C1, V7]
9286test { try toAsciiFail("xn--ss-4ep585bkm5p.xn--undv409k", false); } // [C1, V7]
9287test { try toAsciiFail("xn--ss-4ep585bkm5p.xn--undv409k", true); } // [C1, V7]
9288test { try toUnicodeFail("xn--zca682johfi89m.xn--undv409k"); } // [C1, V7]
9289test { try toAsciiFail("xn--zca682johfi89m.xn--undv409k", false); } // [C1, V7]
9290test { try toAsciiFail("xn--zca682johfi89m.xn--undv409k", true); } // [C1, V7]
9291test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xcf\x82\xf3\xa0\x81\x89"); } // [C2, V7]
9292test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xcf\x82\xf3\xa0\x81\x89", false); } // [C2, V7]
9293test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xcf\x82\xf3\xa0\x81\x89", true); } // [V7, A4_2]
9294test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xce\xa3\xf3\xa0\x81\x89"); } // [C2, V7]
9295test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xce\xa3\xf3\xa0\x81\x89", false); } // [C2, V7]
9296test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xce\xa3\xf3\xa0\x81\x89", true); } // [V7, A4_2]
9297test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xcf\x83\xf3\xa0\x81\x89"); } // [C2, V7]
9298test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xcf\x83\xf3\xa0\x81\x89", false); } // [C2, V7]
9299test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xcf\x83\xf3\xa0\x81\x89", true); } // [V7, A4_2]
9300test { try toUnicodeFail(".xn--4xa24344p"); } // [V7, X4_2]
9301test { try toAsciiFail(".xn--4xa24344p", false); } // [V7, A4_2]
9302test { try toAsciiFail(".xn--4xa24344p", true); } // [V7, A4_2]
9303test { try toUnicodeFail("xn--1ug.xn--4xa24344p"); } // [C2, V7]
9304test { try toAsciiFail("xn--1ug.xn--4xa24344p", false); } // [C2, V7]
9305test { try toAsciiFail("xn--1ug.xn--4xa24344p", true); } // [C2, V7]
9306test { try toUnicodeFail("xn--1ug.xn--3xa44344p"); } // [C2, V7]
9307test { try toAsciiFail("xn--1ug.xn--3xa44344p", false); } // [C2, V7]
9308test { try toAsciiFail("xn--1ug.xn--3xa44344p", true); } // [C2, V7]
9309test { try toUnicodeFail("\xf0\x9e\xb5\x91\xc3\x9f.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-"); } // [B2, B3, C2, V3, V7]
9310test { try toAsciiFail("\xf0\x9e\xb5\x91\xc3\x9f.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-", false); } // [B2, B3, C2, V3, V7]
9311test { try toAsciiFail("\xf0\x9e\xb5\x91\xc3\x9f.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-", true); } // [B2, B3, V3, V7]
9312test { try toUnicodeFail("\xf0\x9e\xb5\x91\xc3\x9f.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\xbd-"); } // [B2, B3, C2, V3, V7]
9313test { try toAsciiFail("\xf0\x9e\xb5\x91\xc3\x9f.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\xbd-", false); } // [B2, B3, C2, V3, V7]
9314test { try toAsciiFail("\xf0\x9e\xb5\x91\xc3\x9f.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\xbd-", true); } // [B2, B3, V3, V7]
9315test { try toUnicodeFail("\xf0\x9e\xb5\x91SS.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-"); } // [B2, B3, C2, V3, V7]
9316test { try toAsciiFail("\xf0\x9e\xb5\x91SS.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-", false); } // [B2, B3, C2, V3, V7]
9317test { try toAsciiFail("\xf0\x9e\xb5\x91SS.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-", true); } // [B2, B3, V3, V7]
9318test { try toUnicodeFail("\xf0\x9e\xb5\x91ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\xbd-"); } // [B2, B3, C2, V3, V7]
9319test { try toAsciiFail("\xf0\x9e\xb5\x91ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\xbd-", false); } // [B2, B3, C2, V3, V7]
9320test { try toAsciiFail("\xf0\x9e\xb5\x91ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\xbd-", true); } // [B2, B3, V3, V7]
9321test { try toUnicodeFail("\xf0\x9e\xb5\x91Ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\xbd-"); } // [B2, B3, C2, V3, V7]
9322test { try toAsciiFail("\xf0\x9e\xb5\x91Ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\xbd-", false); } // [B2, B3, C2, V3, V7]
9323test { try toAsciiFail("\xf0\x9e\xb5\x91Ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\xbd-", true); } // [B2, B3, V3, V7]
9324test { try toUnicodeFail("xn--ss-2722a.xn----z3c03218a"); } // [B2, B3, V3, V7]
9325test { try toAsciiFail("xn--ss-2722a.xn----z3c03218a", false); } // [B2, B3, V3, V7]
9326test { try toAsciiFail("xn--ss-2722a.xn----z3c03218a", true); } // [B2, B3, V3, V7]
9327test { try toUnicodeFail("xn--ss-2722a.xn----z3c011q9513b"); } // [B2, B3, C2, V3, V7]
9328test { try toAsciiFail("xn--ss-2722a.xn----z3c011q9513b", false); } // [B2, B3, C2, V3, V7]
9329test { try toAsciiFail("xn--ss-2722a.xn----z3c011q9513b", true); } // [B2, B3, C2, V3, V7]
9330test { try toUnicodeFail("xn--zca5423w.xn----z3c011q9513b"); } // [B2, B3, C2, V3, V7]
9331test { try toAsciiFail("xn--zca5423w.xn----z3c011q9513b", false); } // [B2, B3, C2, V3, V7]
9332test { try toAsciiFail("xn--zca5423w.xn----z3c011q9513b", true); } // [B2, B3, C2, V3, V7]
9333test { try toUnicodeFail("\xf0\x9e\xb5\x91ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-"); } // [B2, B3, C2, V3, V7]
9334test { try toAsciiFail("\xf0\x9e\xb5\x91ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-", false); } // [B2, B3, C2, V3, V7]
9335test { try toAsciiFail("\xf0\x9e\xb5\x91ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-", true); } // [B2, B3, V3, V7]
9336test { try toUnicodeFail("\xf0\x9e\xb5\x91Ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-"); } // [B2, B3, C2, V3, V7]
9337test { try toAsciiFail("\xf0\x9e\xb5\x91Ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-", false); } // [B2, B3, C2, V3, V7]
9338test { try toAsciiFail("\xf0\x9e\xb5\x91Ss.\xdd\x91\xe2\x80\x8d\xf0\x9e\xa4\x9b-", true); } // [B2, B3, V3, V7]
9339test { try toUnicodeFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\xa7\xef\xbc\x8e\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-"); } // [B1, C2, V3, V6, V7]
9340test { try toAsciiFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\xa7\xef\xbc\x8e\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-", false); } // [B1, C2, V3, V6, V7]
9341test { try toAsciiFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\xa7\xef\xbc\x8e\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-", true); } // [B1, V3, V6, V7]
9342test { try toUnicodeFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\xa7.\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-"); } // [B1, C2, V3, V6, V7]
9343test { try toAsciiFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\xa7.\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-", false); } // [B1, C2, V3, V6, V7]
9344test { try toAsciiFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\xa7.\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-", true); } // [B1, V3, V6, V7]
9345test { try toUnicodeFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\x85.\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-"); } // [B1, C2, V3, V6, V7]
9346test { try toAsciiFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\x85.\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-", false); } // [B1, C2, V3, V6, V7]
9347test { try toAsciiFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\x85.\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-", true); } // [B1, V3, V6, V7]
9348test { try toUnicodeFail("xn--qb2ds317a.xn----k26iq1483f"); } // [B1, V3, V6, V7]
9349test { try toAsciiFail("xn--qb2ds317a.xn----k26iq1483f", false); } // [B1, V3, V6, V7]
9350test { try toAsciiFail("xn--qb2ds317a.xn----k26iq1483f", true); } // [B1, V3, V6, V7]
9351test { try toUnicodeFail("xn--1ugz808gdimf.xn----k26iq1483f"); } // [B1, C2, V3, V6, V7]
9352test { try toAsciiFail("xn--1ugz808gdimf.xn----k26iq1483f", false); } // [B1, C2, V3, V6, V7]
9353test { try toAsciiFail("xn--1ugz808gdimf.xn----k26iq1483f", true); } // [B1, C2, V3, V6, V7]
9354test { try toUnicodeFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\x85\xef\xbc\x8e\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-"); } // [B1, C2, V3, V6, V7]
9355test { try toAsciiFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\x85\xef\xbc\x8e\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-", false); } // [B1, C2, V3, V6, V7]
9356test { try toAsciiFail("\xf0\x91\x98\xbd\xe2\x80\x8d\xf0\x9e\xa4\x85\xef\xbc\x8e\xf0\x90\xb9\xa7\xf3\xa1\xa6\xaa-", true); } // [B1, V3, V6, V7]
9357test { try toUnicodeFail("\xe2\x92\x92\xf2\xa8\x98\x99\xf2\xb3\xb3\xa0\xf0\x91\x93\x80.-\xf3\x9e\xa1\x8a"); } // [V3, V7]
9358test { try toAsciiFail("\xe2\x92\x92\xf2\xa8\x98\x99\xf2\xb3\xb3\xa0\xf0\x91\x93\x80.-\xf3\x9e\xa1\x8a", false); } // [V3, V7]
9359test { try toAsciiFail("\xe2\x92\x92\xf2\xa8\x98\x99\xf2\xb3\xb3\xa0\xf0\x91\x93\x80.-\xf3\x9e\xa1\x8a", true); } // [V3, V7]
9360test { try toUnicodeFail("11.\xf2\xa8\x98\x99\xf2\xb3\xb3\xa0\xf0\x91\x93\x80.-\xf3\x9e\xa1\x8a"); } // [V3, V7]
9361test { try toAsciiFail("11.\xf2\xa8\x98\x99\xf2\xb3\xb3\xa0\xf0\x91\x93\x80.-\xf3\x9e\xa1\x8a", false); } // [V3, V7]
9362test { try toAsciiFail("11.\xf2\xa8\x98\x99\xf2\xb3\xb3\xa0\xf0\x91\x93\x80.-\xf3\x9e\xa1\x8a", true); } // [V3, V7]
9363test { try toUnicodeFail("11.xn--uz1d59632bxujd.xn----x310m"); } // [V3, V7]
9364test { try toAsciiFail("11.xn--uz1d59632bxujd.xn----x310m", false); } // [V3, V7]
9365test { try toAsciiFail("11.xn--uz1d59632bxujd.xn----x310m", true); } // [V3, V7]
9366test { try toUnicodeFail("xn--3shy698frsu9dt1me.xn----x310m"); } // [V3, V7]
9367test { try toAsciiFail("xn--3shy698frsu9dt1me.xn----x310m", false); } // [V3, V7]
9368test { try toAsciiFail("xn--3shy698frsu9dt1me.xn----x310m", true); } // [V3, V7]
9369test { try toUnicodeFail("-\xef\xbd\xa1\xe2\x80\x8d"); } // [C2, V3]
9370test { try toAsciiFail("-\xef\xbd\xa1\xe2\x80\x8d", false); } // [C2, V3]
9371test { try toAsciiFail("-\xef\xbd\xa1\xe2\x80\x8d", true); } // [V3, A4_2]
9372test { try toUnicodeFail("-\xe3\x80\x82\xe2\x80\x8d"); } // [C2, V3]
9373test { try toAsciiFail("-\xe3\x80\x82\xe2\x80\x8d", false); } // [C2, V3]
9374test { try toAsciiFail("-\xe3\x80\x82\xe2\x80\x8d", true); } // [V3, A4_2]
9375test { try toUnicodeFail("-."); } // [V3]
9376test { try toAsciiFail("-.", false); } // [V3, A4_2]
9377test { try toAsciiFail("-.", true); } // [V3, A4_2]
9378test { try toUnicodeFail("-.xn--1ug"); } // [C2, V3]
9379test { try toAsciiFail("-.xn--1ug", false); } // [C2, V3]
9380test { try toAsciiFail("-.xn--1ug", true); } // [C2, V3]
9381test { try toUnicodeFail("\xe2\x89\xae\xe1\xa1\xac\xef\xbc\x8e\xcf\x82\xc2\xb9-?"); } // [U1]
9382test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac\xef\xbc\x8e\xcf\x82\xc2\xb9-?", false); } // [U1]
9383test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac\xef\xbc\x8e\xcf\x82\xc2\xb9-?", true); } // [U1]
9384test { try toUnicodeFail("<\xcc\xb8\xe1\xa1\xac\xef\xbc\x8e\xcf\x82\xc2\xb9-?"); } // [U1]
9385test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac\xef\xbc\x8e\xcf\x82\xc2\xb9-?", false); } // [U1]
9386test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac\xef\xbc\x8e\xcf\x82\xc2\xb9-?", true); } // [U1]
9387test { try toUnicodeFail("\xe2\x89\xae\xe1\xa1\xac.\xcf\x821-?"); } // [U1]
9388test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac.\xcf\x821-?", false); } // [U1]
9389test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac.\xcf\x821-?", true); } // [U1]
9390test { try toUnicodeFail("<\xcc\xb8\xe1\xa1\xac.\xcf\x821-?"); } // [U1]
9391test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac.\xcf\x821-?", false); } // [U1]
9392test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac.\xcf\x821-?", true); } // [U1]
9393test { try toUnicodeFail("<\xcc\xb8\xe1\xa1\xac.\xce\xa31-?"); } // [U1]
9394test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac.\xce\xa31-?", false); } // [U1]
9395test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac.\xce\xa31-?", true); } // [U1]
9396test { try toUnicodeFail("\xe2\x89\xae\xe1\xa1\xac.\xce\xa31-?"); } // [U1]
9397test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac.\xce\xa31-?", false); } // [U1]
9398test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac.\xce\xa31-?", true); } // [U1]
9399test { try toUnicodeFail("\xe2\x89\xae\xe1\xa1\xac.\xcf\x831-?"); } // [U1]
9400test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac.\xcf\x831-?", false); } // [U1]
9401test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac.\xcf\x831-?", true); } // [U1]
9402test { try toUnicodeFail("<\xcc\xb8\xe1\xa1\xac.\xcf\x831-?"); } // [U1]
9403test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac.\xcf\x831-?", false); } // [U1]
9404test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac.\xcf\x831-?", true); } // [U1]
9405test { try toUnicodeFail("xn--88e732c.xn--1-?-pzc"); } // [U1]
9406test { try toAsciiFail("xn--88e732c.xn--1-?-pzc", false); } // [U1]
9407test { try toAsciiFail("xn--88e732c.xn--1-?-pzc", true); } // [U1]
9408test { try toUnicodeFail("xn--88e732c.xn--1-?-lzc"); } // [U1]
9409test { try toAsciiFail("xn--88e732c.xn--1-?-lzc", false); } // [U1]
9410test { try toAsciiFail("xn--88e732c.xn--1-?-lzc", true); } // [U1]
9411test { try toUnicodeFail("<\xcc\xb8\xe1\xa1\xac\xef\xbc\x8e\xce\xa3\xc2\xb9-?"); } // [U1]
9412test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac\xef\xbc\x8e\xce\xa3\xc2\xb9-?", false); } // [U1]
9413test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac\xef\xbc\x8e\xce\xa3\xc2\xb9-?", true); } // [U1]
9414test { try toUnicodeFail("\xe2\x89\xae\xe1\xa1\xac\xef\xbc\x8e\xce\xa3\xc2\xb9-?"); } // [U1]
9415test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac\xef\xbc\x8e\xce\xa3\xc2\xb9-?", false); } // [U1]
9416test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac\xef\xbc\x8e\xce\xa3\xc2\xb9-?", true); } // [U1]
9417test { try toUnicodeFail("\xe2\x89\xae\xe1\xa1\xac\xef\xbc\x8e\xcf\x83\xc2\xb9-?"); } // [U1]
9418test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac\xef\xbc\x8e\xcf\x83\xc2\xb9-?", false); } // [U1]
9419test { try toAsciiFail("\xe2\x89\xae\xe1\xa1\xac\xef\xbc\x8e\xcf\x83\xc2\xb9-?", true); } // [U1]
9420test { try toUnicodeFail("<\xcc\xb8\xe1\xa1\xac\xef\xbc\x8e\xcf\x83\xc2\xb9-?"); } // [U1]
9421test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac\xef\xbc\x8e\xcf\x83\xc2\xb9-?", false); } // [U1]
9422test { try toAsciiFail("<\xcc\xb8\xe1\xa1\xac\xef\xbc\x8e\xcf\x83\xc2\xb9-?", true); } // [U1]
9423test { try toUnicodeFail("xn--88e732c.\xcf\x831-?"); } // [U1]
9424test { try toAsciiFail("xn--88e732c.\xcf\x831-?", false); } // [U1]
9425test { try toAsciiFail("xn--88e732c.\xcf\x831-?", true); } // [U1]
9426test { try toUnicodeFail("XN--88E732C.\xce\xa31-?"); } // [U1]
9427test { try toAsciiFail("XN--88E732C.\xce\xa31-?", false); } // [U1]
9428test { try toAsciiFail("XN--88E732C.\xce\xa31-?", true); } // [U1]
9429test { try toUnicodeFail("xn--88e732c.\xcf\x821-?"); } // [U1]
9430test { try toAsciiFail("xn--88e732c.\xcf\x821-?", false); } // [U1]
9431test { try toAsciiFail("xn--88e732c.\xcf\x821-?", true); } // [U1]
9432test { try toUnicodeFail("Xn--88e732c.\xcf\x821-?"); } // [U1]
9433test { try toAsciiFail("Xn--88e732c.\xcf\x821-?", false); } // [U1]
9434test { try toAsciiFail("Xn--88e732c.\xcf\x821-?", true); } // [U1]
9435test { try toUnicodeFail("Xn--88e732c.\xcf\x831-?"); } // [U1]
9436test { try toAsciiFail("Xn--88e732c.\xcf\x831-?", false); } // [U1]
9437test { try toAsciiFail("Xn--88e732c.\xcf\x831-?", true); } // [U1]
9438test { try toUnicodeFail("\xe1\x89\xac\xf2\x94\xa0\xbc\xf1\x81\x97\xb6\xef\xbd\xa1\xf0\x90\xa8\xac\xf0\x9d\x9f\xa0"); } // [V7]
9439test { try toAsciiFail("\xe1\x89\xac\xf2\x94\xa0\xbc\xf1\x81\x97\xb6\xef\xbd\xa1\xf0\x90\xa8\xac\xf0\x9d\x9f\xa0", false); } // [V7]
9440test { try toAsciiFail("\xe1\x89\xac\xf2\x94\xa0\xbc\xf1\x81\x97\xb6\xef\xbd\xa1\xf0\x90\xa8\xac\xf0\x9d\x9f\xa0", true); } // [V7]
9441test { try toUnicodeFail("\xe1\x89\xac\xf2\x94\xa0\xbc\xf1\x81\x97\xb6\xe3\x80\x82\xf0\x90\xa8\xac8"); } // [V7]
9442test { try toAsciiFail("\xe1\x89\xac\xf2\x94\xa0\xbc\xf1\x81\x97\xb6\xe3\x80\x82\xf0\x90\xa8\xac8", false); } // [V7]
9443test { try toAsciiFail("\xe1\x89\xac\xf2\x94\xa0\xbc\xf1\x81\x97\xb6\xe3\x80\x82\xf0\x90\xa8\xac8", true); } // [V7]
9444test { try toUnicodeFail("xn--d0d41273c887z.xn--8-ob5i"); } // [V7]
9445test { try toAsciiFail("xn--d0d41273c887z.xn--8-ob5i", false); } // [V7]
9446test { try toAsciiFail("xn--d0d41273c887z.xn--8-ob5i", true); } // [V7]
9447test { try toUnicodeFail("\xf0\x90\xb1\xb2\xe3\x80\x82\xe8\x94\xab\xdd\xa6"); } // [B5, B6, V7]
9448test { try toAsciiFail("\xf0\x90\xb1\xb2\xe3\x80\x82\xe8\x94\xab\xdd\xa6", false); } // [B5, B6, V7]
9449test { try toAsciiFail("\xf0\x90\xb1\xb2\xe3\x80\x82\xe8\x94\xab\xdd\xa6", true); } // [B5, B6, V7]
9450test { try toUnicodeFail("xn--389c.xn--qpb7055d"); } // [B5, B6, V7]
9451test { try toAsciiFail("xn--389c.xn--qpb7055d", false); } // [B5, B6, V7]
9452test { try toAsciiFail("xn--389c.xn--qpb7055d", true); } // [B5, B6, V7]
9453test { try toUnicodeFail("\xf2\x92\xb2\xa7\xe2\x82\x83\xef\xbd\xa1\xea\xa1\x9a\xf0\x9b\x87\x91\xf3\xa0\x84\xb3\xd9\x87"); } // [B5, B6, V7]
9454test { try toAsciiFail("\xf2\x92\xb2\xa7\xe2\x82\x83\xef\xbd\xa1\xea\xa1\x9a\xf0\x9b\x87\x91\xf3\xa0\x84\xb3\xd9\x87", false); } // [B5, B6, V7]
9455test { try toAsciiFail("\xf2\x92\xb2\xa7\xe2\x82\x83\xef\xbd\xa1\xea\xa1\x9a\xf0\x9b\x87\x91\xf3\xa0\x84\xb3\xd9\x87", true); } // [B5, B6, V7]
9456test { try toUnicodeFail("\xf2\x92\xb2\xa73\xe3\x80\x82\xea\xa1\x9a\xf0\x9b\x87\x91\xf3\xa0\x84\xb3\xd9\x87"); } // [B5, B6, V7]
9457test { try toAsciiFail("\xf2\x92\xb2\xa73\xe3\x80\x82\xea\xa1\x9a\xf0\x9b\x87\x91\xf3\xa0\x84\xb3\xd9\x87", false); } // [B5, B6, V7]
9458test { try toAsciiFail("\xf2\x92\xb2\xa73\xe3\x80\x82\xea\xa1\x9a\xf0\x9b\x87\x91\xf3\xa0\x84\xb3\xd9\x87", true); } // [B5, B6, V7]
9459test { try toUnicodeFail("xn--3-ep59g.xn--jhb5904fcp0h"); } // [B5, B6, V7]
9460test { try toAsciiFail("xn--3-ep59g.xn--jhb5904fcp0h", false); } // [B5, B6, V7]
9461test { try toAsciiFail("xn--3-ep59g.xn--jhb5904fcp0h", true); } // [B5, B6, V7]
9462test { try toUnicodeFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.\xc3\x9f"); } // [B5, B6]
9463test { try toAsciiFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.\xc3\x9f", false); } // [B5, B6]
9464test { try toAsciiFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.\xc3\x9f", true); } // [B5, B6]
9465test { try toUnicodeFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.\xc3\x9f"); } // [B5, B6]
9466test { try toAsciiFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.\xc3\x9f", false); } // [B5, B6]
9467test { try toAsciiFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.\xc3\x9f", true); } // [B5, B6]
9468test { try toUnicodeFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.SS"); } // [B5, B6]
9469test { try toAsciiFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.SS", false); } // [B5, B6]
9470test { try toAsciiFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.SS", true); } // [B5, B6]
9471test { try toUnicodeFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.SS"); } // [B5, B6]
9472test { try toAsciiFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.SS", false); } // [B5, B6]
9473test { try toAsciiFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.SS", true); } // [B5, B6]
9474test { try toUnicodeFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.ss"); } // [B5, B6]
9475test { try toAsciiFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.ss", false); } // [B5, B6]
9476test { try toAsciiFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.ss", true); } // [B5, B6]
9477test { try toUnicodeFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.ss"); } // [B5, B6]
9478test { try toAsciiFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.ss", false); } // [B5, B6]
9479test { try toAsciiFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.ss", true); } // [B5, B6]
9480test { try toUnicodeFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.Ss"); } // [B5, B6]
9481test { try toAsciiFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.Ss", false); } // [B5, B6]
9482test { try toAsciiFail("\xe8\x93\xb8\xd9\x82=\xcc\xb8.Ss", true); } // [B5, B6]
9483test { try toUnicodeFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.Ss"); } // [B5, B6]
9484test { try toAsciiFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.Ss", false); } // [B5, B6]
9485test { try toAsciiFail("\xe8\x93\xb8\xd9\x82\xe2\x89\xa0.Ss", true); } // [B5, B6]
9486test { try toUnicodeFail("xn--ehb015lnt1e.ss"); } // [B5, B6]
9487test { try toAsciiFail("xn--ehb015lnt1e.ss", false); } // [B5, B6]
9488test { try toAsciiFail("xn--ehb015lnt1e.ss", true); } // [B5, B6]
9489test { try toUnicodeFail("xn--ehb015lnt1e.xn--zca"); } // [B5, B6]
9490test { try toAsciiFail("xn--ehb015lnt1e.xn--zca", false); } // [B5, B6]
9491test { try toAsciiFail("xn--ehb015lnt1e.xn--zca", true); } // [B5, B6]
9492test { try toUnicodeFail("\xe0\xa1\x8e\xd9\xba\xe0\xb7\x93\xe2\x92\x8a.\xf0\x90\xb9\xb9\xf0\x9e\xb1\xa9\xf3\xa0\x83\xaa\xe2\x80\x8c"); } // [B1, C1, V7]
9493test { try toAsciiFail("\xe0\xa1\x8e\xd9\xba\xe0\xb7\x93\xe2\x92\x8a.\xf0\x90\xb9\xb9\xf0\x9e\xb1\xa9\xf3\xa0\x83\xaa\xe2\x80\x8c", false); } // [B1, C1, V7]
9494test { try toAsciiFail("\xe0\xa1\x8e\xd9\xba\xe0\xb7\x93\xe2\x92\x8a.\xf0\x90\xb9\xb9\xf0\x9e\xb1\xa9\xf3\xa0\x83\xaa\xe2\x80\x8c", true); } // [B1, V7]
9495test { try toUnicodeFail("\xe0\xa1\x8e\xd9\xba\xe0\xb7\x933..\xf0\x90\xb9\xb9\xf0\x9e\xb1\xa9\xf3\xa0\x83\xaa\xe2\x80\x8c"); } // [B1, C1, V7, X4_2]
9496test { try toAsciiFail("\xe0\xa1\x8e\xd9\xba\xe0\xb7\x933..\xf0\x90\xb9\xb9\xf0\x9e\xb1\xa9\xf3\xa0\x83\xaa\xe2\x80\x8c", false); } // [B1, C1, V7, A4_2]
9497test { try toAsciiFail("\xe0\xa1\x8e\xd9\xba\xe0\xb7\x933..\xf0\x90\xb9\xb9\xf0\x9e\xb1\xa9\xf3\xa0\x83\xaa\xe2\x80\x8c", true); } // [B1, V7, A4_2]
9498test { try toUnicodeFail("xn--3-prc71ls9j..xn--xo0dw109an237f"); } // [B1, V7, X4_2]
9499test { try toAsciiFail("xn--3-prc71ls9j..xn--xo0dw109an237f", false); } // [B1, V7, A4_2]
9500test { try toAsciiFail("xn--3-prc71ls9j..xn--xo0dw109an237f", true); } // [B1, V7, A4_2]
9501test { try toUnicodeFail("xn--3-prc71ls9j..xn--0ug3205g7eyf3c96h"); } // [B1, C1, V7, X4_2]
9502test { try toAsciiFail("xn--3-prc71ls9j..xn--0ug3205g7eyf3c96h", false); } // [B1, C1, V7, A4_2]
9503test { try toAsciiFail("xn--3-prc71ls9j..xn--0ug3205g7eyf3c96h", true); } // [B1, C1, V7, A4_2]
9504test { try toUnicodeFail("xn--zib94gfziuq1a.xn--xo0dw109an237f"); } // [B1, V7]
9505test { try toAsciiFail("xn--zib94gfziuq1a.xn--xo0dw109an237f", false); } // [B1, V7]
9506test { try toAsciiFail("xn--zib94gfziuq1a.xn--xo0dw109an237f", true); } // [B1, V7]
9507test { try toUnicodeFail("xn--zib94gfziuq1a.xn--0ug3205g7eyf3c96h"); } // [B1, C1, V7]
9508test { try toAsciiFail("xn--zib94gfziuq1a.xn--0ug3205g7eyf3c96h", false); } // [B1, C1, V7]
9509test { try toAsciiFail("xn--zib94gfziuq1a.xn--0ug3205g7eyf3c96h", true); } // [B1, C1, V7]
9510test { try toUnicodeFail("\xcf\x82\xe2\x80\x8d-.\xe1\x83\x83\xf0\xa6\x9f\x99"); } // [C2, V3]
9511test { try toAsciiFail("\xcf\x82\xe2\x80\x8d-.\xe1\x83\x83\xf0\xa6\x9f\x99", false); } // [C2, V3]
9512test { try toAsciiFail("\xcf\x82\xe2\x80\x8d-.\xe1\x83\x83\xf0\xa6\x9f\x99", true); } // [V3]
9513test { try toUnicodeFail("\xcf\x82\xe2\x80\x8d-.\xe2\xb4\xa3\xf0\xa6\x9f\x99"); } // [C2, V3]
9514test { try toAsciiFail("\xcf\x82\xe2\x80\x8d-.\xe2\xb4\xa3\xf0\xa6\x9f\x99", false); } // [C2, V3]
9515test { try toAsciiFail("\xcf\x82\xe2\x80\x8d-.\xe2\xb4\xa3\xf0\xa6\x9f\x99", true); } // [V3]
9516test { try toUnicodeFail("\xce\xa3\xe2\x80\x8d-.\xe1\x83\x83\xf0\xa6\x9f\x99"); } // [C2, V3]
9517test { try toAsciiFail("\xce\xa3\xe2\x80\x8d-.\xe1\x83\x83\xf0\xa6\x9f\x99", false); } // [C2, V3]
9518test { try toAsciiFail("\xce\xa3\xe2\x80\x8d-.\xe1\x83\x83\xf0\xa6\x9f\x99", true); } // [V3]
9519test { try toUnicodeFail("\xcf\x83\xe2\x80\x8d-.\xe2\xb4\xa3\xf0\xa6\x9f\x99"); } // [C2, V3]
9520test { try toAsciiFail("\xcf\x83\xe2\x80\x8d-.\xe2\xb4\xa3\xf0\xa6\x9f\x99", false); } // [C2, V3]
9521test { try toAsciiFail("\xcf\x83\xe2\x80\x8d-.\xe2\xb4\xa3\xf0\xa6\x9f\x99", true); } // [V3]
9522test { try toUnicodeFail("xn----zmb.xn--rlj2573p"); } // [V3]
9523test { try toAsciiFail("xn----zmb.xn--rlj2573p", false); } // [V3]
9524test { try toAsciiFail("xn----zmb.xn--rlj2573p", true); } // [V3]
9525test { try toUnicodeFail("xn----zmb048s.xn--rlj2573p"); } // [C2, V3]
9526test { try toAsciiFail("xn----zmb048s.xn--rlj2573p", false); } // [C2, V3]
9527test { try toAsciiFail("xn----zmb048s.xn--rlj2573p", true); } // [C2, V3]
9528test { try toUnicodeFail("xn----xmb348s.xn--rlj2573p"); } // [C2, V3]
9529test { try toAsciiFail("xn----xmb348s.xn--rlj2573p", false); } // [C2, V3]
9530test { try toAsciiFail("xn----xmb348s.xn--rlj2573p", true); } // [C2, V3]
9531test { try toUnicodeFail("xn----zmb.xn--7nd64871a"); } // [V3, V7]
9532test { try toAsciiFail("xn----zmb.xn--7nd64871a", false); } // [V3, V7]
9533test { try toAsciiFail("xn----zmb.xn--7nd64871a", true); } // [V3, V7]
9534test { try toUnicodeFail("xn----zmb048s.xn--7nd64871a"); } // [C2, V3, V7]
9535test { try toAsciiFail("xn----zmb048s.xn--7nd64871a", false); } // [C2, V3, V7]
9536test { try toAsciiFail("xn----zmb048s.xn--7nd64871a", true); } // [C2, V3, V7]
9537test { try toUnicodeFail("xn----xmb348s.xn--7nd64871a"); } // [C2, V3, V7]
9538test { try toAsciiFail("xn----xmb348s.xn--7nd64871a", false); } // [C2, V3, V7]
9539test { try toAsciiFail("xn----xmb348s.xn--7nd64871a", true); } // [C2, V3, V7]
9540test { try toUnicodePass("\xe2\x89\xa0\xe3\x80\x82\xf0\x9f\x9e\xb3\xf0\x9d\x9f\xb2", "\xe2\x89\xa0.\xf0\x9f\x9e\xb36"); }
9541test { try toAsciiPass("\xe2\x89\xa0\xe3\x80\x82\xf0\x9f\x9e\xb3\xf0\x9d\x9f\xb2", "xn--1ch.xn--6-dl4s", false); }
9542test { try toAsciiPass("\xe2\x89\xa0\xe3\x80\x82\xf0\x9f\x9e\xb3\xf0\x9d\x9f\xb2", "xn--1ch.xn--6-dl4s", true); }
9543test { try toUnicodePass("=\xcc\xb8\xe3\x80\x82\xf0\x9f\x9e\xb3\xf0\x9d\x9f\xb2", "\xe2\x89\xa0.\xf0\x9f\x9e\xb36"); }
9544test { try toAsciiPass("=\xcc\xb8\xe3\x80\x82\xf0\x9f\x9e\xb3\xf0\x9d\x9f\xb2", "xn--1ch.xn--6-dl4s", false); }
9545test { try toAsciiPass("=\xcc\xb8\xe3\x80\x82\xf0\x9f\x9e\xb3\xf0\x9d\x9f\xb2", "xn--1ch.xn--6-dl4s", true); }
9546test { try toUnicodePass("\xe2\x89\xa0\xe3\x80\x82\xf0\x9f\x9e\xb36", "\xe2\x89\xa0.\xf0\x9f\x9e\xb36"); }
9547test { try toAsciiPass("\xe2\x89\xa0\xe3\x80\x82\xf0\x9f\x9e\xb36", "xn--1ch.xn--6-dl4s", false); }
9548test { try toAsciiPass("\xe2\x89\xa0\xe3\x80\x82\xf0\x9f\x9e\xb36", "xn--1ch.xn--6-dl4s", true); }
9549test { try toUnicodePass("=\xcc\xb8\xe3\x80\x82\xf0\x9f\x9e\xb36", "\xe2\x89\xa0.\xf0\x9f\x9e\xb36"); }
9550test { try toAsciiPass("=\xcc\xb8\xe3\x80\x82\xf0\x9f\x9e\xb36", "xn--1ch.xn--6-dl4s", false); }
9551test { try toAsciiPass("=\xcc\xb8\xe3\x80\x82\xf0\x9f\x9e\xb36", "xn--1ch.xn--6-dl4s", true); }
9552test { try toUnicodePass("xn--1ch.xn--6-dl4s", "\xe2\x89\xa0.\xf0\x9f\x9e\xb36"); }
9553test { try toAsciiPass("xn--1ch.xn--6-dl4s", "xn--1ch.xn--6-dl4s", false); }
9554test { try toAsciiPass("xn--1ch.xn--6-dl4s", "xn--1ch.xn--6-dl4s", true); }
9555test { try toUnicodePass("\xe2\x89\xa0.\xf0\x9f\x9e\xb36", "\xe2\x89\xa0.\xf0\x9f\x9e\xb36"); }
9556test { try toAsciiPass("\xe2\x89\xa0.\xf0\x9f\x9e\xb36", "xn--1ch.xn--6-dl4s", false); }
9557test { try toAsciiPass("\xe2\x89\xa0.\xf0\x9f\x9e\xb36", "xn--1ch.xn--6-dl4s", true); }
9558test { try toUnicodePass("=\xcc\xb8.\xf0\x9f\x9e\xb36", "\xe2\x89\xa0.\xf0\x9f\x9e\xb36"); }
9559test { try toAsciiPass("=\xcc\xb8.\xf0\x9f\x9e\xb36", "xn--1ch.xn--6-dl4s", false); }
9560test { try toAsciiPass("=\xcc\xb8.\xf0\x9f\x9e\xb36", "xn--1ch.xn--6-dl4s", true); }
9561test { try toUnicodeFail("\xf3\x85\xac\xbd.\xe8\xa0\x94"); } // [V7]
9562test { try toAsciiFail("\xf3\x85\xac\xbd.\xe8\xa0\x94", false); } // [V7]
9563test { try toAsciiFail("\xf3\x85\xac\xbd.\xe8\xa0\x94", true); } // [V7]
9564test { try toUnicodeFail("xn--g747d.xn--xl2a"); } // [V7]
9565test { try toAsciiFail("xn--g747d.xn--xl2a", false); } // [V7]
9566test { try toAsciiFail("xn--g747d.xn--xl2a", true); } // [V7]
9567test { try toUnicodeFail("\xe0\xa3\xa6\xe2\x80\x8d\xef\xbc\x8e\xeb\xbc\xbd"); } // [C2, V6]
9568test { try toAsciiFail("\xe0\xa3\xa6\xe2\x80\x8d\xef\xbc\x8e\xeb\xbc\xbd", false); } // [C2, V6]
9569test { try toAsciiFail("\xe0\xa3\xa6\xe2\x80\x8d\xef\xbc\x8e\xeb\xbc\xbd", true); } // [V6]
9570test { try toUnicodeFail("\xe0\xa3\xa6\xe2\x80\x8d\xef\xbc\x8e\xe1\x84\x88\xe1\x85\xa8\xe1\x87\x80"); } // [C2, V6]
9571test { try toAsciiFail("\xe0\xa3\xa6\xe2\x80\x8d\xef\xbc\x8e\xe1\x84\x88\xe1\x85\xa8\xe1\x87\x80", false); } // [C2, V6]
9572test { try toAsciiFail("\xe0\xa3\xa6\xe2\x80\x8d\xef\xbc\x8e\xe1\x84\x88\xe1\x85\xa8\xe1\x87\x80", true); } // [V6]
9573test { try toUnicodeFail("\xe0\xa3\xa6\xe2\x80\x8d.\xeb\xbc\xbd"); } // [C2, V6]
9574test { try toAsciiFail("\xe0\xa3\xa6\xe2\x80\x8d.\xeb\xbc\xbd", false); } // [C2, V6]
9575test { try toAsciiFail("\xe0\xa3\xa6\xe2\x80\x8d.\xeb\xbc\xbd", true); } // [V6]
9576test { try toUnicodeFail("\xe0\xa3\xa6\xe2\x80\x8d.\xe1\x84\x88\xe1\x85\xa8\xe1\x87\x80"); } // [C2, V6]
9577test { try toAsciiFail("\xe0\xa3\xa6\xe2\x80\x8d.\xe1\x84\x88\xe1\x85\xa8\xe1\x87\x80", false); } // [C2, V6]
9578test { try toAsciiFail("\xe0\xa3\xa6\xe2\x80\x8d.\xe1\x84\x88\xe1\x85\xa8\xe1\x87\x80", true); } // [V6]
9579test { try toUnicodeFail("xn--p0b.xn--e43b"); } // [V6]
9580test { try toAsciiFail("xn--p0b.xn--e43b", false); } // [V6]
9581test { try toAsciiFail("xn--p0b.xn--e43b", true); } // [V6]
9582test { try toUnicodeFail("xn--p0b869i.xn--e43b"); } // [C2, V6]
9583test { try toAsciiFail("xn--p0b869i.xn--e43b", false); } // [C2, V6]
9584test { try toAsciiFail("xn--p0b869i.xn--e43b", true); } // [C2, V6]
9585test { try toUnicodeFail("\xe2\x82\x87\xe0\xaf\x8d\xf4\x83\x82\xb7\xdb\x92\xe3\x80\x82\xf0\x9f\x91\x96\xd9\xb5-\xf0\x9e\xaa\x91"); } // [B1, V7]
9586test { try toAsciiFail("\xe2\x82\x87\xe0\xaf\x8d\xf4\x83\x82\xb7\xdb\x92\xe3\x80\x82\xf0\x9f\x91\x96\xd9\xb5-\xf0\x9e\xaa\x91", false); } // [B1, V7]
9587test { try toAsciiFail("\xe2\x82\x87\xe0\xaf\x8d\xf4\x83\x82\xb7\xdb\x92\xe3\x80\x82\xf0\x9f\x91\x96\xd9\xb5-\xf0\x9e\xaa\x91", true); } // [B1, V7]
9588test { try toUnicodeFail("7\xe0\xaf\x8d\xf4\x83\x82\xb7\xdb\x92\xe3\x80\x82\xf0\x9f\x91\x96\xd8\xa7\xd9\xb4-\xf0\x9e\xaa\x91"); } // [B1, V7]
9589test { try toAsciiFail("7\xe0\xaf\x8d\xf4\x83\x82\xb7\xdb\x92\xe3\x80\x82\xf0\x9f\x91\x96\xd8\xa7\xd9\xb4-\xf0\x9e\xaa\x91", false); } // [B1, V7]
9590test { try toAsciiFail("7\xe0\xaf\x8d\xf4\x83\x82\xb7\xdb\x92\xe3\x80\x82\xf0\x9f\x91\x96\xd8\xa7\xd9\xb4-\xf0\x9e\xaa\x91", true); } // [B1, V7]
9591test { try toUnicodeFail("xn--7-rwc839aj3073c.xn----ymc5uv818oghka"); } // [B1, V7]
9592test { try toAsciiFail("xn--7-rwc839aj3073c.xn----ymc5uv818oghka", false); } // [B1, V7]
9593test { try toAsciiFail("xn--7-rwc839aj3073c.xn----ymc5uv818oghka", true); } // [B1, V7]
9594test { try toUnicodeFail("-\xef\xbd\xa1\xdd\xbb"); } // [B1, V3]
9595test { try toAsciiFail("-\xef\xbd\xa1\xdd\xbb", false); } // [B1, V3]
9596test { try toAsciiFail("-\xef\xbd\xa1\xdd\xbb", true); } // [B1, V3]
9597test { try toUnicodeFail("-\xe3\x80\x82\xdd\xbb"); } // [B1, V3]
9598test { try toAsciiFail("-\xe3\x80\x82\xdd\xbb", false); } // [B1, V3]
9599test { try toAsciiFail("-\xe3\x80\x82\xdd\xbb", true); } // [B1, V3]
9600test { try toUnicodeFail("-.xn--cqb"); } // [B1, V3]
9601test { try toAsciiFail("-.xn--cqb", false); } // [B1, V3]
9602test { try toAsciiFail("-.xn--cqb", true); } // [B1, V3]
9603test { try toUnicodeFail("\xf0\x91\x87\x8c\xf0\xb5\x9b\x93\xef\xbd\xa1-\xe2\x92\x88\xea\xa1\x8f\xdc\xab"); } // [B1, V3, V6, V7]
9604test { try toAsciiFail("\xf0\x91\x87\x8c\xf0\xb5\x9b\x93\xef\xbd\xa1-\xe2\x92\x88\xea\xa1\x8f\xdc\xab", false); } // [B1, V3, V6, V7]
9605test { try toAsciiFail("\xf0\x91\x87\x8c\xf0\xb5\x9b\x93\xef\xbd\xa1-\xe2\x92\x88\xea\xa1\x8f\xdc\xab", true); } // [B1, V3, V6, V7]
9606test { try toUnicodeFail("\xf0\x91\x87\x8c\xf0\xb5\x9b\x93\xe3\x80\x82-1.\xea\xa1\x8f\xdc\xab"); } // [B1, B5, B6, V3, V6, V7]
9607test { try toAsciiFail("\xf0\x91\x87\x8c\xf0\xb5\x9b\x93\xe3\x80\x82-1.\xea\xa1\x8f\xdc\xab", false); } // [B1, B5, B6, V3, V6, V7]
9608test { try toAsciiFail("\xf0\x91\x87\x8c\xf0\xb5\x9b\x93\xe3\x80\x82-1.\xea\xa1\x8f\xdc\xab", true); } // [B1, B5, B6, V3, V6, V7]
9609test { try toUnicodeFail("xn--8d1dg030h.-1.xn--1nb7163f"); } // [B1, B5, B6, V3, V6, V7]
9610test { try toAsciiFail("xn--8d1dg030h.-1.xn--1nb7163f", false); } // [B1, B5, B6, V3, V6, V7]
9611test { try toAsciiFail("xn--8d1dg030h.-1.xn--1nb7163f", true); } // [B1, B5, B6, V3, V6, V7]
9612test { try toUnicodeFail("xn--8d1dg030h.xn----u1c466tp10j"); } // [B1, V3, V6, V7]
9613test { try toAsciiFail("xn--8d1dg030h.xn----u1c466tp10j", false); } // [B1, V3, V6, V7]
9614test { try toAsciiFail("xn--8d1dg030h.xn----u1c466tp10j", true); } // [B1, V3, V6, V7]
9615test { try toUnicodeFail("\xe7\x92\x9b\xe1\x9c\xb4\xda\xaf.-"); } // [B1, B5, B6, V3]
9616test { try toAsciiFail("\xe7\x92\x9b\xe1\x9c\xb4\xda\xaf.-", false); } // [B1, B5, B6, V3]
9617test { try toAsciiFail("\xe7\x92\x9b\xe1\x9c\xb4\xda\xaf.-", true); } // [B1, B5, B6, V3]
9618test { try toUnicodeFail("xn--ikb175frt4e.-"); } // [B1, B5, B6, V3]
9619test { try toAsciiFail("xn--ikb175frt4e.-", false); } // [B1, B5, B6, V3]
9620test { try toAsciiFail("xn--ikb175frt4e.-", true); } // [B1, B5, B6, V3]
9621test { try toUnicodeFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xec\x83\x95\xef\xbc\x8e\xf0\x90\xb9\xb2\xed\x9c\x81"); } // [B1, B2, B3]
9622test { try toAsciiFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xec\x83\x95\xef\xbc\x8e\xf0\x90\xb9\xb2\xed\x9c\x81", false); } // [B1, B2, B3]
9623test { try toAsciiFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xec\x83\x95\xef\xbc\x8e\xf0\x90\xb9\xb2\xed\x9c\x81", true); } // [B1, B2, B3]
9624test { try toUnicodeFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xe1\x84\x89\xe1\x85\xa2\xe1\x86\xb4\xef\xbc\x8e\xf0\x90\xb9\xb2\xe1\x84\x92\xe1\x85\xb0\xe1\x86\xac"); } // [B1, B2, B3]
9625test { try toAsciiFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xe1\x84\x89\xe1\x85\xa2\xe1\x86\xb4\xef\xbc\x8e\xf0\x90\xb9\xb2\xe1\x84\x92\xe1\x85\xb0\xe1\x86\xac", false); } // [B1, B2, B3]
9626test { try toAsciiFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xe1\x84\x89\xe1\x85\xa2\xe1\x86\xb4\xef\xbc\x8e\xf0\x90\xb9\xb2\xe1\x84\x92\xe1\x85\xb0\xe1\x86\xac", true); } // [B1, B2, B3]
9627test { try toUnicodeFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xec\x83\x95.\xf0\x90\xb9\xb2\xed\x9c\x81"); } // [B1, B2, B3]
9628test { try toAsciiFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xec\x83\x95.\xf0\x90\xb9\xb2\xed\x9c\x81", false); } // [B1, B2, B3]
9629test { try toAsciiFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xec\x83\x95.\xf0\x90\xb9\xb2\xed\x9c\x81", true); } // [B1, B2, B3]
9630test { try toUnicodeFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xe1\x84\x89\xe1\x85\xa2\xe1\x86\xb4.\xf0\x90\xb9\xb2\xe1\x84\x92\xe1\x85\xb0\xe1\x86\xac"); } // [B1, B2, B3]
9631test { try toAsciiFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xe1\x84\x89\xe1\x85\xa2\xe1\x86\xb4.\xf0\x90\xb9\xb2\xe1\x84\x92\xe1\x85\xb0\xe1\x86\xac", false); } // [B1, B2, B3]
9632test { try toAsciiFail("\xf3\xa0\x86\xb0\xe0\xa2\xa1\xe0\xa9\x8d\xe1\x84\x89\xe1\x85\xa2\xe1\x86\xb4.\xf0\x90\xb9\xb2\xe1\x84\x92\xe1\x85\xb0\xe1\x86\xac", true); } // [B1, B2, B3]
9633test { try toUnicodeFail("xn--qyb07fj857a.xn--728bv72h"); } // [B1, B2, B3]
9634test { try toAsciiFail("xn--qyb07fj857a.xn--728bv72h", false); } // [B1, B2, B3]
9635test { try toAsciiFail("xn--qyb07fj857a.xn--728bv72h", true); } // [B1, B2, B3]
9636test { try toUnicodeFail("\xf1\x8d\xa8\xbd\xef\xbc\x8e\xf1\x8b\xb8\x95"); } // [V7]
9637test { try toAsciiFail("\xf1\x8d\xa8\xbd\xef\xbc\x8e\xf1\x8b\xb8\x95", false); } // [V7]
9638test { try toAsciiFail("\xf1\x8d\xa8\xbd\xef\xbc\x8e\xf1\x8b\xb8\x95", true); } // [V7]
9639test { try toUnicodeFail("\xf1\x8d\xa8\xbd.\xf1\x8b\xb8\x95"); } // [V7]
9640test { try toAsciiFail("\xf1\x8d\xa8\xbd.\xf1\x8b\xb8\x95", false); } // [V7]
9641test { try toAsciiFail("\xf1\x8d\xa8\xbd.\xf1\x8b\xb8\x95", true); } // [V7]
9642test { try toUnicodeFail("xn--pr3x.xn--rv7w"); } // [V7]
9643test { try toAsciiFail("xn--pr3x.xn--rv7w", false); } // [V7]
9644test { try toAsciiFail("xn--pr3x.xn--rv7w", true); } // [V7]
9645test { try toUnicodeFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe1\x82\xad-"); } // [B1, V3, V6]
9646test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe1\x82\xad-", false); } // [B1, V3, V6]
9647test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe1\x82\xad-", true); } // [B1, V3, V6]
9648test { try toUnicodeFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe1\x82\xad-"); } // [B1, V3, V6]
9649test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe1\x82\xad-", false); } // [B1, V3, V6]
9650test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe1\x82\xad-", true); } // [B1, V3, V6]
9651test { try toUnicodeFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe2\xb4\x8d-"); } // [B1, V3, V6]
9652test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe2\xb4\x8d-", false); } // [B1, V3, V6]
9653test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe2\xb4\x8d-", true); } // [B1, V3, V6]
9654test { try toUnicodeFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe1\x82\xad-"); } // [B1, V3, V6]
9655test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe1\x82\xad-", false); } // [B1, V3, V6]
9656test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe1\x82\xad-", true); } // [B1, V3, V6]
9657test { try toUnicodeFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe2\xb4\x8d-"); } // [B1, V3, V6]
9658test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe2\xb4\x8d-", false); } // [B1, V3, V6]
9659test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xe3\x80\x82\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe2\xb4\x8d-", true); } // [B1, V3, V6]
9660test { try toUnicodeFail("xn--2ib0338v.xn----zvs0199fo91g"); } // [B1, V3, V6]
9661test { try toAsciiFail("xn--2ib0338v.xn----zvs0199fo91g", false); } // [B1, V3, V6]
9662test { try toAsciiFail("xn--2ib0338v.xn----zvs0199fo91g", true); } // [B1, V3, V6]
9663test { try toUnicodeFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe2\xb4\x8d-"); } // [B1, V3, V6]
9664test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe2\xb4\x8d-", false); } // [B1, V3, V6]
9665test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\xb6\xe2\xb4\x8d-", true); } // [B1, V3, V6]
9666test { try toUnicodeFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe1\x82\xad-"); } // [B1, V3, V6]
9667test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe1\x82\xad-", false); } // [B1, V3, V6]
9668test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe1\x82\xad-", true); } // [B1, V3, V6]
9669test { try toUnicodeFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe2\xb4\x8d-"); } // [B1, V3, V6]
9670test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe2\xb4\x8d-", false); } // [B1, V3, V6]
9671test { try toAsciiFail("\xd9\xbd\xf0\x9e\xa5\x95\xef\xbd\xa1\xf0\x91\x91\x82\xf0\x9e\xa4\x94\xe2\xb4\x8d-", true); } // [B1, V3, V6]
9672test { try toUnicodeFail("xn--2ib0338v.xn----w0g2740ro9vg"); } // [B1, V3, V6, V7]
9673test { try toAsciiFail("xn--2ib0338v.xn----w0g2740ro9vg", false); } // [B1, V3, V6, V7]
9674test { try toAsciiFail("xn--2ib0338v.xn----w0g2740ro9vg", true); } // [B1, V3, V6, V7]
9675test { try toUnicodeFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa7\xe2\x82\x84\xe1\x82\xab\xf1\x82\xb9\xab"); } // [V7]
9676test { try toAsciiFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa7\xe2\x82\x84\xe1\x82\xab\xf1\x82\xb9\xab", false); } // [V7]
9677test { try toAsciiFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa7\xe2\x82\x84\xe1\x82\xab\xf1\x82\xb9\xab", true); } // [V7]
9678test { try toUnicodeFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa74\xe1\x82\xab\xf1\x82\xb9\xab"); } // [V7]
9679test { try toAsciiFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa74\xe1\x82\xab\xf1\x82\xb9\xab", false); } // [V7]
9680test { try toAsciiFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa74\xe1\x82\xab\xf1\x82\xb9\xab", true); } // [V7]
9681test { try toUnicodeFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa74\xe2\xb4\x8b\xf1\x82\xb9\xab"); } // [V7]
9682test { try toAsciiFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa74\xe2\xb4\x8b\xf1\x82\xb9\xab", false); } // [V7]
9683test { try toAsciiFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa74\xe2\xb4\x8b\xf1\x82\xb9\xab", true); } // [V7]
9684test { try toUnicodeFail("xn--039c42bq865a.xn--4-wvs27840bnrzm"); } // [V7]
9685test { try toAsciiFail("xn--039c42bq865a.xn--4-wvs27840bnrzm", false); } // [V7]
9686test { try toAsciiFail("xn--039c42bq865a.xn--4-wvs27840bnrzm", true); } // [V7]
9687test { try toUnicodeFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa7\xe2\x82\x84\xe2\xb4\x8b\xf1\x82\xb9\xab"); } // [V7]
9688test { try toAsciiFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa7\xe2\x82\x84\xe2\xb4\x8b\xf1\x82\xb9\xab", false); } // [V7]
9689test { try toAsciiFail("\xf0\x90\xaf\x80\xf0\x90\xb8\x89\xf0\x9e\xa7\x8f\xe3\x80\x82\xf1\xa2\x9a\xa7\xe2\x82\x84\xe2\xb4\x8b\xf1\x82\xb9\xab", true); } // [V7]
9690test { try toUnicodeFail("xn--039c42bq865a.xn--4-t0g49302fnrzm"); } // [V7]
9691test { try toAsciiFail("xn--039c42bq865a.xn--4-t0g49302fnrzm", false); } // [V7]
9692test { try toAsciiFail("xn--039c42bq865a.xn--4-t0g49302fnrzm", true); } // [V7]
9693test { try toUnicodeFail("4\xda\xbd\xef\xb8\x92\xf3\xa0\x91\xa5.\xe2\x89\xa0"); } // [B1, V7]
9694test { try toAsciiFail("4\xda\xbd\xef\xb8\x92\xf3\xa0\x91\xa5.\xe2\x89\xa0", false); } // [B1, V7]
9695test { try toAsciiFail("4\xda\xbd\xef\xb8\x92\xf3\xa0\x91\xa5.\xe2\x89\xa0", true); } // [B1, V7]
9696test { try toUnicodeFail("4\xda\xbd\xef\xb8\x92\xf3\xa0\x91\xa5.=\xcc\xb8"); } // [B1, V7]
9697test { try toAsciiFail("4\xda\xbd\xef\xb8\x92\xf3\xa0\x91\xa5.=\xcc\xb8", false); } // [B1, V7]
9698test { try toAsciiFail("4\xda\xbd\xef\xb8\x92\xf3\xa0\x91\xa5.=\xcc\xb8", true); } // [B1, V7]
9699test { try toUnicodeFail("4\xda\xbd\xe3\x80\x82\xf3\xa0\x91\xa5.\xe2\x89\xa0"); } // [B1, V7]
9700test { try toAsciiFail("4\xda\xbd\xe3\x80\x82\xf3\xa0\x91\xa5.\xe2\x89\xa0", false); } // [B1, V7]
9701test { try toAsciiFail("4\xda\xbd\xe3\x80\x82\xf3\xa0\x91\xa5.\xe2\x89\xa0", true); } // [B1, V7]
9702test { try toUnicodeFail("4\xda\xbd\xe3\x80\x82\xf3\xa0\x91\xa5.=\xcc\xb8"); } // [B1, V7]
9703test { try toAsciiFail("4\xda\xbd\xe3\x80\x82\xf3\xa0\x91\xa5.=\xcc\xb8", false); } // [B1, V7]
9704test { try toAsciiFail("4\xda\xbd\xe3\x80\x82\xf3\xa0\x91\xa5.=\xcc\xb8", true); } // [B1, V7]
9705test { try toUnicodeFail("xn--4-kvc.xn--5136e.xn--1ch"); } // [B1, V7]
9706test { try toAsciiFail("xn--4-kvc.xn--5136e.xn--1ch", false); } // [B1, V7]
9707test { try toAsciiFail("xn--4-kvc.xn--5136e.xn--1ch", true); } // [B1, V7]
9708test { try toUnicodeFail("xn--4-kvc5601q2h50i.xn--1ch"); } // [B1, V7]
9709test { try toAsciiFail("xn--4-kvc5601q2h50i.xn--1ch", false); } // [B1, V7]
9710test { try toAsciiFail("xn--4-kvc5601q2h50i.xn--1ch", true); } // [B1, V7]
9711test { try toUnicodeFail("\xf0\x9d\x9f\x93\xe3\x80\x82\xdb\x97"); } // [V6]
9712test { try toAsciiFail("\xf0\x9d\x9f\x93\xe3\x80\x82\xdb\x97", false); } // [V6]
9713test { try toAsciiFail("\xf0\x9d\x9f\x93\xe3\x80\x82\xdb\x97", true); } // [V6]
9714test { try toUnicodeFail("5\xe3\x80\x82\xdb\x97"); } // [V6]
9715test { try toAsciiFail("5\xe3\x80\x82\xdb\x97", false); } // [V6]
9716test { try toAsciiFail("5\xe3\x80\x82\xdb\x97", true); } // [V6]
9717test { try toUnicodeFail("5.xn--nlb"); } // [V6]
9718test { try toAsciiFail("5.xn--nlb", false); } // [V6]
9719test { try toAsciiFail("5.xn--nlb", true); } // [V6]
9720test { try toUnicodeFail("\xe2\x80\x8c\xf2\xba\xb8\xa9.\xe2\xbe\x95"); } // [C1, V7]
9721test { try toAsciiFail("\xe2\x80\x8c\xf2\xba\xb8\xa9.\xe2\xbe\x95", false); } // [C1, V7]
9722test { try toAsciiFail("\xe2\x80\x8c\xf2\xba\xb8\xa9.\xe2\xbe\x95", true); } // [V7]
9723test { try toUnicodeFail("\xe2\x80\x8c\xf2\xba\xb8\xa9.\xe8\xb0\xb7"); } // [C1, V7]
9724test { try toAsciiFail("\xe2\x80\x8c\xf2\xba\xb8\xa9.\xe8\xb0\xb7", false); } // [C1, V7]
9725test { try toAsciiFail("\xe2\x80\x8c\xf2\xba\xb8\xa9.\xe8\xb0\xb7", true); } // [V7]
9726test { try toUnicodeFail("xn--i183d.xn--6g3a"); } // [V7]
9727test { try toAsciiFail("xn--i183d.xn--6g3a", false); } // [V7]
9728test { try toAsciiFail("xn--i183d.xn--6g3a", true); } // [V7]
9729test { try toUnicodeFail("xn--0ug26167i.xn--6g3a"); } // [C1, V7]
9730test { try toAsciiFail("xn--0ug26167i.xn--6g3a", false); } // [C1, V7]
9731test { try toAsciiFail("xn--0ug26167i.xn--6g3a", true); } // [C1, V7]
9732test { try toUnicodeFail("\xef\xb8\x92\xf3\x8e\xb0\x87\xe2\x80\x8d.-\xdc\xbc\xe2\x80\x8c"); } // [C1, C2, V3, V7]
9733test { try toAsciiFail("\xef\xb8\x92\xf3\x8e\xb0\x87\xe2\x80\x8d.-\xdc\xbc\xe2\x80\x8c", false); } // [C1, C2, V3, V7]
9734test { try toAsciiFail("\xef\xb8\x92\xf3\x8e\xb0\x87\xe2\x80\x8d.-\xdc\xbc\xe2\x80\x8c", true); } // [V3, V7]
9735test { try toUnicodeFail("\xe3\x80\x82\xf3\x8e\xb0\x87\xe2\x80\x8d.-\xdc\xbc\xe2\x80\x8c"); } // [C1, C2, V3, V7, X4_2]
9736test { try toAsciiFail("\xe3\x80\x82\xf3\x8e\xb0\x87\xe2\x80\x8d.-\xdc\xbc\xe2\x80\x8c", false); } // [C1, C2, V3, V7, A4_2]
9737test { try toAsciiFail("\xe3\x80\x82\xf3\x8e\xb0\x87\xe2\x80\x8d.-\xdc\xbc\xe2\x80\x8c", true); } // [V3, V7, A4_2]
9738test { try toUnicodeFail(".xn--hh50e.xn----t2c"); } // [V3, V7, X4_2]
9739test { try toAsciiFail(".xn--hh50e.xn----t2c", false); } // [V3, V7, A4_2]
9740test { try toAsciiFail(".xn--hh50e.xn----t2c", true); } // [V3, V7, A4_2]
9741test { try toUnicodeFail(".xn--1ug05310k.xn----t2c071q"); } // [C1, C2, V3, V7, X4_2]
9742test { try toAsciiFail(".xn--1ug05310k.xn----t2c071q", false); } // [C1, C2, V3, V7, A4_2]
9743test { try toAsciiFail(".xn--1ug05310k.xn----t2c071q", true); } // [C1, C2, V3, V7, A4_2]
9744test { try toUnicodeFail("xn--y86c71305c.xn----t2c"); } // [V3, V7]
9745test { try toAsciiFail("xn--y86c71305c.xn----t2c", false); } // [V3, V7]
9746test { try toAsciiFail("xn--y86c71305c.xn----t2c", true); } // [V3, V7]
9747test { try toUnicodeFail("xn--1ug1658ftw26f.xn----t2c071q"); } // [C1, C2, V3, V7]
9748test { try toAsciiFail("xn--1ug1658ftw26f.xn----t2c071q", false); } // [C1, C2, V3, V7]
9749test { try toAsciiFail("xn--1ug1658ftw26f.xn----t2c071q", true); } // [C1, C2, V3, V7]
9750test { try toUnicodeFail("\xe2\x89\xaf\xf0\x9e\xa4\x9f\xe3\x80\x82\xe1\xa1\xa8"); } // [B1]
9751test { try toAsciiFail("\xe2\x89\xaf\xf0\x9e\xa4\x9f\xe3\x80\x82\xe1\xa1\xa8", false); } // [B1]
9752test { try toAsciiFail("\xe2\x89\xaf\xf0\x9e\xa4\x9f\xe3\x80\x82\xe1\xa1\xa8", true); } // [B1]
9753test { try toUnicodeFail(">\xcc\xb8\xf0\x9e\xa4\x9f\xe3\x80\x82\xe1\xa1\xa8"); } // [B1]
9754test { try toAsciiFail(">\xcc\xb8\xf0\x9e\xa4\x9f\xe3\x80\x82\xe1\xa1\xa8", false); } // [B1]
9755test { try toAsciiFail(">\xcc\xb8\xf0\x9e\xa4\x9f\xe3\x80\x82\xe1\xa1\xa8", true); } // [B1]
9756test { try toUnicodeFail(">\xcc\xb8\xf0\x9e\xa5\x81\xe3\x80\x82\xe1\xa1\xa8"); } // [B1]
9757test { try toAsciiFail(">\xcc\xb8\xf0\x9e\xa5\x81\xe3\x80\x82\xe1\xa1\xa8", false); } // [B1]
9758test { try toAsciiFail(">\xcc\xb8\xf0\x9e\xa5\x81\xe3\x80\x82\xe1\xa1\xa8", true); } // [B1]
9759test { try toUnicodeFail("\xe2\x89\xaf\xf0\x9e\xa5\x81\xe3\x80\x82\xe1\xa1\xa8"); } // [B1]
9760test { try toAsciiFail("\xe2\x89\xaf\xf0\x9e\xa5\x81\xe3\x80\x82\xe1\xa1\xa8", false); } // [B1]
9761test { try toAsciiFail("\xe2\x89\xaf\xf0\x9e\xa5\x81\xe3\x80\x82\xe1\xa1\xa8", true); } // [B1]
9762test { try toUnicodeFail("xn--hdhz520p.xn--48e"); } // [B1]
9763test { try toAsciiFail("xn--hdhz520p.xn--48e", false); } // [B1]
9764test { try toAsciiFail("xn--hdhz520p.xn--48e", true); } // [B1]
9765test { try toUnicodeFail("\xe0\xbd\xb4\xf0\xab\xab\xb0\xf0\x9d\xa8\x84\xe3\x80\x82\xdc\x93\xf0\x90\xb9\xa6"); } // [B1, V6]
9766test { try toAsciiFail("\xe0\xbd\xb4\xf0\xab\xab\xb0\xf0\x9d\xa8\x84\xe3\x80\x82\xdc\x93\xf0\x90\xb9\xa6", false); } // [B1, V6]
9767test { try toAsciiFail("\xe0\xbd\xb4\xf0\xab\xab\xb0\xf0\x9d\xa8\x84\xe3\x80\x82\xdc\x93\xf0\x90\xb9\xa6", true); } // [B1, V6]
9768test { try toUnicodeFail("xn--ned8985uo92e.xn--dnb6395k"); } // [B1, V6]
9769test { try toAsciiFail("xn--ned8985uo92e.xn--dnb6395k", false); } // [B1, V6]
9770test { try toAsciiFail("xn--ned8985uo92e.xn--dnb6395k", true); } // [B1, V6]
9771test { try toUnicodeFail("\xcc\xbc\xdf\x9b\xe2\x81\xb7\xf0\x9d\x9f\xb9\xef\xbd\xa1\xf0\x9d\x9f\xac"); } // [B1, V6]
9772test { try toAsciiFail("\xcc\xbc\xdf\x9b\xe2\x81\xb7\xf0\x9d\x9f\xb9\xef\xbd\xa1\xf0\x9d\x9f\xac", false); } // [B1, V6]
9773test { try toAsciiFail("\xcc\xbc\xdf\x9b\xe2\x81\xb7\xf0\x9d\x9f\xb9\xef\xbd\xa1\xf0\x9d\x9f\xac", true); } // [B1, V6]
9774test { try toUnicodeFail("\xcc\xbc\xdf\x9b73\xe3\x80\x820"); } // [B1, V6]
9775test { try toAsciiFail("\xcc\xbc\xdf\x9b73\xe3\x80\x820", false); } // [B1, V6]
9776test { try toAsciiFail("\xcc\xbc\xdf\x9b73\xe3\x80\x820", true); } // [B1, V6]
9777test { try toUnicodeFail("xn--73-9yb648b.a"); } // [B1, V6]
9778test { try toAsciiFail("xn--73-9yb648b.a", false); } // [B1, V6]
9779test { try toAsciiFail("xn--73-9yb648b.a", true); } // [B1, V6]
9780test { try toUnicodeFail("\xe2\x80\x8d\xef\xbc\x8e\xf0\x9d\x9f\x97"); } // [C2]
9781test { try toAsciiFail("\xe2\x80\x8d\xef\xbc\x8e\xf0\x9d\x9f\x97", false); } // [C2]
9782test { try toAsciiFail("\xe2\x80\x8d\xef\xbc\x8e\xf0\x9d\x9f\x97", true); } // [A4_2]
9783test { try toUnicodeFail("\xe2\x80\x8d.j"); } // [C2]
9784test { try toAsciiFail("\xe2\x80\x8d.j", false); } // [C2]
9785test { try toAsciiFail("\xe2\x80\x8d.j", true); } // [A4_2]
9786test { try toUnicodeFail("\xe2\x80\x8d.J"); } // [C2]
9787test { try toAsciiFail("\xe2\x80\x8d.J", false); } // [C2]
9788test { try toAsciiFail("\xe2\x80\x8d.J", true); } // [A4_2]
9789test { try toAsciiFail(".j", false); } // [A4_2]
9790test { try toAsciiFail(".j", true); } // [A4_2]
9791test { try toUnicodeFail("xn--1ug.j"); } // [C2]
9792test { try toAsciiFail("xn--1ug.j", false); } // [C2]
9793test { try toAsciiFail("xn--1ug.j", true); } // [C2]
9794test { try toUnicodePass("j", "j"); }
9795test { try toAsciiPass("j", "j", false); }
9796test { try toAsciiPass("j", "j", true); }
9797test { try toUnicodeFail("\xdd\xb9\xe1\xa1\xad\xf0\xaa\x95\x88\xe3\x80\x82\xda\xb6\xe0\xa3\x99"); } // [B2, B3]
9798test { try toAsciiFail("\xdd\xb9\xe1\xa1\xad\xf0\xaa\x95\x88\xe3\x80\x82\xda\xb6\xe0\xa3\x99", false); } // [B2, B3]
9799test { try toAsciiFail("\xdd\xb9\xe1\xa1\xad\xf0\xaa\x95\x88\xe3\x80\x82\xda\xb6\xe0\xa3\x99", true); } // [B2, B3]
9800test { try toUnicodeFail("xn--9pb497fs270c.xn--pkb80i"); } // [B2, B3]
9801test { try toAsciiFail("xn--9pb497fs270c.xn--pkb80i", false); } // [B2, B3]
9802test { try toAsciiFail("xn--9pb497fs270c.xn--pkb80i", true); } // [B2, B3]
9803test { try toUnicodeFail("\xdc\xa6\xef\xbc\x95\xdf\xa2\xea\xb2\x99\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a"); } // [B1, B2, B3, V6, V7]
9804test { try toAsciiFail("\xdc\xa6\xef\xbc\x95\xdf\xa2\xea\xb2\x99\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a", false); } // [B1, B2, B3, V6, V7]
9805test { try toAsciiFail("\xdc\xa6\xef\xbc\x95\xdf\xa2\xea\xb2\x99\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a", true); } // [B1, B2, B3, V6, V7]
9806test { try toUnicodeFail("\xdc\xa6\xef\xbc\x95\xdf\xa2\xe1\x84\x80\xe1\x85\xa6\xe1\x86\xb4\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a"); } // [B1, B2, B3, V6, V7]
9807test { try toAsciiFail("\xdc\xa6\xef\xbc\x95\xdf\xa2\xe1\x84\x80\xe1\x85\xa6\xe1\x86\xb4\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a", false); } // [B1, B2, B3, V6, V7]
9808test { try toAsciiFail("\xdc\xa6\xef\xbc\x95\xdf\xa2\xe1\x84\x80\xe1\x85\xa6\xe1\x86\xb4\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a", true); } // [B1, B2, B3, V6, V7]
9809test { try toUnicodeFail("\xdc\xa65\xdf\xa2\xea\xb2\x99\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a"); } // [B1, B2, B3, V6, V7]
9810test { try toAsciiFail("\xdc\xa65\xdf\xa2\xea\xb2\x99\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a", false); } // [B1, B2, B3, V6, V7]
9811test { try toAsciiFail("\xdc\xa65\xdf\xa2\xea\xb2\x99\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a", true); } // [B1, B2, B3, V6, V7]
9812test { try toUnicodeFail("\xdc\xa65\xdf\xa2\xe1\x84\x80\xe1\x85\xa6\xe1\x86\xb4\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a"); } // [B1, B2, B3, V6, V7]
9813test { try toAsciiFail("\xdc\xa65\xdf\xa2\xe1\x84\x80\xe1\x85\xa6\xe1\x86\xb4\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a", false); } // [B1, B2, B3, V6, V7]
9814test { try toAsciiFail("\xdc\xa65\xdf\xa2\xe1\x84\x80\xe1\x85\xa6\xe1\x86\xb4\xe3\x80\x82\xe1\xb3\xb4\xf0\x90\xb7\x9a", true); } // [B1, B2, B3, V6, V7]
9815test { try toUnicodeFail("xn--5-j1c97c2483c.xn--e7f2093h"); } // [B1, B2, B3, V6, V7]
9816test { try toAsciiFail("xn--5-j1c97c2483c.xn--e7f2093h", false); } // [B1, B2, B3, V6, V7]
9817test { try toAsciiFail("xn--5-j1c97c2483c.xn--e7f2093h", true); } // [B1, B2, B3, V6, V7]
9818test { try toUnicodeFail("\xe1\x82\xad\xf0\xbf\xa3\x8d\xea\xa1\xa8\xd6\xae\xe3\x80\x82\xe1\x82\xbe\xe2\x80\x8c\xe2\x80\x8c"); } // [C1, V7]
9819test { try toAsciiFail("\xe1\x82\xad\xf0\xbf\xa3\x8d\xea\xa1\xa8\xd6\xae\xe3\x80\x82\xe1\x82\xbe\xe2\x80\x8c\xe2\x80\x8c", false); } // [C1, V7]
9820test { try toAsciiFail("\xe1\x82\xad\xf0\xbf\xa3\x8d\xea\xa1\xa8\xd6\xae\xe3\x80\x82\xe1\x82\xbe\xe2\x80\x8c\xe2\x80\x8c", true); } // [V7]
9821test { try toUnicodeFail("\xe2\xb4\x8d\xf0\xbf\xa3\x8d\xea\xa1\xa8\xd6\xae\xe3\x80\x82\xe2\xb4\x9e\xe2\x80\x8c\xe2\x80\x8c"); } // [C1, V7]
9822test { try toAsciiFail("\xe2\xb4\x8d\xf0\xbf\xa3\x8d\xea\xa1\xa8\xd6\xae\xe3\x80\x82\xe2\xb4\x9e\xe2\x80\x8c\xe2\x80\x8c", false); } // [C1, V7]
9823test { try toAsciiFail("\xe2\xb4\x8d\xf0\xbf\xa3\x8d\xea\xa1\xa8\xd6\xae\xe3\x80\x82\xe2\xb4\x9e\xe2\x80\x8c\xe2\x80\x8c", true); } // [V7]
9824test { try toUnicodeFail("xn--5cb172r175fug38a.xn--mlj"); } // [V7]
9825test { try toAsciiFail("xn--5cb172r175fug38a.xn--mlj", false); } // [V7]
9826test { try toAsciiFail("xn--5cb172r175fug38a.xn--mlj", true); } // [V7]
9827test { try toUnicodeFail("xn--5cb172r175fug38a.xn--0uga051h"); } // [C1, V7]
9828test { try toAsciiFail("xn--5cb172r175fug38a.xn--0uga051h", false); } // [C1, V7]
9829test { try toAsciiFail("xn--5cb172r175fug38a.xn--0uga051h", true); } // [C1, V7]
9830test { try toUnicodeFail("xn--5cb347co96jug15a.xn--2nd"); } // [V7]
9831test { try toAsciiFail("xn--5cb347co96jug15a.xn--2nd", false); } // [V7]
9832test { try toAsciiFail("xn--5cb347co96jug15a.xn--2nd", true); } // [V7]
9833test { try toUnicodeFail("xn--5cb347co96jug15a.xn--2nd059ea"); } // [C1, V7]
9834test { try toAsciiFail("xn--5cb347co96jug15a.xn--2nd059ea", false); } // [C1, V7]
9835test { try toAsciiFail("xn--5cb347co96jug15a.xn--2nd059ea", true); } // [C1, V7]
9836test { try toUnicodeFail("\xf0\x90\x8b\xb0\xe3\x80\x82\xf3\x91\x93\xb1"); } // [V7]
9837test { try toAsciiFail("\xf0\x90\x8b\xb0\xe3\x80\x82\xf3\x91\x93\xb1", false); } // [V7]
9838test { try toAsciiFail("\xf0\x90\x8b\xb0\xe3\x80\x82\xf3\x91\x93\xb1", true); } // [V7]
9839test { try toUnicodeFail("xn--k97c.xn--q031e"); } // [V7]
9840test { try toAsciiFail("xn--k97c.xn--q031e", false); } // [V7]
9841test { try toAsciiFail("xn--k97c.xn--q031e", true); } // [V7]
9842test { try toUnicodeFail("\xf3\xa1\x8e\xa6\xe1\x9e\xb4\xe0\xad\x8d.\xf0\x90\xb9\xbe"); } // [B1, V7]
9843test { try toAsciiFail("\xf3\xa1\x8e\xa6\xe1\x9e\xb4\xe0\xad\x8d.\xf0\x90\xb9\xbe", false); } // [B1, V7]
9844test { try toAsciiFail("\xf3\xa1\x8e\xa6\xe1\x9e\xb4\xe0\xad\x8d.\xf0\x90\xb9\xbe", true); } // [B1, V7]
9845test { try toUnicodeFail("xn--9ic59305p.xn--2o0d"); } // [B1, V7]
9846test { try toAsciiFail("xn--9ic59305p.xn--2o0d", false); } // [B1, V7]
9847test { try toAsciiFail("xn--9ic59305p.xn--2o0d", true); } // [B1, V7]
9848test { try toUnicodeFail("xn--9ic364dho91z.xn--2o0d"); } // [B1, V7]
9849test { try toAsciiFail("xn--9ic364dho91z.xn--2o0d", false); } // [B1, V7]
9850test { try toAsciiFail("xn--9ic364dho91z.xn--2o0d", true); } // [B1, V7]
9851test { try toUnicodeFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xea\xb7\xa4\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xed\x9c\xaa\xe0\xab\xa3"); } // [V6, V7]
9852test { try toAsciiFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xea\xb7\xa4\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xed\x9c\xaa\xe0\xab\xa3", false); } // [V6, V7]
9853test { try toAsciiFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xea\xb7\xa4\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xed\x9c\xaa\xe0\xab\xa3", true); } // [V6, V7]
9854test { try toUnicodeFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3"); } // [V6, V7]
9855test { try toAsciiFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3", false); } // [V6, V7]
9856test { try toAsciiFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3", true); } // [V6, V7]
9857test { try toUnicodeFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xea\xb7\xa4.\xf2\xa0\x85\xbc0\xed\x9c\xaa\xe0\xab\xa3"); } // [V6, V7]
9858test { try toAsciiFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xea\xb7\xa4.\xf2\xa0\x85\xbc0\xed\x9c\xaa\xe0\xab\xa3", false); } // [V6, V7]
9859test { try toAsciiFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xea\xb7\xa4.\xf2\xa0\x85\xbc0\xed\x9c\xaa\xe0\xab\xa3", true); } // [V6, V7]
9860test { try toUnicodeFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf.\xf2\xa0\x85\xbc0\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3"); } // [V6, V7]
9861test { try toAsciiFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf.\xf2\xa0\x85\xbc0\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3", false); } // [V6, V7]
9862test { try toAsciiFail("\xe0\xa3\x9f\xe1\x82\xab\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf.\xf2\xa0\x85\xbc0\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3", true); } // [V6, V7]
9863test { try toUnicodeFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf.\xf2\xa0\x85\xbc0\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3"); } // [V6, V7]
9864test { try toAsciiFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf.\xf2\xa0\x85\xbc0\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3", false); } // [V6, V7]
9865test { try toAsciiFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf.\xf2\xa0\x85\xbc0\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3", true); } // [V6, V7]
9866test { try toUnicodeFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xea\xb7\xa4.\xf2\xa0\x85\xbc0\xed\x9c\xaa\xe0\xab\xa3"); } // [V6, V7]
9867test { try toAsciiFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xea\xb7\xa4.\xf2\xa0\x85\xbc0\xed\x9c\xaa\xe0\xab\xa3", false); } // [V6, V7]
9868test { try toAsciiFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xea\xb7\xa4.\xf2\xa0\x85\xbc0\xed\x9c\xaa\xe0\xab\xa3", true); } // [V6, V7]
9869test { try toUnicodeFail("xn--i0b436pkl2g2h42a.xn--0-8le8997mulr5f"); } // [V6, V7]
9870test { try toAsciiFail("xn--i0b436pkl2g2h42a.xn--0-8le8997mulr5f", false); } // [V6, V7]
9871test { try toAsciiFail("xn--i0b436pkl2g2h42a.xn--0-8le8997mulr5f", true); } // [V6, V7]
9872test { try toUnicodeFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3"); } // [V6, V7]
9873test { try toAsciiFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3", false); } // [V6, V7]
9874test { try toAsciiFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xe1\x84\x80\xe1\x85\xb2\xe1\x86\xaf\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xe1\x84\x92\xe1\x85\xb1\xe1\x86\xb9\xe0\xab\xa3", true); } // [V6, V7]
9875test { try toUnicodeFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xea\xb7\xa4\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xed\x9c\xaa\xe0\xab\xa3"); } // [V6, V7]
9876test { try toAsciiFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xea\xb7\xa4\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xed\x9c\xaa\xe0\xab\xa3", false); } // [V6, V7]
9877test { try toAsciiFail("\xe0\xa3\x9f\xe2\xb4\x8b\xf0\xb6\xbf\xb8\xea\xb7\xa4\xef\xbc\x8e\xf2\xa0\x85\xbc\xf0\x9d\x9f\xa2\xed\x9c\xaa\xe0\xab\xa3", true); } // [V6, V7]
9878test { try toUnicodeFail("xn--i0b601b6r7l2hs0a.xn--0-8le8997mulr5f"); } // [V6, V7]
9879test { try toAsciiFail("xn--i0b601b6r7l2hs0a.xn--0-8le8997mulr5f", false); } // [V6, V7]
9880test { try toAsciiFail("xn--i0b601b6r7l2hs0a.xn--0-8le8997mulr5f", true); } // [V6, V7]
9881test { try toUnicodeFail("\xde\x84\xef\xbc\x8e\xf0\x9e\xa1\x9d\xd8\x81"); } // [V7]
9882test { try toAsciiFail("\xde\x84\xef\xbc\x8e\xf0\x9e\xa1\x9d\xd8\x81", false); } // [V7]
9883test { try toAsciiFail("\xde\x84\xef\xbc\x8e\xf0\x9e\xa1\x9d\xd8\x81", true); } // [V7]
9884test { try toUnicodeFail("\xde\x84.\xf0\x9e\xa1\x9d\xd8\x81"); } // [V7]
9885test { try toAsciiFail("\xde\x84.\xf0\x9e\xa1\x9d\xd8\x81", false); } // [V7]
9886test { try toAsciiFail("\xde\x84.\xf0\x9e\xa1\x9d\xd8\x81", true); } // [V7]
9887test { try toUnicodeFail("xn--lqb.xn--jfb1808v"); } // [V7]
9888test { try toAsciiFail("xn--lqb.xn--jfb1808v", false); } // [V7]
9889test { try toAsciiFail("xn--lqb.xn--jfb1808v", true); } // [V7]
9890test { try toUnicodeFail("\xe0\xab\x8d\xe2\x82\x83.8\xea\xa3\x84\xe2\x80\x8d\xf0\x9f\x83\xa4"); } // [V6]
9891test { try toAsciiFail("\xe0\xab\x8d\xe2\x82\x83.8\xea\xa3\x84\xe2\x80\x8d\xf0\x9f\x83\xa4", false); } // [V6]
9892test { try toAsciiFail("\xe0\xab\x8d\xe2\x82\x83.8\xea\xa3\x84\xe2\x80\x8d\xf0\x9f\x83\xa4", true); } // [V6]
9893test { try toUnicodeFail("\xe0\xab\x8d3.8\xea\xa3\x84\xe2\x80\x8d\xf0\x9f\x83\xa4"); } // [V6]
9894test { try toAsciiFail("\xe0\xab\x8d3.8\xea\xa3\x84\xe2\x80\x8d\xf0\x9f\x83\xa4", false); } // [V6]
9895test { try toAsciiFail("\xe0\xab\x8d3.8\xea\xa3\x84\xe2\x80\x8d\xf0\x9f\x83\xa4", true); } // [V6]
9896test { try toUnicodeFail("xn--3-yke.xn--8-sl4et308f"); } // [V6]
9897test { try toAsciiFail("xn--3-yke.xn--8-sl4et308f", false); } // [V6]
9898test { try toAsciiFail("xn--3-yke.xn--8-sl4et308f", true); } // [V6]
9899test { try toUnicodeFail("xn--3-yke.xn--8-ugnv982dbkwm"); } // [V6]
9900test { try toAsciiFail("xn--3-yke.xn--8-ugnv982dbkwm", false); } // [V6]
9901test { try toAsciiFail("xn--3-yke.xn--8-ugnv982dbkwm", true); } // [V6]
9902test { try toUnicodeFail("\xe2\x84\xbb\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c"); } // [B6]
9903test { try toAsciiFail("\xe2\x84\xbb\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c", false); } // [B6]
9904test { try toAsciiFail("\xe2\x84\xbb\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c", true); } // [B6]
9905test { try toUnicodeFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c"); } // [B6]
9906test { try toAsciiFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c", false); } // [B6]
9907test { try toAsciiFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c", true); } // [B6]
9908test { try toUnicodeFail("fax\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa5\x82\xf3\xa0\x86\x81\xe1\xa0\x8c"); } // [B6]
9909test { try toAsciiFail("fax\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa5\x82\xf3\xa0\x86\x81\xe1\xa0\x8c", false); } // [B6]
9910test { try toAsciiFail("fax\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa5\x82\xf3\xa0\x86\x81\xe1\xa0\x8c", true); } // [B6]
9911test { try toUnicodeFail("Fax\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c"); } // [B6]
9912test { try toAsciiFail("Fax\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c", false); } // [B6]
9913test { try toAsciiFail("Fax\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c", true); } // [B6]
9914test { try toUnicodeFail("xn--fax-4c9a1676t.xn--6e6h"); } // [B6]
9915test { try toAsciiFail("xn--fax-4c9a1676t.xn--6e6h", false); } // [B6]
9916test { try toAsciiFail("xn--fax-4c9a1676t.xn--6e6h", true); } // [B6]
9917test { try toUnicodeFail("\xe2\x84\xbb\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa5\x82\xf3\xa0\x86\x81\xe1\xa0\x8c"); } // [B6]
9918test { try toAsciiFail("\xe2\x84\xbb\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa5\x82\xf3\xa0\x86\x81\xe1\xa0\x8c", false); } // [B6]
9919test { try toAsciiFail("\xe2\x84\xbb\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa5\x82\xf3\xa0\x86\x81\xe1\xa0\x8c", true); } // [B6]
9920test { try toUnicodeFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa5\x82\xf3\xa0\x86\x81\xe1\xa0\x8c"); } // [B6]
9921test { try toAsciiFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa5\x82\xf3\xa0\x86\x81\xe1\xa0\x8c", false); } // [B6]
9922test { try toAsciiFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa5\x82\xf3\xa0\x86\x81\xe1\xa0\x8c", true); } // [B6]
9923test { try toUnicodeFail("fax\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c"); } // [B6]
9924test { try toAsciiFail("fax\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c", false); } // [B6]
9925test { try toAsciiFail("fax\xe2\xa9\xb7\xf0\x9d\x86\x86\xe3\x80\x82\xf0\x9e\xa4\xa0\xf3\xa0\x86\x81\xe1\xa0\x8c", true); } // [B6]
9926test { try toUnicodeFail("fax\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa5\x82"); } // [B6]
9927test { try toAsciiFail("fax\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa5\x82", false); } // [B6]
9928test { try toAsciiFail("fax\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa5\x82", true); } // [B6]
9929test { try toUnicodeFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa4\xa0"); } // [B6]
9930test { try toAsciiFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa4\xa0", false); } // [B6]
9931test { try toAsciiFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa4\xa0", true); } // [B6]
9932test { try toUnicodeFail("Fax\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa4\xa0"); } // [B6]
9933test { try toAsciiFail("Fax\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa4\xa0", false); } // [B6]
9934test { try toAsciiFail("Fax\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa4\xa0", true); } // [B6]
9935test { try toUnicodeFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa5\x82"); } // [B6]
9936test { try toAsciiFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa5\x82", false); } // [B6]
9937test { try toAsciiFail("FAX\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa5\x82", true); } // [B6]
9938test { try toUnicodeFail("Fax\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa5\x82"); } // [B6]
9939test { try toAsciiFail("Fax\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa5\x82", false); } // [B6]
9940test { try toAsciiFail("Fax\xe2\xa9\xb7\xf0\x9d\x86\x86.\xf0\x9e\xa5\x82", true); } // [B6]
9941test { try toUnicodeFail("\xea\xa1\x95\xe2\x89\xa0\xe1\x81\x9e\xf3\xae\xbf\xb1\xef\xbd\xa1\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xef\xbe\xa0"); } // [V7]
9942test { try toAsciiFail("\xea\xa1\x95\xe2\x89\xa0\xe1\x81\x9e\xf3\xae\xbf\xb1\xef\xbd\xa1\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xef\xbe\xa0", false); } // [V7]
9943test { try toAsciiFail("\xea\xa1\x95\xe2\x89\xa0\xe1\x81\x9e\xf3\xae\xbf\xb1\xef\xbd\xa1\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xef\xbe\xa0", true); } // [V7]
9944test { try toUnicodeFail("\xea\xa1\x95=\xcc\xb8\xe1\x81\x9e\xf3\xae\xbf\xb1\xef\xbd\xa1\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xef\xbe\xa0"); } // [V7]
9945test { try toAsciiFail("\xea\xa1\x95=\xcc\xb8\xe1\x81\x9e\xf3\xae\xbf\xb1\xef\xbd\xa1\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xef\xbe\xa0", false); } // [V7]
9946test { try toAsciiFail("\xea\xa1\x95=\xcc\xb8\xe1\x81\x9e\xf3\xae\xbf\xb1\xef\xbd\xa1\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xef\xbe\xa0", true); } // [V7]
9947test { try toUnicodeFail("\xea\xa1\x95\xe2\x89\xa0\xe1\x81\x9e\xf3\xae\xbf\xb1\xe3\x80\x82\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xe1\x85\xa0"); } // [V7]
9948test { try toAsciiFail("\xea\xa1\x95\xe2\x89\xa0\xe1\x81\x9e\xf3\xae\xbf\xb1\xe3\x80\x82\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xe1\x85\xa0", false); } // [V7]
9949test { try toAsciiFail("\xea\xa1\x95\xe2\x89\xa0\xe1\x81\x9e\xf3\xae\xbf\xb1\xe3\x80\x82\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xe1\x85\xa0", true); } // [V7]
9950test { try toUnicodeFail("\xea\xa1\x95=\xcc\xb8\xe1\x81\x9e\xf3\xae\xbf\xb1\xe3\x80\x82\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xe1\x85\xa0"); } // [V7]
9951test { try toAsciiFail("\xea\xa1\x95=\xcc\xb8\xe1\x81\x9e\xf3\xae\xbf\xb1\xe3\x80\x82\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xe1\x85\xa0", false); } // [V7]
9952test { try toAsciiFail("\xea\xa1\x95=\xcc\xb8\xe1\x81\x9e\xf3\xae\xbf\xb1\xe3\x80\x82\xf0\x90\xb5\xa7\xf3\xa0\x84\xab\xe1\x85\xa0", true); } // [V7]
9953test { try toUnicodeFail("xn--cld333gn31h0158l.xn--3g0d"); } // [V7]
9954test { try toAsciiFail("xn--cld333gn31h0158l.xn--3g0d", false); } // [V7]
9955test { try toAsciiFail("xn--cld333gn31h0158l.xn--3g0d", true); } // [V7]
9956test { try toUnicodeFail("xn--cld333gn31h0158l.xn--psd1510k"); } // [B2, B3, V7]
9957test { try toAsciiFail("xn--cld333gn31h0158l.xn--psd1510k", false); } // [B2, B3, V7]
9958test { try toAsciiFail("xn--cld333gn31h0158l.xn--psd1510k", true); } // [B2, B3, V7]
9959test { try toUnicodeFail("xn--cld333gn31h0158l.xn--cl7c96v"); } // [B2, B3, V7]
9960test { try toAsciiFail("xn--cld333gn31h0158l.xn--cl7c96v", false); } // [B2, B3, V7]
9961test { try toAsciiFail("xn--cld333gn31h0158l.xn--cl7c96v", true); } // [B2, B3, V7]
9962test { try toUnicodeFail("\xe9\xb1\x8a\xe3\x80\x82\xe2\x80\x8c"); } // [C1]
9963test { try toAsciiFail("\xe9\xb1\x8a\xe3\x80\x82\xe2\x80\x8c", false); } // [C1]
9964test { try toAsciiFail("\xe9\xb1\x8a\xe3\x80\x82\xe2\x80\x8c", true); } // [A4_2]
9965test { try toUnicodePass("xn--rt6a.", "\xe9\xb1\x8a."); }
9966test { try toAsciiFail("xn--rt6a.", false); } // [A4_2]
9967test { try toAsciiFail("xn--rt6a.", true); } // [A4_2]
9968test { try toUnicodePass("\xe9\xb1\x8a.", "\xe9\xb1\x8a."); }
9969test { try toAsciiFail("\xe9\xb1\x8a.", false); } // [A4_2]
9970test { try toAsciiFail("\xe9\xb1\x8a.", true); } // [A4_2]
9971test { try toUnicodeFail("xn--rt6a.xn--0ug"); } // [C1]
9972test { try toAsciiFail("xn--rt6a.xn--0ug", false); } // [C1]
9973test { try toAsciiFail("xn--rt6a.xn--0ug", true); } // [C1]
9974test { try toUnicodeFail("8\xf0\x90\xb9\xa3\xef\xbc\x8e\xf0\x91\x8d\xa8"); } // [B1, V6]
9975test { try toAsciiFail("8\xf0\x90\xb9\xa3\xef\xbc\x8e\xf0\x91\x8d\xa8", false); } // [B1, V6]
9976test { try toAsciiFail("8\xf0\x90\xb9\xa3\xef\xbc\x8e\xf0\x91\x8d\xa8", true); } // [B1, V6]
9977test { try toUnicodeFail("8\xf0\x90\xb9\xa3.\xf0\x91\x8d\xa8"); } // [B1, V6]
9978test { try toAsciiFail("8\xf0\x90\xb9\xa3.\xf0\x91\x8d\xa8", false); } // [B1, V6]
9979test { try toAsciiFail("8\xf0\x90\xb9\xa3.\xf0\x91\x8d\xa8", true); } // [B1, V6]
9980test { try toUnicodeFail("xn--8-d26i.xn--0p1d"); } // [B1, V6]
9981test { try toAsciiFail("xn--8-d26i.xn--0p1d", false); } // [B1, V6]
9982test { try toAsciiFail("xn--8-d26i.xn--0p1d", true); } // [B1, V6]
9983test { try toUnicodeFail("\xe2\x8f\xb9\xf0\x90\xa7\x80\xef\xbc\x8e\xf0\x90\xab\xaf"); } // [B1]
9984test { try toAsciiFail("\xe2\x8f\xb9\xf0\x90\xa7\x80\xef\xbc\x8e\xf0\x90\xab\xaf", false); } // [B1]
9985test { try toAsciiFail("\xe2\x8f\xb9\xf0\x90\xa7\x80\xef\xbc\x8e\xf0\x90\xab\xaf", true); } // [B1]
9986test { try toUnicodeFail("\xe2\x8f\xb9\xf0\x90\xa7\x80.\xf0\x90\xab\xaf"); } // [B1]
9987test { try toAsciiFail("\xe2\x8f\xb9\xf0\x90\xa7\x80.\xf0\x90\xab\xaf", false); } // [B1]
9988test { try toAsciiFail("\xe2\x8f\xb9\xf0\x90\xa7\x80.\xf0\x90\xab\xaf", true); } // [B1]
9989test { try toUnicodeFail("xn--qoh9161g.xn--1x9c"); } // [B1]
9990test { try toAsciiFail("xn--qoh9161g.xn--1x9c", false); } // [B1]
9991test { try toAsciiFail("xn--qoh9161g.xn--1x9c", true); } // [B1]
9992test { try toUnicodeFail("\xf0\x9e\xa4\xba\xdf\x8c4\xef\xbc\x8e\xe2\x80\x8d"); } // [B1, C2]
9993test { try toAsciiFail("\xf0\x9e\xa4\xba\xdf\x8c4\xef\xbc\x8e\xe2\x80\x8d", false); } // [B1, C2]
9994test { try toAsciiFail("\xf0\x9e\xa4\xba\xdf\x8c4\xef\xbc\x8e\xe2\x80\x8d", true); } // [A4_2]
9995test { try toUnicodeFail("\xf0\x9e\xa4\xba\xdf\x8c4.\xe2\x80\x8d"); } // [B1, C2]
9996test { try toAsciiFail("\xf0\x9e\xa4\xba\xdf\x8c4.\xe2\x80\x8d", false); } // [B1, C2]
9997test { try toAsciiFail("\xf0\x9e\xa4\xba\xdf\x8c4.\xe2\x80\x8d", true); } // [A4_2]
9998test { try toUnicodeFail("\xf0\x9e\xa4\x98\xdf\x8c4.\xe2\x80\x8d"); } // [B1, C2]
9999test { try toAsciiFail("\xf0\x9e\xa4\x98\xdf\x8c4.\xe2\x80\x8d", false); } // [B1, C2]
10000test { try toAsciiFail("\xf0\x9e\xa4\x98\xdf\x8c4.\xe2\x80\x8d", true); } // [A4_2]
10001test { try toUnicodePass("xn--4-0bd15808a.", "\xf0\x9e\xa4\xba\xdf\x8c4."); }
10002test { try toAsciiFail("xn--4-0bd15808a.", false); } // [A4_2]
10003test { try toAsciiFail("xn--4-0bd15808a.", true); } // [A4_2]
10004test { try toUnicodePass("\xf0\x9e\xa4\xba\xdf\x8c4.", "\xf0\x9e\xa4\xba\xdf\x8c4."); }
10005test { try toAsciiFail("\xf0\x9e\xa4\xba\xdf\x8c4.", false); } // [A4_2]
10006test { try toAsciiFail("\xf0\x9e\xa4\xba\xdf\x8c4.", true); } // [A4_2]
10007test { try toUnicodePass("\xf0\x9e\xa4\x98\xdf\x8c4.", "\xf0\x9e\xa4\xba\xdf\x8c4."); }
10008test { try toAsciiFail("\xf0\x9e\xa4\x98\xdf\x8c4.", false); } // [A4_2]
10009test { try toAsciiFail("\xf0\x9e\xa4\x98\xdf\x8c4.", true); } // [A4_2]
10010test { try toUnicodeFail("xn--4-0bd15808a.xn--1ug"); } // [B1, C2]
10011test { try toAsciiFail("xn--4-0bd15808a.xn--1ug", false); } // [B1, C2]
10012test { try toAsciiFail("xn--4-0bd15808a.xn--1ug", true); } // [B1, C2]
10013test { try toUnicodeFail("\xf0\x9e\xa4\x98\xdf\x8c4\xef\xbc\x8e\xe2\x80\x8d"); } // [B1, C2]
10014test { try toAsciiFail("\xf0\x9e\xa4\x98\xdf\x8c4\xef\xbc\x8e\xe2\x80\x8d", false); } // [B1, C2]
10015test { try toAsciiFail("\xf0\x9e\xa4\x98\xdf\x8c4\xef\xbc\x8e\xe2\x80\x8d", true); } // [A4_2]
10016test { try toUnicodeFail("\xe2\x92\x97\xe0\xa6\x81\xe2\x83\xaf-.\xe0\xa3\xa2\xe2\x80\xa2"); } // [B1, V3, V7]
10017test { try toAsciiFail("\xe2\x92\x97\xe0\xa6\x81\xe2\x83\xaf-.\xe0\xa3\xa2\xe2\x80\xa2", false); } // [B1, V3, V7]
10018test { try toAsciiFail("\xe2\x92\x97\xe0\xa6\x81\xe2\x83\xaf-.\xe0\xa3\xa2\xe2\x80\xa2", true); } // [B1, V3, V7]
10019test { try toUnicodeFail("16.\xe0\xa6\x81\xe2\x83\xaf-.\xe0\xa3\xa2\xe2\x80\xa2"); } // [B1, V3, V6, V7]
10020test { try toAsciiFail("16.\xe0\xa6\x81\xe2\x83\xaf-.\xe0\xa3\xa2\xe2\x80\xa2", false); } // [B1, V3, V6, V7]
10021test { try toAsciiFail("16.\xe0\xa6\x81\xe2\x83\xaf-.\xe0\xa3\xa2\xe2\x80\xa2", true); } // [B1, V3, V6, V7]
10022test { try toUnicodeFail("16.xn----z0d801p.xn--l0b810j"); } // [B1, V3, V6, V7]
10023test { try toAsciiFail("16.xn----z0d801p.xn--l0b810j", false); } // [B1, V3, V6, V7]
10024test { try toAsciiFail("16.xn----z0d801p.xn--l0b810j", true); } // [B1, V3, V6, V7]
10025test { try toUnicodeFail("xn----z0d801p6kd.xn--l0b810j"); } // [B1, V3, V7]
10026test { try toAsciiFail("xn----z0d801p6kd.xn--l0b810j", false); } // [B1, V3, V7]
10027test { try toAsciiFail("xn----z0d801p6kd.xn--l0b810j", true); } // [B1, V3, V7]
10028test { try toUnicodeFail("-\xef\xbd\xa1\xe4\x8f\x9b"); } // [V3]
10029test { try toAsciiFail("-\xef\xbd\xa1\xe4\x8f\x9b", false); } // [V3]
10030test { try toAsciiFail("-\xef\xbd\xa1\xe4\x8f\x9b", true); } // [V3]
10031test { try toUnicodeFail("-\xe3\x80\x82\xe4\x8f\x9b"); } // [V3]
10032test { try toAsciiFail("-\xe3\x80\x82\xe4\x8f\x9b", false); } // [V3]
10033test { try toAsciiFail("-\xe3\x80\x82\xe4\x8f\x9b", true); } // [V3]
10034test { try toUnicodeFail("-.xn--xco"); } // [V3]
10035test { try toAsciiFail("-.xn--xco", false); } // [V3]
10036test { try toAsciiFail("-.xn--xco", true); } // [V3]
10037test { try toUnicodeFail("\xe2\x80\x8c\xf1\x92\x83\xa0\xef\xbc\x8e\xe2\x80\x8d"); } // [C1, C2, V7]
10038test { try toAsciiFail("\xe2\x80\x8c\xf1\x92\x83\xa0\xef\xbc\x8e\xe2\x80\x8d", false); } // [C1, C2, V7]
10039test { try toAsciiFail("\xe2\x80\x8c\xf1\x92\x83\xa0\xef\xbc\x8e\xe2\x80\x8d", true); } // [V7, A4_2]
10040test { try toUnicodeFail("\xe2\x80\x8c\xf1\x92\x83\xa0.\xe2\x80\x8d"); } // [C1, C2, V7]
10041test { try toAsciiFail("\xe2\x80\x8c\xf1\x92\x83\xa0.\xe2\x80\x8d", false); } // [C1, C2, V7]
10042test { try toAsciiFail("\xe2\x80\x8c\xf1\x92\x83\xa0.\xe2\x80\x8d", true); } // [V7, A4_2]
10043test { try toUnicodeFail("xn--dj8y."); } // [V7]
10044test { try toAsciiFail("xn--dj8y.", false); } // [V7, A4_2]
10045test { try toAsciiFail("xn--dj8y.", true); } // [V7, A4_2]
10046test { try toUnicodeFail("xn--0ugz7551c.xn--1ug"); } // [C1, C2, V7]
10047test { try toAsciiFail("xn--0ugz7551c.xn--1ug", false); } // [C1, C2, V7]
10048test { try toAsciiFail("xn--0ugz7551c.xn--1ug", true); } // [C1, C2, V7]
10049test { try toUnicodeFail("\xe2\x92\x88\xe2\x93\xb0\xf3\xa5\xa3\x87\xef\xbd\xa1\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe1\x82\xb5"); } // [B1, C2, V7]
10050test { try toAsciiFail("\xe2\x92\x88\xe2\x93\xb0\xf3\xa5\xa3\x87\xef\xbd\xa1\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe1\x82\xb5", false); } // [B1, C2, V7]
10051test { try toAsciiFail("\xe2\x92\x88\xe2\x93\xb0\xf3\xa5\xa3\x87\xef\xbd\xa1\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe1\x82\xb5", true); } // [B1, V7]
10052test { try toUnicodeFail("1.\xe2\x93\xb0\xf3\xa5\xa3\x87\xe3\x80\x82\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe1\x82\xb5"); } // [B1, C2, V7]
10053test { try toAsciiFail("1.\xe2\x93\xb0\xf3\xa5\xa3\x87\xe3\x80\x82\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe1\x82\xb5", false); } // [B1, C2, V7]
10054test { try toAsciiFail("1.\xe2\x93\xb0\xf3\xa5\xa3\x87\xe3\x80\x82\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe1\x82\xb5", true); } // [B1, V7]
10055test { try toUnicodeFail("1.\xe2\x93\xb0\xf3\xa5\xa3\x87\xe3\x80\x82\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe2\xb4\x95"); } // [B1, C2, V7]
10056test { try toAsciiFail("1.\xe2\x93\xb0\xf3\xa5\xa3\x87\xe3\x80\x82\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe2\xb4\x95", false); } // [B1, C2, V7]
10057test { try toAsciiFail("1.\xe2\x93\xb0\xf3\xa5\xa3\x87\xe3\x80\x82\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe2\xb4\x95", true); } // [B1, V7]
10058test { try toUnicodeFail("1.xn--svh00804k.xn--dljv223ee5t2d"); } // [B1, V7]
10059test { try toAsciiFail("1.xn--svh00804k.xn--dljv223ee5t2d", false); } // [B1, V7]
10060test { try toAsciiFail("1.xn--svh00804k.xn--dljv223ee5t2d", true); } // [B1, V7]
10061test { try toUnicodeFail("1.xn--svh00804k.xn--1ug352csp0psg45e"); } // [B1, C2, V7]
10062test { try toAsciiFail("1.xn--svh00804k.xn--1ug352csp0psg45e", false); } // [B1, C2, V7]
10063test { try toAsciiFail("1.xn--svh00804k.xn--1ug352csp0psg45e", true); } // [B1, C2, V7]
10064test { try toUnicodeFail("\xe2\x92\x88\xe2\x93\xb0\xf3\xa5\xa3\x87\xef\xbd\xa1\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe2\xb4\x95"); } // [B1, C2, V7]
10065test { try toAsciiFail("\xe2\x92\x88\xe2\x93\xb0\xf3\xa5\xa3\x87\xef\xbd\xa1\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe2\xb4\x95", false); } // [B1, C2, V7]
10066test { try toAsciiFail("\xe2\x92\x88\xe2\x93\xb0\xf3\xa5\xa3\x87\xef\xbd\xa1\xf0\x90\xb9\xa0\xe2\x80\x8d\xf2\x97\xb7\xa6\xe2\xb4\x95", true); } // [B1, V7]
10067test { try toUnicodeFail("xn--tsh0nz9380h.xn--dljv223ee5t2d"); } // [B1, V7]
10068test { try toAsciiFail("xn--tsh0nz9380h.xn--dljv223ee5t2d", false); } // [B1, V7]
10069test { try toAsciiFail("xn--tsh0nz9380h.xn--dljv223ee5t2d", true); } // [B1, V7]
10070test { try toUnicodeFail("xn--tsh0nz9380h.xn--1ug352csp0psg45e"); } // [B1, C2, V7]
10071test { try toAsciiFail("xn--tsh0nz9380h.xn--1ug352csp0psg45e", false); } // [B1, C2, V7]
10072test { try toAsciiFail("xn--tsh0nz9380h.xn--1ug352csp0psg45e", true); } // [B1, C2, V7]
10073test { try toUnicodeFail("1.xn--svh00804k.xn--tnd1990ke579c"); } // [B1, V7]
10074test { try toAsciiFail("1.xn--svh00804k.xn--tnd1990ke579c", false); } // [B1, V7]
10075test { try toAsciiFail("1.xn--svh00804k.xn--tnd1990ke579c", true); } // [B1, V7]
10076test { try toUnicodeFail("1.xn--svh00804k.xn--tnd969erj4psgl3e"); } // [B1, C2, V7]
10077test { try toAsciiFail("1.xn--svh00804k.xn--tnd969erj4psgl3e", false); } // [B1, C2, V7]
10078test { try toAsciiFail("1.xn--svh00804k.xn--tnd969erj4psgl3e", true); } // [B1, C2, V7]
10079test { try toUnicodeFail("xn--tsh0nz9380h.xn--tnd1990ke579c"); } // [B1, V7]
10080test { try toAsciiFail("xn--tsh0nz9380h.xn--tnd1990ke579c", false); } // [B1, V7]
10081test { try toAsciiFail("xn--tsh0nz9380h.xn--tnd1990ke579c", true); } // [B1, V7]
10082test { try toUnicodeFail("xn--tsh0nz9380h.xn--tnd969erj4psgl3e"); } // [B1, C2, V7]
10083test { try toAsciiFail("xn--tsh0nz9380h.xn--tnd969erj4psgl3e", false); } // [B1, C2, V7]
10084test { try toAsciiFail("xn--tsh0nz9380h.xn--tnd969erj4psgl3e", true); } // [B1, C2, V7]
10085test { try toUnicodeFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-\xc3\x9f\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad"); } // [B1, B2, B3, V6, V7]
10086test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-\xc3\x9f\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", false); } // [B1, B2, B3, V6, V7]
10087test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-\xc3\x9f\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", true); } // [B1, B2, B3, V6, V7]
10088test { try toUnicodeFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-\xc3\x9f\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad"); } // [B1, B2, B3, V6, V7]
10089test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-\xc3\x9f\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", false); } // [B1, B2, B3, V6, V7]
10090test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-\xc3\x9f\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", true); } // [B1, B2, B3, V6, V7]
10091test { try toUnicodeFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-SS\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad"); } // [B1, B2, B3, V6, V7]
10092test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-SS\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", false); } // [B1, B2, B3, V6, V7]
10093test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-SS\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", true); } // [B1, B2, B3, V6, V7]
10094test { try toUnicodeFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-ss\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad"); } // [B1, B2, B3, V6, V7]
10095test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-ss\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", false); } // [B1, B2, B3, V6, V7]
10096test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-ss\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", true); } // [B1, B2, B3, V6, V7]
10097test { try toUnicodeFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-Ss\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad"); } // [B1, B2, B3, V6, V7]
10098test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-Ss\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", false); } // [B1, B2, B3, V6, V7]
10099test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-Ss\xe3\x80\x82\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", true); } // [B1, B2, B3, V6, V7]
10100test { try toUnicodeFail("xn---ss-21t18904a.xn--jfb197i791bi6x4c"); } // [B1, B2, B3, V6, V7]
10101test { try toAsciiFail("xn---ss-21t18904a.xn--jfb197i791bi6x4c", false); } // [B1, B2, B3, V6, V7]
10102test { try toAsciiFail("xn---ss-21t18904a.xn--jfb197i791bi6x4c", true); } // [B1, B2, B3, V6, V7]
10103test { try toUnicodeFail("xn----qfa310pg973b.xn--jfb197i791bi6x4c"); } // [B1, B2, B3, V6, V7]
10104test { try toAsciiFail("xn----qfa310pg973b.xn--jfb197i791bi6x4c", false); } // [B1, B2, B3, V6, V7]
10105test { try toAsciiFail("xn----qfa310pg973b.xn--jfb197i791bi6x4c", true); } // [B1, B2, B3, V6, V7]
10106test { try toUnicodeFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-SS\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad"); } // [B1, B2, B3, V6, V7]
10107test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-SS\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", false); } // [B1, B2, B3, V6, V7]
10108test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-SS\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", true); } // [B1, B2, B3, V6, V7]
10109test { try toUnicodeFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-ss\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad"); } // [B1, B2, B3, V6, V7]
10110test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-ss\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", false); } // [B1, B2, B3, V6, V7]
10111test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-ss\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", true); } // [B1, B2, B3, V6, V7]
10112test { try toUnicodeFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-Ss\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad"); } // [B1, B2, B3, V6, V7]
10113test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-Ss\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", false); } // [B1, B2, B3, V6, V7]
10114test { try toAsciiFail("\xf0\x9e\xa0\x8a\xe1\xa0\xae-Ss\xef\xbd\xa1\xe1\xb3\x90\xe5\x8a\xb9\xd8\x81\xf0\xb7\xa3\xad", true); } // [B1, B2, B3, V6, V7]
10115test { try toUnicodeFail("\xf0\x91\x87\x80.\xf3\xa0\xa8\xb1"); } // [V6, V7]
10116test { try toAsciiFail("\xf0\x91\x87\x80.\xf3\xa0\xa8\xb1", false); } // [V6, V7]
10117test { try toAsciiFail("\xf0\x91\x87\x80.\xf3\xa0\xa8\xb1", true); } // [V6, V7]
10118test { try toUnicodeFail("xn--wd1d.xn--k946e"); } // [V6, V7]
10119test { try toAsciiFail("xn--wd1d.xn--k946e", false); } // [V6, V7]
10120test { try toAsciiFail("xn--wd1d.xn--k946e", true); } // [V6, V7]
10121test { try toUnicodeFail("\xe2\x90\x923\xef\xae\x88\xef\xbd\xa1\xf0\x9d\x9f\x98\xf0\x90\xa8\xbf\xf0\x90\xb9\x86"); } // [B1, V7]
10122test { try toAsciiFail("\xe2\x90\x923\xef\xae\x88\xef\xbd\xa1\xf0\x9d\x9f\x98\xf0\x90\xa8\xbf\xf0\x90\xb9\x86", false); } // [B1, V7]
10123test { try toAsciiFail("\xe2\x90\x923\xef\xae\x88\xef\xbd\xa1\xf0\x9d\x9f\x98\xf0\x90\xa8\xbf\xf0\x90\xb9\x86", true); } // [B1, V7]
10124test { try toUnicodeFail("\xe2\x90\x923\xda\x88\xe3\x80\x820\xf0\x90\xa8\xbf\xf0\x90\xb9\x86"); } // [B1, V7]
10125test { try toAsciiFail("\xe2\x90\x923\xda\x88\xe3\x80\x820\xf0\x90\xa8\xbf\xf0\x90\xb9\x86", false); } // [B1, V7]
10126test { try toAsciiFail("\xe2\x90\x923\xda\x88\xe3\x80\x820\xf0\x90\xa8\xbf\xf0\x90\xb9\x86", true); } // [B1, V7]
10127test { try toUnicodeFail("xn--3-jsc897t.xn--0-sc5iy3h"); } // [B1, V7]
10128test { try toAsciiFail("xn--3-jsc897t.xn--0-sc5iy3h", false); } // [B1, V7]
10129test { try toAsciiFail("xn--3-jsc897t.xn--0-sc5iy3h", true); } // [B1, V7]
10130test { try toUnicodeFail("\xdd\xab\xef\xbc\x96\xe0\xaa\x81\xe0\xa2\xa6\xe3\x80\x82\xe1\xb7\xa3"); } // [B1, V6]
10131test { try toAsciiFail("\xdd\xab\xef\xbc\x96\xe0\xaa\x81\xe0\xa2\xa6\xe3\x80\x82\xe1\xb7\xa3", false); } // [B1, V6]
10132test { try toAsciiFail("\xdd\xab\xef\xbc\x96\xe0\xaa\x81\xe0\xa2\xa6\xe3\x80\x82\xe1\xb7\xa3", true); } // [B1, V6]
10133test { try toUnicodeFail("\xdd\xab6\xe0\xaa\x81\xe0\xa2\xa6\xe3\x80\x82\xe1\xb7\xa3"); } // [B1, V6]
10134test { try toAsciiFail("\xdd\xab6\xe0\xaa\x81\xe0\xa2\xa6\xe3\x80\x82\xe1\xb7\xa3", false); } // [B1, V6]
10135test { try toAsciiFail("\xdd\xab6\xe0\xaa\x81\xe0\xa2\xa6\xe3\x80\x82\xe1\xb7\xa3", true); } // [B1, V6]
10136test { try toUnicodeFail("xn--6-h5c06gj6c.xn--7eg"); } // [B1, V6]
10137test { try toAsciiFail("xn--6-h5c06gj6c.xn--7eg", false); } // [B1, V6]
10138test { try toAsciiFail("xn--6-h5c06gj6c.xn--7eg", true); } // [B1, V6]
10139test { try toUnicodeFail("\xd8\x85-\xf0\xbd\xa4\x9e\xe1\x82\xa2\xe3\x80\x82\xf2\x85\xa4\xb6\xe2\x80\x8d"); } // [B1, B6, C2, V7]
10140test { try toAsciiFail("\xd8\x85-\xf0\xbd\xa4\x9e\xe1\x82\xa2\xe3\x80\x82\xf2\x85\xa4\xb6\xe2\x80\x8d", false); } // [B1, B6, C2, V7]
10141test { try toAsciiFail("\xd8\x85-\xf0\xbd\xa4\x9e\xe1\x82\xa2\xe3\x80\x82\xf2\x85\xa4\xb6\xe2\x80\x8d", true); } // [B1, V7]
10142test { try toUnicodeFail("\xd8\x85-\xf0\xbd\xa4\x9e\xe2\xb4\x82\xe3\x80\x82\xf2\x85\xa4\xb6\xe2\x80\x8d"); } // [B1, B6, C2, V7]
10143test { try toAsciiFail("\xd8\x85-\xf0\xbd\xa4\x9e\xe2\xb4\x82\xe3\x80\x82\xf2\x85\xa4\xb6\xe2\x80\x8d", false); } // [B1, B6, C2, V7]
10144test { try toAsciiFail("\xd8\x85-\xf0\xbd\xa4\x9e\xe2\xb4\x82\xe3\x80\x82\xf2\x85\xa4\xb6\xe2\x80\x8d", true); } // [B1, V7]
10145test { try toUnicodeFail("xn----0kc8501a5399e.xn--ss06b"); } // [B1, V7]
10146test { try toAsciiFail("xn----0kc8501a5399e.xn--ss06b", false); } // [B1, V7]
10147test { try toAsciiFail("xn----0kc8501a5399e.xn--ss06b", true); } // [B1, V7]
10148test { try toUnicodeFail("xn----0kc8501a5399e.xn--1ugy3204f"); } // [B1, B6, C2, V7]
10149test { try toAsciiFail("xn----0kc8501a5399e.xn--1ugy3204f", false); } // [B1, B6, C2, V7]
10150test { try toAsciiFail("xn----0kc8501a5399e.xn--1ugy3204f", true); } // [B1, B6, C2, V7]
10151test { try toUnicodeFail("xn----0kc662fc152h.xn--ss06b"); } // [B1, V7]
10152test { try toAsciiFail("xn----0kc662fc152h.xn--ss06b", false); } // [B1, V7]
10153test { try toAsciiFail("xn----0kc662fc152h.xn--ss06b", true); } // [B1, V7]
10154test { try toUnicodeFail("xn----0kc662fc152h.xn--1ugy3204f"); } // [B1, B6, C2, V7]
10155test { try toAsciiFail("xn----0kc662fc152h.xn--1ugy3204f", false); } // [B1, B6, C2, V7]
10156test { try toAsciiFail("xn----0kc662fc152h.xn--1ugy3204f", true); } // [B1, B6, C2, V7]
10157test { try toUnicodePass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xaf\xc3\x9f", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xaf\xc3\x9f"); }
10158test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xaf\xc3\x9f", "xn--tc1a.xn--5-qfa988w745i", false); }
10159test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xaf\xc3\x9f", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10160test { try toUnicodePass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8\xc3\x9f", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xaf\xc3\x9f"); }
10161test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8\xc3\x9f", "xn--tc1a.xn--5-qfa988w745i", false); }
10162test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8\xc3\x9f", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10163test { try toUnicodePass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xaf\xc3\x9f", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xaf\xc3\x9f"); }
10164test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xaf\xc3\x9f", "xn--tc1a.xn--5-qfa988w745i", false); }
10165test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xaf\xc3\x9f", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10166test { try toUnicodePass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8\xc3\x9f", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xaf\xc3\x9f"); }
10167test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8\xc3\x9f", "xn--tc1a.xn--5-qfa988w745i", false); }
10168test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8\xc3\x9f", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10169test { try toUnicodePass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8SS", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10170test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8SS", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10171test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8SS", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10172test { try toUnicodePass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafSS", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10173test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafSS", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10174test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafSS", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10175test { try toUnicodePass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10176test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10177test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10178test { try toUnicodePass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8ss", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10179test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8ss", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10180test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8ss", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10181test { try toUnicodePass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8Ss", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10182test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8Ss", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10183test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885>\xcc\xb8Ss", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10184test { try toUnicodePass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafSs", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10185test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafSs", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10186test { try toAsciiPass("\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafSs", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10187test { try toUnicodePass("xn--tc1a.xn--5ss-3m2a5009e", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10188test { try toAsciiPass("xn--tc1a.xn--5ss-3m2a5009e", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10189test { try toAsciiPass("xn--tc1a.xn--5ss-3m2a5009e", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10190test { try toUnicodePass("xn--tc1a.xn--5-qfa988w745i", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xaf\xc3\x9f"); }
10191test { try toAsciiPass("xn--tc1a.xn--5-qfa988w745i", "xn--tc1a.xn--5-qfa988w745i", false); }
10192test { try toAsciiPass("xn--tc1a.xn--5-qfa988w745i", "xn--tc1a.xn--5-qfa988w745i", true); }
10193test { try toUnicodePass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8SS", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10194test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8SS", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10195test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8SS", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10196test { try toUnicodePass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xafSS", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10197test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xafSS", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10198test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xafSS", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10199test { try toUnicodePass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xafss", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10200test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xafss", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10201test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xafss", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10202test { try toUnicodePass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8ss", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10203test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8ss", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10204test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8ss", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10205test { try toUnicodePass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8Ss", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10206test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8Ss", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10207test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95>\xcc\xb8Ss", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10208test { try toUnicodePass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xafSs", "\xe8\x88\x8c.\xea\xa1\x885\xe2\x89\xafss"); }
10209test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xafSs", "xn--tc1a.xn--5ss-3m2a5009e", false); }
10210test { try toAsciiPass("\xe2\xbe\x86\xef\xbc\x8e\xea\xa1\x88\xef\xbc\x95\xe2\x89\xafSs", "xn--tc1a.xn--5ss-3m2a5009e", true); }
10211test { try toUnicodeFail("\xe0\xab\x8d8\xe2\x80\x8d\xef\xbc\x8e\xf2\xbe\x82\x88\xdd\x9c"); } // [B1, B5, B6, C2, V6, V7]
10212test { try toAsciiFail("\xe0\xab\x8d8\xe2\x80\x8d\xef\xbc\x8e\xf2\xbe\x82\x88\xdd\x9c", false); } // [B1, B5, B6, C2, V6, V7]
10213test { try toAsciiFail("\xe0\xab\x8d8\xe2\x80\x8d\xef\xbc\x8e\xf2\xbe\x82\x88\xdd\x9c", true); } // [B1, B5, B6, V6, V7]
10214test { try toUnicodeFail("\xe0\xab\x8d8\xe2\x80\x8d.\xf2\xbe\x82\x88\xdd\x9c"); } // [B1, B5, B6, C2, V6, V7]
10215test { try toAsciiFail("\xe0\xab\x8d8\xe2\x80\x8d.\xf2\xbe\x82\x88\xdd\x9c", false); } // [B1, B5, B6, C2, V6, V7]
10216test { try toAsciiFail("\xe0\xab\x8d8\xe2\x80\x8d.\xf2\xbe\x82\x88\xdd\x9c", true); } // [B1, B5, B6, V6, V7]
10217test { try toUnicodeFail("xn--8-yke.xn--gpb79046m"); } // [B1, B5, B6, V6, V7]
10218test { try toAsciiFail("xn--8-yke.xn--gpb79046m", false); } // [B1, B5, B6, V6, V7]
10219test { try toAsciiFail("xn--8-yke.xn--gpb79046m", true); } // [B1, B5, B6, V6, V7]
10220test { try toUnicodeFail("xn--8-yke534n.xn--gpb79046m"); } // [B1, B5, B6, C2, V6, V7]
10221test { try toAsciiFail("xn--8-yke534n.xn--gpb79046m", false); } // [B1, B5, B6, C2, V6, V7]
10222test { try toAsciiFail("xn--8-yke534n.xn--gpb79046m", true); } // [B1, B5, B6, C2, V6, V7]
10223test { try toUnicodeFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0\xe2\x89\xae\xf2\xb9\x93\x99\xef\xbc\x8e\xf1\x9e\x8e\xa7\xe2\x81\xb7\xf3\xa0\xaf\x99\xda\xb6"); } // [B5, B6, V7]
10224test { try toAsciiFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0\xe2\x89\xae\xf2\xb9\x93\x99\xef\xbc\x8e\xf1\x9e\x8e\xa7\xe2\x81\xb7\xf3\xa0\xaf\x99\xda\xb6", false); } // [B5, B6, V7]
10225test { try toAsciiFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0\xe2\x89\xae\xf2\xb9\x93\x99\xef\xbc\x8e\xf1\x9e\x8e\xa7\xe2\x81\xb7\xf3\xa0\xaf\x99\xda\xb6", true); } // [B5, B6, V7]
10226test { try toUnicodeFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0<\xcc\xb8\xf2\xb9\x93\x99\xef\xbc\x8e\xf1\x9e\x8e\xa7\xe2\x81\xb7\xf3\xa0\xaf\x99\xda\xb6"); } // [B5, B6, V7]
10227test { try toAsciiFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0<\xcc\xb8\xf2\xb9\x93\x99\xef\xbc\x8e\xf1\x9e\x8e\xa7\xe2\x81\xb7\xf3\xa0\xaf\x99\xda\xb6", false); } // [B5, B6, V7]
10228test { try toAsciiFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0<\xcc\xb8\xf2\xb9\x93\x99\xef\xbc\x8e\xf1\x9e\x8e\xa7\xe2\x81\xb7\xf3\xa0\xaf\x99\xda\xb6", true); } // [B5, B6, V7]
10229test { try toUnicodeFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0\xe2\x89\xae\xf2\xb9\x93\x99.\xf1\x9e\x8e\xa77\xf3\xa0\xaf\x99\xda\xb6"); } // [B5, B6, V7]
10230test { try toAsciiFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0\xe2\x89\xae\xf2\xb9\x93\x99.\xf1\x9e\x8e\xa77\xf3\xa0\xaf\x99\xda\xb6", false); } // [B5, B6, V7]
10231test { try toAsciiFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0\xe2\x89\xae\xf2\xb9\x93\x99.\xf1\x9e\x8e\xa77\xf3\xa0\xaf\x99\xda\xb6", true); } // [B5, B6, V7]
10232test { try toUnicodeFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0<\xcc\xb8\xf2\xb9\x93\x99.\xf1\x9e\x8e\xa77\xf3\xa0\xaf\x99\xda\xb6"); } // [B5, B6, V7]
10233test { try toAsciiFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0<\xcc\xb8\xf2\xb9\x93\x99.\xf1\x9e\x8e\xa77\xf3\xa0\xaf\x99\xda\xb6", false); } // [B5, B6, V7]
10234test { try toAsciiFail("\xf2\xb8\xb7\x86\xe0\xa9\xb0<\xcc\xb8\xf2\xb9\x93\x99.\xf1\x9e\x8e\xa77\xf3\xa0\xaf\x99\xda\xb6", true); } // [B5, B6, V7]
10235test { try toUnicodeFail("xn--ycc893jqh38rb6fa.xn--7-5uc53836ixt41c"); } // [B5, B6, V7]
10236test { try toAsciiFail("xn--ycc893jqh38rb6fa.xn--7-5uc53836ixt41c", false); } // [B5, B6, V7]
10237test { try toAsciiFail("xn--ycc893jqh38rb6fa.xn--7-5uc53836ixt41c", true); } // [B5, B6, V7]
10238test { try toUnicodePass("\xf0\x9e\xa4\xaa.\xcf\x82", "\xf0\x9e\xa4\xaa.\xcf\x82"); }
10239test { try toAsciiPass("\xf0\x9e\xa4\xaa.\xcf\x82", "xn--ie6h.xn--3xa", false); }
10240test { try toAsciiPass("\xf0\x9e\xa4\xaa.\xcf\x82", "xn--ie6h.xn--4xa", true); }
10241test { try toUnicodePass("\xf0\x9e\xa4\x88.\xce\xa3", "\xf0\x9e\xa4\xaa.\xcf\x83"); }
10242test { try toAsciiPass("\xf0\x9e\xa4\x88.\xce\xa3", "xn--ie6h.xn--4xa", false); }
10243test { try toAsciiPass("\xf0\x9e\xa4\x88.\xce\xa3", "xn--ie6h.xn--4xa", true); }
10244test { try toUnicodePass("\xf0\x9e\xa4\xaa.\xcf\x83", "\xf0\x9e\xa4\xaa.\xcf\x83"); }
10245test { try toAsciiPass("\xf0\x9e\xa4\xaa.\xcf\x83", "xn--ie6h.xn--4xa", false); }
10246test { try toAsciiPass("\xf0\x9e\xa4\xaa.\xcf\x83", "xn--ie6h.xn--4xa", true); }
10247test { try toUnicodePass("\xf0\x9e\xa4\x88.\xcf\x83", "\xf0\x9e\xa4\xaa.\xcf\x83"); }
10248test { try toAsciiPass("\xf0\x9e\xa4\x88.\xcf\x83", "xn--ie6h.xn--4xa", false); }
10249test { try toAsciiPass("\xf0\x9e\xa4\x88.\xcf\x83", "xn--ie6h.xn--4xa", true); }
10250test { try toUnicodePass("xn--ie6h.xn--4xa", "\xf0\x9e\xa4\xaa.\xcf\x83"); }
10251test { try toAsciiPass("xn--ie6h.xn--4xa", "xn--ie6h.xn--4xa", false); }
10252test { try toAsciiPass("xn--ie6h.xn--4xa", "xn--ie6h.xn--4xa", true); }
10253test { try toUnicodePass("\xf0\x9e\xa4\x88.\xcf\x82", "\xf0\x9e\xa4\xaa.\xcf\x82"); }
10254test { try toAsciiPass("\xf0\x9e\xa4\x88.\xcf\x82", "xn--ie6h.xn--3xa", false); }
10255test { try toAsciiPass("\xf0\x9e\xa4\x88.\xcf\x82", "xn--ie6h.xn--4xa", true); }
10256test { try toUnicodePass("xn--ie6h.xn--3xa", "\xf0\x9e\xa4\xaa.\xcf\x82"); }
10257test { try toAsciiPass("xn--ie6h.xn--3xa", "xn--ie6h.xn--3xa", false); }
10258test { try toAsciiPass("xn--ie6h.xn--3xa", "xn--ie6h.xn--3xa", true); }
10259test { try toUnicodePass("\xf0\x9e\xa4\xaa.\xce\xa3", "\xf0\x9e\xa4\xaa.\xcf\x83"); }
10260test { try toAsciiPass("\xf0\x9e\xa4\xaa.\xce\xa3", "xn--ie6h.xn--4xa", false); }
10261test { try toAsciiPass("\xf0\x9e\xa4\xaa.\xce\xa3", "xn--ie6h.xn--4xa", true); }
10262test { try toAsciiPass("\xe2\x80\x8c\xe1\x82\xba\xef\xbd\xa1\xcf\x82", "xn--ilj.xn--4xa", true); }
10263test { try toUnicodeFail("\xe2\x80\x8c\xe1\x82\xba\xef\xbd\xa1\xcf\x82"); } // [C1]
10264test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xba\xef\xbd\xa1\xcf\x82", false); } // [C1]
10265test { try toAsciiPass("\xe2\x80\x8c\xe1\x82\xba\xe3\x80\x82\xcf\x82", "xn--ilj.xn--4xa", true); }
10266test { try toUnicodeFail("\xe2\x80\x8c\xe1\x82\xba\xe3\x80\x82\xcf\x82"); } // [C1]
10267test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xba\xe3\x80\x82\xcf\x82", false); } // [C1]
10268test { try toAsciiPass("\xe2\x80\x8c\xe2\xb4\x9a\xe3\x80\x82\xcf\x82", "xn--ilj.xn--4xa", true); }
10269test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\x9a\xe3\x80\x82\xcf\x82"); } // [C1]
10270test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x9a\xe3\x80\x82\xcf\x82", false); } // [C1]
10271test { try toAsciiPass("\xe2\x80\x8c\xe1\x82\xba\xe3\x80\x82\xce\xa3", "xn--ilj.xn--4xa", true); }
10272test { try toUnicodeFail("\xe2\x80\x8c\xe1\x82\xba\xe3\x80\x82\xce\xa3"); } // [C1]
10273test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xba\xe3\x80\x82\xce\xa3", false); } // [C1]
10274test { try toAsciiPass("\xe2\x80\x8c\xe2\xb4\x9a\xe3\x80\x82\xcf\x83", "xn--ilj.xn--4xa", true); }
10275test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\x9a\xe3\x80\x82\xcf\x83"); } // [C1]
10276test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x9a\xe3\x80\x82\xcf\x83", false); } // [C1]
10277test { try toUnicodePass("xn--ilj.xn--4xa", "\xe2\xb4\x9a.\xcf\x83"); }
10278test { try toAsciiPass("xn--ilj.xn--4xa", "xn--ilj.xn--4xa", false); }
10279test { try toAsciiPass("xn--ilj.xn--4xa", "xn--ilj.xn--4xa", true); }
10280test { try toUnicodePass("\xe2\xb4\x9a.\xcf\x83", "\xe2\xb4\x9a.\xcf\x83"); }
10281test { try toAsciiPass("\xe2\xb4\x9a.\xcf\x83", "xn--ilj.xn--4xa", false); }
10282test { try toAsciiPass("\xe2\xb4\x9a.\xcf\x83", "xn--ilj.xn--4xa", true); }
10283test { try toUnicodePass("\xe1\x82\xba.\xce\xa3", "\xe2\xb4\x9a.\xcf\x83"); }
10284test { try toAsciiPass("\xe1\x82\xba.\xce\xa3", "xn--ilj.xn--4xa", false); }
10285test { try toAsciiPass("\xe1\x82\xba.\xce\xa3", "xn--ilj.xn--4xa", true); }
10286test { try toUnicodePass("\xe2\xb4\x9a.\xcf\x82", "\xe2\xb4\x9a.\xcf\x82"); }
10287test { try toAsciiPass("\xe2\xb4\x9a.\xcf\x82", "xn--ilj.xn--3xa", false); }
10288test { try toAsciiPass("\xe2\xb4\x9a.\xcf\x82", "xn--ilj.xn--4xa", true); }
10289test { try toUnicodePass("\xe1\x82\xba.\xcf\x82", "\xe2\xb4\x9a.\xcf\x82"); }
10290test { try toAsciiPass("\xe1\x82\xba.\xcf\x82", "xn--ilj.xn--3xa", false); }
10291test { try toAsciiPass("\xe1\x82\xba.\xcf\x82", "xn--ilj.xn--4xa", true); }
10292test { try toUnicodePass("xn--ilj.xn--3xa", "\xe2\xb4\x9a.\xcf\x82"); }
10293test { try toAsciiPass("xn--ilj.xn--3xa", "xn--ilj.xn--3xa", false); }
10294test { try toAsciiPass("xn--ilj.xn--3xa", "xn--ilj.xn--3xa", true); }
10295test { try toUnicodePass("\xe1\x82\xba.\xcf\x83", "\xe2\xb4\x9a.\xcf\x83"); }
10296test { try toAsciiPass("\xe1\x82\xba.\xcf\x83", "xn--ilj.xn--4xa", false); }
10297test { try toAsciiPass("\xe1\x82\xba.\xcf\x83", "xn--ilj.xn--4xa", true); }
10298test { try toUnicodeFail("xn--0ug262c.xn--4xa"); } // [C1]
10299test { try toAsciiFail("xn--0ug262c.xn--4xa", false); } // [C1]
10300test { try toAsciiFail("xn--0ug262c.xn--4xa", true); } // [C1]
10301test { try toUnicodeFail("xn--0ug262c.xn--3xa"); } // [C1]
10302test { try toAsciiFail("xn--0ug262c.xn--3xa", false); } // [C1]
10303test { try toAsciiFail("xn--0ug262c.xn--3xa", true); } // [C1]
10304test { try toAsciiPass("\xe2\x80\x8c\xe2\xb4\x9a\xef\xbd\xa1\xcf\x82", "xn--ilj.xn--4xa", true); }
10305test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\x9a\xef\xbd\xa1\xcf\x82"); } // [C1]
10306test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x9a\xef\xbd\xa1\xcf\x82", false); } // [C1]
10307test { try toAsciiPass("\xe2\x80\x8c\xe1\x82\xba\xef\xbd\xa1\xce\xa3", "xn--ilj.xn--4xa", true); }
10308test { try toUnicodeFail("\xe2\x80\x8c\xe1\x82\xba\xef\xbd\xa1\xce\xa3"); } // [C1]
10309test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xba\xef\xbd\xa1\xce\xa3", false); } // [C1]
10310test { try toAsciiPass("\xe2\x80\x8c\xe2\xb4\x9a\xef\xbd\xa1\xcf\x83", "xn--ilj.xn--4xa", true); }
10311test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\x9a\xef\xbd\xa1\xcf\x83"); } // [C1]
10312test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x9a\xef\xbd\xa1\xcf\x83", false); } // [C1]
10313test { try toUnicodeFail("xn--ynd.xn--4xa"); } // [V7]
10314test { try toAsciiFail("xn--ynd.xn--4xa", false); } // [V7]
10315test { try toAsciiFail("xn--ynd.xn--4xa", true); } // [V7]
10316test { try toUnicodeFail("xn--ynd.xn--3xa"); } // [V7]
10317test { try toAsciiFail("xn--ynd.xn--3xa", false); } // [V7]
10318test { try toAsciiFail("xn--ynd.xn--3xa", true); } // [V7]
10319test { try toUnicodeFail("xn--ynd759e.xn--4xa"); } // [C1, V7]
10320test { try toAsciiFail("xn--ynd759e.xn--4xa", false); } // [C1, V7]
10321test { try toAsciiFail("xn--ynd759e.xn--4xa", true); } // [C1, V7]
10322test { try toUnicodeFail("xn--ynd759e.xn--3xa"); } // [C1, V7]
10323test { try toAsciiFail("xn--ynd759e.xn--3xa", false); } // [C1, V7]
10324test { try toAsciiFail("xn--ynd759e.xn--3xa", true); } // [C1, V7]
10325test { try toUnicodeFail("\xf0\x9e\xa4\x83\xef\xbc\x8e\xf0\x90\xb9\xa6"); } // [B1]
10326test { try toAsciiFail("\xf0\x9e\xa4\x83\xef\xbc\x8e\xf0\x90\xb9\xa6", false); } // [B1]
10327test { try toAsciiFail("\xf0\x9e\xa4\x83\xef\xbc\x8e\xf0\x90\xb9\xa6", true); } // [B1]
10328test { try toUnicodeFail("\xf0\x9e\xa4\x83.\xf0\x90\xb9\xa6"); } // [B1]
10329test { try toAsciiFail("\xf0\x9e\xa4\x83.\xf0\x90\xb9\xa6", false); } // [B1]
10330test { try toAsciiFail("\xf0\x9e\xa4\x83.\xf0\x90\xb9\xa6", true); } // [B1]
10331test { try toUnicodeFail("\xf0\x9e\xa4\xa5.\xf0\x90\xb9\xa6"); } // [B1]
10332test { try toAsciiFail("\xf0\x9e\xa4\xa5.\xf0\x90\xb9\xa6", false); } // [B1]
10333test { try toAsciiFail("\xf0\x9e\xa4\xa5.\xf0\x90\xb9\xa6", true); } // [B1]
10334test { try toUnicodeFail("xn--de6h.xn--eo0d"); } // [B1]
10335test { try toAsciiFail("xn--de6h.xn--eo0d", false); } // [B1]
10336test { try toAsciiFail("xn--de6h.xn--eo0d", true); } // [B1]
10337test { try toUnicodeFail("\xf0\x9e\xa4\xa5\xef\xbc\x8e\xf0\x90\xb9\xa6"); } // [B1]
10338test { try toAsciiFail("\xf0\x9e\xa4\xa5\xef\xbc\x8e\xf0\x90\xb9\xa6", false); } // [B1]
10339test { try toAsciiFail("\xf0\x9e\xa4\xa5\xef\xbc\x8e\xf0\x90\xb9\xa6", true); } // [B1]
10340test { try toUnicodeFail("\xe2\x80\x8d\xe2\xbe\x95\xe3\x80\x82\xe2\x80\x8c\xcc\x90\xea\xa5\x93\xea\xa1\x8e"); } // [C1, C2]
10341test { try toAsciiFail("\xe2\x80\x8d\xe2\xbe\x95\xe3\x80\x82\xe2\x80\x8c\xcc\x90\xea\xa5\x93\xea\xa1\x8e", false); } // [C1, C2]
10342test { try toAsciiFail("\xe2\x80\x8d\xe2\xbe\x95\xe3\x80\x82\xe2\x80\x8c\xcc\x90\xea\xa5\x93\xea\xa1\x8e", true); } // [V6]
10343test { try toUnicodeFail("\xe2\x80\x8d\xe2\xbe\x95\xe3\x80\x82\xe2\x80\x8c\xea\xa5\x93\xcc\x90\xea\xa1\x8e"); } // [C1, C2]
10344test { try toAsciiFail("\xe2\x80\x8d\xe2\xbe\x95\xe3\x80\x82\xe2\x80\x8c\xea\xa5\x93\xcc\x90\xea\xa1\x8e", false); } // [C1, C2]
10345test { try toAsciiFail("\xe2\x80\x8d\xe2\xbe\x95\xe3\x80\x82\xe2\x80\x8c\xea\xa5\x93\xcc\x90\xea\xa1\x8e", true); } // [V6]
10346test { try toUnicodeFail("\xe2\x80\x8d\xe8\xb0\xb7\xe3\x80\x82\xe2\x80\x8c\xea\xa5\x93\xcc\x90\xea\xa1\x8e"); } // [C1, C2]
10347test { try toAsciiFail("\xe2\x80\x8d\xe8\xb0\xb7\xe3\x80\x82\xe2\x80\x8c\xea\xa5\x93\xcc\x90\xea\xa1\x8e", false); } // [C1, C2]
10348test { try toAsciiFail("\xe2\x80\x8d\xe8\xb0\xb7\xe3\x80\x82\xe2\x80\x8c\xea\xa5\x93\xcc\x90\xea\xa1\x8e", true); } // [V6]
10349test { try toUnicodeFail("xn--6g3a.xn--0sa8175flwa"); } // [V6]
10350test { try toAsciiFail("xn--6g3a.xn--0sa8175flwa", false); } // [V6]
10351test { try toAsciiFail("xn--6g3a.xn--0sa8175flwa", true); } // [V6]
10352test { try toUnicodeFail("xn--1ug0273b.xn--0sa359l6n7g13a"); } // [C1, C2]
10353test { try toAsciiFail("xn--1ug0273b.xn--0sa359l6n7g13a", false); } // [C1, C2]
10354test { try toAsciiFail("xn--1ug0273b.xn--0sa359l6n7g13a", true); } // [C1, C2]
10355test { try toUnicodeFail("\xda\xaa-\xeb\x89\x94\xef\xbc\x8e\xf0\x9e\xa4\x90\xe2\x80\x8c"); } // [B2, B3, C1]
10356test { try toAsciiFail("\xda\xaa-\xeb\x89\x94\xef\xbc\x8e\xf0\x9e\xa4\x90\xe2\x80\x8c", false); } // [B2, B3, C1]
10357test { try toAsciiFail("\xda\xaa-\xeb\x89\x94\xef\xbc\x8e\xf0\x9e\xa4\x90\xe2\x80\x8c", true); } // [B2, B3]
10358test { try toUnicodeFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf\xef\xbc\x8e\xf0\x9e\xa4\x90\xe2\x80\x8c"); } // [B2, B3, C1]
10359test { try toAsciiFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf\xef\xbc\x8e\xf0\x9e\xa4\x90\xe2\x80\x8c", false); } // [B2, B3, C1]
10360test { try toAsciiFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf\xef\xbc\x8e\xf0\x9e\xa4\x90\xe2\x80\x8c", true); } // [B2, B3]
10361test { try toUnicodeFail("\xda\xaa-\xeb\x89\x94.\xf0\x9e\xa4\x90\xe2\x80\x8c"); } // [B2, B3, C1]
10362test { try toAsciiFail("\xda\xaa-\xeb\x89\x94.\xf0\x9e\xa4\x90\xe2\x80\x8c", false); } // [B2, B3, C1]
10363test { try toAsciiFail("\xda\xaa-\xeb\x89\x94.\xf0\x9e\xa4\x90\xe2\x80\x8c", true); } // [B2, B3]
10364test { try toUnicodeFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf.\xf0\x9e\xa4\x90\xe2\x80\x8c"); } // [B2, B3, C1]
10365test { try toAsciiFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf.\xf0\x9e\xa4\x90\xe2\x80\x8c", false); } // [B2, B3, C1]
10366test { try toAsciiFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf.\xf0\x9e\xa4\x90\xe2\x80\x8c", true); } // [B2, B3]
10367test { try toUnicodeFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf.\xf0\x9e\xa4\xb2\xe2\x80\x8c"); } // [B2, B3, C1]
10368test { try toAsciiFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf.\xf0\x9e\xa4\xb2\xe2\x80\x8c", false); } // [B2, B3, C1]
10369test { try toAsciiFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf.\xf0\x9e\xa4\xb2\xe2\x80\x8c", true); } // [B2, B3]
10370test { try toUnicodeFail("\xda\xaa-\xeb\x89\x94.\xf0\x9e\xa4\xb2\xe2\x80\x8c"); } // [B2, B3, C1]
10371test { try toAsciiFail("\xda\xaa-\xeb\x89\x94.\xf0\x9e\xa4\xb2\xe2\x80\x8c", false); } // [B2, B3, C1]
10372test { try toAsciiFail("\xda\xaa-\xeb\x89\x94.\xf0\x9e\xa4\xb2\xe2\x80\x8c", true); } // [B2, B3]
10373test { try toUnicodeFail("xn----guc3592k.xn--qe6h"); } // [B2, B3]
10374test { try toAsciiFail("xn----guc3592k.xn--qe6h", false); } // [B2, B3]
10375test { try toAsciiFail("xn----guc3592k.xn--qe6h", true); } // [B2, B3]
10376test { try toUnicodeFail("xn----guc3592k.xn--0ug7611p"); } // [B2, B3, C1]
10377test { try toAsciiFail("xn----guc3592k.xn--0ug7611p", false); } // [B2, B3, C1]
10378test { try toAsciiFail("xn----guc3592k.xn--0ug7611p", true); } // [B2, B3, C1]
10379test { try toUnicodeFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf\xef\xbc\x8e\xf0\x9e\xa4\xb2\xe2\x80\x8c"); } // [B2, B3, C1]
10380test { try toAsciiFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf\xef\xbc\x8e\xf0\x9e\xa4\xb2\xe2\x80\x8c", false); } // [B2, B3, C1]
10381test { try toAsciiFail("\xda\xaa-\xe1\x84\x82\xe1\x85\xb0\xe1\x86\xbf\xef\xbc\x8e\xf0\x9e\xa4\xb2\xe2\x80\x8c", true); } // [B2, B3]
10382test { try toUnicodeFail("\xda\xaa-\xeb\x89\x94\xef\xbc\x8e\xf0\x9e\xa4\xb2\xe2\x80\x8c"); } // [B2, B3, C1]
10383test { try toAsciiFail("\xda\xaa-\xeb\x89\x94\xef\xbc\x8e\xf0\x9e\xa4\xb2\xe2\x80\x8c", false); } // [B2, B3, C1]
10384test { try toAsciiFail("\xda\xaa-\xeb\x89\x94\xef\xbc\x8e\xf0\x9e\xa4\xb2\xe2\x80\x8c", true); } // [B2, B3]
10385test { try toUnicodeFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x82.\xea\xa3\x84\xdd\xbb\xe1\xb3\x92\xdc\xb8"); } // [B1, V6, V7]
10386test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x82.\xea\xa3\x84\xdd\xbb\xe1\xb3\x92\xdc\xb8", false); } // [B1, V6, V7]
10387test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x82.\xea\xa3\x84\xdd\xbb\xe1\xb3\x92\xdc\xb8", true); } // [B1, V6, V7]
10388test { try toUnicodeFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x82.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92"); } // [B1, V6, V7]
10389test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x82.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", false); } // [B1, V6, V7]
10390test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x82.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", true); } // [B1, V6, V7]
10391test { try toUnicodeFail("\xf1\x94\xb2\xb55\xe1\xa6\x9b\xcf\x82.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92"); } // [B1, V6, V7]
10392test { try toAsciiFail("\xf1\x94\xb2\xb55\xe1\xa6\x9b\xcf\x82.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", false); } // [B1, V6, V7]
10393test { try toAsciiFail("\xf1\x94\xb2\xb55\xe1\xa6\x9b\xcf\x82.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", true); } // [B1, V6, V7]
10394test { try toUnicodeFail("\xf1\x94\xb2\xb55\xe1\xa6\x9b\xce\xa3.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92"); } // [B1, V6, V7]
10395test { try toAsciiFail("\xf1\x94\xb2\xb55\xe1\xa6\x9b\xce\xa3.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", false); } // [B1, V6, V7]
10396test { try toAsciiFail("\xf1\x94\xb2\xb55\xe1\xa6\x9b\xce\xa3.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", true); } // [B1, V6, V7]
10397test { try toUnicodeFail("\xf1\x94\xb2\xb55\xe1\xa6\x9b\xcf\x83.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92"); } // [B1, V6, V7]
10398test { try toAsciiFail("\xf1\x94\xb2\xb55\xe1\xa6\x9b\xcf\x83.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", false); } // [B1, V6, V7]
10399test { try toAsciiFail("\xf1\x94\xb2\xb55\xe1\xa6\x9b\xcf\x83.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", true); } // [B1, V6, V7]
10400test { try toUnicodeFail("xn--5-0mb988ng603j.xn--fob7kk44dl41k"); } // [B1, V6, V7]
10401test { try toAsciiFail("xn--5-0mb988ng603j.xn--fob7kk44dl41k", false); } // [B1, V6, V7]
10402test { try toAsciiFail("xn--5-0mb988ng603j.xn--fob7kk44dl41k", true); } // [B1, V6, V7]
10403test { try toUnicodeFail("xn--5-ymb298ng603j.xn--fob7kk44dl41k"); } // [B1, V6, V7]
10404test { try toAsciiFail("xn--5-ymb298ng603j.xn--fob7kk44dl41k", false); } // [B1, V6, V7]
10405test { try toAsciiFail("xn--5-ymb298ng603j.xn--fob7kk44dl41k", true); } // [B1, V6, V7]
10406test { try toUnicodeFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xce\xa3.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92"); } // [B1, V6, V7]
10407test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xce\xa3.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", false); } // [B1, V6, V7]
10408test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xce\xa3.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", true); } // [B1, V6, V7]
10409test { try toUnicodeFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x83.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92"); } // [B1, V6, V7]
10410test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x83.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", false); } // [B1, V6, V7]
10411test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x83.\xea\xa3\x84\xdd\xbb\xdc\xb8\xe1\xb3\x92", true); } // [B1, V6, V7]
10412test { try toUnicodeFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xce\xa3.\xea\xa3\x84\xdd\xbb\xe1\xb3\x92\xdc\xb8"); } // [B1, V6, V7]
10413test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xce\xa3.\xea\xa3\x84\xdd\xbb\xe1\xb3\x92\xdc\xb8", false); } // [B1, V6, V7]
10414test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xce\xa3.\xea\xa3\x84\xdd\xbb\xe1\xb3\x92\xdc\xb8", true); } // [B1, V6, V7]
10415test { try toUnicodeFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x83.\xea\xa3\x84\xdd\xbb\xe1\xb3\x92\xdc\xb8"); } // [B1, V6, V7]
10416test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x83.\xea\xa3\x84\xdd\xbb\xe1\xb3\x92\xdc\xb8", false); } // [B1, V6, V7]
10417test { try toAsciiFail("\xf1\x94\xb2\xb5\xef\xbc\x95\xe1\xa6\x9b\xcf\x83.\xea\xa3\x84\xdd\xbb\xe1\xb3\x92\xdc\xb8", true); } // [B1, V6, V7]
10418test { try toUnicodePass("\xe6\xb7\xbd\xe3\x80\x82\xe1\xa0\xbe", "\xe6\xb7\xbd.\xe1\xa0\xbe"); }
10419test { try toAsciiPass("\xe6\xb7\xbd\xe3\x80\x82\xe1\xa0\xbe", "xn--34w.xn--x7e", false); }
10420test { try toAsciiPass("\xe6\xb7\xbd\xe3\x80\x82\xe1\xa0\xbe", "xn--34w.xn--x7e", true); }
10421test { try toUnicodePass("xn--34w.xn--x7e", "\xe6\xb7\xbd.\xe1\xa0\xbe"); }
10422test { try toAsciiPass("xn--34w.xn--x7e", "xn--34w.xn--x7e", false); }
10423test { try toAsciiPass("xn--34w.xn--x7e", "xn--34w.xn--x7e", true); }
10424test { try toUnicodePass("\xe6\xb7\xbd.\xe1\xa0\xbe", "\xe6\xb7\xbd.\xe1\xa0\xbe"); }
10425test { try toAsciiPass("\xe6\xb7\xbd.\xe1\xa0\xbe", "xn--34w.xn--x7e", false); }
10426test { try toAsciiPass("\xe6\xb7\xbd.\xe1\xa0\xbe", "xn--34w.xn--x7e", true); }
10427test { try toUnicodeFail("\xf0\x90\xb9\xb4\xf0\x91\x98\xb7\xe3\x80\x82-"); } // [B1, V3]
10428test { try toAsciiFail("\xf0\x90\xb9\xb4\xf0\x91\x98\xb7\xe3\x80\x82-", false); } // [B1, V3]
10429test { try toAsciiFail("\xf0\x90\xb9\xb4\xf0\x91\x98\xb7\xe3\x80\x82-", true); } // [B1, V3]
10430test { try toUnicodeFail("xn--so0do6k.-"); } // [B1, V3]
10431test { try toAsciiFail("xn--so0do6k.-", false); } // [B1, V3]
10432test { try toAsciiFail("xn--so0do6k.-", true); } // [B1, V3]
10433test { try toUnicodeFail("\xf2\xac\xa8\xa9\xe1\x82\xb3\xe2\x9d\x93\xef\xbd\xa1\xf0\x91\x84\xa8"); } // [V6, V7]
10434test { try toAsciiFail("\xf2\xac\xa8\xa9\xe1\x82\xb3\xe2\x9d\x93\xef\xbd\xa1\xf0\x91\x84\xa8", false); } // [V6, V7]
10435test { try toAsciiFail("\xf2\xac\xa8\xa9\xe1\x82\xb3\xe2\x9d\x93\xef\xbd\xa1\xf0\x91\x84\xa8", true); } // [V6, V7]
10436test { try toUnicodeFail("\xf2\xac\xa8\xa9\xe1\x82\xb3\xe2\x9d\x93\xe3\x80\x82\xf0\x91\x84\xa8"); } // [V6, V7]
10437test { try toAsciiFail("\xf2\xac\xa8\xa9\xe1\x82\xb3\xe2\x9d\x93\xe3\x80\x82\xf0\x91\x84\xa8", false); } // [V6, V7]
10438test { try toAsciiFail("\xf2\xac\xa8\xa9\xe1\x82\xb3\xe2\x9d\x93\xe3\x80\x82\xf0\x91\x84\xa8", true); } // [V6, V7]
10439test { try toUnicodeFail("\xf2\xac\xa8\xa9\xe2\xb4\x93\xe2\x9d\x93\xe3\x80\x82\xf0\x91\x84\xa8"); } // [V6, V7]
10440test { try toAsciiFail("\xf2\xac\xa8\xa9\xe2\xb4\x93\xe2\x9d\x93\xe3\x80\x82\xf0\x91\x84\xa8", false); } // [V6, V7]
10441test { try toAsciiFail("\xf2\xac\xa8\xa9\xe2\xb4\x93\xe2\x9d\x93\xe3\x80\x82\xf0\x91\x84\xa8", true); } // [V6, V7]
10442test { try toUnicodeFail("xn--8di78qvw32y.xn--k80d"); } // [V6, V7]
10443test { try toAsciiFail("xn--8di78qvw32y.xn--k80d", false); } // [V6, V7]
10444test { try toAsciiFail("xn--8di78qvw32y.xn--k80d", true); } // [V6, V7]
10445test { try toUnicodeFail("\xf2\xac\xa8\xa9\xe2\xb4\x93\xe2\x9d\x93\xef\xbd\xa1\xf0\x91\x84\xa8"); } // [V6, V7]
10446test { try toAsciiFail("\xf2\xac\xa8\xa9\xe2\xb4\x93\xe2\x9d\x93\xef\xbd\xa1\xf0\x91\x84\xa8", false); } // [V6, V7]
10447test { try toAsciiFail("\xf2\xac\xa8\xa9\xe2\xb4\x93\xe2\x9d\x93\xef\xbd\xa1\xf0\x91\x84\xa8", true); } // [V6, V7]
10448test { try toUnicodeFail("xn--rnd896i0j14q.xn--k80d"); } // [V6, V7]
10449test { try toAsciiFail("xn--rnd896i0j14q.xn--k80d", false); } // [V6, V7]
10450test { try toAsciiFail("xn--rnd896i0j14q.xn--k80d", true); } // [V6, V7]
10451test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xef\xbd\xa1\xc3\x9f\xe1\x82\xa3"); } // [B1, C1]
10452test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xef\xbd\xa1\xc3\x9f\xe1\x82\xa3", false); } // [B1, C1]
10453test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xef\xbd\xa1\xc3\x9f\xe1\x82\xa3", true); } // [B1]
10454test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xe3\x80\x82\xc3\x9f\xe1\x82\xa3"); } // [B1, C1]
10455test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xe3\x80\x82\xc3\x9f\xe1\x82\xa3", false); } // [B1, C1]
10456test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xe3\x80\x82\xc3\x9f\xe1\x82\xa3", true); } // [B1]
10457test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xe3\x80\x82\xc3\x9f\xe2\xb4\x83"); } // [B1, C1]
10458test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xe3\x80\x82\xc3\x9f\xe2\xb4\x83", false); } // [B1, C1]
10459test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xe3\x80\x82\xc3\x9f\xe2\xb4\x83", true); } // [B1]
10460test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xe3\x80\x82SS\xe1\x82\xa3"); } // [B1, C1]
10461test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xe3\x80\x82SS\xe1\x82\xa3", false); } // [B1, C1]
10462test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xe3\x80\x82SS\xe1\x82\xa3", true); } // [B1]
10463test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xe3\x80\x82ss\xe2\xb4\x83"); } // [B1, C1]
10464test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xe3\x80\x82ss\xe2\xb4\x83", false); } // [B1, C1]
10465test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xe3\x80\x82ss\xe2\xb4\x83", true); } // [B1]
10466test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xe3\x80\x82Ss\xe2\xb4\x83"); } // [B1, C1]
10467test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xe3\x80\x82Ss\xe2\xb4\x83", false); } // [B1, C1]
10468test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xe3\x80\x82Ss\xe2\xb4\x83", true); } // [B1]
10469test { try toUnicodeFail("xn--ykj9323eegwf.xn--ss-151a"); } // [B1]
10470test { try toAsciiFail("xn--ykj9323eegwf.xn--ss-151a", false); } // [B1]
10471test { try toAsciiFail("xn--ykj9323eegwf.xn--ss-151a", true); } // [B1]
10472test { try toUnicodeFail("xn--0ug332c3q0pr56g.xn--ss-151a"); } // [B1, C1]
10473test { try toAsciiFail("xn--0ug332c3q0pr56g.xn--ss-151a", false); } // [B1, C1]
10474test { try toAsciiFail("xn--0ug332c3q0pr56g.xn--ss-151a", true); } // [B1, C1]
10475test { try toUnicodeFail("xn--0ug332c3q0pr56g.xn--zca417t"); } // [B1, C1]
10476test { try toAsciiFail("xn--0ug332c3q0pr56g.xn--zca417t", false); } // [B1, C1]
10477test { try toAsciiFail("xn--0ug332c3q0pr56g.xn--zca417t", true); } // [B1, C1]
10478test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xef\xbd\xa1\xc3\x9f\xe2\xb4\x83"); } // [B1, C1]
10479test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xef\xbd\xa1\xc3\x9f\xe2\xb4\x83", false); } // [B1, C1]
10480test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xef\xbd\xa1\xc3\x9f\xe2\xb4\x83", true); } // [B1]
10481test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xef\xbd\xa1SS\xe1\x82\xa3"); } // [B1, C1]
10482test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xef\xbd\xa1SS\xe1\x82\xa3", false); } // [B1, C1]
10483test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xef\xbd\xa1SS\xe1\x82\xa3", true); } // [B1]
10484test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xef\xbd\xa1ss\xe2\xb4\x83"); } // [B1, C1]
10485test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xef\xbd\xa1ss\xe2\xb4\x83", false); } // [B1, C1]
10486test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\xae\xe2\xb4\x87\xef\xbd\xa1ss\xe2\xb4\x83", true); } // [B1]
10487test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xef\xbd\xa1Ss\xe2\xb4\x83"); } // [B1, C1]
10488test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xef\xbd\xa1Ss\xe2\xb4\x83", false); } // [B1, C1]
10489test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xef\xbd\xa1Ss\xe2\xb4\x83", true); } // [B1]
10490test { try toUnicodeFail("xn--fnd1201kegrf.xn--ss-fek"); } // [B1, V7]
10491test { try toAsciiFail("xn--fnd1201kegrf.xn--ss-fek", false); } // [B1, V7]
10492test { try toAsciiFail("xn--fnd1201kegrf.xn--ss-fek", true); } // [B1, V7]
10493test { try toUnicodeFail("xn--fnd599eyj4pr50g.xn--ss-fek"); } // [B1, C1, V7]
10494test { try toAsciiFail("xn--fnd599eyj4pr50g.xn--ss-fek", false); } // [B1, C1, V7]
10495test { try toAsciiFail("xn--fnd599eyj4pr50g.xn--ss-fek", true); } // [B1, C1, V7]
10496test { try toUnicodeFail("xn--fnd599eyj4pr50g.xn--zca681f"); } // [B1, C1, V7]
10497test { try toAsciiFail("xn--fnd599eyj4pr50g.xn--zca681f", false); } // [B1, C1, V7]
10498test { try toAsciiFail("xn--fnd599eyj4pr50g.xn--zca681f", true); } // [B1, C1, V7]
10499test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xe3\x80\x82\xc3\x9f\xe2\xb4\x83"); } // [B1, C1]
10500test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xe3\x80\x82\xc3\x9f\xe2\xb4\x83", false); } // [B1, C1]
10501test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xe3\x80\x82\xc3\x9f\xe2\xb4\x83", true); } // [B1]
10502test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xe3\x80\x82ss\xe2\xb4\x83"); } // [B1, C1]
10503test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xe3\x80\x82ss\xe2\xb4\x83", false); } // [B1, C1]
10504test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xe3\x80\x82ss\xe2\xb4\x83", true); } // [B1]
10505test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xe3\x80\x82Ss\xe2\xb4\x83"); } // [B1, C1]
10506test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xe3\x80\x82Ss\xe2\xb4\x83", false); } // [B1, C1]
10507test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xe3\x80\x82Ss\xe2\xb4\x83", true); } // [B1]
10508test { try toUnicodeFail("xn--fnd1201kegrf.xn--ss-151a"); } // [B1, V7]
10509test { try toAsciiFail("xn--fnd1201kegrf.xn--ss-151a", false); } // [B1, V7]
10510test { try toAsciiFail("xn--fnd1201kegrf.xn--ss-151a", true); } // [B1, V7]
10511test { try toUnicodeFail("xn--fnd599eyj4pr50g.xn--ss-151a"); } // [B1, C1, V7]
10512test { try toAsciiFail("xn--fnd599eyj4pr50g.xn--ss-151a", false); } // [B1, C1, V7]
10513test { try toAsciiFail("xn--fnd599eyj4pr50g.xn--ss-151a", true); } // [B1, C1, V7]
10514test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xef\xbd\xa1\xc3\x9f\xe2\xb4\x83"); } // [B1, C1]
10515test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xef\xbd\xa1\xc3\x9f\xe2\xb4\x83", false); } // [B1, C1]
10516test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xef\xbd\xa1\xc3\x9f\xe2\xb4\x83", true); } // [B1]
10517test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xef\xbd\xa1ss\xe2\xb4\x83"); } // [B1, C1]
10518test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xef\xbd\xa1ss\xe2\xb4\x83", false); } // [B1, C1]
10519test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe2\xb4\x87\xef\xbd\xa1ss\xe2\xb4\x83", true); } // [B1]
10520test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xef\xbd\xa1Ss\xe2\xb4\x83"); } // [B1, C1]
10521test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xef\xbd\xa1Ss\xe2\xb4\x83", false); } // [B1, C1]
10522test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xb9\xa1\xf0\x9e\xa4\x8c\xe1\x82\xa7\xef\xbd\xa1Ss\xe2\xb4\x83", true); } // [B1]
10523test { try toUnicodeFail("\xe1\x9f\xbf\xef\xbd\xa1\xf0\x9e\xac\xb3"); } // [V7]
10524test { try toAsciiFail("\xe1\x9f\xbf\xef\xbd\xa1\xf0\x9e\xac\xb3", false); } // [V7]
10525test { try toAsciiFail("\xe1\x9f\xbf\xef\xbd\xa1\xf0\x9e\xac\xb3", true); } // [V7]
10526test { try toUnicodeFail("\xe1\x9f\xbf\xe3\x80\x82\xf0\x9e\xac\xb3"); } // [V7]
10527test { try toAsciiFail("\xe1\x9f\xbf\xe3\x80\x82\xf0\x9e\xac\xb3", false); } // [V7]
10528test { try toAsciiFail("\xe1\x9f\xbf\xe3\x80\x82\xf0\x9e\xac\xb3", true); } // [V7]
10529test { try toUnicodeFail("xn--45e.xn--et6h"); } // [V7]
10530test { try toAsciiFail("xn--45e.xn--et6h", false); } // [V7]
10531test { try toAsciiFail("xn--45e.xn--et6h", true); } // [V7]
10532test { try toUnicodeFail("\xd9\x92\xe2\x80\x8d\xef\xbd\xa1\xe0\xb3\x8d\xf0\x91\x9a\xb3"); } // [C2, V6]
10533test { try toAsciiFail("\xd9\x92\xe2\x80\x8d\xef\xbd\xa1\xe0\xb3\x8d\xf0\x91\x9a\xb3", false); } // [C2, V6]
10534test { try toAsciiFail("\xd9\x92\xe2\x80\x8d\xef\xbd\xa1\xe0\xb3\x8d\xf0\x91\x9a\xb3", true); } // [V6]
10535test { try toUnicodeFail("\xd9\x92\xe2\x80\x8d\xe3\x80\x82\xe0\xb3\x8d\xf0\x91\x9a\xb3"); } // [C2, V6]
10536test { try toAsciiFail("\xd9\x92\xe2\x80\x8d\xe3\x80\x82\xe0\xb3\x8d\xf0\x91\x9a\xb3", false); } // [C2, V6]
10537test { try toAsciiFail("\xd9\x92\xe2\x80\x8d\xe3\x80\x82\xe0\xb3\x8d\xf0\x91\x9a\xb3", true); } // [V6]
10538test { try toUnicodeFail("xn--uhb.xn--8tc4527k"); } // [V6]
10539test { try toAsciiFail("xn--uhb.xn--8tc4527k", false); } // [V6]
10540test { try toAsciiFail("xn--uhb.xn--8tc4527k", true); } // [V6]
10541test { try toUnicodeFail("xn--uhb882k.xn--8tc4527k"); } // [C2, V6]
10542test { try toAsciiFail("xn--uhb882k.xn--8tc4527k", false); } // [C2, V6]
10543test { try toAsciiFail("xn--uhb882k.xn--8tc4527k", true); } // [C2, V6]
10544test { try toUnicodeFail("-\xe2\x89\xa0\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa5\x83\xe2\x89\xae\xf3\x9f\xb7\xba"); } // [B1, B2, B3, V3, V7]
10545test { try toAsciiFail("-\xe2\x89\xa0\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa5\x83\xe2\x89\xae\xf3\x9f\xb7\xba", false); } // [B1, B2, B3, V3, V7]
10546test { try toAsciiFail("-\xe2\x89\xa0\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa5\x83\xe2\x89\xae\xf3\x9f\xb7\xba", true); } // [B1, B2, B3, V3, V7]
10547test { try toUnicodeFail("-=\xcc\xb8\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa5\x83<\xcc\xb8\xf3\x9f\xb7\xba"); } // [B1, B2, B3, V3, V7]
10548test { try toAsciiFail("-=\xcc\xb8\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa5\x83<\xcc\xb8\xf3\x9f\xb7\xba", false); } // [B1, B2, B3, V3, V7]
10549test { try toAsciiFail("-=\xcc\xb8\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa5\x83<\xcc\xb8\xf3\x9f\xb7\xba", true); } // [B1, B2, B3, V3, V7]
10550test { try toUnicodeFail("-\xe2\x89\xa0\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa5\x83\xe2\x89\xae\xf3\x9f\xb7\xba"); } // [B1, B2, B3, V3, V7]
10551test { try toAsciiFail("-\xe2\x89\xa0\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa5\x83\xe2\x89\xae\xf3\x9f\xb7\xba", false); } // [B1, B2, B3, V3, V7]
10552test { try toAsciiFail("-\xe2\x89\xa0\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa5\x83\xe2\x89\xae\xf3\x9f\xb7\xba", true); } // [B1, B2, B3, V3, V7]
10553test { try toUnicodeFail("-=\xcc\xb8\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa5\x83<\xcc\xb8\xf3\x9f\xb7\xba"); } // [B1, B2, B3, V3, V7]
10554test { try toAsciiFail("-=\xcc\xb8\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa5\x83<\xcc\xb8\xf3\x9f\xb7\xba", false); } // [B1, B2, B3, V3, V7]
10555test { try toAsciiFail("-=\xcc\xb8\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa5\x83<\xcc\xb8\xf3\x9f\xb7\xba", true); } // [B1, B2, B3, V3, V7]
10556test { try toUnicodeFail("-=\xcc\xb8\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa4\xa1<\xcc\xb8\xf3\x9f\xb7\xba"); } // [B1, B2, B3, V3, V7]
10557test { try toAsciiFail("-=\xcc\xb8\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa4\xa1<\xcc\xb8\xf3\x9f\xb7\xba", false); } // [B1, B2, B3, V3, V7]
10558test { try toAsciiFail("-=\xcc\xb8\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa4\xa1<\xcc\xb8\xf3\x9f\xb7\xba", true); } // [B1, B2, B3, V3, V7]
10559test { try toUnicodeFail("-\xe2\x89\xa0\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa4\xa1\xe2\x89\xae\xf3\x9f\xb7\xba"); } // [B1, B2, B3, V3, V7]
10560test { try toAsciiFail("-\xe2\x89\xa0\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa4\xa1\xe2\x89\xae\xf3\x9f\xb7\xba", false); } // [B1, B2, B3, V3, V7]
10561test { try toAsciiFail("-\xe2\x89\xa0\xe1\xa0\xbb.\xdd\xad\xf0\x9e\xa4\xa1\xe2\x89\xae\xf3\x9f\xb7\xba", true); } // [B1, B2, B3, V3, V7]
10562test { try toUnicodeFail("xn----g6j886c.xn--xpb049kk353abj99f"); } // [B1, B2, B3, V3, V7]
10563test { try toAsciiFail("xn----g6j886c.xn--xpb049kk353abj99f", false); } // [B1, B2, B3, V3, V7]
10564test { try toAsciiFail("xn----g6j886c.xn--xpb049kk353abj99f", true); } // [B1, B2, B3, V3, V7]
10565test { try toUnicodeFail("-=\xcc\xb8\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa4\xa1<\xcc\xb8\xf3\x9f\xb7\xba"); } // [B1, B2, B3, V3, V7]
10566test { try toAsciiFail("-=\xcc\xb8\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa4\xa1<\xcc\xb8\xf3\x9f\xb7\xba", false); } // [B1, B2, B3, V3, V7]
10567test { try toAsciiFail("-=\xcc\xb8\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa4\xa1<\xcc\xb8\xf3\x9f\xb7\xba", true); } // [B1, B2, B3, V3, V7]
10568test { try toUnicodeFail("-\xe2\x89\xa0\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa4\xa1\xe2\x89\xae\xf3\x9f\xb7\xba"); } // [B1, B2, B3, V3, V7]
10569test { try toAsciiFail("-\xe2\x89\xa0\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa4\xa1\xe2\x89\xae\xf3\x9f\xb7\xba", false); } // [B1, B2, B3, V3, V7]
10570test { try toAsciiFail("-\xe2\x89\xa0\xe1\xa0\xbb\xef\xbc\x8e\xdd\xad\xf0\x9e\xa4\xa1\xe2\x89\xae\xf3\x9f\xb7\xba", true); } // [B1, B2, B3, V3, V7]
10571test { try toUnicodeFail("\xf3\xa0\xb0\x86\xe2\x89\xaf\xde\xb5\xf0\x90\xbb\xaa\xef\xbc\x8e\xf2\x8a\xa5\x95\xe2\x89\xae\xf0\x91\x81\x86\xe0\xa1\x8c"); } // [B1, B5, B6, V7]
10572test { try toAsciiFail("\xf3\xa0\xb0\x86\xe2\x89\xaf\xde\xb5\xf0\x90\xbb\xaa\xef\xbc\x8e\xf2\x8a\xa5\x95\xe2\x89\xae\xf0\x91\x81\x86\xe0\xa1\x8c", false); } // [B1, B5, B6, V7]
10573test { try toAsciiFail("\xf3\xa0\xb0\x86\xe2\x89\xaf\xde\xb5\xf0\x90\xbb\xaa\xef\xbc\x8e\xf2\x8a\xa5\x95\xe2\x89\xae\xf0\x91\x81\x86\xe0\xa1\x8c", true); } // [B1, B5, B6, V7]
10574test { try toUnicodeFail("\xf3\xa0\xb0\x86>\xcc\xb8\xde\xb5\xf0\x90\xbb\xaa\xef\xbc\x8e\xf2\x8a\xa5\x95<\xcc\xb8\xf0\x91\x81\x86\xe0\xa1\x8c"); } // [B1, B5, B6, V7]
10575test { try toAsciiFail("\xf3\xa0\xb0\x86>\xcc\xb8\xde\xb5\xf0\x90\xbb\xaa\xef\xbc\x8e\xf2\x8a\xa5\x95<\xcc\xb8\xf0\x91\x81\x86\xe0\xa1\x8c", false); } // [B1, B5, B6, V7]
10576test { try toAsciiFail("\xf3\xa0\xb0\x86>\xcc\xb8\xde\xb5\xf0\x90\xbb\xaa\xef\xbc\x8e\xf2\x8a\xa5\x95<\xcc\xb8\xf0\x91\x81\x86\xe0\xa1\x8c", true); } // [B1, B5, B6, V7]
10577test { try toUnicodeFail("\xf3\xa0\xb0\x86\xe2\x89\xaf\xde\xb5\xf0\x90\xbb\xaa.\xf2\x8a\xa5\x95\xe2\x89\xae\xf0\x91\x81\x86\xe0\xa1\x8c"); } // [B1, B5, B6, V7]
10578test { try toAsciiFail("\xf3\xa0\xb0\x86\xe2\x89\xaf\xde\xb5\xf0\x90\xbb\xaa.\xf2\x8a\xa5\x95\xe2\x89\xae\xf0\x91\x81\x86\xe0\xa1\x8c", false); } // [B1, B5, B6, V7]
10579test { try toAsciiFail("\xf3\xa0\xb0\x86\xe2\x89\xaf\xde\xb5\xf0\x90\xbb\xaa.\xf2\x8a\xa5\x95\xe2\x89\xae\xf0\x91\x81\x86\xe0\xa1\x8c", true); } // [B1, B5, B6, V7]
10580test { try toUnicodeFail("\xf3\xa0\xb0\x86>\xcc\xb8\xde\xb5\xf0\x90\xbb\xaa.\xf2\x8a\xa5\x95<\xcc\xb8\xf0\x91\x81\x86\xe0\xa1\x8c"); } // [B1, B5, B6, V7]
10581test { try toAsciiFail("\xf3\xa0\xb0\x86>\xcc\xb8\xde\xb5\xf0\x90\xbb\xaa.\xf2\x8a\xa5\x95<\xcc\xb8\xf0\x91\x81\x86\xe0\xa1\x8c", false); } // [B1, B5, B6, V7]
10582test { try toAsciiFail("\xf3\xa0\xb0\x86>\xcc\xb8\xde\xb5\xf0\x90\xbb\xaa.\xf2\x8a\xa5\x95<\xcc\xb8\xf0\x91\x81\x86\xe0\xa1\x8c", true); } // [B1, B5, B6, V7]
10583test { try toUnicodeFail("xn--zrb797kdm1oes34i.xn--bwb394k8k2o25n6d"); } // [B1, B5, B6, V7]
10584test { try toAsciiFail("xn--zrb797kdm1oes34i.xn--bwb394k8k2o25n6d", false); } // [B1, B5, B6, V7]
10585test { try toAsciiFail("xn--zrb797kdm1oes34i.xn--bwb394k8k2o25n6d", true); } // [B1, B5, B6, V7]
10586test { try toUnicodeFail("\xe2\x89\xa0\xf3\xa6\x8b\x82.\xd8\x80\xe0\xaf\x8d-\xda\xb9"); } // [B1, V7]
10587test { try toAsciiFail("\xe2\x89\xa0\xf3\xa6\x8b\x82.\xd8\x80\xe0\xaf\x8d-\xda\xb9", false); } // [B1, V7]
10588test { try toAsciiFail("\xe2\x89\xa0\xf3\xa6\x8b\x82.\xd8\x80\xe0\xaf\x8d-\xda\xb9", true); } // [B1, V7]
10589test { try toUnicodeFail("=\xcc\xb8\xf3\xa6\x8b\x82.\xd8\x80\xe0\xaf\x8d-\xda\xb9"); } // [B1, V7]
10590test { try toAsciiFail("=\xcc\xb8\xf3\xa6\x8b\x82.\xd8\x80\xe0\xaf\x8d-\xda\xb9", false); } // [B1, V7]
10591test { try toAsciiFail("=\xcc\xb8\xf3\xa6\x8b\x82.\xd8\x80\xe0\xaf\x8d-\xda\xb9", true); } // [B1, V7]
10592test { try toUnicodeFail("xn--1ch22084l.xn----qkc07co6n"); } // [B1, V7]
10593test { try toAsciiFail("xn--1ch22084l.xn----qkc07co6n", false); } // [B1, V7]
10594test { try toAsciiFail("xn--1ch22084l.xn----qkc07co6n", true); } // [B1, V7]
10595test { try toUnicodeFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3\xe2\x89\xa0\xef\xbd\xa1\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4"); } // [B1, V6, V7]
10596test { try toAsciiFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3\xe2\x89\xa0\xef\xbd\xa1\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4", false); } // [B1, V6, V7]
10597test { try toAsciiFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3\xe2\x89\xa0\xef\xbd\xa1\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4", true); } // [B1, V6, V7]
10598test { try toUnicodeFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3=\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4"); } // [B1, V6, V7]
10599test { try toAsciiFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3=\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4", false); } // [B1, V6, V7]
10600test { try toAsciiFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3=\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4", true); } // [B1, V6, V7]
10601test { try toUnicodeFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3\xe2\x89\xa0\xe3\x80\x82\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4"); } // [B1, V6, V7]
10602test { try toAsciiFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3\xe2\x89\xa0\xe3\x80\x82\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4", false); } // [B1, V6, V7]
10603test { try toAsciiFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3\xe2\x89\xa0\xe3\x80\x82\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4", true); } // [B1, V6, V7]
10604test { try toUnicodeFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3=\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4"); } // [B1, V6, V7]
10605test { try toAsciiFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3=\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4", false); } // [B1, V6, V7]
10606test { try toAsciiFail("\xe1\x9f\x9d\xf3\xa0\x81\xa3=\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbc\xf0\x90\x8b\xa4", true); } // [B1, V6, V7]
10607test { try toUnicodeFail("xn--54e694cn389z.xn--787ct8r"); } // [B1, V6, V7]
10608test { try toAsciiFail("xn--54e694cn389z.xn--787ct8r", false); } // [B1, V6, V7]
10609test { try toAsciiFail("xn--54e694cn389z.xn--787ct8r", true); } // [B1, V6, V7]
10610test { try toUnicodeFail("\xc3\x9f\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xae\xc3\x9f"); } // [V6, V7]
10611test { try toAsciiFail("\xc3\x9f\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xae\xc3\x9f", false); } // [V6, V7]
10612test { try toAsciiFail("\xc3\x9f\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xae\xc3\x9f", true); } // [V6, V7]
10613test { try toUnicodeFail("\xc3\x9f\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xae\xc3\x9f"); } // [V6, V7]
10614test { try toAsciiFail("\xc3\x9f\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xae\xc3\x9f", false); } // [V6, V7]
10615test { try toAsciiFail("\xc3\x9f\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xae\xc3\x9f", true); } // [V6, V7]
10616test { try toUnicodeFail("SS\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSS"); } // [V6, V7]
10617test { try toAsciiFail("SS\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSS", false); } // [V6, V7]
10618test { try toAsciiFail("SS\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSS", true); } // [V6, V7]
10619test { try toUnicodeFail("ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaess"); } // [V6, V7]
10620test { try toAsciiFail("ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaess", false); } // [V6, V7]
10621test { try toAsciiFail("ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaess", true); } // [V6, V7]
10622test { try toUnicodeFail("Ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSs"); } // [V6, V7]
10623test { try toAsciiFail("Ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSs", false); } // [V6, V7]
10624test { try toAsciiFail("Ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xe3\x80\x82\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSs", true); } // [V6, V7]
10625test { try toUnicodeFail("xn--ss-jl59biy67d.xn--ss-4d11aw87d"); } // [V6, V7]
10626test { try toAsciiFail("xn--ss-jl59biy67d.xn--ss-4d11aw87d", false); } // [V6, V7]
10627test { try toAsciiFail("xn--ss-jl59biy67d.xn--ss-4d11aw87d", true); } // [V6, V7]
10628test { try toUnicodeFail("xn--zca20040bgrkh.xn--zca3653v86qa"); } // [V6, V7]
10629test { try toAsciiFail("xn--zca20040bgrkh.xn--zca3653v86qa", false); } // [V6, V7]
10630test { try toAsciiFail("xn--zca20040bgrkh.xn--zca3653v86qa", true); } // [V6, V7]
10631test { try toUnicodeFail("SS\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSS"); } // [V6, V7]
10632test { try toAsciiFail("SS\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSS", false); } // [V6, V7]
10633test { try toAsciiFail("SS\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSS", true); } // [V6, V7]
10634test { try toUnicodeFail("ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaess"); } // [V6, V7]
10635test { try toAsciiFail("ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaess", false); } // [V6, V7]
10636test { try toAsciiFail("ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaess", true); } // [V6, V7]
10637test { try toUnicodeFail("Ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSs"); } // [V6, V7]
10638test { try toAsciiFail("Ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSs", false); } // [V6, V7]
10639test { try toAsciiFail("Ss\xf0\xb0\x80\xbb\xf1\x86\xac\x97\xef\xbd\xa1\xf0\x9d\xa9\xa8\xf0\x9f\x95\xaeSs", true); } // [V6, V7]
10640test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xe2\x80\x8c"); } // [C1, C2]
10641test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xe2\x80\x8c", false); } // [C1, C2]
10642test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xe2\x80\x8c", true); } // [A4_1, A4_2]
10643test { try toUnicodeFail("xn--1ug.xn--0ug"); } // [C1, C2]
10644test { try toAsciiFail("xn--1ug.xn--0ug", false); } // [C1, C2]
10645test { try toAsciiFail("xn--1ug.xn--0ug", true); } // [C1, C2]
10646test { try toUnicodeFail("\xd2\x83\xf0\x90\xad\x9e\xe2\x80\x8d.\xe1\x9e\xb9\xf0\x9e\xaf\x8c\xf2\x9f\xa9\x9a"); } // [B1, C2, V6, V7]
10647test { try toAsciiFail("\xd2\x83\xf0\x90\xad\x9e\xe2\x80\x8d.\xe1\x9e\xb9\xf0\x9e\xaf\x8c\xf2\x9f\xa9\x9a", false); } // [B1, C2, V6, V7]
10648test { try toAsciiFail("\xd2\x83\xf0\x90\xad\x9e\xe2\x80\x8d.\xe1\x9e\xb9\xf0\x9e\xaf\x8c\xf2\x9f\xa9\x9a", true); } // [B1, V6, V7]
10649test { try toUnicodeFail("xn--m3a6965k.xn--43e8670vmd79b"); } // [B1, V6, V7]
10650test { try toAsciiFail("xn--m3a6965k.xn--43e8670vmd79b", false); } // [B1, V6, V7]
10651test { try toAsciiFail("xn--m3a6965k.xn--43e8670vmd79b", true); } // [B1, V6, V7]
10652test { try toUnicodeFail("xn--m3a412lrr0o.xn--43e8670vmd79b"); } // [B1, C2, V6, V7]
10653test { try toAsciiFail("xn--m3a412lrr0o.xn--43e8670vmd79b", false); } // [B1, C2, V6, V7]
10654test { try toAsciiFail("xn--m3a412lrr0o.xn--43e8670vmd79b", true); } // [B1, C2, V6, V7]
10655test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xa0\xa8\xe2\x80\x8c\xe4\xb8\xb4\xe3\x80\x82\xea\xa1\xa2\xf2\x84\xb7\x9e\xe2\xb6\x8f\xf0\x90\xb9\xa3"); } // [B1, B5, B6, C1, V7]
10656test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xa0\xa8\xe2\x80\x8c\xe4\xb8\xb4\xe3\x80\x82\xea\xa1\xa2\xf2\x84\xb7\x9e\xe2\xb6\x8f\xf0\x90\xb9\xa3", false); } // [B1, B5, B6, C1, V7]
10657test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xa0\xa8\xe2\x80\x8c\xe4\xb8\xb4\xe3\x80\x82\xea\xa1\xa2\xf2\x84\xb7\x9e\xe2\xb6\x8f\xf0\x90\xb9\xa3", true); } // [B2, B3, B5, B6, V7]
10658test { try toUnicodeFail("xn--miq9646b.xn--uojv340bk71c99u9f"); } // [B2, B3, B5, B6, V7]
10659test { try toAsciiFail("xn--miq9646b.xn--uojv340bk71c99u9f", false); } // [B2, B3, B5, B6, V7]
10660test { try toAsciiFail("xn--miq9646b.xn--uojv340bk71c99u9f", true); } // [B2, B3, B5, B6, V7]
10661test { try toUnicodeFail("xn--0uga2656aop9k.xn--uojv340bk71c99u9f"); } // [B1, B5, B6, C1, V7]
10662test { try toAsciiFail("xn--0uga2656aop9k.xn--uojv340bk71c99u9f", false); } // [B1, B5, B6, C1, V7]
10663test { try toAsciiFail("xn--0uga2656aop9k.xn--uojv340bk71c99u9f", true); } // [B1, B5, B6, C1, V7]
10664test { try toUnicodeFail("\xf3\xa0\x91\x98\xef\xbc\x8e\xf3\xa0\x84\xae"); } // [V7]
10665test { try toAsciiFail("\xf3\xa0\x91\x98\xef\xbc\x8e\xf3\xa0\x84\xae", false); } // [V7, A4_2]
10666test { try toAsciiFail("\xf3\xa0\x91\x98\xef\xbc\x8e\xf3\xa0\x84\xae", true); } // [V7, A4_2]
10667test { try toUnicodeFail("\xf3\xa0\x91\x98.\xf3\xa0\x84\xae"); } // [V7]
10668test { try toAsciiFail("\xf3\xa0\x91\x98.\xf3\xa0\x84\xae", false); } // [V7, A4_2]
10669test { try toAsciiFail("\xf3\xa0\x91\x98.\xf3\xa0\x84\xae", true); } // [V7, A4_2]
10670test { try toUnicodeFail("xn--s136e."); } // [V7]
10671test { try toAsciiFail("xn--s136e.", false); } // [V7, A4_2]
10672test { try toAsciiFail("xn--s136e.", true); } // [V7, A4_2]
10673test { try toUnicodeFail("\xf0\x90\xab\x84\xe0\xb5\x8d\xef\xbc\x8e\xea\xab\xb6"); } // [B1, V6]
10674test { try toAsciiFail("\xf0\x90\xab\x84\xe0\xb5\x8d\xef\xbc\x8e\xea\xab\xb6", false); } // [B1, V6]
10675test { try toAsciiFail("\xf0\x90\xab\x84\xe0\xb5\x8d\xef\xbc\x8e\xea\xab\xb6", true); } // [B1, V6]
10676test { try toUnicodeFail("\xf0\x90\xab\x84\xe0\xb5\x8d.\xea\xab\xb6"); } // [B1, V6]
10677test { try toAsciiFail("\xf0\x90\xab\x84\xe0\xb5\x8d.\xea\xab\xb6", false); } // [B1, V6]
10678test { try toAsciiFail("\xf0\x90\xab\x84\xe0\xb5\x8d.\xea\xab\xb6", true); } // [B1, V6]
10679test { try toUnicodeFail("xn--wxc7880k.xn--2v9a"); } // [B1, V6]
10680test { try toAsciiFail("xn--wxc7880k.xn--2v9a", false); } // [B1, V6]
10681test { try toAsciiFail("xn--wxc7880k.xn--2v9a", true); } // [B1, V6]
10682test { try toUnicodeFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xeb\xa9\xb9\xe3\x80\x82\xe2\x92\x9b\xf3\xa0\xa8\x87"); } // [V6, V7]
10683test { try toAsciiFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xeb\xa9\xb9\xe3\x80\x82\xe2\x92\x9b\xf3\xa0\xa8\x87", false); } // [V6, V7]
10684test { try toAsciiFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xeb\xa9\xb9\xe3\x80\x82\xe2\x92\x9b\xf3\xa0\xa8\x87", true); } // [V6, V7]
10685test { try toUnicodeFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xb0\xe3\x80\x82\xe2\x92\x9b\xf3\xa0\xa8\x87"); } // [V6, V7]
10686test { try toAsciiFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xb0\xe3\x80\x82\xe2\x92\x9b\xf3\xa0\xa8\x87", false); } // [V6, V7]
10687test { try toAsciiFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xb0\xe3\x80\x82\xe2\x92\x9b\xf3\xa0\xa8\x87", true); } // [V6, V7]
10688test { try toUnicodeFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xeb\xa9\xb9\xe3\x80\x8220.\xf3\xa0\xa8\x87"); } // [V6, V7]
10689test { try toAsciiFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xeb\xa9\xb9\xe3\x80\x8220.\xf3\xa0\xa8\x87", false); } // [V6, V7]
10690test { try toAsciiFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xeb\xa9\xb9\xe3\x80\x8220.\xf3\xa0\xa8\x87", true); } // [V6, V7]
10691test { try toUnicodeFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xb0\xe3\x80\x8220.\xf3\xa0\xa8\x87"); } // [V6, V7]
10692test { try toAsciiFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xb0\xe3\x80\x8220.\xf3\xa0\xa8\x87", false); } // [V6, V7]
10693test { try toAsciiFail("\xea\xa6\xb7\xf3\x9d\xb5\x99\xe1\x84\x86\xe1\x85\xa7\xe1\x86\xb0\xe3\x80\x8220.\xf3\xa0\xa8\x87", true); } // [V6, V7]
10694test { try toUnicodeFail("xn--ym9av13acp85w.20.xn--d846e"); } // [V6, V7]
10695test { try toAsciiFail("xn--ym9av13acp85w.20.xn--d846e", false); } // [V6, V7]
10696test { try toAsciiFail("xn--ym9av13acp85w.20.xn--d846e", true); } // [V6, V7]
10697test { try toUnicodeFail("xn--ym9av13acp85w.xn--dth22121k"); } // [V6, V7]
10698test { try toAsciiFail("xn--ym9av13acp85w.xn--dth22121k", false); } // [V6, V7]
10699test { try toAsciiFail("xn--ym9av13acp85w.xn--dth22121k", true); } // [V6, V7]
10700test { try toUnicodeFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a"); } // [B4, B6, V7]
10701test { try toAsciiFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a", false); } // [B4, B6, V7]
10702test { try toAsciiFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a", true); } // [B4, B6, V7]
10703test { try toUnicodeFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a"); } // [B4, B6, V7]
10704test { try toAsciiFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a", false); } // [B4, B6, V7]
10705test { try toAsciiFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a", true); } // [B4, B6, V7]
10706test { try toUnicodeFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33."); } // [B4, B6, V7]
10707test { try toAsciiFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33.", false); } // [B4, B6, V7, A4_2]
10708test { try toAsciiFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33.", true); } // [B4, B6, V7, A4_2]
10709test { try toUnicodeFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33."); } // [B4, B6, V7]
10710test { try toAsciiFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33.", false); } // [B4, B6, V7, A4_2]
10711test { try toAsciiFail("\xe1\x82\xa5\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33.", true); } // [B4, B6, V7, A4_2]
10712test { try toUnicodeFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33."); } // [B4, B6, V7]
10713test { try toAsciiFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33.", false); } // [B4, B6, V7, A4_2]
10714test { try toAsciiFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33.", true); } // [B4, B6, V7, A4_2]
10715test { try toUnicodeFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33."); } // [B4, B6, V7]
10716test { try toAsciiFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33.", false); } // [B4, B6, V7, A4_2]
10717test { try toAsciiFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb33.", true); } // [B4, B6, V7, A4_2]
10718test { try toUnicodeFail("xn--wkj8016bne45io02g.xn--3-55c6803r."); } // [B4, B6, V7]
10719test { try toAsciiFail("xn--wkj8016bne45io02g.xn--3-55c6803r.", false); } // [B4, B6, V7, A4_2]
10720test { try toAsciiFail("xn--wkj8016bne45io02g.xn--3-55c6803r.", true); } // [B4, B6, V7, A4_2]
10721test { try toUnicodeFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a"); } // [B4, B6, V7]
10722test { try toAsciiFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a", false); } // [B4, B6, V7]
10723test { try toAsciiFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xe1\x84\x85\xe1\x85\xb4\xe1\x86\xad\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a", true); } // [B4, B6, V7]
10724test { try toUnicodeFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a"); } // [B4, B6, V7]
10725test { try toAsciiFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a", false); } // [B4, B6, V7]
10726test { try toAsciiFail("\xe2\xb4\x85\xf3\xb2\xac\xb9\xeb\xa6\x96\xf3\xa0\xb6\x9a.\xdd\xb7\xf0\x90\xb9\xb3\xe2\x92\x8a", true); } // [B4, B6, V7]
10727test { try toUnicodeFail("xn--wkj8016bne45io02g.xn--7pb000mwm4n"); } // [B4, B6, V7]
10728test { try toAsciiFail("xn--wkj8016bne45io02g.xn--7pb000mwm4n", false); } // [B4, B6, V7]
10729test { try toAsciiFail("xn--wkj8016bne45io02g.xn--7pb000mwm4n", true); } // [B4, B6, V7]
10730test { try toUnicodeFail("xn--dnd2167fnet0io02g.xn--3-55c6803r."); } // [B4, B6, V7]
10731test { try toAsciiFail("xn--dnd2167fnet0io02g.xn--3-55c6803r.", false); } // [B4, B6, V7, A4_2]
10732test { try toAsciiFail("xn--dnd2167fnet0io02g.xn--3-55c6803r.", true); } // [B4, B6, V7, A4_2]
10733test { try toUnicodeFail("xn--dnd2167fnet0io02g.xn--7pb000mwm4n"); } // [B4, B6, V7]
10734test { try toAsciiFail("xn--dnd2167fnet0io02g.xn--7pb000mwm4n", false); } // [B4, B6, V7]
10735test { try toAsciiFail("xn--dnd2167fnet0io02g.xn--7pb000mwm4n", true); } // [B4, B6, V7]
10736test { try toUnicodeFail("\xe2\x80\x8c\xef\xbd\xa1\xef\xb8\x92"); } // [C1, V7]
10737test { try toAsciiFail("\xe2\x80\x8c\xef\xbd\xa1\xef\xb8\x92", false); } // [C1, V7]
10738test { try toAsciiFail("\xe2\x80\x8c\xef\xbd\xa1\xef\xb8\x92", true); } // [V7, A4_2]
10739test { try toUnicodeFail("\xe2\x80\x8c\xe3\x80\x82\xe3\x80\x82"); } // [C1, X4_2]
10740test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xe3\x80\x82", false); } // [C1, A4_2]
10741test { try toAsciiFail("\xe2\x80\x8c\xe3\x80\x82\xe3\x80\x82", true); } // [A4_2]
10742test { try toAsciiFail("..", false); } // [A4_2]
10743test { try toAsciiFail("..", true); } // [A4_2]
10744test { try toUnicodeFail("xn--0ug.."); } // [C1, X4_2]
10745test { try toAsciiFail("xn--0ug..", false); } // [C1, A4_2]
10746test { try toAsciiFail("xn--0ug..", true); } // [C1, A4_2]
10747test { try toUnicodeFail(".xn--y86c"); } // [V7, X4_2]
10748test { try toAsciiFail(".xn--y86c", false); } // [V7, A4_2]
10749test { try toAsciiFail(".xn--y86c", true); } // [V7, A4_2]
10750test { try toUnicodeFail("xn--0ug.xn--y86c"); } // [C1, V7]
10751test { try toAsciiFail("xn--0ug.xn--y86c", false); } // [C1, V7]
10752test { try toAsciiFail("xn--0ug.xn--y86c", true); } // [C1, V7]
10753test { try toUnicodeFail("\xe2\x89\xaf\xdd\xad\xef\xbc\x8e\xe2\x82\x84"); } // [B1]
10754test { try toAsciiFail("\xe2\x89\xaf\xdd\xad\xef\xbc\x8e\xe2\x82\x84", false); } // [B1]
10755test { try toAsciiFail("\xe2\x89\xaf\xdd\xad\xef\xbc\x8e\xe2\x82\x84", true); } // [B1]
10756test { try toUnicodeFail(">\xcc\xb8\xdd\xad\xef\xbc\x8e\xe2\x82\x84"); } // [B1]
10757test { try toAsciiFail(">\xcc\xb8\xdd\xad\xef\xbc\x8e\xe2\x82\x84", false); } // [B1]
10758test { try toAsciiFail(">\xcc\xb8\xdd\xad\xef\xbc\x8e\xe2\x82\x84", true); } // [B1]
10759test { try toUnicodeFail("\xe2\x89\xaf\xdd\xad.e"); } // [B1]
10760test { try toAsciiFail("\xe2\x89\xaf\xdd\xad.e", false); } // [B1]
10761test { try toAsciiFail("\xe2\x89\xaf\xdd\xad.e", true); } // [B1]
10762test { try toUnicodeFail(">\xcc\xb8\xdd\xad.e"); } // [B1]
10763test { try toAsciiFail(">\xcc\xb8\xdd\xad.e", false); } // [B1]
10764test { try toAsciiFail(">\xcc\xb8\xdd\xad.e", true); } // [B1]
10765test { try toUnicodeFail(">\xcc\xb8\xdd\xad.E"); } // [B1]
10766test { try toAsciiFail(">\xcc\xb8\xdd\xad.E", false); } // [B1]
10767test { try toAsciiFail(">\xcc\xb8\xdd\xad.E", true); } // [B1]
10768test { try toUnicodeFail("\xe2\x89\xaf\xdd\xad.E"); } // [B1]
10769test { try toAsciiFail("\xe2\x89\xaf\xdd\xad.E", false); } // [B1]
10770test { try toAsciiFail("\xe2\x89\xaf\xdd\xad.E", true); } // [B1]
10771test { try toUnicodeFail("xn--xpb149k.e"); } // [B1]
10772test { try toAsciiFail("xn--xpb149k.e", false); } // [B1]
10773test { try toAsciiFail("xn--xpb149k.e", true); } // [B1]
10774test { try toUnicodeFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.\xc3\x9f-\xe2\x80\x8c-"); } // [C1, V3]
10775test { try toAsciiFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.\xc3\x9f-\xe2\x80\x8c-", false); } // [C1, V3]
10776test { try toAsciiFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.\xc3\x9f-\xe2\x80\x8c-", true); } // [V2, V3]
10777test { try toUnicodeFail("\xe1\xa1\xb2-3.\xc3\x9f-\xe2\x80\x8c-"); } // [C1, V3]
10778test { try toAsciiFail("\xe1\xa1\xb2-3.\xc3\x9f-\xe2\x80\x8c-", false); } // [C1, V3]
10779test { try toAsciiFail("\xe1\xa1\xb2-3.\xc3\x9f-\xe2\x80\x8c-", true); } // [V2, V3]
10780test { try toUnicodeFail("\xe1\xa1\xb2-3.SS-\xe2\x80\x8c-"); } // [C1, V3]
10781test { try toAsciiFail("\xe1\xa1\xb2-3.SS-\xe2\x80\x8c-", false); } // [C1, V3]
10782test { try toAsciiFail("\xe1\xa1\xb2-3.SS-\xe2\x80\x8c-", true); } // [V2, V3]
10783test { try toUnicodeFail("\xe1\xa1\xb2-3.ss-\xe2\x80\x8c-"); } // [C1, V3]
10784test { try toAsciiFail("\xe1\xa1\xb2-3.ss-\xe2\x80\x8c-", false); } // [C1, V3]
10785test { try toAsciiFail("\xe1\xa1\xb2-3.ss-\xe2\x80\x8c-", true); } // [V2, V3]
10786test { try toUnicodeFail("\xe1\xa1\xb2-3.Ss-\xe2\x80\x8c-"); } // [C1, V3]
10787test { try toAsciiFail("\xe1\xa1\xb2-3.Ss-\xe2\x80\x8c-", false); } // [C1, V3]
10788test { try toAsciiFail("\xe1\xa1\xb2-3.Ss-\xe2\x80\x8c-", true); } // [V2, V3]
10789test { try toUnicodeFail("xn---3-p9o.ss--"); } // [V2, V3]
10790test { try toAsciiFail("xn---3-p9o.ss--", false); } // [V2, V3]
10791test { try toAsciiFail("xn---3-p9o.ss--", true); } // [V2, V3]
10792test { try toUnicodeFail("xn---3-p9o.xn--ss---276a"); } // [C1, V3]
10793test { try toAsciiFail("xn---3-p9o.xn--ss---276a", false); } // [C1, V3]
10794test { try toAsciiFail("xn---3-p9o.xn--ss---276a", true); } // [C1, V3]
10795test { try toUnicodeFail("xn---3-p9o.xn-----fia9303a"); } // [C1, V3]
10796test { try toAsciiFail("xn---3-p9o.xn-----fia9303a", false); } // [C1, V3]
10797test { try toAsciiFail("xn---3-p9o.xn-----fia9303a", true); } // [C1, V3]
10798test { try toUnicodeFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.SS-\xe2\x80\x8c-"); } // [C1, V3]
10799test { try toAsciiFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.SS-\xe2\x80\x8c-", false); } // [C1, V3]
10800test { try toAsciiFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.SS-\xe2\x80\x8c-", true); } // [V2, V3]
10801test { try toUnicodeFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.ss-\xe2\x80\x8c-"); } // [C1, V3]
10802test { try toAsciiFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.ss-\xe2\x80\x8c-", false); } // [C1, V3]
10803test { try toAsciiFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.ss-\xe2\x80\x8c-", true); } // [V2, V3]
10804test { try toUnicodeFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.Ss-\xe2\x80\x8c-"); } // [C1, V3]
10805test { try toAsciiFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.Ss-\xe2\x80\x8c-", false); } // [C1, V3]
10806test { try toAsciiFail("\xe1\xa1\xb2-\xf0\x9d\x9f\xb9.Ss-\xe2\x80\x8c-", true); } // [V2, V3]
10807test { try toUnicodeFail("\xef\xb4\x88\xf0\x9d\x9f\xa6\xd9\x87\xf3\x8e\x8a\xaf\xef\xbd\xa1\xd3\x80"); } // [B2, B3, V7]
10808test { try toAsciiFail("\xef\xb4\x88\xf0\x9d\x9f\xa6\xd9\x87\xf3\x8e\x8a\xaf\xef\xbd\xa1\xd3\x80", false); } // [B2, B3, V7]
10809test { try toAsciiFail("\xef\xb4\x88\xf0\x9d\x9f\xa6\xd9\x87\xf3\x8e\x8a\xaf\xef\xbd\xa1\xd3\x80", true); } // [B2, B3, V7]
10810test { try toUnicodeFail("\xd8\xb6\xd9\x8a4\xd9\x87\xf3\x8e\x8a\xaf\xe3\x80\x82\xd3\x80"); } // [B2, B3, V7]
10811test { try toAsciiFail("\xd8\xb6\xd9\x8a4\xd9\x87\xf3\x8e\x8a\xaf\xe3\x80\x82\xd3\x80", false); } // [B2, B3, V7]
10812test { try toAsciiFail("\xd8\xb6\xd9\x8a4\xd9\x87\xf3\x8e\x8a\xaf\xe3\x80\x82\xd3\x80", true); } // [B2, B3, V7]
10813test { try toUnicodeFail("\xd8\xb6\xd9\x8a4\xd9\x87\xf3\x8e\x8a\xaf\xe3\x80\x82\xd3\x8f"); } // [B2, B3, V7]
10814test { try toAsciiFail("\xd8\xb6\xd9\x8a4\xd9\x87\xf3\x8e\x8a\xaf\xe3\x80\x82\xd3\x8f", false); } // [B2, B3, V7]
10815test { try toAsciiFail("\xd8\xb6\xd9\x8a4\xd9\x87\xf3\x8e\x8a\xaf\xe3\x80\x82\xd3\x8f", true); } // [B2, B3, V7]
10816test { try toUnicodeFail("xn--4-tnc6ck183523b.xn--s5a"); } // [B2, B3, V7]
10817test { try toAsciiFail("xn--4-tnc6ck183523b.xn--s5a", false); } // [B2, B3, V7]
10818test { try toAsciiFail("xn--4-tnc6ck183523b.xn--s5a", true); } // [B2, B3, V7]
10819test { try toUnicodeFail("\xef\xb4\x88\xf0\x9d\x9f\xa6\xd9\x87\xf3\x8e\x8a\xaf\xef\xbd\xa1\xd3\x8f"); } // [B2, B3, V7]
10820test { try toAsciiFail("\xef\xb4\x88\xf0\x9d\x9f\xa6\xd9\x87\xf3\x8e\x8a\xaf\xef\xbd\xa1\xd3\x8f", false); } // [B2, B3, V7]
10821test { try toAsciiFail("\xef\xb4\x88\xf0\x9d\x9f\xa6\xd9\x87\xf3\x8e\x8a\xaf\xef\xbd\xa1\xd3\x8f", true); } // [B2, B3, V7]
10822test { try toUnicodeFail("xn--4-tnc6ck183523b.xn--d5a"); } // [B2, B3, V7]
10823test { try toAsciiFail("xn--4-tnc6ck183523b.xn--d5a", false); } // [B2, B3, V7]
10824test { try toAsciiFail("xn--4-tnc6ck183523b.xn--d5a", true); } // [B2, B3, V7]
10825test { try toUnicodeFail("-.\xd8\x82\xd8\xa2\xf0\x91\x86\xbe\xf0\x9f\x90\xb9"); } // [B1, V3, V7]
10826test { try toAsciiFail("-.\xd8\x82\xd8\xa2\xf0\x91\x86\xbe\xf0\x9f\x90\xb9", false); } // [B1, V3, V7]
10827test { try toAsciiFail("-.\xd8\x82\xd8\xa2\xf0\x91\x86\xbe\xf0\x9f\x90\xb9", true); } // [B1, V3, V7]
10828test { try toUnicodeFail("-.\xd8\x82\xd8\xa7\xd9\x93\xf0\x91\x86\xbe\xf0\x9f\x90\xb9"); } // [B1, V3, V7]
10829test { try toAsciiFail("-.\xd8\x82\xd8\xa7\xd9\x93\xf0\x91\x86\xbe\xf0\x9f\x90\xb9", false); } // [B1, V3, V7]
10830test { try toAsciiFail("-.\xd8\x82\xd8\xa7\xd9\x93\xf0\x91\x86\xbe\xf0\x9f\x90\xb9", true); } // [B1, V3, V7]
10831test { try toUnicodeFail("-.xn--kfb8dy983hgl7g"); } // [B1, V3, V7]
10832test { try toAsciiFail("-.xn--kfb8dy983hgl7g", false); } // [B1, V3, V7]
10833test { try toAsciiFail("-.xn--kfb8dy983hgl7g", true); } // [B1, V3, V7]
10834test { try toUnicodeFail("\xf3\x99\xb6\x9c\xe1\xa2\x98\xe3\x80\x82\xe1\xa9\xbf\xe2\xba\xa2"); } // [V6, V7]
10835test { try toAsciiFail("\xf3\x99\xb6\x9c\xe1\xa2\x98\xe3\x80\x82\xe1\xa9\xbf\xe2\xba\xa2", false); } // [V6, V7]
10836test { try toAsciiFail("\xf3\x99\xb6\x9c\xe1\xa2\x98\xe3\x80\x82\xe1\xa9\xbf\xe2\xba\xa2", true); } // [V6, V7]
10837test { try toUnicodeFail("xn--ibf35138o.xn--fpfz94g"); } // [V6, V7]
10838test { try toAsciiFail("xn--ibf35138o.xn--fpfz94g", false); } // [V6, V7]
10839test { try toAsciiFail("xn--ibf35138o.xn--fpfz94g", true); } // [V6, V7]
10840test { try toUnicodeFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10841test { try toAsciiFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10842test { try toAsciiFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10843test { try toUnicodeFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10844test { try toAsciiFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10845test { try toAsciiFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10846test { try toUnicodeFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10847test { try toAsciiFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10848test { try toAsciiFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10849test { try toUnicodeFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10850test { try toAsciiFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10851test { try toAsciiFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe1\x82\xab\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10852test { try toUnicodeFail("=\xcc\xb8\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10853test { try toAsciiFail("=\xcc\xb8\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10854test { try toAsciiFail("=\xcc\xb8\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10855test { try toUnicodeFail("\xe2\x89\xa0\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10856test { try toAsciiFail("\xe2\x89\xa0\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10857test { try toAsciiFail("\xe2\x89\xa0\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10858test { try toUnicodeFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10859test { try toAsciiFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10860test { try toAsciiFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10861test { try toUnicodeFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10862test { try toAsciiFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10863test { try toAsciiFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xe3\x80\x82?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10864test { try toUnicodeFail("xn--66e353ce0ilb.xn--?-7fb34t0u7s"); } // [B1, U1]
10865test { try toAsciiFail("xn--66e353ce0ilb.xn--?-7fb34t0u7s", false); } // [B1, U1]
10866test { try toAsciiFail("xn--66e353ce0ilb.xn--?-7fb34t0u7s", true); } // [B1, U1]
10867test { try toUnicodeFail("=\xcc\xb8\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10868test { try toAsciiFail("=\xcc\xb8\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10869test { try toAsciiFail("=\xcc\xb8\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10870test { try toUnicodeFail("\xe2\x89\xa0\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10871test { try toAsciiFail("\xe2\x89\xa0\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10872test { try toAsciiFail("\xe2\x89\xa0\xe2\xb4\x97\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10873test { try toUnicodeFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10874test { try toAsciiFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10875test { try toAsciiFail("\xe2\x89\xa0\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10876test { try toUnicodeFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10877test { try toAsciiFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10878test { try toAsciiFail("=\xcc\xb8\xe1\x82\xb7\xe1\xa0\xa4\xe2\xb4\x8b\xef\xbd\xa1?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10879test { try toUnicodeFail("xn--vnd619as6ig6k.xn--?-7fb34t0u7s"); } // [B1, V7, U1]
10880test { try toAsciiFail("xn--vnd619as6ig6k.xn--?-7fb34t0u7s", false); } // [B1, V7, U1]
10881test { try toAsciiFail("xn--vnd619as6ig6k.xn--?-7fb34t0u7s", true); } // [B1, V7, U1]
10882test { try toUnicodeFail("xn--jndx718cnnl.xn--?-7fb34t0u7s"); } // [B1, V7, U1]
10883test { try toAsciiFail("xn--jndx718cnnl.xn--?-7fb34t0u7s", false); } // [B1, V7, U1]
10884test { try toAsciiFail("xn--jndx718cnnl.xn--?-7fb34t0u7s", true); } // [B1, V7, U1]
10885test { try toUnicodeFail("xn--vnd619as6ig6k.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, V7, U1]
10886test { try toAsciiFail("xn--vnd619as6ig6k.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, V7, U1]
10887test { try toAsciiFail("xn--vnd619as6ig6k.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, V7, U1]
10888test { try toUnicodeFail("XN--VND619AS6IG6K.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, V7, U1]
10889test { try toAsciiFail("XN--VND619AS6IG6K.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, V7, U1]
10890test { try toAsciiFail("XN--VND619AS6IG6K.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, V7, U1]
10891test { try toUnicodeFail("Xn--Vnd619as6ig6k.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, V7, U1]
10892test { try toAsciiFail("Xn--Vnd619as6ig6k.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, V7, U1]
10893test { try toAsciiFail("Xn--Vnd619as6ig6k.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, V7, U1]
10894test { try toUnicodeFail("xn--66e353ce0ilb.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10895test { try toAsciiFail("xn--66e353ce0ilb.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10896test { try toAsciiFail("xn--66e353ce0ilb.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10897test { try toUnicodeFail("XN--66E353CE0ILB.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10898test { try toAsciiFail("XN--66E353CE0ILB.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10899test { try toAsciiFail("XN--66E353CE0ILB.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10900test { try toUnicodeFail("Xn--66e353ce0ilb.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, U1]
10901test { try toAsciiFail("Xn--66e353ce0ilb.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, U1]
10902test { try toAsciiFail("Xn--66e353ce0ilb.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, U1]
10903test { try toUnicodeFail("xn--jndx718cnnl.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, V7, U1]
10904test { try toAsciiFail("xn--jndx718cnnl.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, V7, U1]
10905test { try toAsciiFail("xn--jndx718cnnl.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, V7, U1]
10906test { try toUnicodeFail("XN--JNDX718CNNL.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, V7, U1]
10907test { try toAsciiFail("XN--JNDX718CNNL.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, V7, U1]
10908test { try toAsciiFail("XN--JNDX718CNNL.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, V7, U1]
10909test { try toUnicodeFail("Xn--Jndx718cnnl.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4"); } // [B1, V7, U1]
10910test { try toAsciiFail("Xn--Jndx718cnnl.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", false); } // [B1, V7, U1]
10911test { try toAsciiFail("Xn--Jndx718cnnl.?\xcd\x8c\xd8\xb3\xe8\xa7\xb4", true); } // [B1, V7, U1]
10912test { try toUnicodeFail("\xd9\xa7.\xf0\x90\xa5\xa8"); } // [B1, V7]
10913test { try toAsciiFail("\xd9\xa7.\xf0\x90\xa5\xa8", false); } // [B1, V7]
10914test { try toAsciiFail("\xd9\xa7.\xf0\x90\xa5\xa8", true); } // [B1, V7]
10915test { try toUnicodeFail("xn--gib.xn--vm9c"); } // [B1, V7]
10916test { try toAsciiFail("xn--gib.xn--vm9c", false); } // [B1, V7]
10917test { try toAsciiFail("xn--gib.xn--vm9c", true); } // [B1, V7]
10918test { try toUnicodeFail("\xea\xa7\x80\xf0\x9d\x9f\xaf\xef\xbd\xa1\xe2\x80\x8d\xf1\xbc\x91\xa5\xf0\x90\xb9\xaa\xe1\xaf\xb3"); } // [B1, C2, V6, V7]
10919test { try toAsciiFail("\xea\xa7\x80\xf0\x9d\x9f\xaf\xef\xbd\xa1\xe2\x80\x8d\xf1\xbc\x91\xa5\xf0\x90\xb9\xaa\xe1\xaf\xb3", false); } // [B1, C2, V6, V7]
10920test { try toAsciiFail("\xea\xa7\x80\xf0\x9d\x9f\xaf\xef\xbd\xa1\xe2\x80\x8d\xf1\xbc\x91\xa5\xf0\x90\xb9\xaa\xe1\xaf\xb3", true); } // [B5, V6, V7]
10921test { try toUnicodeFail("\xea\xa7\x803\xe3\x80\x82\xe2\x80\x8d\xf1\xbc\x91\xa5\xf0\x90\xb9\xaa\xe1\xaf\xb3"); } // [B1, C2, V6, V7]
10922test { try toAsciiFail("\xea\xa7\x803\xe3\x80\x82\xe2\x80\x8d\xf1\xbc\x91\xa5\xf0\x90\xb9\xaa\xe1\xaf\xb3", false); } // [B1, C2, V6, V7]
10923test { try toAsciiFail("\xea\xa7\x803\xe3\x80\x82\xe2\x80\x8d\xf1\xbc\x91\xa5\xf0\x90\xb9\xaa\xe1\xaf\xb3", true); } // [B5, V6, V7]
10924test { try toUnicodeFail("xn--3-5z4e.xn--1zfz754hncv8b"); } // [B5, V6, V7]
10925test { try toAsciiFail("xn--3-5z4e.xn--1zfz754hncv8b", false); } // [B5, V6, V7]
10926test { try toAsciiFail("xn--3-5z4e.xn--1zfz754hncv8b", true); } // [B5, V6, V7]
10927test { try toUnicodeFail("xn--3-5z4e.xn--1zf96ony8ygd68c"); } // [B1, C2, V6, V7]
10928test { try toAsciiFail("xn--3-5z4e.xn--1zf96ony8ygd68c", false); } // [B1, C2, V6, V7]
10929test { try toAsciiFail("xn--3-5z4e.xn--1zf96ony8ygd68c", true); } // [B1, C2, V6, V7]
10930test { try toUnicodeFail("\xf2\xa3\x95\x844\xf1\xa0\x96\xbd.\xe2\x89\xaf\xd9\xa4\xf0\x91\x80\xbe\xf3\xa0\xb8\x8c"); } // [B1, V7]
10931test { try toAsciiFail("\xf2\xa3\x95\x844\xf1\xa0\x96\xbd.\xe2\x89\xaf\xd9\xa4\xf0\x91\x80\xbe\xf3\xa0\xb8\x8c", false); } // [B1, V7]
10932test { try toAsciiFail("\xf2\xa3\x95\x844\xf1\xa0\x96\xbd.\xe2\x89\xaf\xd9\xa4\xf0\x91\x80\xbe\xf3\xa0\xb8\x8c", true); } // [B1, V7]
10933test { try toUnicodeFail("\xf2\xa3\x95\x844\xf1\xa0\x96\xbd.>\xcc\xb8\xd9\xa4\xf0\x91\x80\xbe\xf3\xa0\xb8\x8c"); } // [B1, V7]
10934test { try toAsciiFail("\xf2\xa3\x95\x844\xf1\xa0\x96\xbd.>\xcc\xb8\xd9\xa4\xf0\x91\x80\xbe\xf3\xa0\xb8\x8c", false); } // [B1, V7]
10935test { try toAsciiFail("\xf2\xa3\x95\x844\xf1\xa0\x96\xbd.>\xcc\xb8\xd9\xa4\xf0\x91\x80\xbe\xf3\xa0\xb8\x8c", true); } // [B1, V7]
10936test { try toUnicodeFail("xn--4-fg85dl688i.xn--dib174li86ntdy0i"); } // [B1, V7]
10937test { try toAsciiFail("xn--4-fg85dl688i.xn--dib174li86ntdy0i", false); } // [B1, V7]
10938test { try toAsciiFail("xn--4-fg85dl688i.xn--dib174li86ntdy0i", true); } // [B1, V7]
10939test { try toUnicodeFail("\xf2\x97\x86\xa7\xf0\x9d\x9f\xaf\xe3\x80\x82\xe2\x92\x88\xe1\xa9\xb6\xf0\x9d\x9f\x9a\xf2\xa0\x98\x8c"); } // [V7]
10940test { try toAsciiFail("\xf2\x97\x86\xa7\xf0\x9d\x9f\xaf\xe3\x80\x82\xe2\x92\x88\xe1\xa9\xb6\xf0\x9d\x9f\x9a\xf2\xa0\x98\x8c", false); } // [V7]
10941test { try toAsciiFail("\xf2\x97\x86\xa7\xf0\x9d\x9f\xaf\xe3\x80\x82\xe2\x92\x88\xe1\xa9\xb6\xf0\x9d\x9f\x9a\xf2\xa0\x98\x8c", true); } // [V7]
10942test { try toUnicodeFail("\xf2\x97\x86\xa73\xe3\x80\x821.\xe1\xa9\xb62\xf2\xa0\x98\x8c"); } // [V6, V7]
10943test { try toAsciiFail("\xf2\x97\x86\xa73\xe3\x80\x821.\xe1\xa9\xb62\xf2\xa0\x98\x8c", false); } // [V6, V7]
10944test { try toAsciiFail("\xf2\x97\x86\xa73\xe3\x80\x821.\xe1\xa9\xb62\xf2\xa0\x98\x8c", true); } // [V6, V7]
10945test { try toUnicodeFail("xn--3-rj42h.1.xn--2-13k96240l"); } // [V6, V7]
10946test { try toAsciiFail("xn--3-rj42h.1.xn--2-13k96240l", false); } // [V6, V7]
10947test { try toAsciiFail("xn--3-rj42h.1.xn--2-13k96240l", true); } // [V6, V7]
10948test { try toUnicodeFail("xn--3-rj42h.xn--2-13k746cq465x"); } // [V7]
10949test { try toAsciiFail("xn--3-rj42h.xn--2-13k746cq465x", false); } // [V7]
10950test { try toAsciiFail("xn--3-rj42h.xn--2-13k746cq465x", true); } // [V7]
10951test { try toUnicodeFail("\xe2\x80\x8d\xe2\x82\x85\xe2\x92\x88\xe3\x80\x82\xe2\x89\xaf\xf0\x9d\x9f\xb4\xe2\x80\x8d"); } // [C2, V7]
10952test { try toAsciiFail("\xe2\x80\x8d\xe2\x82\x85\xe2\x92\x88\xe3\x80\x82\xe2\x89\xaf\xf0\x9d\x9f\xb4\xe2\x80\x8d", false); } // [C2, V7]
10953test { try toAsciiFail("\xe2\x80\x8d\xe2\x82\x85\xe2\x92\x88\xe3\x80\x82\xe2\x89\xaf\xf0\x9d\x9f\xb4\xe2\x80\x8d", true); } // [V7]
10954test { try toUnicodeFail("\xe2\x80\x8d\xe2\x82\x85\xe2\x92\x88\xe3\x80\x82>\xcc\xb8\xf0\x9d\x9f\xb4\xe2\x80\x8d"); } // [C2, V7]
10955test { try toAsciiFail("\xe2\x80\x8d\xe2\x82\x85\xe2\x92\x88\xe3\x80\x82>\xcc\xb8\xf0\x9d\x9f\xb4\xe2\x80\x8d", false); } // [C2, V7]
10956test { try toAsciiFail("\xe2\x80\x8d\xe2\x82\x85\xe2\x92\x88\xe3\x80\x82>\xcc\xb8\xf0\x9d\x9f\xb4\xe2\x80\x8d", true); } // [V7]
10957test { try toUnicodeFail("\xe2\x80\x8d51.\xe3\x80\x82\xe2\x89\xaf8\xe2\x80\x8d"); } // [C2, X4_2]
10958test { try toAsciiFail("\xe2\x80\x8d51.\xe3\x80\x82\xe2\x89\xaf8\xe2\x80\x8d", false); } // [C2, A4_2]
10959test { try toAsciiFail("\xe2\x80\x8d51.\xe3\x80\x82\xe2\x89\xaf8\xe2\x80\x8d", true); } // [A4_2]
10960test { try toUnicodeFail("\xe2\x80\x8d51.\xe3\x80\x82>\xcc\xb88\xe2\x80\x8d"); } // [C2, X4_2]
10961test { try toAsciiFail("\xe2\x80\x8d51.\xe3\x80\x82>\xcc\xb88\xe2\x80\x8d", false); } // [C2, A4_2]
10962test { try toAsciiFail("\xe2\x80\x8d51.\xe3\x80\x82>\xcc\xb88\xe2\x80\x8d", true); } // [A4_2]
10963test { try toAsciiFail("51..xn--8-ogo", false); } // [A4_2]
10964test { try toAsciiFail("51..xn--8-ogo", true); } // [A4_2]
10965test { try toUnicodeFail("xn--51-l1t..xn--8-ugn00i"); } // [C2, X4_2]
10966test { try toAsciiFail("xn--51-l1t..xn--8-ugn00i", false); } // [C2, A4_2]
10967test { try toAsciiFail("xn--51-l1t..xn--8-ugn00i", true); } // [C2, A4_2]
10968test { try toUnicodeFail("xn--5-ecp.xn--8-ogo"); } // [V7]
10969test { try toAsciiFail("xn--5-ecp.xn--8-ogo", false); } // [V7]
10970test { try toAsciiFail("xn--5-ecp.xn--8-ogo", true); } // [V7]
10971test { try toUnicodeFail("xn--5-tgnz5r.xn--8-ugn00i"); } // [C2, V7]
10972test { try toAsciiFail("xn--5-tgnz5r.xn--8-ugn00i", false); } // [C2, V7]
10973test { try toAsciiFail("xn--5-tgnz5r.xn--8-ugn00i", true); } // [C2, V7]
10974test { try toUnicodeFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86\xef\xbc\x8e\xf2\xaa\x98\x99\xdc\xaf\xe2\x89\xa0\xe2\x80\x8c"); } // [B5, B6, C1, V7]
10975test { try toAsciiFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86\xef\xbc\x8e\xf2\xaa\x98\x99\xdc\xaf\xe2\x89\xa0\xe2\x80\x8c", false); } // [B5, B6, C1, V7]
10976test { try toAsciiFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86\xef\xbc\x8e\xf2\xaa\x98\x99\xdc\xaf\xe2\x89\xa0\xe2\x80\x8c", true); } // [B5, B6, V7]
10977test { try toUnicodeFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86\xef\xbc\x8e\xf2\xaa\x98\x99\xdc\xaf=\xcc\xb8\xe2\x80\x8c"); } // [B5, B6, C1, V7]
10978test { try toAsciiFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86\xef\xbc\x8e\xf2\xaa\x98\x99\xdc\xaf=\xcc\xb8\xe2\x80\x8c", false); } // [B5, B6, C1, V7]
10979test { try toAsciiFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86\xef\xbc\x8e\xf2\xaa\x98\x99\xdc\xaf=\xcc\xb8\xe2\x80\x8c", true); } // [B5, B6, V7]
10980test { try toUnicodeFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86.\xf2\xaa\x98\x99\xdc\xaf\xe2\x89\xa0\xe2\x80\x8c"); } // [B5, B6, C1, V7]
10981test { try toAsciiFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86.\xf2\xaa\x98\x99\xdc\xaf\xe2\x89\xa0\xe2\x80\x8c", false); } // [B5, B6, C1, V7]
10982test { try toAsciiFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86.\xf2\xaa\x98\x99\xdc\xaf\xe2\x89\xa0\xe2\x80\x8c", true); } // [B5, B6, V7]
10983test { try toUnicodeFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86.\xf2\xaa\x98\x99\xdc\xaf=\xcc\xb8\xe2\x80\x8c"); } // [B5, B6, C1, V7]
10984test { try toAsciiFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86.\xf2\xaa\x98\x99\xdc\xaf=\xcc\xb8\xe2\x80\x8c", false); } // [B5, B6, C1, V7]
10985test { try toAsciiFail("\xea\xa1\xb0\xda\x97\xe1\x82\x86.\xf2\xaa\x98\x99\xdc\xaf=\xcc\xb8\xe2\x80\x8c", true); } // [B5, B6, V7]
10986test { try toUnicodeFail("xn--tjb002cn51k.xn--5nb630lbj91q"); } // [B5, B6, V7]
10987test { try toAsciiFail("xn--tjb002cn51k.xn--5nb630lbj91q", false); } // [B5, B6, V7]
10988test { try toAsciiFail("xn--tjb002cn51k.xn--5nb630lbj91q", true); } // [B5, B6, V7]
10989test { try toUnicodeFail("xn--tjb002cn51k.xn--5nb448jcubcz547b"); } // [B5, B6, C1, V7]
10990test { try toAsciiFail("xn--tjb002cn51k.xn--5nb448jcubcz547b", false); } // [B5, B6, C1, V7]
10991test { try toAsciiFail("xn--tjb002cn51k.xn--5nb448jcubcz547b", true); } // [B5, B6, C1, V7]
10992test { try toUnicodeFail("\xf0\x91\x84\xb1\xef\xbd\xa1\xf2\xaa\x8c\xbf\xf0\x90\xb9\xb5"); } // [B1, B5, B6, V6, V7]
10993test { try toAsciiFail("\xf0\x91\x84\xb1\xef\xbd\xa1\xf2\xaa\x8c\xbf\xf0\x90\xb9\xb5", false); } // [B1, B5, B6, V6, V7]
10994test { try toAsciiFail("\xf0\x91\x84\xb1\xef\xbd\xa1\xf2\xaa\x8c\xbf\xf0\x90\xb9\xb5", true); } // [B1, B5, B6, V6, V7]
10995test { try toUnicodeFail("\xf0\x91\x84\xb1\xe3\x80\x82\xf2\xaa\x8c\xbf\xf0\x90\xb9\xb5"); } // [B1, B5, B6, V6, V7]
10996test { try toAsciiFail("\xf0\x91\x84\xb1\xe3\x80\x82\xf2\xaa\x8c\xbf\xf0\x90\xb9\xb5", false); } // [B1, B5, B6, V6, V7]
10997test { try toAsciiFail("\xf0\x91\x84\xb1\xe3\x80\x82\xf2\xaa\x8c\xbf\xf0\x90\xb9\xb5", true); } // [B1, B5, B6, V6, V7]
10998test { try toUnicodeFail("xn--t80d.xn--to0d14792b"); } // [B1, B5, B6, V6, V7]
10999test { try toAsciiFail("xn--t80d.xn--to0d14792b", false); } // [B1, B5, B6, V6, V7]
11000test { try toAsciiFail("xn--t80d.xn--to0d14792b", true); } // [B1, B5, B6, V6, V7]
11001test { try toUnicodeFail("\xf0\x9d\x9f\xa5\xd8\x80\xe3\x80\x82\xdc\xbd"); } // [B1, V6, V7]
11002test { try toAsciiFail("\xf0\x9d\x9f\xa5\xd8\x80\xe3\x80\x82\xdc\xbd", false); } // [B1, V6, V7]
11003test { try toAsciiFail("\xf0\x9d\x9f\xa5\xd8\x80\xe3\x80\x82\xdc\xbd", true); } // [B1, V6, V7]
11004test { try toUnicodeFail("3\xd8\x80\xe3\x80\x82\xdc\xbd"); } // [B1, V6, V7]
11005test { try toAsciiFail("3\xd8\x80\xe3\x80\x82\xdc\xbd", false); } // [B1, V6, V7]
11006test { try toAsciiFail("3\xd8\x80\xe3\x80\x82\xdc\xbd", true); } // [B1, V6, V7]
11007test { try toUnicodeFail("xn--3-rkc.xn--kob"); } // [B1, V6, V7]
11008test { try toAsciiFail("xn--3-rkc.xn--kob", false); } // [B1, V6, V7]
11009test { try toAsciiFail("xn--3-rkc.xn--kob", true); } // [B1, V6, V7]
11010test { try toUnicodeFail("\xd8\xb7\xf0\x90\xb9\xa3\xd9\xa6.\xdd\xad\xea\xb8\xb7"); } // [B2, B3]
11011test { try toAsciiFail("\xd8\xb7\xf0\x90\xb9\xa3\xd9\xa6.\xdd\xad\xea\xb8\xb7", false); } // [B2, B3]
11012test { try toAsciiFail("\xd8\xb7\xf0\x90\xb9\xa3\xd9\xa6.\xdd\xad\xea\xb8\xb7", true); } // [B2, B3]
11013test { try toUnicodeFail("\xd8\xb7\xf0\x90\xb9\xa3\xd9\xa6.\xdd\xad\xe1\x84\x80\xe1\x85\xb5\xe1\x86\xae"); } // [B2, B3]
11014test { try toAsciiFail("\xd8\xb7\xf0\x90\xb9\xa3\xd9\xa6.\xdd\xad\xe1\x84\x80\xe1\x85\xb5\xe1\x86\xae", false); } // [B2, B3]
11015test { try toAsciiFail("\xd8\xb7\xf0\x90\xb9\xa3\xd9\xa6.\xdd\xad\xe1\x84\x80\xe1\x85\xb5\xe1\x86\xae", true); } // [B2, B3]
11016test { try toUnicodeFail("xn--2gb8gu829f.xn--xpb0156f"); } // [B2, B3]
11017test { try toAsciiFail("xn--2gb8gu829f.xn--xpb0156f", false); } // [B2, B3]
11018test { try toAsciiFail("xn--2gb8gu829f.xn--xpb0156f", true); } // [B2, B3]
11019test { try toUnicodeFail("\xef\xb8\x92\xe2\x86\x83\xe2\xb7\xa7\xf2\xbe\x80\x83\xef\xbc\x8e\xe1\x82\xb7\xf0\x90\xa3\x9e"); } // [B1, B5, B6, V7]
11020test { try toAsciiFail("\xef\xb8\x92\xe2\x86\x83\xe2\xb7\xa7\xf2\xbe\x80\x83\xef\xbc\x8e\xe1\x82\xb7\xf0\x90\xa3\x9e", false); } // [B1, B5, B6, V7]
11021test { try toAsciiFail("\xef\xb8\x92\xe2\x86\x83\xe2\xb7\xa7\xf2\xbe\x80\x83\xef\xbc\x8e\xe1\x82\xb7\xf0\x90\xa3\x9e", true); } // [B1, B5, B6, V7]
11022test { try toUnicodeFail("\xe3\x80\x82\xe2\x86\x83\xe2\xb7\xa7\xf2\xbe\x80\x83.\xe1\x82\xb7\xf0\x90\xa3\x9e"); } // [B5, B6, V7, X4_2]
11023test { try toAsciiFail("\xe3\x80\x82\xe2\x86\x83\xe2\xb7\xa7\xf2\xbe\x80\x83.\xe1\x82\xb7\xf0\x90\xa3\x9e", false); } // [B5, B6, V7, A4_2]
11024test { try toAsciiFail("\xe3\x80\x82\xe2\x86\x83\xe2\xb7\xa7\xf2\xbe\x80\x83.\xe1\x82\xb7\xf0\x90\xa3\x9e", true); } // [B5, B6, V7, A4_2]
11025test { try toUnicodeFail("\xe3\x80\x82\xe2\x86\x84\xe2\xb7\xa7\xf2\xbe\x80\x83.\xe2\xb4\x97\xf0\x90\xa3\x9e"); } // [B5, B6, V7, X4_2]
11026test { try toAsciiFail("\xe3\x80\x82\xe2\x86\x84\xe2\xb7\xa7\xf2\xbe\x80\x83.\xe2\xb4\x97\xf0\x90\xa3\x9e", false); } // [B5, B6, V7, A4_2]
11027test { try toAsciiFail("\xe3\x80\x82\xe2\x86\x84\xe2\xb7\xa7\xf2\xbe\x80\x83.\xe2\xb4\x97\xf0\x90\xa3\x9e", true); } // [B5, B6, V7, A4_2]
11028test { try toUnicodeFail(".xn--r5gy00cll06u.xn--flj4541e"); } // [B5, B6, V7, X4_2]
11029test { try toAsciiFail(".xn--r5gy00cll06u.xn--flj4541e", false); } // [B5, B6, V7, A4_2]
11030test { try toAsciiFail(".xn--r5gy00cll06u.xn--flj4541e", true); } // [B5, B6, V7, A4_2]
11031test { try toUnicodeFail("\xef\xb8\x92\xe2\x86\x84\xe2\xb7\xa7\xf2\xbe\x80\x83\xef\xbc\x8e\xe2\xb4\x97\xf0\x90\xa3\x9e"); } // [B1, B5, B6, V7]
11032test { try toAsciiFail("\xef\xb8\x92\xe2\x86\x84\xe2\xb7\xa7\xf2\xbe\x80\x83\xef\xbc\x8e\xe2\xb4\x97\xf0\x90\xa3\x9e", false); } // [B1, B5, B6, V7]
11033test { try toAsciiFail("\xef\xb8\x92\xe2\x86\x84\xe2\xb7\xa7\xf2\xbe\x80\x83\xef\xbc\x8e\xe2\xb4\x97\xf0\x90\xa3\x9e", true); } // [B1, B5, B6, V7]
11034test { try toUnicodeFail("xn--r5gy00c056n0226g.xn--flj4541e"); } // [B1, B5, B6, V7]
11035test { try toAsciiFail("xn--r5gy00c056n0226g.xn--flj4541e", false); } // [B1, B5, B6, V7]
11036test { try toAsciiFail("xn--r5gy00c056n0226g.xn--flj4541e", true); } // [B1, B5, B6, V7]
11037test { try toUnicodeFail(".xn--q5g000cll06u.xn--vnd8618j"); } // [B5, B6, V7, X4_2]
11038test { try toAsciiFail(".xn--q5g000cll06u.xn--vnd8618j", false); } // [B5, B6, V7, A4_2]
11039test { try toAsciiFail(".xn--q5g000cll06u.xn--vnd8618j", true); } // [B5, B6, V7, A4_2]
11040test { try toUnicodeFail("xn--q5g000c056n0226g.xn--vnd8618j"); } // [B1, B5, B6, V7]
11041test { try toAsciiFail("xn--q5g000c056n0226g.xn--vnd8618j", false); } // [B1, B5, B6, V7]
11042test { try toAsciiFail("xn--q5g000c056n0226g.xn--vnd8618j", true); } // [B1, B5, B6, V7]
11043test { try toUnicodeFail("\xd8\x80.\xd6\xb1"); } // [B1, V6, V7]
11044test { try toAsciiFail("\xd8\x80.\xd6\xb1", false); } // [B1, V6, V7]
11045test { try toAsciiFail("\xd8\x80.\xd6\xb1", true); } // [B1, V6, V7]
11046test { try toUnicodeFail("xn--ifb.xn--8cb"); } // [B1, V6, V7]
11047test { try toAsciiFail("xn--ifb.xn--8cb", false); } // [B1, V6, V7]
11048test { try toAsciiFail("xn--ifb.xn--8cb", true); } // [B1, V6, V7]
11049test { try toUnicodeFail("\xcf\x82\xe2\x89\xaf\xef\xbd\xa1\xf0\x90\xb9\xbd"); } // [B1, B6]
11050test { try toAsciiFail("\xcf\x82\xe2\x89\xaf\xef\xbd\xa1\xf0\x90\xb9\xbd", false); } // [B1, B6]
11051test { try toAsciiFail("\xcf\x82\xe2\x89\xaf\xef\xbd\xa1\xf0\x90\xb9\xbd", true); } // [B1, B6]
11052test { try toUnicodeFail("\xcf\x82>\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbd"); } // [B1, B6]
11053test { try toAsciiFail("\xcf\x82>\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbd", false); } // [B1, B6]
11054test { try toAsciiFail("\xcf\x82>\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbd", true); } // [B1, B6]
11055test { try toUnicodeFail("\xcf\x82\xe2\x89\xaf\xe3\x80\x82\xf0\x90\xb9\xbd"); } // [B1, B6]
11056test { try toAsciiFail("\xcf\x82\xe2\x89\xaf\xe3\x80\x82\xf0\x90\xb9\xbd", false); } // [B1, B6]
11057test { try toAsciiFail("\xcf\x82\xe2\x89\xaf\xe3\x80\x82\xf0\x90\xb9\xbd", true); } // [B1, B6]
11058test { try toUnicodeFail("\xcf\x82>\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbd"); } // [B1, B6]
11059test { try toAsciiFail("\xcf\x82>\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbd", false); } // [B1, B6]
11060test { try toAsciiFail("\xcf\x82>\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbd", true); } // [B1, B6]
11061test { try toUnicodeFail("\xce\xa3>\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbd"); } // [B1, B6]
11062test { try toAsciiFail("\xce\xa3>\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbd", false); } // [B1, B6]
11063test { try toAsciiFail("\xce\xa3>\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbd", true); } // [B1, B6]
11064test { try toUnicodeFail("\xce\xa3\xe2\x89\xaf\xe3\x80\x82\xf0\x90\xb9\xbd"); } // [B1, B6]
11065test { try toAsciiFail("\xce\xa3\xe2\x89\xaf\xe3\x80\x82\xf0\x90\xb9\xbd", false); } // [B1, B6]
11066test { try toAsciiFail("\xce\xa3\xe2\x89\xaf\xe3\x80\x82\xf0\x90\xb9\xbd", true); } // [B1, B6]
11067test { try toUnicodeFail("\xcf\x83\xe2\x89\xaf\xe3\x80\x82\xf0\x90\xb9\xbd"); } // [B1, B6]
11068test { try toAsciiFail("\xcf\x83\xe2\x89\xaf\xe3\x80\x82\xf0\x90\xb9\xbd", false); } // [B1, B6]
11069test { try toAsciiFail("\xcf\x83\xe2\x89\xaf\xe3\x80\x82\xf0\x90\xb9\xbd", true); } // [B1, B6]
11070test { try toUnicodeFail("\xcf\x83>\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbd"); } // [B1, B6]
11071test { try toAsciiFail("\xcf\x83>\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbd", false); } // [B1, B6]
11072test { try toAsciiFail("\xcf\x83>\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xbd", true); } // [B1, B6]
11073test { try toUnicodeFail("xn--4xa818m.xn--1o0d"); } // [B1, B6]
11074test { try toAsciiFail("xn--4xa818m.xn--1o0d", false); } // [B1, B6]
11075test { try toAsciiFail("xn--4xa818m.xn--1o0d", true); } // [B1, B6]
11076test { try toUnicodeFail("xn--3xa028m.xn--1o0d"); } // [B1, B6]
11077test { try toAsciiFail("xn--3xa028m.xn--1o0d", false); } // [B1, B6]
11078test { try toAsciiFail("xn--3xa028m.xn--1o0d", true); } // [B1, B6]
11079test { try toUnicodeFail("\xce\xa3>\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbd"); } // [B1, B6]
11080test { try toAsciiFail("\xce\xa3>\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbd", false); } // [B1, B6]
11081test { try toAsciiFail("\xce\xa3>\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbd", true); } // [B1, B6]
11082test { try toUnicodeFail("\xce\xa3\xe2\x89\xaf\xef\xbd\xa1\xf0\x90\xb9\xbd"); } // [B1, B6]
11083test { try toAsciiFail("\xce\xa3\xe2\x89\xaf\xef\xbd\xa1\xf0\x90\xb9\xbd", false); } // [B1, B6]
11084test { try toAsciiFail("\xce\xa3\xe2\x89\xaf\xef\xbd\xa1\xf0\x90\xb9\xbd", true); } // [B1, B6]
11085test { try toUnicodeFail("\xcf\x83\xe2\x89\xaf\xef\xbd\xa1\xf0\x90\xb9\xbd"); } // [B1, B6]
11086test { try toAsciiFail("\xcf\x83\xe2\x89\xaf\xef\xbd\xa1\xf0\x90\xb9\xbd", false); } // [B1, B6]
11087test { try toAsciiFail("\xcf\x83\xe2\x89\xaf\xef\xbd\xa1\xf0\x90\xb9\xbd", true); } // [B1, B6]
11088test { try toUnicodeFail("\xcf\x83>\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbd"); } // [B1, B6]
11089test { try toAsciiFail("\xcf\x83>\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbd", false); } // [B1, B6]
11090test { try toAsciiFail("\xcf\x83>\xcc\xb8\xef\xbd\xa1\xf0\x90\xb9\xbd", true); } // [B1, B6]
11091test { try toUnicodeFail("\xe1\x9f\x92\xe2\x80\x8d\xdd\x9f\xe3\x80\x82\xf0\x90\xb9\xb6"); } // [B1, V6]
11092test { try toAsciiFail("\xe1\x9f\x92\xe2\x80\x8d\xdd\x9f\xe3\x80\x82\xf0\x90\xb9\xb6", false); } // [B1, V6]
11093test { try toAsciiFail("\xe1\x9f\x92\xe2\x80\x8d\xdd\x9f\xe3\x80\x82\xf0\x90\xb9\xb6", true); } // [B1, V6]
11094test { try toUnicodeFail("xn--jpb535f.xn--uo0d"); } // [B1, V6]
11095test { try toAsciiFail("xn--jpb535f.xn--uo0d", false); } // [B1, V6]
11096test { try toAsciiFail("xn--jpb535f.xn--uo0d", true); } // [B1, V6]
11097test { try toUnicodeFail("xn--jpb535fv9f.xn--uo0d"); } // [B1, V6]
11098test { try toAsciiFail("xn--jpb535fv9f.xn--uo0d", false); } // [B1, V6]
11099test { try toAsciiFail("xn--jpb535fv9f.xn--uo0d", true); } // [B1, V6]
11100test { try toUnicodeFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe1\x82\xaa\xf1\x82\x82\x9f.\xe2\x89\xae"); } // [V7]
11101test { try toAsciiFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe1\x82\xaa\xf1\x82\x82\x9f.\xe2\x89\xae", false); } // [V7]
11102test { try toAsciiFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe1\x82\xaa\xf1\x82\x82\x9f.\xe2\x89\xae", true); } // [V7]
11103test { try toUnicodeFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe1\x82\xaa\xf1\x82\x82\x9f.<\xcc\xb8"); } // [V7]
11104test { try toAsciiFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe1\x82\xaa\xf1\x82\x82\x9f.<\xcc\xb8", false); } // [V7]
11105test { try toAsciiFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe1\x82\xaa\xf1\x82\x82\x9f.<\xcc\xb8", true); } // [V7]
11106test { try toUnicodeFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe2\xb4\x8a\xf1\x82\x82\x9f.<\xcc\xb8"); } // [V7]
11107test { try toAsciiFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe2\xb4\x8a\xf1\x82\x82\x9f.<\xcc\xb8", false); } // [V7]
11108test { try toAsciiFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe2\xb4\x8a\xf1\x82\x82\x9f.<\xcc\xb8", true); } // [V7]
11109test { try toUnicodeFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe2\xb4\x8a\xf1\x82\x82\x9f.\xe2\x89\xae"); } // [V7]
11110test { try toAsciiFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe2\xb4\x8a\xf1\x82\x82\x9f.\xe2\x89\xae", false); } // [V7]
11111test { try toAsciiFail("\xf0\xbe\xb7\x82\xe0\xa9\x82\xe2\xb4\x8a\xf1\x82\x82\x9f.\xe2\x89\xae", true); } // [V7]
11112test { try toUnicodeFail("xn--nbc229o4y27dgskb.xn--gdh"); } // [V7]
11113test { try toAsciiFail("xn--nbc229o4y27dgskb.xn--gdh", false); } // [V7]
11114test { try toAsciiFail("xn--nbc229o4y27dgskb.xn--gdh", true); } // [V7]
11115test { try toUnicodeFail("xn--nbc493aro75ggskb.xn--gdh"); } // [V7]
11116test { try toAsciiFail("xn--nbc493aro75ggskb.xn--gdh", false); } // [V7]
11117test { try toAsciiFail("xn--nbc493aro75ggskb.xn--gdh", true); } // [V7]
11118test { try toUnicodePass("\xea\xa1\xa0\xef\xbc\x8e\xdb\xb2", "\xea\xa1\xa0.\xdb\xb2"); }
11119test { try toAsciiPass("\xea\xa1\xa0\xef\xbc\x8e\xdb\xb2", "xn--5c9a.xn--fmb", false); }
11120test { try toAsciiPass("\xea\xa1\xa0\xef\xbc\x8e\xdb\xb2", "xn--5c9a.xn--fmb", true); }
11121test { try toUnicodePass("\xea\xa1\xa0.\xdb\xb2", "\xea\xa1\xa0.\xdb\xb2"); }
11122test { try toAsciiPass("\xea\xa1\xa0.\xdb\xb2", "xn--5c9a.xn--fmb", false); }
11123test { try toAsciiPass("\xea\xa1\xa0.\xdb\xb2", "xn--5c9a.xn--fmb", true); }
11124test { try toUnicodePass("xn--5c9a.xn--fmb", "\xea\xa1\xa0.\xdb\xb2"); }
11125test { try toAsciiPass("xn--5c9a.xn--fmb", "xn--5c9a.xn--fmb", false); }
11126test { try toAsciiPass("xn--5c9a.xn--fmb", "xn--5c9a.xn--fmb", true); }
11127test { try toUnicodeFail("\xf0\x90\xb9\xa3\xf1\x84\xb7\x84\xef\xbd\xa1\xea\xa1\xac\xf0\x9f\x84\x84"); } // [B1, B6, V7, U1]
11128test { try toAsciiFail("\xf0\x90\xb9\xa3\xf1\x84\xb7\x84\xef\xbd\xa1\xea\xa1\xac\xf0\x9f\x84\x84", false); } // [B1, B6, V7, U1]
11129test { try toAsciiFail("\xf0\x90\xb9\xa3\xf1\x84\xb7\x84\xef\xbd\xa1\xea\xa1\xac\xf0\x9f\x84\x84", true); } // [B1, B6, V7, U1]
11130test { try toUnicodeFail("\xf0\x90\xb9\xa3\xf1\x84\xb7\x84\xe3\x80\x82\xea\xa1\xac3,"); } // [B1, B6, V7, U1]
11131test { try toAsciiFail("\xf0\x90\xb9\xa3\xf1\x84\xb7\x84\xe3\x80\x82\xea\xa1\xac3,", false); } // [B1, B6, V7, U1]
11132test { try toAsciiFail("\xf0\x90\xb9\xa3\xf1\x84\xb7\x84\xe3\x80\x82\xea\xa1\xac3,", true); } // [B1, B6, V7, U1]
11133test { try toUnicodeFail("xn--bo0d0203l.xn--3,-yj9h"); } // [B1, B6, V7, U1]
11134test { try toAsciiFail("xn--bo0d0203l.xn--3,-yj9h", false); } // [B1, B6, V7, U1]
11135test { try toAsciiFail("xn--bo0d0203l.xn--3,-yj9h", true); } // [B1, B6, V7, U1]
11136test { try toUnicodeFail("xn--bo0d0203l.xn--id9a4443d"); } // [B1, V7]
11137test { try toAsciiFail("xn--bo0d0203l.xn--id9a4443d", false); } // [B1, V7]
11138test { try toAsciiFail("xn--bo0d0203l.xn--id9a4443d", true); } // [B1, V7]
11139test { try toUnicodeFail("-\xe0\xb1\x8d\xf0\x9e\xbe\x80\xf0\x91\xb2\x93\xef\xbd\xa1\xe2\x80\x8d\xe0\xb5\x8d"); } // [B1, C2, V3, V7]
11140test { try toAsciiFail("-\xe0\xb1\x8d\xf0\x9e\xbe\x80\xf0\x91\xb2\x93\xef\xbd\xa1\xe2\x80\x8d\xe0\xb5\x8d", false); } // [B1, C2, V3, V7]
11141test { try toAsciiFail("-\xe0\xb1\x8d\xf0\x9e\xbe\x80\xf0\x91\xb2\x93\xef\xbd\xa1\xe2\x80\x8d\xe0\xb5\x8d", true); } // [B1, V3, V6, V7]
11142test { try toUnicodeFail("-\xe0\xb1\x8d\xf0\x9e\xbe\x80\xf0\x91\xb2\x93\xe3\x80\x82\xe2\x80\x8d\xe0\xb5\x8d"); } // [B1, C2, V3, V7]
11143test { try toAsciiFail("-\xe0\xb1\x8d\xf0\x9e\xbe\x80\xf0\x91\xb2\x93\xe3\x80\x82\xe2\x80\x8d\xe0\xb5\x8d", false); } // [B1, C2, V3, V7]
11144test { try toAsciiFail("-\xe0\xb1\x8d\xf0\x9e\xbe\x80\xf0\x91\xb2\x93\xe3\x80\x82\xe2\x80\x8d\xe0\xb5\x8d", true); } // [B1, V3, V6, V7]
11145test { try toUnicodeFail("xn----x6e0220sclug.xn--wxc"); } // [B1, V3, V6, V7]
11146test { try toAsciiFail("xn----x6e0220sclug.xn--wxc", false); } // [B1, V3, V6, V7]
11147test { try toAsciiFail("xn----x6e0220sclug.xn--wxc", true); } // [B1, V3, V6, V7]
11148test { try toUnicodeFail("xn----x6e0220sclug.xn--wxc317g"); } // [B1, C2, V3, V7]
11149test { try toAsciiFail("xn----x6e0220sclug.xn--wxc317g", false); } // [B1, C2, V3, V7]
11150test { try toAsciiFail("xn----x6e0220sclug.xn--wxc317g", true); } // [B1, C2, V3, V7]
11151test { try toUnicodeFail("\xea\x99\xbd\xe2\x80\x8c\xf0\xaf\xa7\xb5\xf0\x9f\x84\x86\xef\xbd\xa1\xe2\x80\x8c\xf0\x91\x81\x82\xe1\xac\x81"); } // [C1, V6, U1]
11152test { try toAsciiFail("\xea\x99\xbd\xe2\x80\x8c\xf0\xaf\xa7\xb5\xf0\x9f\x84\x86\xef\xbd\xa1\xe2\x80\x8c\xf0\x91\x81\x82\xe1\xac\x81", false); } // [C1, V6, U1]
11153test { try toAsciiFail("\xea\x99\xbd\xe2\x80\x8c\xf0\xaf\xa7\xb5\xf0\x9f\x84\x86\xef\xbd\xa1\xe2\x80\x8c\xf0\x91\x81\x82\xe1\xac\x81", true); } // [V6, U1]
11154test { try toUnicodeFail("\xea\x99\xbd\xe2\x80\x8c\xe9\x9c\xa3\xf0\x9f\x84\x86\xef\xbd\xa1\xe2\x80\x8c\xf0\x91\x81\x82\xe1\xac\x81"); } // [C1, V6, U1]
11155test { try toAsciiFail("\xea\x99\xbd\xe2\x80\x8c\xe9\x9c\xa3\xf0\x9f\x84\x86\xef\xbd\xa1\xe2\x80\x8c\xf0\x91\x81\x82\xe1\xac\x81", false); } // [C1, V6, U1]
11156test { try toAsciiFail("\xea\x99\xbd\xe2\x80\x8c\xe9\x9c\xa3\xf0\x9f\x84\x86\xef\xbd\xa1\xe2\x80\x8c\xf0\x91\x81\x82\xe1\xac\x81", true); } // [V6, U1]
11157test { try toUnicodeFail("\xea\x99\xbd\xe2\x80\x8c\xe9\x9c\xa35,\xe3\x80\x82\xe2\x80\x8c\xf0\x91\x81\x82\xe1\xac\x81"); } // [C1, V6, U1]
11158test { try toAsciiFail("\xea\x99\xbd\xe2\x80\x8c\xe9\x9c\xa35,\xe3\x80\x82\xe2\x80\x8c\xf0\x91\x81\x82\xe1\xac\x81", false); } // [C1, V6, U1]
11159test { try toAsciiFail("\xea\x99\xbd\xe2\x80\x8c\xe9\x9c\xa35,\xe3\x80\x82\xe2\x80\x8c\xf0\x91\x81\x82\xe1\xac\x81", true); } // [V6, U1]
11160test { try toUnicodeFail("xn--5,-op8g373c.xn--4sf0725i"); } // [V6, U1]
11161test { try toAsciiFail("xn--5,-op8g373c.xn--4sf0725i", false); } // [V6, U1]
11162test { try toAsciiFail("xn--5,-op8g373c.xn--4sf0725i", true); } // [V6, U1]
11163test { try toUnicodeFail("xn--5,-i1tz135dnbqa.xn--4sf36u6u4w"); } // [C1, V6, U1]
11164test { try toAsciiFail("xn--5,-i1tz135dnbqa.xn--4sf36u6u4w", false); } // [C1, V6, U1]
11165test { try toAsciiFail("xn--5,-i1tz135dnbqa.xn--4sf36u6u4w", true); } // [C1, V6, U1]
11166test { try toUnicodeFail("xn--2q5a751a653w.xn--4sf0725i"); } // [V6, V7]
11167test { try toAsciiFail("xn--2q5a751a653w.xn--4sf0725i", false); } // [V6, V7]
11168test { try toAsciiFail("xn--2q5a751a653w.xn--4sf0725i", true); } // [V6, V7]
11169test { try toUnicodeFail("xn--0ug4208b2vjuk63a.xn--4sf36u6u4w"); } // [C1, V6, V7]
11170test { try toAsciiFail("xn--0ug4208b2vjuk63a.xn--4sf36u6u4w", false); } // [C1, V6, V7]
11171test { try toAsciiFail("xn--0ug4208b2vjuk63a.xn--4sf36u6u4w", true); } // [C1, V6, V7]
11172test { try toUnicodeFail("\xe5\x85\x8e\xef\xbd\xa1\xe1\xa0\xbc\xf3\xa0\xb4\x9c\xf0\x91\x9a\xb6\xf0\x91\xb0\xbf"); } // [V7]
11173test { try toAsciiFail("\xe5\x85\x8e\xef\xbd\xa1\xe1\xa0\xbc\xf3\xa0\xb4\x9c\xf0\x91\x9a\xb6\xf0\x91\xb0\xbf", false); } // [V7]
11174test { try toAsciiFail("\xe5\x85\x8e\xef\xbd\xa1\xe1\xa0\xbc\xf3\xa0\xb4\x9c\xf0\x91\x9a\xb6\xf0\x91\xb0\xbf", true); } // [V7]
11175test { try toUnicodeFail("\xe5\x85\x8e\xe3\x80\x82\xe1\xa0\xbc\xf3\xa0\xb4\x9c\xf0\x91\x9a\xb6\xf0\x91\xb0\xbf"); } // [V7]
11176test { try toAsciiFail("\xe5\x85\x8e\xe3\x80\x82\xe1\xa0\xbc\xf3\xa0\xb4\x9c\xf0\x91\x9a\xb6\xf0\x91\xb0\xbf", false); } // [V7]
11177test { try toAsciiFail("\xe5\x85\x8e\xe3\x80\x82\xe1\xa0\xbc\xf3\xa0\xb4\x9c\xf0\x91\x9a\xb6\xf0\x91\xb0\xbf", true); } // [V7]
11178test { try toUnicodeFail("xn--b5q.xn--v7e6041kqqd4m251b"); } // [V7]
11179test { try toAsciiFail("xn--b5q.xn--v7e6041kqqd4m251b", false); } // [V7]
11180test { try toAsciiFail("xn--b5q.xn--v7e6041kqqd4m251b", true); } // [V7]
11181test { try toAsciiPass("\xf0\x9d\x9f\x99\xef\xbd\xa1\xe2\x80\x8d\xf0\x9d\x9f\xb8\xe2\x80\x8d\xe2\x81\xb7", "1.27", true); }
11182test { try toUnicodeFail("\xf0\x9d\x9f\x99\xef\xbd\xa1\xe2\x80\x8d\xf0\x9d\x9f\xb8\xe2\x80\x8d\xe2\x81\xb7"); } // [C2]
11183test { try toAsciiFail("\xf0\x9d\x9f\x99\xef\xbd\xa1\xe2\x80\x8d\xf0\x9d\x9f\xb8\xe2\x80\x8d\xe2\x81\xb7", false); } // [C2]
11184test { try toAsciiPass("1\xe3\x80\x82\xe2\x80\x8d2\xe2\x80\x8d7", "1.27", true); }
11185test { try toUnicodeFail("1\xe3\x80\x82\xe2\x80\x8d2\xe2\x80\x8d7"); } // [C2]
11186test { try toAsciiFail("1\xe3\x80\x82\xe2\x80\x8d2\xe2\x80\x8d7", false); } // [C2]
11187test { try toUnicodePass("1.2h", "1.2h"); }
11188test { try toAsciiPass("1.2h", "1.2h", false); }
11189test { try toAsciiPass("1.2h", "1.2h", true); }
11190test { try toUnicodeFail("1.xn--27-l1tb"); } // [C2]
11191test { try toAsciiFail("1.xn--27-l1tb", false); } // [C2]
11192test { try toAsciiFail("1.xn--27-l1tb", true); } // [C2]
11193test { try toUnicodeFail("\xe1\xa1\xa8-\xef\xbd\xa1\xf3\xa0\xbb\x8b\xf0\x9d\x9f\xb7"); } // [V3, V7]
11194test { try toAsciiFail("\xe1\xa1\xa8-\xef\xbd\xa1\xf3\xa0\xbb\x8b\xf0\x9d\x9f\xb7", false); } // [V3, V7]
11195test { try toAsciiFail("\xe1\xa1\xa8-\xef\xbd\xa1\xf3\xa0\xbb\x8b\xf0\x9d\x9f\xb7", true); } // [V3, V7]
11196test { try toUnicodeFail("\xe1\xa1\xa8-\xe3\x80\x82\xf3\xa0\xbb\x8b1"); } // [V3, V7]
11197test { try toAsciiFail("\xe1\xa1\xa8-\xe3\x80\x82\xf3\xa0\xbb\x8b1", false); } // [V3, V7]
11198test { try toAsciiFail("\xe1\xa1\xa8-\xe3\x80\x82\xf3\xa0\xbb\x8b1", true); } // [V3, V7]
11199test { try toUnicodeFail("xn----z8j.xn--1-5671m"); } // [V3, V7]
11200test { try toAsciiFail("xn----z8j.xn--1-5671m", false); } // [V3, V7]
11201test { try toAsciiFail("xn----z8j.xn--1-5671m", true); } // [V3, V7]
11202test { try toUnicodeFail("\xf0\x91\xb0\xbb\xf1\xb5\x80\x90\xf0\x90\xab\x9a\xef\xbc\x8e\xd9\xa8\xe2\x81\xb9"); } // [B1, V6, V7]
11203test { try toAsciiFail("\xf0\x91\xb0\xbb\xf1\xb5\x80\x90\xf0\x90\xab\x9a\xef\xbc\x8e\xd9\xa8\xe2\x81\xb9", false); } // [B1, V6, V7]
11204test { try toAsciiFail("\xf0\x91\xb0\xbb\xf1\xb5\x80\x90\xf0\x90\xab\x9a\xef\xbc\x8e\xd9\xa8\xe2\x81\xb9", true); } // [B1, V6, V7]
11205test { try toUnicodeFail("\xf0\x91\xb0\xbb\xf1\xb5\x80\x90\xf0\x90\xab\x9a.\xd9\xa89"); } // [B1, V6, V7]
11206test { try toAsciiFail("\xf0\x91\xb0\xbb\xf1\xb5\x80\x90\xf0\x90\xab\x9a.\xd9\xa89", false); } // [B1, V6, V7]
11207test { try toAsciiFail("\xf0\x91\xb0\xbb\xf1\xb5\x80\x90\xf0\x90\xab\x9a.\xd9\xa89", true); } // [B1, V6, V7]
11208test { try toUnicodeFail("xn--gx9cr01aul57i.xn--9-oqc"); } // [B1, V6, V7]
11209test { try toAsciiFail("xn--gx9cr01aul57i.xn--9-oqc", false); } // [B1, V6, V7]
11210test { try toAsciiFail("xn--gx9cr01aul57i.xn--9-oqc", true); } // [B1, V6, V7]
11211test { try toUnicodeFail("\xe1\x82\xbc\xf2\x88\xb7\xad\xe0\xbe\x80\xe2\xbe\x87\xe3\x80\x82\xe1\x82\xaf\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c"); } // [C1, V7]
11212test { try toAsciiFail("\xe1\x82\xbc\xf2\x88\xb7\xad\xe0\xbe\x80\xe2\xbe\x87\xe3\x80\x82\xe1\x82\xaf\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c", false); } // [C1, V7]
11213test { try toAsciiFail("\xe1\x82\xbc\xf2\x88\xb7\xad\xe0\xbe\x80\xe2\xbe\x87\xe3\x80\x82\xe1\x82\xaf\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c", true); } // [V7]
11214test { try toUnicodeFail("\xe1\x82\xbc\xf2\x88\xb7\xad\xe0\xbe\x80\xe8\x88\x9b\xe3\x80\x82\xe1\x82\xaf\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c"); } // [C1, V7]
11215test { try toAsciiFail("\xe1\x82\xbc\xf2\x88\xb7\xad\xe0\xbe\x80\xe8\x88\x9b\xe3\x80\x82\xe1\x82\xaf\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c", false); } // [C1, V7]
11216test { try toAsciiFail("\xe1\x82\xbc\xf2\x88\xb7\xad\xe0\xbe\x80\xe8\x88\x9b\xe3\x80\x82\xe1\x82\xaf\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c", true); } // [V7]
11217test { try toUnicodeFail("\xe2\xb4\x9c\xf2\x88\xb7\xad\xe0\xbe\x80\xe8\x88\x9b\xe3\x80\x82\xe2\xb4\x8f\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c"); } // [C1, V7]
11218test { try toAsciiFail("\xe2\xb4\x9c\xf2\x88\xb7\xad\xe0\xbe\x80\xe8\x88\x9b\xe3\x80\x82\xe2\xb4\x8f\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c", false); } // [C1, V7]
11219test { try toAsciiFail("\xe2\xb4\x9c\xf2\x88\xb7\xad\xe0\xbe\x80\xe8\x88\x9b\xe3\x80\x82\xe2\xb4\x8f\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c", true); } // [V7]
11220test { try toUnicodeFail("xn--zed372mdj2do3v4h.xn--e5h11w"); } // [V7]
11221test { try toAsciiFail("xn--zed372mdj2do3v4h.xn--e5h11w", false); } // [V7]
11222test { try toAsciiFail("xn--zed372mdj2do3v4h.xn--e5h11w", true); } // [V7]
11223test { try toUnicodeFail("xn--zed372mdj2do3v4h.xn--0uga678bgyh"); } // [C1, V7]
11224test { try toAsciiFail("xn--zed372mdj2do3v4h.xn--0uga678bgyh", false); } // [C1, V7]
11225test { try toAsciiFail("xn--zed372mdj2do3v4h.xn--0uga678bgyh", true); } // [C1, V7]
11226test { try toUnicodeFail("\xe2\xb4\x9c\xf2\x88\xb7\xad\xe0\xbe\x80\xe2\xbe\x87\xe3\x80\x82\xe2\xb4\x8f\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c"); } // [C1, V7]
11227test { try toAsciiFail("\xe2\xb4\x9c\xf2\x88\xb7\xad\xe0\xbe\x80\xe2\xbe\x87\xe3\x80\x82\xe2\xb4\x8f\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c", false); } // [C1, V7]
11228test { try toAsciiFail("\xe2\xb4\x9c\xf2\x88\xb7\xad\xe0\xbe\x80\xe2\xbe\x87\xe3\x80\x82\xe2\xb4\x8f\xe2\x99\x80\xe2\x80\x8c\xe2\x80\x8c", true); } // [V7]
11229test { try toUnicodeFail("xn--zed54dz10wo343g.xn--nnd651i"); } // [V7]
11230test { try toAsciiFail("xn--zed54dz10wo343g.xn--nnd651i", false); } // [V7]
11231test { try toAsciiFail("xn--zed54dz10wo343g.xn--nnd651i", true); } // [V7]
11232test { try toUnicodeFail("xn--zed54dz10wo343g.xn--nnd089ea464d"); } // [C1, V7]
11233test { try toAsciiFail("xn--zed54dz10wo343g.xn--nnd089ea464d", false); } // [C1, V7]
11234test { try toAsciiFail("xn--zed54dz10wo343g.xn--nnd089ea464d", true); } // [C1, V7]
11235test { try toUnicodeFail("\xf0\x91\x81\x86\xf0\x9d\x9f\xb0.\xe2\x80\x8d"); } // [C2, V6]
11236test { try toAsciiFail("\xf0\x91\x81\x86\xf0\x9d\x9f\xb0.\xe2\x80\x8d", false); } // [C2, V6]
11237test { try toAsciiFail("\xf0\x91\x81\x86\xf0\x9d\x9f\xb0.\xe2\x80\x8d", true); } // [V6, A4_2]
11238test { try toUnicodeFail("\xf0\x91\x81\x864.\xe2\x80\x8d"); } // [C2, V6]
11239test { try toAsciiFail("\xf0\x91\x81\x864.\xe2\x80\x8d", false); } // [C2, V6]
11240test { try toAsciiFail("\xf0\x91\x81\x864.\xe2\x80\x8d", true); } // [V6, A4_2]
11241test { try toUnicodeFail("xn--4-xu7i."); } // [V6]
11242test { try toAsciiFail("xn--4-xu7i.", false); } // [V6, A4_2]
11243test { try toAsciiFail("xn--4-xu7i.", true); } // [V6, A4_2]
11244test { try toUnicodeFail("xn--4-xu7i.xn--1ug"); } // [C2, V6]
11245test { try toAsciiFail("xn--4-xu7i.xn--1ug", false); } // [C2, V6]
11246test { try toAsciiFail("xn--4-xu7i.xn--1ug", true); } // [C2, V6]
11247test { try toUnicodeFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc"); } // [C1, V6, V7]
11248test { try toAsciiFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc", false); } // [C1, V6, V7]
11249test { try toAsciiFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc", true); } // [V6, V7]
11250test { try toUnicodeFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab"); } // [C1, V6, V7]
11251test { try toAsciiFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab", false); } // [C1, V6, V7]
11252test { try toAsciiFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab", true); } // [V6, V7]
11253test { try toUnicodeFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc"); } // [C1, V6, V7]
11254test { try toAsciiFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc", false); } // [C1, V6, V7]
11255test { try toAsciiFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc", true); } // [V6, V7]
11256test { try toUnicodeFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab"); } // [C1, V6, V7]
11257test { try toAsciiFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab", false); } // [C1, V6, V7]
11258test { try toAsciiFail("\xf1\xae\xb4\x98\xe1\x82\xbe\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab", true); } // [V6, V7]
11259test { try toUnicodeFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab"); } // [C1, V6, V7]
11260test { try toAsciiFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab", false); } // [C1, V6, V7]
11261test { try toAsciiFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab", true); } // [V6, V7]
11262test { try toUnicodeFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc"); } // [C1, V6, V7]
11263test { try toAsciiFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc", false); } // [C1, V6, V7]
11264test { try toAsciiFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xe3\x80\x82\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc", true); } // [V6, V7]
11265test { try toUnicodeFail("xn--mlju35u7qx2f.xn--et3bn23n"); } // [V6, V7]
11266test { try toAsciiFail("xn--mlju35u7qx2f.xn--et3bn23n", false); } // [V6, V7]
11267test { try toAsciiFail("xn--mlju35u7qx2f.xn--et3bn23n", true); } // [V6, V7]
11268test { try toUnicodeFail("xn--mlju35u7qx2f.xn--0ugb6122js83c"); } // [C1, V6, V7]
11269test { try toAsciiFail("xn--mlju35u7qx2f.xn--0ugb6122js83c", false); } // [C1, V6, V7]
11270test { try toAsciiFail("xn--mlju35u7qx2f.xn--0ugb6122js83c", true); } // [C1, V6, V7]
11271test { try toUnicodeFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab"); } // [C1, V6, V7]
11272test { try toAsciiFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab", false); } // [C1, V6, V7]
11273test { try toAsciiFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xe1\x84\x87\xe1\x85\xb0\xe1\x86\xab", true); } // [V6, V7]
11274test { try toUnicodeFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc"); } // [C1, V6, V7]
11275test { try toAsciiFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc", false); } // [C1, V6, V7]
11276test { try toAsciiFail("\xf1\xae\xb4\x98\xe2\xb4\x9e\xe7\x99\x80\xef\xbd\xa1\xf0\x91\x98\xbf\xe2\x80\x8d\xe2\x80\x8c\xeb\xb6\xbc", true); } // [V6, V7]
11277test { try toUnicodeFail("xn--2nd6803c7q37d.xn--et3bn23n"); } // [V6, V7]
11278test { try toAsciiFail("xn--2nd6803c7q37d.xn--et3bn23n", false); } // [V6, V7]
11279test { try toAsciiFail("xn--2nd6803c7q37d.xn--et3bn23n", true); } // [V6, V7]
11280test { try toUnicodeFail("xn--2nd6803c7q37d.xn--0ugb6122js83c"); } // [C1, V6, V7]
11281test { try toAsciiFail("xn--2nd6803c7q37d.xn--0ugb6122js83c", false); } // [C1, V6, V7]
11282test { try toAsciiFail("xn--2nd6803c7q37d.xn--0ugb6122js83c", true); } // [C1, V6, V7]
11283test { try toUnicodeFail("\xf3\x9a\x80\x85-\xe0\xaf\x8d\xe3\x80\x82\xda\xb9"); } // [B6, V7]
11284test { try toAsciiFail("\xf3\x9a\x80\x85-\xe0\xaf\x8d\xe3\x80\x82\xda\xb9", false); } // [B6, V7]
11285test { try toAsciiFail("\xf3\x9a\x80\x85-\xe0\xaf\x8d\xe3\x80\x82\xda\xb9", true); } // [B6, V7]
11286test { try toUnicodeFail("xn----mze84808x.xn--skb"); } // [B6, V7]
11287test { try toAsciiFail("xn----mze84808x.xn--skb", false); } // [B6, V7]
11288test { try toAsciiFail("xn----mze84808x.xn--skb", true); } // [B6, V7]
11289test { try toUnicodeFail("\xe1\xa1\x83\xf0\x9d\x9f\xa7\xe2\x89\xaf\xe1\xa0\xa3\xef\xbc\x8e\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab"); } // [V7]
11290test { try toAsciiFail("\xe1\xa1\x83\xf0\x9d\x9f\xa7\xe2\x89\xaf\xe1\xa0\xa3\xef\xbc\x8e\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab", false); } // [V7]
11291test { try toAsciiFail("\xe1\xa1\x83\xf0\x9d\x9f\xa7\xe2\x89\xaf\xe1\xa0\xa3\xef\xbc\x8e\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab", true); } // [V7]
11292test { try toUnicodeFail("\xe1\xa1\x83\xf0\x9d\x9f\xa7>\xcc\xb8\xe1\xa0\xa3\xef\xbc\x8e\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab"); } // [V7]
11293test { try toAsciiFail("\xe1\xa1\x83\xf0\x9d\x9f\xa7>\xcc\xb8\xe1\xa0\xa3\xef\xbc\x8e\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab", false); } // [V7]
11294test { try toAsciiFail("\xe1\xa1\x83\xf0\x9d\x9f\xa7>\xcc\xb8\xe1\xa0\xa3\xef\xbc\x8e\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab", true); } // [V7]
11295test { try toUnicodeFail("\xe1\xa1\x835\xe2\x89\xaf\xe1\xa0\xa3.\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab"); } // [V7]
11296test { try toAsciiFail("\xe1\xa1\x835\xe2\x89\xaf\xe1\xa0\xa3.\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab", false); } // [V7]
11297test { try toAsciiFail("\xe1\xa1\x835\xe2\x89\xaf\xe1\xa0\xa3.\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab", true); } // [V7]
11298test { try toUnicodeFail("\xe1\xa1\x835>\xcc\xb8\xe1\xa0\xa3.\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab"); } // [V7]
11299test { try toAsciiFail("\xe1\xa1\x835>\xcc\xb8\xe1\xa0\xa3.\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab", false); } // [V7]
11300test { try toAsciiFail("\xe1\xa1\x835>\xcc\xb8\xe1\xa0\xa3.\xe6\xb0\x81\xf1\xa8\x8f\xb1\xea\x81\xab", true); } // [V7]
11301test { try toUnicodeFail("xn--5-24jyf768b.xn--lqw213ime95g"); } // [V7]
11302test { try toAsciiFail("xn--5-24jyf768b.xn--lqw213ime95g", false); } // [V7]
11303test { try toAsciiFail("xn--5-24jyf768b.xn--lqw213ime95g", true); } // [V7]
11304test { try toUnicodeFail("\xf0\x90\xb9\xac\xf0\x9d\xa9\x87\xef\xbc\x8e\xe0\xbd\xb6"); } // [B1, V6]
11305test { try toAsciiFail("\xf0\x90\xb9\xac\xf0\x9d\xa9\x87\xef\xbc\x8e\xe0\xbd\xb6", false); } // [B1, V6]
11306test { try toAsciiFail("\xf0\x90\xb9\xac\xf0\x9d\xa9\x87\xef\xbc\x8e\xe0\xbd\xb6", true); } // [B1, V6]
11307test { try toUnicodeFail("\xf0\x90\xb9\xac\xf0\x9d\xa9\x87\xef\xbc\x8e\xe0\xbe\xb2\xe0\xbe\x80"); } // [B1, V6]
11308test { try toAsciiFail("\xf0\x90\xb9\xac\xf0\x9d\xa9\x87\xef\xbc\x8e\xe0\xbe\xb2\xe0\xbe\x80", false); } // [B1, V6]
11309test { try toAsciiFail("\xf0\x90\xb9\xac\xf0\x9d\xa9\x87\xef\xbc\x8e\xe0\xbe\xb2\xe0\xbe\x80", true); } // [B1, V6]
11310test { try toUnicodeFail("\xf0\x90\xb9\xac\xf0\x9d\xa9\x87.\xe0\xbe\xb2\xe0\xbe\x80"); } // [B1, V6]
11311test { try toAsciiFail("\xf0\x90\xb9\xac\xf0\x9d\xa9\x87.\xe0\xbe\xb2\xe0\xbe\x80", false); } // [B1, V6]
11312test { try toAsciiFail("\xf0\x90\xb9\xac\xf0\x9d\xa9\x87.\xe0\xbe\xb2\xe0\xbe\x80", true); } // [B1, V6]
11313test { try toUnicodeFail("xn--ko0d8295a.xn--zed3h"); } // [B1, V6]
11314test { try toAsciiFail("xn--ko0d8295a.xn--zed3h", false); } // [B1, V6]
11315test { try toAsciiFail("xn--ko0d8295a.xn--zed3h", true); } // [B1, V6]
11316test { try toUnicodeFail("-\xf0\x91\x88\xb6\xe2\x92\x8f\xef\xbc\x8e\xe2\x92\x8e\xf0\xb0\x9b\xa2\xf3\xa0\x8e\xad"); } // [V3, V7]
11317test { try toAsciiFail("-\xf0\x91\x88\xb6\xe2\x92\x8f\xef\xbc\x8e\xe2\x92\x8e\xf0\xb0\x9b\xa2\xf3\xa0\x8e\xad", false); } // [V3, V7]
11318test { try toAsciiFail("-\xf0\x91\x88\xb6\xe2\x92\x8f\xef\xbc\x8e\xe2\x92\x8e\xf0\xb0\x9b\xa2\xf3\xa0\x8e\xad", true); } // [V3, V7]
11319test { try toUnicodeFail("-\xf0\x91\x88\xb68..7.\xf0\xb0\x9b\xa2\xf3\xa0\x8e\xad"); } // [V3, V7, X4_2]
11320test { try toAsciiFail("-\xf0\x91\x88\xb68..7.\xf0\xb0\x9b\xa2\xf3\xa0\x8e\xad", false); } // [V3, V7, A4_2]
11321test { try toAsciiFail("-\xf0\x91\x88\xb68..7.\xf0\xb0\x9b\xa2\xf3\xa0\x8e\xad", true); } // [V3, V7, A4_2]
11322test { try toUnicodeFail("xn---8-bv5o..7.xn--c35nf1622b"); } // [V3, V7, X4_2]
11323test { try toAsciiFail("xn---8-bv5o..7.xn--c35nf1622b", false); } // [V3, V7, A4_2]
11324test { try toAsciiFail("xn---8-bv5o..7.xn--c35nf1622b", true); } // [V3, V7, A4_2]
11325test { try toUnicodeFail("xn----scp6252h.xn--zshy411yzpx2d"); } // [V3, V7]
11326test { try toAsciiFail("xn----scp6252h.xn--zshy411yzpx2d", false); } // [V3, V7]
11327test { try toAsciiFail("xn----scp6252h.xn--zshy411yzpx2d", true); } // [V3, V7]
11328test { try toAsciiPass("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e\xe2\x89\xae", "xn--skjy82u.xn--gdh", true); }
11329test { try toUnicodeFail("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e\xe2\x89\xae"); } // [C1, C2]
11330test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e\xe2\x89\xae", false); } // [C1, C2]
11331test { try toAsciiPass("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e<\xcc\xb8", "xn--skjy82u.xn--gdh", true); }
11332test { try toUnicodeFail("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e<\xcc\xb8"); } // [C1, C2]
11333test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e<\xcc\xb8", false); } // [C1, C2]
11334test { try toAsciiPass("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d.\xe2\x89\xae", "xn--skjy82u.xn--gdh", true); }
11335test { try toUnicodeFail("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d.\xe2\x89\xae"); } // [C1, C2]
11336test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d.\xe2\x89\xae", false); } // [C1, C2]
11337test { try toAsciiPass("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d.<\xcc\xb8", "xn--skjy82u.xn--gdh", true); }
11338test { try toUnicodeFail("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d.<\xcc\xb8"); } // [C1, C2]
11339test { try toAsciiFail("\xe2\x80\x8c\xe1\x82\xa1\xe7\x95\x9d\xe2\x80\x8d.<\xcc\xb8", false); } // [C1, C2]
11340test { try toAsciiPass("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d.<\xcc\xb8", "xn--skjy82u.xn--gdh", true); }
11341test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d.<\xcc\xb8"); } // [C1, C2]
11342test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d.<\xcc\xb8", false); } // [C1, C2]
11343test { try toAsciiPass("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d.\xe2\x89\xae", "xn--skjy82u.xn--gdh", true); }
11344test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d.\xe2\x89\xae"); } // [C1, C2]
11345test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d.\xe2\x89\xae", false); } // [C1, C2]
11346test { try toUnicodePass("xn--skjy82u.xn--gdh", "\xe2\xb4\x81\xe7\x95\x9d.\xe2\x89\xae"); }
11347test { try toAsciiPass("xn--skjy82u.xn--gdh", "xn--skjy82u.xn--gdh", false); }
11348test { try toAsciiPass("xn--skjy82u.xn--gdh", "xn--skjy82u.xn--gdh", true); }
11349test { try toUnicodePass("\xe2\xb4\x81\xe7\x95\x9d.\xe2\x89\xae", "\xe2\xb4\x81\xe7\x95\x9d.\xe2\x89\xae"); }
11350test { try toAsciiPass("\xe2\xb4\x81\xe7\x95\x9d.\xe2\x89\xae", "xn--skjy82u.xn--gdh", false); }
11351test { try toAsciiPass("\xe2\xb4\x81\xe7\x95\x9d.\xe2\x89\xae", "xn--skjy82u.xn--gdh", true); }
11352test { try toUnicodePass("\xe2\xb4\x81\xe7\x95\x9d.<\xcc\xb8", "\xe2\xb4\x81\xe7\x95\x9d.\xe2\x89\xae"); }
11353test { try toAsciiPass("\xe2\xb4\x81\xe7\x95\x9d.<\xcc\xb8", "xn--skjy82u.xn--gdh", false); }
11354test { try toAsciiPass("\xe2\xb4\x81\xe7\x95\x9d.<\xcc\xb8", "xn--skjy82u.xn--gdh", true); }
11355test { try toUnicodePass("\xe1\x82\xa1\xe7\x95\x9d.<\xcc\xb8", "\xe2\xb4\x81\xe7\x95\x9d.\xe2\x89\xae"); }
11356test { try toAsciiPass("\xe1\x82\xa1\xe7\x95\x9d.<\xcc\xb8", "xn--skjy82u.xn--gdh", false); }
11357test { try toAsciiPass("\xe1\x82\xa1\xe7\x95\x9d.<\xcc\xb8", "xn--skjy82u.xn--gdh", true); }
11358test { try toUnicodePass("\xe1\x82\xa1\xe7\x95\x9d.\xe2\x89\xae", "\xe2\xb4\x81\xe7\x95\x9d.\xe2\x89\xae"); }
11359test { try toAsciiPass("\xe1\x82\xa1\xe7\x95\x9d.\xe2\x89\xae", "xn--skjy82u.xn--gdh", false); }
11360test { try toAsciiPass("\xe1\x82\xa1\xe7\x95\x9d.\xe2\x89\xae", "xn--skjy82u.xn--gdh", true); }
11361test { try toUnicodeFail("xn--0ugc160hb36e.xn--gdh"); } // [C1, C2]
11362test { try toAsciiFail("xn--0ugc160hb36e.xn--gdh", false); } // [C1, C2]
11363test { try toAsciiFail("xn--0ugc160hb36e.xn--gdh", true); } // [C1, C2]
11364test { try toAsciiPass("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e<\xcc\xb8", "xn--skjy82u.xn--gdh", true); }
11365test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e<\xcc\xb8"); } // [C1, C2]
11366test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e<\xcc\xb8", false); } // [C1, C2]
11367test { try toAsciiPass("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e\xe2\x89\xae", "xn--skjy82u.xn--gdh", true); }
11368test { try toUnicodeFail("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e\xe2\x89\xae"); } // [C1, C2]
11369test { try toAsciiFail("\xe2\x80\x8c\xe2\xb4\x81\xe7\x95\x9d\xe2\x80\x8d\xef\xbc\x8e\xe2\x89\xae", false); } // [C1, C2]
11370test { try toUnicodeFail("xn--8md0962c.xn--gdh"); } // [V7]
11371test { try toAsciiFail("xn--8md0962c.xn--gdh", false); } // [V7]
11372test { try toAsciiFail("xn--8md0962c.xn--gdh", true); } // [V7]
11373test { try toUnicodeFail("xn--8md700fea3748f.xn--gdh"); } // [C1, C2, V7]
11374test { try toAsciiFail("xn--8md700fea3748f.xn--gdh", false); } // [C1, C2, V7]
11375test { try toAsciiFail("xn--8md700fea3748f.xn--gdh", true); } // [C1, C2, V7]
11376test { try toUnicodeFail("\xe6\xad\xb7\xef\xbd\xa1\xf0\x90\xb9\xbb\xe2\x89\xaf\xf3\xb3\x9b\xbd\xe2\x80\x8d"); } // [B1, C2, V7]
11377test { try toAsciiFail("\xe6\xad\xb7\xef\xbd\xa1\xf0\x90\xb9\xbb\xe2\x89\xaf\xf3\xb3\x9b\xbd\xe2\x80\x8d", false); } // [B1, C2, V7]
11378test { try toAsciiFail("\xe6\xad\xb7\xef\xbd\xa1\xf0\x90\xb9\xbb\xe2\x89\xaf\xf3\xb3\x9b\xbd\xe2\x80\x8d", true); } // [B1, V7]
11379test { try toUnicodeFail("\xe6\xad\xb7\xef\xbd\xa1\xf0\x90\xb9\xbb>\xcc\xb8\xf3\xb3\x9b\xbd\xe2\x80\x8d"); } // [B1, C2, V7]
11380test { try toAsciiFail("\xe6\xad\xb7\xef\xbd\xa1\xf0\x90\xb9\xbb>\xcc\xb8\xf3\xb3\x9b\xbd\xe2\x80\x8d", false); } // [B1, C2, V7]
11381test { try toAsciiFail("\xe6\xad\xb7\xef\xbd\xa1\xf0\x90\xb9\xbb>\xcc\xb8\xf3\xb3\x9b\xbd\xe2\x80\x8d", true); } // [B1, V7]
11382test { try toUnicodeFail("\xe6\xad\xb7\xe3\x80\x82\xf0\x90\xb9\xbb\xe2\x89\xaf\xf3\xb3\x9b\xbd\xe2\x80\x8d"); } // [B1, C2, V7]
11383test { try toAsciiFail("\xe6\xad\xb7\xe3\x80\x82\xf0\x90\xb9\xbb\xe2\x89\xaf\xf3\xb3\x9b\xbd\xe2\x80\x8d", false); } // [B1, C2, V7]
11384test { try toAsciiFail("\xe6\xad\xb7\xe3\x80\x82\xf0\x90\xb9\xbb\xe2\x89\xaf\xf3\xb3\x9b\xbd\xe2\x80\x8d", true); } // [B1, V7]
11385test { try toUnicodeFail("\xe6\xad\xb7\xe3\x80\x82\xf0\x90\xb9\xbb>\xcc\xb8\xf3\xb3\x9b\xbd\xe2\x80\x8d"); } // [B1, C2, V7]
11386test { try toAsciiFail("\xe6\xad\xb7\xe3\x80\x82\xf0\x90\xb9\xbb>\xcc\xb8\xf3\xb3\x9b\xbd\xe2\x80\x8d", false); } // [B1, C2, V7]
11387test { try toAsciiFail("\xe6\xad\xb7\xe3\x80\x82\xf0\x90\xb9\xbb>\xcc\xb8\xf3\xb3\x9b\xbd\xe2\x80\x8d", true); } // [B1, V7]
11388test { try toUnicodeFail("xn--nmw.xn--hdh7804gdms2h"); } // [B1, V7]
11389test { try toAsciiFail("xn--nmw.xn--hdh7804gdms2h", false); } // [B1, V7]
11390test { try toAsciiFail("xn--nmw.xn--hdh7804gdms2h", true); } // [B1, V7]
11391test { try toUnicodeFail("xn--nmw.xn--1ugx6gs128a1134j"); } // [B1, C2, V7]
11392test { try toAsciiFail("xn--nmw.xn--1ugx6gs128a1134j", false); } // [B1, C2, V7]
11393test { try toAsciiFail("xn--nmw.xn--1ugx6gs128a1134j", true); } // [B1, C2, V7]
11394test { try toUnicodeFail("\xe0\xbb\x8b\xe2\x80\x8d\xef\xbc\x8e\xe9\x8e\x81\xf3\xa0\xb0\x91"); } // [C2, V6, V7]
11395test { try toAsciiFail("\xe0\xbb\x8b\xe2\x80\x8d\xef\xbc\x8e\xe9\x8e\x81\xf3\xa0\xb0\x91", false); } // [C2, V6, V7]
11396test { try toAsciiFail("\xe0\xbb\x8b\xe2\x80\x8d\xef\xbc\x8e\xe9\x8e\x81\xf3\xa0\xb0\x91", true); } // [V6, V7]
11397test { try toUnicodeFail("\xe0\xbb\x8b\xe2\x80\x8d.\xe9\x8e\x81\xf3\xa0\xb0\x91"); } // [C2, V6, V7]
11398test { try toAsciiFail("\xe0\xbb\x8b\xe2\x80\x8d.\xe9\x8e\x81\xf3\xa0\xb0\x91", false); } // [C2, V6, V7]
11399test { try toAsciiFail("\xe0\xbb\x8b\xe2\x80\x8d.\xe9\x8e\x81\xf3\xa0\xb0\x91", true); } // [V6, V7]
11400test { try toUnicodeFail("xn--t8c.xn--iz4a43209d"); } // [V6, V7]
11401test { try toAsciiFail("xn--t8c.xn--iz4a43209d", false); } // [V6, V7]
11402test { try toAsciiFail("xn--t8c.xn--iz4a43209d", true); } // [V6, V7]
11403test { try toUnicodeFail("xn--t8c059f.xn--iz4a43209d"); } // [C2, V6, V7]
11404test { try toAsciiFail("xn--t8c059f.xn--iz4a43209d", false); } // [C2, V6, V7]
11405test { try toAsciiFail("xn--t8c059f.xn--iz4a43209d", true); } // [C2, V6, V7]
11406test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xef\xbd\xa1\xf0\xb1\x98\x85\xf0\x90\xb6\x83"); } // [B1, B5, B6, C1, C2]
11407test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xef\xbd\xa1\xf0\xb1\x98\x85\xf0\x90\xb6\x83", false); } // [B1, B5, B6, C1, C2]
11408test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xef\xbd\xa1\xf0\xb1\x98\x85\xf0\x90\xb6\x83", true); } // [B5, B6]
11409test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xe3\x80\x82\xf0\xb1\x98\x85\xf0\x90\xb6\x83"); } // [B1, B5, B6, C1, C2]
11410test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xe3\x80\x82\xf0\xb1\x98\x85\xf0\x90\xb6\x83", false); } // [B1, B5, B6, C1, C2]
11411test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xe3\x80\x82\xf0\xb1\x98\x85\xf0\x90\xb6\x83", true); } // [B5, B6]
11412test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\xa2\xe3\x80\x82\xf0\xb1\x98\x85\xf0\x90\xb6\x83"); } // [B1, B5, B6, C1, C2]
11413test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\xa2\xe3\x80\x82\xf0\xb1\x98\x85\xf0\x90\xb6\x83", false); } // [B1, B5, B6, C1, C2]
11414test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\xa2\xe3\x80\x82\xf0\xb1\x98\x85\xf0\x90\xb6\x83", true); } // [B5, B6]
11415test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xe3\x80\x82\xf0\xb1\x98\x85\xf0\x90\xb5\xa3"); } // [B1, B5, B6, C1, C2]
11416test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xe3\x80\x82\xf0\xb1\x98\x85\xf0\x90\xb5\xa3", false); } // [B1, B5, B6, C1, C2]
11417test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xe3\x80\x82\xf0\xb1\x98\x85\xf0\x90\xb5\xa3", true); } // [B5, B6]
11418test { try toUnicodeFail("xn--9d6h.xn--wh0dj799f"); } // [B5, B6]
11419test { try toAsciiFail("xn--9d6h.xn--wh0dj799f", false); } // [B5, B6]
11420test { try toAsciiFail("xn--9d6h.xn--wh0dj799f", true); } // [B5, B6]
11421test { try toUnicodeFail("xn--0ugb45126a.xn--wh0dj799f"); } // [B1, B5, B6, C1, C2]
11422test { try toAsciiFail("xn--0ugb45126a.xn--wh0dj799f", false); } // [B1, B5, B6, C1, C2]
11423test { try toAsciiFail("xn--0ugb45126a.xn--wh0dj799f", true); } // [B1, B5, B6, C1, C2]
11424test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\xa2\xef\xbd\xa1\xf0\xb1\x98\x85\xf0\x90\xb6\x83"); } // [B1, B5, B6, C1, C2]
11425test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\xa2\xef\xbd\xa1\xf0\xb1\x98\x85\xf0\x90\xb6\x83", false); } // [B1, B5, B6, C1, C2]
11426test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\xa2\xef\xbd\xa1\xf0\xb1\x98\x85\xf0\x90\xb6\x83", true); } // [B5, B6]
11427test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xef\xbd\xa1\xf0\xb1\x98\x85\xf0\x90\xb5\xa3"); } // [B1, B5, B6, C1, C2]
11428test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xef\xbd\xa1\xf0\xb1\x98\x85\xf0\x90\xb5\xa3", false); } // [B1, B5, B6, C1, C2]
11429test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf0\x9e\xa4\x80\xef\xbd\xa1\xf0\xb1\x98\x85\xf0\x90\xb5\xa3", true); } // [B5, B6]
11430test { try toUnicodeFail("\xd8\xa8\xe2\x89\xa0\xf0\x9d\x9f\xab-.\xcf\x82\xe2\x92\x8d\xf0\x90\xb9\xa6\xe2\x89\xa0"); } // [B3, B5, B6, V3, V7]
11431test { try toAsciiFail("\xd8\xa8\xe2\x89\xa0\xf0\x9d\x9f\xab-.\xcf\x82\xe2\x92\x8d\xf0\x90\xb9\xa6\xe2\x89\xa0", false); } // [B3, B5, B6, V3, V7]
11432test { try toAsciiFail("\xd8\xa8\xe2\x89\xa0\xf0\x9d\x9f\xab-.\xcf\x82\xe2\x92\x8d\xf0\x90\xb9\xa6\xe2\x89\xa0", true); } // [B3, B5, B6, V3, V7]
11433test { try toUnicodeFail("\xd8\xa8=\xcc\xb8\xf0\x9d\x9f\xab-.\xcf\x82\xe2\x92\x8d\xf0\x90\xb9\xa6=\xcc\xb8"); } // [B3, B5, B6, V3, V7]
11434test { try toAsciiFail("\xd8\xa8=\xcc\xb8\xf0\x9d\x9f\xab-.\xcf\x82\xe2\x92\x8d\xf0\x90\xb9\xa6=\xcc\xb8", false); } // [B3, B5, B6, V3, V7]
11435test { try toAsciiFail("\xd8\xa8=\xcc\xb8\xf0\x9d\x9f\xab-.\xcf\x82\xe2\x92\x8d\xf0\x90\xb9\xa6=\xcc\xb8", true); } // [B3, B5, B6, V3, V7]
11436test { try toUnicodeFail("\xd8\xa8\xe2\x89\xa09-.\xcf\x826.\xf0\x90\xb9\xa6\xe2\x89\xa0"); } // [B1, B3, V3]
11437test { try toAsciiFail("\xd8\xa8\xe2\x89\xa09-.\xcf\x826.\xf0\x90\xb9\xa6\xe2\x89\xa0", false); } // [B1, B3, V3]
11438test { try toAsciiFail("\xd8\xa8\xe2\x89\xa09-.\xcf\x826.\xf0\x90\xb9\xa6\xe2\x89\xa0", true); } // [B1, B3, V3]
11439test { try toUnicodeFail("\xd8\xa8=\xcc\xb89-.\xcf\x826.\xf0\x90\xb9\xa6=\xcc\xb8"); } // [B1, B3, V3]
11440test { try toAsciiFail("\xd8\xa8=\xcc\xb89-.\xcf\x826.\xf0\x90\xb9\xa6=\xcc\xb8", false); } // [B1, B3, V3]
11441test { try toAsciiFail("\xd8\xa8=\xcc\xb89-.\xcf\x826.\xf0\x90\xb9\xa6=\xcc\xb8", true); } // [B1, B3, V3]
11442test { try toUnicodeFail("\xd8\xa8=\xcc\xb89-.\xce\xa36.\xf0\x90\xb9\xa6=\xcc\xb8"); } // [B1, B3, V3]
11443test { try toAsciiFail("\xd8\xa8=\xcc\xb89-.\xce\xa36.\xf0\x90\xb9\xa6=\xcc\xb8", false); } // [B1, B3, V3]
11444test { try toAsciiFail("\xd8\xa8=\xcc\xb89-.\xce\xa36.\xf0\x90\xb9\xa6=\xcc\xb8", true); } // [B1, B3, V3]
11445test { try toUnicodeFail("\xd8\xa8\xe2\x89\xa09-.\xce\xa36.\xf0\x90\xb9\xa6\xe2\x89\xa0"); } // [B1, B3, V3]
11446test { try toAsciiFail("\xd8\xa8\xe2\x89\xa09-.\xce\xa36.\xf0\x90\xb9\xa6\xe2\x89\xa0", false); } // [B1, B3, V3]
11447test { try toAsciiFail("\xd8\xa8\xe2\x89\xa09-.\xce\xa36.\xf0\x90\xb9\xa6\xe2\x89\xa0", true); } // [B1, B3, V3]
11448test { try toUnicodeFail("\xd8\xa8\xe2\x89\xa09-.\xcf\x836.\xf0\x90\xb9\xa6\xe2\x89\xa0"); } // [B1, B3, V3]
11449test { try toAsciiFail("\xd8\xa8\xe2\x89\xa09-.\xcf\x836.\xf0\x90\xb9\xa6\xe2\x89\xa0", false); } // [B1, B3, V3]
11450test { try toAsciiFail("\xd8\xa8\xe2\x89\xa09-.\xcf\x836.\xf0\x90\xb9\xa6\xe2\x89\xa0", true); } // [B1, B3, V3]
11451test { try toUnicodeFail("\xd8\xa8=\xcc\xb89-.\xcf\x836.\xf0\x90\xb9\xa6=\xcc\xb8"); } // [B1, B3, V3]
11452test { try toAsciiFail("\xd8\xa8=\xcc\xb89-.\xcf\x836.\xf0\x90\xb9\xa6=\xcc\xb8", false); } // [B1, B3, V3]
11453test { try toAsciiFail("\xd8\xa8=\xcc\xb89-.\xcf\x836.\xf0\x90\xb9\xa6=\xcc\xb8", true); } // [B1, B3, V3]
11454test { try toUnicodeFail("xn--9--etd0100a.xn--6-zmb.xn--1ch8704g"); } // [B1, B3, V3]
11455test { try toAsciiFail("xn--9--etd0100a.xn--6-zmb.xn--1ch8704g", false); } // [B1, B3, V3]
11456test { try toAsciiFail("xn--9--etd0100a.xn--6-zmb.xn--1ch8704g", true); } // [B1, B3, V3]
11457test { try toUnicodeFail("xn--9--etd0100a.xn--6-xmb.xn--1ch8704g"); } // [B1, B3, V3]
11458test { try toAsciiFail("xn--9--etd0100a.xn--6-xmb.xn--1ch8704g", false); } // [B1, B3, V3]
11459test { try toAsciiFail("xn--9--etd0100a.xn--6-xmb.xn--1ch8704g", true); } // [B1, B3, V3]
11460test { try toUnicodeFail("\xd8\xa8=\xcc\xb8\xf0\x9d\x9f\xab-.\xce\xa3\xe2\x92\x8d\xf0\x90\xb9\xa6=\xcc\xb8"); } // [B3, B5, B6, V3, V7]
11461test { try toAsciiFail("\xd8\xa8=\xcc\xb8\xf0\x9d\x9f\xab-.\xce\xa3\xe2\x92\x8d\xf0\x90\xb9\xa6=\xcc\xb8", false); } // [B3, B5, B6, V3, V7]
11462test { try toAsciiFail("\xd8\xa8=\xcc\xb8\xf0\x9d\x9f\xab-.\xce\xa3\xe2\x92\x8d\xf0\x90\xb9\xa6=\xcc\xb8", true); } // [B3, B5, B6, V3, V7]
11463test { try toUnicodeFail("\xd8\xa8\xe2\x89\xa0\xf0\x9d\x9f\xab-.\xce\xa3\xe2\x92\x8d\xf0\x90\xb9\xa6\xe2\x89\xa0"); } // [B3, B5, B6, V3, V7]
11464test { try toAsciiFail("\xd8\xa8\xe2\x89\xa0\xf0\x9d\x9f\xab-.\xce\xa3\xe2\x92\x8d\xf0\x90\xb9\xa6\xe2\x89\xa0", false); } // [B3, B5, B6, V3, V7]
11465test { try toAsciiFail("\xd8\xa8\xe2\x89\xa0\xf0\x9d\x9f\xab-.\xce\xa3\xe2\x92\x8d\xf0\x90\xb9\xa6\xe2\x89\xa0", true); } // [B3, B5, B6, V3, V7]
11466test { try toUnicodeFail("\xd8\xa8\xe2\x89\xa0\xf0\x9d\x9f\xab-.\xcf\x83\xe2\x92\x8d\xf0\x90\xb9\xa6\xe2\x89\xa0"); } // [B3, B5, B6, V3, V7]
11467test { try toAsciiFail("\xd8\xa8\xe2\x89\xa0\xf0\x9d\x9f\xab-.\xcf\x83\xe2\x92\x8d\xf0\x90\xb9\xa6\xe2\x89\xa0", false); } // [B3, B5, B6, V3, V7]
11468test { try toAsciiFail("\xd8\xa8\xe2\x89\xa0\xf0\x9d\x9f\xab-.\xcf\x83\xe2\x92\x8d\xf0\x90\xb9\xa6\xe2\x89\xa0", true); } // [B3, B5, B6, V3, V7]
11469test { try toUnicodeFail("\xd8\xa8=\xcc\xb8\xf0\x9d\x9f\xab-.\xcf\x83\xe2\x92\x8d\xf0\x90\xb9\xa6=\xcc\xb8"); } // [B3, B5, B6, V3, V7]
11470test { try toAsciiFail("\xd8\xa8=\xcc\xb8\xf0\x9d\x9f\xab-.\xcf\x83\xe2\x92\x8d\xf0\x90\xb9\xa6=\xcc\xb8", false); } // [B3, B5, B6, V3, V7]
11471test { try toAsciiFail("\xd8\xa8=\xcc\xb8\xf0\x9d\x9f\xab-.\xcf\x83\xe2\x92\x8d\xf0\x90\xb9\xa6=\xcc\xb8", true); } // [B3, B5, B6, V3, V7]
11472test { try toUnicodeFail("xn--9--etd0100a.xn--4xa887mzpbzz04b"); } // [B3, B5, B6, V3, V7]
11473test { try toAsciiFail("xn--9--etd0100a.xn--4xa887mzpbzz04b", false); } // [B3, B5, B6, V3, V7]
11474test { try toAsciiFail("xn--9--etd0100a.xn--4xa887mzpbzz04b", true); } // [B3, B5, B6, V3, V7]
11475test { try toUnicodeFail("xn--9--etd0100a.xn--3xa097mzpbzz04b"); } // [B3, B5, B6, V3, V7]
11476test { try toAsciiFail("xn--9--etd0100a.xn--3xa097mzpbzz04b", false); } // [B3, B5, B6, V3, V7]
11477test { try toAsciiFail("xn--9--etd0100a.xn--3xa097mzpbzz04b", true); } // [B3, B5, B6, V3, V7]
11478test { try toUnicodeFail("\xf2\x89\x9b\xb4.-\xe1\xa1\xa2\xd6\x92\xf0\x9d\xa8\xa0"); } // [V3, V7]
11479test { try toAsciiFail("\xf2\x89\x9b\xb4.-\xe1\xa1\xa2\xd6\x92\xf0\x9d\xa8\xa0", false); } // [V3, V7]
11480test { try toAsciiFail("\xf2\x89\x9b\xb4.-\xe1\xa1\xa2\xd6\x92\xf0\x9d\xa8\xa0", true); } // [V3, V7]
11481test { try toUnicodeFail("xn--ep37b.xn----hec165lho83b"); } // [V3, V7]
11482test { try toAsciiFail("xn--ep37b.xn----hec165lho83b", false); } // [V3, V7]
11483test { try toAsciiFail("xn--ep37b.xn----hec165lho83b", true); } // [V3, V7]
11484test { try toUnicodeFail("\xdb\x8b\xe2\x92\x88\xc3\x9f\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-"); } // [B2, B3, B6, V3, V7]
11485test { try toAsciiFail("\xdb\x8b\xe2\x92\x88\xc3\x9f\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", false); } // [B2, B3, B6, V3, V7]
11486test { try toAsciiFail("\xdb\x8b\xe2\x92\x88\xc3\x9f\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", true); } // [B2, B3, B6, V3, V7]
11487test { try toUnicodeFail("\xdb\x8b1.\xc3\x9f\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-"); } // [B6, V3, V7]
11488test { try toAsciiFail("\xdb\x8b1.\xc3\x9f\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", false); } // [B6, V3, V7]
11489test { try toAsciiFail("\xdb\x8b1.\xc3\x9f\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", true); } // [B6, V3, V7]
11490test { try toUnicodeFail("\xdb\x8b1.SS\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-"); } // [B6, V3, V7]
11491test { try toAsciiFail("\xdb\x8b1.SS\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", false); } // [B6, V3, V7]
11492test { try toAsciiFail("\xdb\x8b1.SS\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", true); } // [B6, V3, V7]
11493test { try toUnicodeFail("\xdb\x8b1.ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-"); } // [B6, V3, V7]
11494test { try toAsciiFail("\xdb\x8b1.ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", false); } // [B6, V3, V7]
11495test { try toAsciiFail("\xdb\x8b1.ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", true); } // [B6, V3, V7]
11496test { try toUnicodeFail("\xdb\x8b1.Ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-"); } // [B6, V3, V7]
11497test { try toAsciiFail("\xdb\x8b1.Ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", false); } // [B6, V3, V7]
11498test { try toAsciiFail("\xdb\x8b1.Ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", true); } // [B6, V3, V7]
11499test { try toUnicodeFail("xn--1-cwc.ss.xn----q001f"); } // [B6, V3, V7]
11500test { try toAsciiFail("xn--1-cwc.ss.xn----q001f", false); } // [B6, V3, V7]
11501test { try toAsciiFail("xn--1-cwc.ss.xn----q001f", true); } // [B6, V3, V7]
11502test { try toUnicodeFail("xn--1-cwc.xn--zca.xn----q001f"); } // [B6, V3, V7]
11503test { try toAsciiFail("xn--1-cwc.xn--zca.xn----q001f", false); } // [B6, V3, V7]
11504test { try toAsciiFail("xn--1-cwc.xn--zca.xn----q001f", true); } // [B6, V3, V7]
11505test { try toUnicodeFail("\xdb\x8b\xe2\x92\x88SS\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-"); } // [B2, B3, B6, V3, V7]
11506test { try toAsciiFail("\xdb\x8b\xe2\x92\x88SS\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", false); } // [B2, B3, B6, V3, V7]
11507test { try toAsciiFail("\xdb\x8b\xe2\x92\x88SS\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", true); } // [B2, B3, B6, V3, V7]
11508test { try toUnicodeFail("\xdb\x8b\xe2\x92\x88ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-"); } // [B2, B3, B6, V3, V7]
11509test { try toAsciiFail("\xdb\x8b\xe2\x92\x88ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", false); } // [B2, B3, B6, V3, V7]
11510test { try toAsciiFail("\xdb\x8b\xe2\x92\x88ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", true); } // [B2, B3, B6, V3, V7]
11511test { try toUnicodeFail("\xdb\x8b\xe2\x92\x88Ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-"); } // [B2, B3, B6, V3, V7]
11512test { try toAsciiFail("\xdb\x8b\xe2\x92\x88Ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", false); } // [B2, B3, B6, V3, V7]
11513test { try toAsciiFail("\xdb\x8b\xe2\x92\x88Ss\xf3\xa0\x84\xbd\xe3\x80\x82\xf1\xb7\x8b\x8d-", true); } // [B2, B3, B6, V3, V7]
11514test { try toUnicodeFail("xn--ss-d7d6651a.xn----q001f"); } // [B2, B3, B6, V3, V7]
11515test { try toAsciiFail("xn--ss-d7d6651a.xn----q001f", false); } // [B2, B3, B6, V3, V7]
11516test { try toAsciiFail("xn--ss-d7d6651a.xn----q001f", true); } // [B2, B3, B6, V3, V7]
11517test { try toUnicodeFail("xn--zca541ato3a.xn----q001f"); } // [B2, B3, B6, V3, V7]
11518test { try toAsciiFail("xn--zca541ato3a.xn----q001f", false); } // [B2, B3, B6, V3, V7]
11519test { try toAsciiFail("xn--zca541ato3a.xn----q001f", true); } // [B2, B3, B6, V3, V7]
11520test { try toUnicodeFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xcf\x82\xe1\x82\xa6\xe2\x80\x8d"); } // [C2, V6, V7]
11521test { try toAsciiFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xcf\x82\xe1\x82\xa6\xe2\x80\x8d", false); } // [C2, V6, V7]
11522test { try toAsciiFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xcf\x82\xe1\x82\xa6\xe2\x80\x8d", true); } // [V6, V7]
11523test { try toUnicodeFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xcf\x82\xe1\x82\xa6\xe2\x80\x8d"); } // [C2, V6, V7]
11524test { try toAsciiFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xcf\x82\xe1\x82\xa6\xe2\x80\x8d", false); } // [C2, V6, V7]
11525test { try toAsciiFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xcf\x82\xe1\x82\xa6\xe2\x80\x8d", true); } // [V6, V7]
11526test { try toUnicodeFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xcf\x82\xe2\xb4\x86\xe2\x80\x8d"); } // [C2, V6, V7]
11527test { try toAsciiFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xcf\x82\xe2\xb4\x86\xe2\x80\x8d", false); } // [C2, V6, V7]
11528test { try toAsciiFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xcf\x82\xe2\xb4\x86\xe2\x80\x8d", true); } // [V6, V7]
11529test { try toUnicodeFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xce\xa3\xe1\x82\xa6\xe2\x80\x8d"); } // [C2, V6, V7]
11530test { try toAsciiFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xce\xa3\xe1\x82\xa6\xe2\x80\x8d", false); } // [C2, V6, V7]
11531test { try toAsciiFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xce\xa3\xe1\x82\xa6\xe2\x80\x8d", true); } // [V6, V7]
11532test { try toUnicodeFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xcf\x83\xe2\xb4\x86\xe2\x80\x8d"); } // [C2, V6, V7]
11533test { try toAsciiFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xcf\x83\xe2\xb4\x86\xe2\x80\x8d", false); } // [C2, V6, V7]
11534test { try toAsciiFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xcf\x83\xe2\xb4\x86\xe2\x80\x8d", true); } // [V6, V7]
11535test { try toUnicodeFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xce\xa3\xe2\xb4\x86\xe2\x80\x8d"); } // [C2, V6, V7]
11536test { try toAsciiFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xce\xa3\xe2\xb4\x86\xe2\x80\x8d", false); } // [C2, V6, V7]
11537test { try toAsciiFail("\xf0\xbf\x80\xab.\xe1\xae\xaa\xce\xa3\xe2\xb4\x86\xe2\x80\x8d", true); } // [V6, V7]
11538test { try toUnicodeFail("xn--nu4s.xn--4xa153j7im"); } // [V6, V7]
11539test { try toAsciiFail("xn--nu4s.xn--4xa153j7im", false); } // [V6, V7]
11540test { try toAsciiFail("xn--nu4s.xn--4xa153j7im", true); } // [V6, V7]
11541test { try toUnicodeFail("xn--nu4s.xn--4xa153jk8cs1q"); } // [C2, V6, V7]
11542test { try toAsciiFail("xn--nu4s.xn--4xa153jk8cs1q", false); } // [C2, V6, V7]
11543test { try toAsciiFail("xn--nu4s.xn--4xa153jk8cs1q", true); } // [C2, V6, V7]
11544test { try toUnicodeFail("xn--nu4s.xn--3xa353jk8cs1q"); } // [C2, V6, V7]
11545test { try toAsciiFail("xn--nu4s.xn--3xa353jk8cs1q", false); } // [C2, V6, V7]
11546test { try toAsciiFail("xn--nu4s.xn--3xa353jk8cs1q", true); } // [C2, V6, V7]
11547test { try toUnicodeFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xcf\x82\xe2\xb4\x86\xe2\x80\x8d"); } // [C2, V6, V7]
11548test { try toAsciiFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xcf\x82\xe2\xb4\x86\xe2\x80\x8d", false); } // [C2, V6, V7]
11549test { try toAsciiFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xcf\x82\xe2\xb4\x86\xe2\x80\x8d", true); } // [V6, V7]
11550test { try toUnicodeFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xce\xa3\xe1\x82\xa6\xe2\x80\x8d"); } // [C2, V6, V7]
11551test { try toAsciiFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xce\xa3\xe1\x82\xa6\xe2\x80\x8d", false); } // [C2, V6, V7]
11552test { try toAsciiFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xce\xa3\xe1\x82\xa6\xe2\x80\x8d", true); } // [V6, V7]
11553test { try toUnicodeFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xcf\x83\xe2\xb4\x86\xe2\x80\x8d"); } // [C2, V6, V7]
11554test { try toAsciiFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xcf\x83\xe2\xb4\x86\xe2\x80\x8d", false); } // [C2, V6, V7]
11555test { try toAsciiFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xcf\x83\xe2\xb4\x86\xe2\x80\x8d", true); } // [V6, V7]
11556test { try toUnicodeFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xce\xa3\xe2\xb4\x86\xe2\x80\x8d"); } // [C2, V6, V7]
11557test { try toAsciiFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xce\xa3\xe2\xb4\x86\xe2\x80\x8d", false); } // [C2, V6, V7]
11558test { try toAsciiFail("\xf0\xbf\x80\xab\xef\xbc\x8e\xe1\xae\xaa\xce\xa3\xe2\xb4\x86\xe2\x80\x8d", true); } // [V6, V7]
11559test { try toUnicodeFail("xn--nu4s.xn--4xa217dxri"); } // [V6, V7]
11560test { try toAsciiFail("xn--nu4s.xn--4xa217dxri", false); } // [V6, V7]
11561test { try toAsciiFail("xn--nu4s.xn--4xa217dxri", true); } // [V6, V7]
11562test { try toUnicodeFail("xn--nu4s.xn--4xa217dxriome"); } // [C2, V6, V7]
11563test { try toAsciiFail("xn--nu4s.xn--4xa217dxriome", false); } // [C2, V6, V7]
11564test { try toAsciiFail("xn--nu4s.xn--4xa217dxriome", true); } // [C2, V6, V7]
11565test { try toUnicodeFail("xn--nu4s.xn--3xa417dxriome"); } // [C2, V6, V7]
11566test { try toAsciiFail("xn--nu4s.xn--3xa417dxriome", false); } // [C2, V6, V7]
11567test { try toAsciiFail("xn--nu4s.xn--3xa417dxriome", true); } // [C2, V6, V7]
11568test { try toUnicodeFail("\xe2\xbe\x86\xe0\xa3\xa2.\xf0\x9d\x88\xb4"); } // [B1, B5, B6, V7]
11569test { try toAsciiFail("\xe2\xbe\x86\xe0\xa3\xa2.\xf0\x9d\x88\xb4", false); } // [B1, B5, B6, V7]
11570test { try toAsciiFail("\xe2\xbe\x86\xe0\xa3\xa2.\xf0\x9d\x88\xb4", true); } // [B1, B5, B6, V7]
11571test { try toUnicodeFail("\xe8\x88\x8c\xe0\xa3\xa2.\xf0\x9d\x88\xb4"); } // [B1, B5, B6, V7]
11572test { try toAsciiFail("\xe8\x88\x8c\xe0\xa3\xa2.\xf0\x9d\x88\xb4", false); } // [B1, B5, B6, V7]
11573test { try toAsciiFail("\xe8\x88\x8c\xe0\xa3\xa2.\xf0\x9d\x88\xb4", true); } // [B1, B5, B6, V7]
11574test { try toUnicodeFail("xn--l0b9413d.xn--kl1h"); } // [B1, B5, B6, V7]
11575test { try toAsciiFail("xn--l0b9413d.xn--kl1h", false); } // [B1, B5, B6, V7]
11576test { try toAsciiFail("xn--l0b9413d.xn--kl1h", true); } // [B1, B5, B6, V7]
11577test { try toUnicodeFail("\xe2\xab\x9e\xf0\x90\xb9\xb6\xf0\x96\xab\xb4\xe3\x80\x82\xe2\xad\xa0\xe2\x92\x88"); } // [B1, V7]
11578test { try toAsciiFail("\xe2\xab\x9e\xf0\x90\xb9\xb6\xf0\x96\xab\xb4\xe3\x80\x82\xe2\xad\xa0\xe2\x92\x88", false); } // [B1, V7]
11579test { try toAsciiFail("\xe2\xab\x9e\xf0\x90\xb9\xb6\xf0\x96\xab\xb4\xe3\x80\x82\xe2\xad\xa0\xe2\x92\x88", true); } // [B1, V7]
11580test { try toUnicodeFail("\xe2\xab\x9e\xf0\x90\xb9\xb6\xf0\x96\xab\xb4\xe3\x80\x82\xe2\xad\xa01."); } // [B1]
11581test { try toAsciiFail("\xe2\xab\x9e\xf0\x90\xb9\xb6\xf0\x96\xab\xb4\xe3\x80\x82\xe2\xad\xa01.", false); } // [B1, A4_2]
11582test { try toAsciiFail("\xe2\xab\x9e\xf0\x90\xb9\xb6\xf0\x96\xab\xb4\xe3\x80\x82\xe2\xad\xa01.", true); } // [B1, A4_2]
11583test { try toUnicodeFail("xn--53ix188et88b.xn--1-h6r."); } // [B1]
11584test { try toAsciiFail("xn--53ix188et88b.xn--1-h6r.", false); } // [B1, A4_2]
11585test { try toAsciiFail("xn--53ix188et88b.xn--1-h6r.", true); } // [B1, A4_2]
11586test { try toUnicodeFail("xn--53ix188et88b.xn--tsh52w"); } // [B1, V7]
11587test { try toAsciiFail("xn--53ix188et88b.xn--tsh52w", false); } // [B1, V7]
11588test { try toAsciiFail("xn--53ix188et88b.xn--tsh52w", true); } // [B1, V7]
11589test { try toUnicodeFail("\xe2\x92\x88\xe2\x80\x8c\xea\xab\xac\xef\xb8\x92\xef\xbc\x8e\xe0\xab\x8d"); } // [C1, V6, V7]
11590test { try toAsciiFail("\xe2\x92\x88\xe2\x80\x8c\xea\xab\xac\xef\xb8\x92\xef\xbc\x8e\xe0\xab\x8d", false); } // [C1, V6, V7]
11591test { try toAsciiFail("\xe2\x92\x88\xe2\x80\x8c\xea\xab\xac\xef\xb8\x92\xef\xbc\x8e\xe0\xab\x8d", true); } // [V6, V7]
11592test { try toUnicodeFail("1.\xe2\x80\x8c\xea\xab\xac\xe3\x80\x82.\xe0\xab\x8d"); } // [C1, V6, X4_2]
11593test { try toAsciiFail("1.\xe2\x80\x8c\xea\xab\xac\xe3\x80\x82.\xe0\xab\x8d", false); } // [C1, V6, A4_2]
11594test { try toAsciiFail("1.\xe2\x80\x8c\xea\xab\xac\xe3\x80\x82.\xe0\xab\x8d", true); } // [V6, A4_2]
11595test { try toUnicodeFail("1.xn--sv9a..xn--mfc"); } // [V6, X4_2]
11596test { try toAsciiFail("1.xn--sv9a..xn--mfc", false); } // [V6, A4_2]
11597test { try toAsciiFail("1.xn--sv9a..xn--mfc", true); } // [V6, A4_2]
11598test { try toUnicodeFail("1.xn--0ug7185c..xn--mfc"); } // [C1, V6, X4_2]
11599test { try toAsciiFail("1.xn--0ug7185c..xn--mfc", false); } // [C1, V6, A4_2]
11600test { try toAsciiFail("1.xn--0ug7185c..xn--mfc", true); } // [C1, V6, A4_2]
11601test { try toUnicodeFail("xn--tsh0720cse8b.xn--mfc"); } // [V6, V7]
11602test { try toAsciiFail("xn--tsh0720cse8b.xn--mfc", false); } // [V6, V7]
11603test { try toAsciiFail("xn--tsh0720cse8b.xn--mfc", true); } // [V6, V7]
11604test { try toUnicodeFail("xn--0ug78o720myr1c.xn--mfc"); } // [C1, V6, V7]
11605test { try toAsciiFail("xn--0ug78o720myr1c.xn--mfc", false); } // [C1, V6, V7]
11606test { try toAsciiFail("xn--0ug78o720myr1c.xn--mfc", true); } // [C1, V6, V7]
11607test { try toUnicodeFail("\xe0\xb1\x86\xe3\x80\x82\xe4\xb0\x80\xd9\xa8\xf0\x9e\xad\x85\xf3\xa0\x85\xbc"); } // [B1, B5, B6, V6, V7]
11608test { try toAsciiFail("\xe0\xb1\x86\xe3\x80\x82\xe4\xb0\x80\xd9\xa8\xf0\x9e\xad\x85\xf3\xa0\x85\xbc", false); } // [B1, B5, B6, V6, V7]
11609test { try toAsciiFail("\xe0\xb1\x86\xe3\x80\x82\xe4\xb0\x80\xd9\xa8\xf0\x9e\xad\x85\xf3\xa0\x85\xbc", true); } // [B1, B5, B6, V6, V7]
11610test { try toUnicodeFail("xn--eqc.xn--hib5476aim6t"); } // [B1, B5, B6, V6, V7]
11611test { try toAsciiFail("xn--eqc.xn--hib5476aim6t", false); } // [B1, B5, B6, V6, V7]
11612test { try toAsciiFail("xn--eqc.xn--hib5476aim6t", true); } // [B1, B5, B6, V6, V7]
11613test { try toUnicodeFail("\xc3\x9f\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc"); } // [C2, V6, V7]
11614test { try toAsciiFail("\xc3\x9f\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc", false); } // [C2, V6, V7]
11615test { try toAsciiFail("\xc3\x9f\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc", true); } // [V6, V7]
11616test { try toUnicodeFail("SS\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc"); } // [C2, V6, V7]
11617test { try toAsciiFail("SS\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc", false); } // [C2, V6, V7]
11618test { try toAsciiFail("SS\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc", true); } // [V6, V7]
11619test { try toUnicodeFail("ss\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc"); } // [C2, V6, V7]
11620test { try toAsciiFail("ss\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc", false); } // [C2, V6, V7]
11621test { try toAsciiFail("ss\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc", true); } // [V6, V7]
11622test { try toUnicodeFail("Ss\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc"); } // [C2, V6, V7]
11623test { try toAsciiFail("Ss\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc", false); } // [C2, V6, V7]
11624test { try toAsciiFail("Ss\xe2\x80\x8d.\xe1\xaf\xb2\xf1\x84\xbe\xbc", true); } // [V6, V7]
11625test { try toUnicodeFail("ss.xn--0zf22107b"); } // [V6, V7]
11626test { try toAsciiFail("ss.xn--0zf22107b", false); } // [V6, V7]
11627test { try toAsciiFail("ss.xn--0zf22107b", true); } // [V6, V7]
11628test { try toUnicodeFail("xn--ss-n1t.xn--0zf22107b"); } // [C2, V6, V7]
11629test { try toAsciiFail("xn--ss-n1t.xn--0zf22107b", false); } // [C2, V6, V7]
11630test { try toAsciiFail("xn--ss-n1t.xn--0zf22107b", true); } // [C2, V6, V7]
11631test { try toUnicodeFail("xn--zca870n.xn--0zf22107b"); } // [C2, V6, V7]
11632test { try toAsciiFail("xn--zca870n.xn--0zf22107b", false); } // [C2, V6, V7]
11633test { try toAsciiFail("xn--zca870n.xn--0zf22107b", true); } // [C2, V6, V7]
11634test { try toUnicodeFail("\xf0\x91\x93\x82\xe2\x80\x8c\xe2\x89\xae.\xe2\x89\xae"); } // [V6]
11635test { try toAsciiFail("\xf0\x91\x93\x82\xe2\x80\x8c\xe2\x89\xae.\xe2\x89\xae", false); } // [V6]
11636test { try toAsciiFail("\xf0\x91\x93\x82\xe2\x80\x8c\xe2\x89\xae.\xe2\x89\xae", true); } // [V6]
11637test { try toUnicodeFail("\xf0\x91\x93\x82\xe2\x80\x8c<\xcc\xb8.<\xcc\xb8"); } // [V6]
11638test { try toAsciiFail("\xf0\x91\x93\x82\xe2\x80\x8c<\xcc\xb8.<\xcc\xb8", false); } // [V6]
11639test { try toAsciiFail("\xf0\x91\x93\x82\xe2\x80\x8c<\xcc\xb8.<\xcc\xb8", true); } // [V6]
11640test { try toUnicodeFail("xn--gdhz656g.xn--gdh"); } // [V6]
11641test { try toAsciiFail("xn--gdhz656g.xn--gdh", false); } // [V6]
11642test { try toAsciiFail("xn--gdhz656g.xn--gdh", true); } // [V6]
11643test { try toUnicodeFail("xn--0ugy6glz29a.xn--gdh"); } // [V6]
11644test { try toAsciiFail("xn--0ugy6glz29a.xn--gdh", false); } // [V6]
11645test { try toAsciiFail("xn--0ugy6glz29a.xn--gdh", true); } // [V6]
11646test { try toUnicodePass("\xf0\x9f\x95\xbc\xef\xbc\x8e\xef\xbe\xa0", "\xf0\x9f\x95\xbc."); }
11647test { try toAsciiFail("\xf0\x9f\x95\xbc\xef\xbc\x8e\xef\xbe\xa0", false); } // [A4_2]
11648test { try toAsciiFail("\xf0\x9f\x95\xbc\xef\xbc\x8e\xef\xbe\xa0", true); } // [A4_2]
11649test { try toUnicodePass("\xf0\x9f\x95\xbc.\xe1\x85\xa0", "\xf0\x9f\x95\xbc."); }
11650test { try toAsciiFail("\xf0\x9f\x95\xbc.\xe1\x85\xa0", false); } // [A4_2]
11651test { try toAsciiFail("\xf0\x9f\x95\xbc.\xe1\x85\xa0", true); } // [A4_2]
11652test { try toUnicodePass("xn--my8h.", "\xf0\x9f\x95\xbc."); }
11653test { try toAsciiFail("xn--my8h.", false); } // [A4_2]
11654test { try toAsciiFail("xn--my8h.", true); } // [A4_2]
11655test { try toUnicodePass("\xf0\x9f\x95\xbc.", "\xf0\x9f\x95\xbc."); }
11656test { try toAsciiFail("\xf0\x9f\x95\xbc.", false); } // [A4_2]
11657test { try toAsciiFail("\xf0\x9f\x95\xbc.", true); } // [A4_2]
11658test { try toUnicodeFail("xn--my8h.xn--psd"); } // [V7]
11659test { try toAsciiFail("xn--my8h.xn--psd", false); } // [V7]
11660test { try toAsciiFail("xn--my8h.xn--psd", true); } // [V7]
11661test { try toUnicodeFail("xn--my8h.xn--cl7c"); } // [V7]
11662test { try toAsciiFail("xn--my8h.xn--cl7c", false); } // [V7]
11663test { try toAsciiFail("xn--my8h.xn--cl7c", true); } // [V7]
11664test { try toUnicodeFail("\xe1\xa1\x94\xef\xb6\x82\xe3\x80\x82\xf1\xb7\x98\x8e"); } // [B5, B6, V7]
11665test { try toAsciiFail("\xe1\xa1\x94\xef\xb6\x82\xe3\x80\x82\xf1\xb7\x98\x8e", false); } // [B5, B6, V7]
11666test { try toAsciiFail("\xe1\xa1\x94\xef\xb6\x82\xe3\x80\x82\xf1\xb7\x98\x8e", true); } // [B5, B6, V7]
11667test { try toUnicodeFail("\xe1\xa1\x94\xd9\x84\xd8\xad\xd9\x89\xe3\x80\x82\xf1\xb7\x98\x8e"); } // [B5, B6, V7]
11668test { try toAsciiFail("\xe1\xa1\x94\xd9\x84\xd8\xad\xd9\x89\xe3\x80\x82\xf1\xb7\x98\x8e", false); } // [B5, B6, V7]
11669test { try toAsciiFail("\xe1\xa1\x94\xd9\x84\xd8\xad\xd9\x89\xe3\x80\x82\xf1\xb7\x98\x8e", true); } // [B5, B6, V7]
11670test { try toUnicodeFail("xn--sgb9bq785p.xn--bc31b"); } // [B5, B6, V7]
11671test { try toAsciiFail("xn--sgb9bq785p.xn--bc31b", false); } // [B5, B6, V7]
11672test { try toAsciiFail("xn--sgb9bq785p.xn--bc31b", true); } // [B5, B6, V7]
11673test { try toUnicodeFail("\xe7\x88\x95\xf2\xb3\x99\x91\xef\xbc\x8e\xf0\x9d\x9f\xb0\xe6\xb0\x97"); } // [V7]
11674test { try toAsciiFail("\xe7\x88\x95\xf2\xb3\x99\x91\xef\xbc\x8e\xf0\x9d\x9f\xb0\xe6\xb0\x97", false); } // [V7]
11675test { try toAsciiFail("\xe7\x88\x95\xf2\xb3\x99\x91\xef\xbc\x8e\xf0\x9d\x9f\xb0\xe6\xb0\x97", true); } // [V7]
11676test { try toUnicodeFail("\xe7\x88\x95\xf2\xb3\x99\x91.4\xe6\xb0\x97"); } // [V7]
11677test { try toAsciiFail("\xe7\x88\x95\xf2\xb3\x99\x91.4\xe6\xb0\x97", false); } // [V7]
11678test { try toAsciiFail("\xe7\x88\x95\xf2\xb3\x99\x91.4\xe6\xb0\x97", true); } // [V7]
11679test { try toUnicodeFail("xn--1zxq3199c.xn--4-678b"); } // [V7]
11680test { try toAsciiFail("xn--1zxq3199c.xn--4-678b", false); } // [V7]
11681test { try toAsciiFail("xn--1zxq3199c.xn--4-678b", true); } // [V7]
11682test { try toUnicodeFail("\xe2\x92\x8b\xf0\x91\x8d\x8d\xe1\x82\xbd-\xef\xbc\x8e\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5"); } // [B1, V3, V7]
11683test { try toAsciiFail("\xe2\x92\x8b\xf0\x91\x8d\x8d\xe1\x82\xbd-\xef\xbc\x8e\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5", false); } // [B1, V3, V7]
11684test { try toAsciiFail("\xe2\x92\x8b\xf0\x91\x8d\x8d\xe1\x82\xbd-\xef\xbc\x8e\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5", true); } // [B1, V3, V7]
11685test { try toUnicodeFail("4.\xf0\x91\x8d\x8d\xe1\x82\xbd-.\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5"); } // [B1, B6, V3, V6, V7]
11686test { try toAsciiFail("4.\xf0\x91\x8d\x8d\xe1\x82\xbd-.\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5", false); } // [B1, B6, V3, V6, V7]
11687test { try toAsciiFail("4.\xf0\x91\x8d\x8d\xe1\x82\xbd-.\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5", true); } // [B1, B6, V3, V6, V7]
11688test { try toUnicodeFail("4.\xf0\x91\x8d\x8d\xe2\xb4\x9d-.\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5"); } // [B1, B6, V3, V6, V7]
11689test { try toAsciiFail("4.\xf0\x91\x8d\x8d\xe2\xb4\x9d-.\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5", false); } // [B1, B6, V3, V6, V7]
11690test { try toAsciiFail("4.\xf0\x91\x8d\x8d\xe2\xb4\x9d-.\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5", true); } // [B1, B6, V3, V6, V7]
11691test { try toUnicodeFail("4.xn----wwsx259f.xn--ddb152b7y23b"); } // [B1, B6, V3, V6, V7]
11692test { try toAsciiFail("4.xn----wwsx259f.xn--ddb152b7y23b", false); } // [B1, B6, V3, V6, V7]
11693test { try toAsciiFail("4.xn----wwsx259f.xn--ddb152b7y23b", true); } // [B1, B6, V3, V6, V7]
11694test { try toUnicodeFail("\xe2\x92\x8b\xf0\x91\x8d\x8d\xe2\xb4\x9d-\xef\xbc\x8e\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5"); } // [B1, V3, V7]
11695test { try toAsciiFail("\xe2\x92\x8b\xf0\x91\x8d\x8d\xe2\xb4\x9d-\xef\xbc\x8e\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5", false); } // [B1, V3, V7]
11696test { try toAsciiFail("\xe2\x92\x8b\xf0\x91\x8d\x8d\xe2\xb4\x9d-\xef\xbc\x8e\xf0\x9e\xac\xaa\xe0\xb7\x8a\xd6\xb5", true); } // [B1, V3, V7]
11697test { try toUnicodeFail("xn----jcp487avl3w.xn--ddb152b7y23b"); } // [B1, V3, V7]
11698test { try toAsciiFail("xn----jcp487avl3w.xn--ddb152b7y23b", false); } // [B1, V3, V7]
11699test { try toAsciiFail("xn----jcp487avl3w.xn--ddb152b7y23b", true); } // [B1, V3, V7]
11700test { try toUnicodeFail("4.xn----t1g9869q.xn--ddb152b7y23b"); } // [B1, B6, V3, V6, V7]
11701test { try toAsciiFail("4.xn----t1g9869q.xn--ddb152b7y23b", false); } // [B1, B6, V3, V6, V7]
11702test { try toAsciiFail("4.xn----t1g9869q.xn--ddb152b7y23b", true); } // [B1, B6, V3, V6, V7]
11703test { try toUnicodeFail("xn----t1g323mnk9t.xn--ddb152b7y23b"); } // [B1, V3, V7]
11704test { try toAsciiFail("xn----t1g323mnk9t.xn--ddb152b7y23b", false); } // [B1, V3, V7]
11705test { try toAsciiFail("xn----t1g323mnk9t.xn--ddb152b7y23b", true); } // [B1, V3, V7]
11706test { try toUnicodeFail("\xf3\x9e\x9d\x83\xe3\x80\x82\xf2\x91\x86\x83\xf1\x89\xa2\x97--"); } // [V2, V3, V7]
11707test { try toAsciiFail("\xf3\x9e\x9d\x83\xe3\x80\x82\xf2\x91\x86\x83\xf1\x89\xa2\x97--", false); } // [V2, V3, V7]
11708test { try toAsciiFail("\xf3\x9e\x9d\x83\xe3\x80\x82\xf2\x91\x86\x83\xf1\x89\xa2\x97--", true); } // [V2, V3, V7]
11709test { try toUnicodeFail("xn--2y75e.xn-----1l15eer88n"); } // [V2, V3, V7]
11710test { try toAsciiFail("xn--2y75e.xn-----1l15eer88n", false); } // [V2, V3, V7]
11711test { try toAsciiFail("xn--2y75e.xn-----1l15eer88n", true); } // [V2, V3, V7]
11712test { try toUnicodeFail("\xe2\x80\x8d\xdf\x9f\xef\xbd\xa1\xe2\x80\x8c\xea\xaf\xad"); } // [B1, C1, C2]
11713test { try toAsciiFail("\xe2\x80\x8d\xdf\x9f\xef\xbd\xa1\xe2\x80\x8c\xea\xaf\xad", false); } // [B1, C1, C2]
11714test { try toAsciiFail("\xe2\x80\x8d\xdf\x9f\xef\xbd\xa1\xe2\x80\x8c\xea\xaf\xad", true); } // [B1, V6]
11715test { try toUnicodeFail("\xe2\x80\x8d\xdf\x9f\xe3\x80\x82\xe2\x80\x8c\xea\xaf\xad"); } // [B1, C1, C2]
11716test { try toAsciiFail("\xe2\x80\x8d\xdf\x9f\xe3\x80\x82\xe2\x80\x8c\xea\xaf\xad", false); } // [B1, C1, C2]
11717test { try toAsciiFail("\xe2\x80\x8d\xdf\x9f\xe3\x80\x82\xe2\x80\x8c\xea\xaf\xad", true); } // [B1, V6]
11718test { try toUnicodeFail("xn--6sb.xn--429a"); } // [B1, V6]
11719test { try toAsciiFail("xn--6sb.xn--429a", false); } // [B1, V6]
11720test { try toAsciiFail("xn--6sb.xn--429a", true); } // [B1, V6]
11721test { try toUnicodeFail("xn--6sb394j.xn--0ug1126c"); } // [B1, C1, C2]
11722test { try toAsciiFail("xn--6sb394j.xn--0ug1126c", false); } // [B1, C1, C2]
11723test { try toAsciiFail("xn--6sb394j.xn--0ug1126c", true); } // [B1, C1, C2]
11724test { try toUnicodeFail("\xf0\x9e\xae\xbd\xdf\xbf\xe0\xa1\x8e\xef\xbd\xa1\xe1\xa2\x8d\xf2\x9d\xb9\x81\xf0\x90\xab\x98"); } // [B5, B6, V7]
11725test { try toAsciiFail("\xf0\x9e\xae\xbd\xdf\xbf\xe0\xa1\x8e\xef\xbd\xa1\xe1\xa2\x8d\xf2\x9d\xb9\x81\xf0\x90\xab\x98", false); } // [B5, B6, V7]
11726test { try toAsciiFail("\xf0\x9e\xae\xbd\xdf\xbf\xe0\xa1\x8e\xef\xbd\xa1\xe1\xa2\x8d\xf2\x9d\xb9\x81\xf0\x90\xab\x98", true); } // [B5, B6, V7]
11727test { try toUnicodeFail("\xf0\x9e\xae\xbd\xdf\xbf\xe0\xa1\x8e\xe3\x80\x82\xe1\xa2\x8d\xf2\x9d\xb9\x81\xf0\x90\xab\x98"); } // [B5, B6, V7]
11728test { try toAsciiFail("\xf0\x9e\xae\xbd\xdf\xbf\xe0\xa1\x8e\xe3\x80\x82\xe1\xa2\x8d\xf2\x9d\xb9\x81\xf0\x90\xab\x98", false); } // [B5, B6, V7]
11729test { try toAsciiFail("\xf0\x9e\xae\xbd\xdf\xbf\xe0\xa1\x8e\xe3\x80\x82\xe1\xa2\x8d\xf2\x9d\xb9\x81\xf0\x90\xab\x98", true); } // [B5, B6, V7]
11730test { try toUnicodeFail("xn--3tb2nz468k.xn--69e8615j5rn5d"); } // [B5, B6, V7]
11731test { try toAsciiFail("xn--3tb2nz468k.xn--69e8615j5rn5d", false); } // [B5, B6, V7]
11732test { try toAsciiFail("xn--3tb2nz468k.xn--69e8615j5rn5d", true); } // [B5, B6, V7]
11733test { try toUnicodeFail("\xdb\xad\xf0\x9e\xba\x8c\xf0\x91\x84\x9a\xe1\x9c\x94.\xea\xa1\x9e\xe0\xa2\xb7"); } // [B1, B5, B6, V6]
11734test { try toAsciiFail("\xdb\xad\xf0\x9e\xba\x8c\xf0\x91\x84\x9a\xe1\x9c\x94.\xea\xa1\x9e\xe0\xa2\xb7", false); } // [B1, B5, B6, V6]
11735test { try toAsciiFail("\xdb\xad\xf0\x9e\xba\x8c\xf0\x91\x84\x9a\xe1\x9c\x94.\xea\xa1\x9e\xe0\xa2\xb7", true); } // [B1, B5, B6, V6]
11736test { try toUnicodeFail("\xdb\xad\xd9\x85\xf0\x91\x84\x9a\xe1\x9c\x94.\xea\xa1\x9e\xe0\xa2\xb7"); } // [B1, B5, B6, V6]
11737test { try toAsciiFail("\xdb\xad\xd9\x85\xf0\x91\x84\x9a\xe1\x9c\x94.\xea\xa1\x9e\xe0\xa2\xb7", false); } // [B1, B5, B6, V6]
11738test { try toAsciiFail("\xdb\xad\xd9\x85\xf0\x91\x84\x9a\xe1\x9c\x94.\xea\xa1\x9e\xe0\xa2\xb7", true); } // [B1, B5, B6, V6]
11739test { try toUnicodeFail("xn--hhb94ag41b739u.xn--dzb5582f"); } // [B1, B5, B6, V6]
11740test { try toAsciiFail("xn--hhb94ag41b739u.xn--dzb5582f", false); } // [B1, B5, B6, V6]
11741test { try toAsciiFail("xn--hhb94ag41b739u.xn--dzb5582f", true); } // [B1, B5, B6, V6]
11742test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x82\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11743test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x82\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11744test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x82\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11745test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x82\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11746test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x82\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11747test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x82\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11748test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x82\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11749test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x82\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11750test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x82\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11751test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x82\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11752test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x82\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11753test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x82\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11754test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xce\xa3"); } // [B5, B6, V7]
11755test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xce\xa3", false); } // [B5, B6, V7]
11756test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xce\xa3", true); } // [B5, B6, V7]
11757test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xce\xa3"); } // [B5, B6, V7]
11758test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xce\xa3", false); } // [B5, B6, V7]
11759test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xce\xa3", true); } // [B5, B6, V7]
11760test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x83"); } // [B5, B6, V7]
11761test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x83", false); } // [B5, B6, V7]
11762test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x83", true); } // [B5, B6, V7]
11763test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x83"); } // [B5, B6, V7]
11764test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x83", false); } // [B5, B6, V7]
11765test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x83", true); } // [B5, B6, V7]
11766test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x83"); } // [B5, B6, V7]
11767test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x83", false); } // [B5, B6, V7]
11768test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x83", true); } // [B5, B6, V7]
11769test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x83"); } // [B5, B6, V7]
11770test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x83", false); } // [B5, B6, V7]
11771test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x83", true); } // [B5, B6, V7]
11772test { try toUnicodeFail("xn--3sb7483hoyvbbe76g.xn--4xaa21q"); } // [B5, B6, V7]
11773test { try toAsciiFail("xn--3sb7483hoyvbbe76g.xn--4xaa21q", false); } // [B5, B6, V7]
11774test { try toAsciiFail("xn--3sb7483hoyvbbe76g.xn--4xaa21q", true); } // [B5, B6, V7]
11775test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11776test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11777test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11778test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11779test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11780test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xce\xa3\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11781test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11782test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11783test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11784test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11785test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11786test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xe3\x80\x82\xcf\x83\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11787test { try toUnicodeFail("xn--3sb7483hoyvbbe76g.xn--3xab31q"); } // [B5, B6, V7]
11788test { try toAsciiFail("xn--3sb7483hoyvbbe76g.xn--3xab31q", false); } // [B5, B6, V7]
11789test { try toAsciiFail("xn--3sb7483hoyvbbe76g.xn--3xab31q", true); } // [B5, B6, V7]
11790test { try toUnicodeFail("xn--3sb7483hoyvbbe76g.xn--3xaa51q"); } // [B5, B6, V7]
11791test { try toAsciiFail("xn--3sb7483hoyvbbe76g.xn--3xaa51q", false); } // [B5, B6, V7]
11792test { try toAsciiFail("xn--3sb7483hoyvbbe76g.xn--3xaa51q", true); } // [B5, B6, V7]
11793test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xce\xa3"); } // [B5, B6, V7]
11794test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xce\xa3", false); } // [B5, B6, V7]
11795test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xce\xa3", true); } // [B5, B6, V7]
11796test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xce\xa3"); } // [B5, B6, V7]
11797test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xce\xa3", false); } // [B5, B6, V7]
11798test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xce\xa3", true); } // [B5, B6, V7]
11799test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x83"); } // [B5, B6, V7]
11800test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x83", false); } // [B5, B6, V7]
11801test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x83", true); } // [B5, B6, V7]
11802test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x83"); } // [B5, B6, V7]
11803test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x83", false); } // [B5, B6, V7]
11804test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x83", true); } // [B5, B6, V7]
11805test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x83"); } // [B5, B6, V7]
11806test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x83", false); } // [B5, B6, V7]
11807test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x83", true); } // [B5, B6, V7]
11808test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x83"); } // [B5, B6, V7]
11809test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x83", false); } // [B5, B6, V7]
11810test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x83", true); } // [B5, B6, V7]
11811test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11812test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11813test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11814test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11815test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11816test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xce\xa3\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11817test { try toUnicodeFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11818test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11819test { try toAsciiFail("\xf1\xbb\x82\xb5\xed\x82\x83\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11820test { try toUnicodeFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x82"); } // [B5, B6, V7]
11821test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x82", false); } // [B5, B6, V7]
11822test { try toAsciiFail("\xf1\xbb\x82\xb5\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xbe\xf0\x91\x98\xb6\xdf\x9c\xef\xbd\xa1\xcf\x83\xd8\xbc\xcf\x82", true); } // [B5, B6, V7]
11823test { try toUnicodeFail("\xe8\x94\xb0\xe3\x80\x82\xf3\xa0\x81\xb9\xe0\xa3\x9d-\xf0\x91\x88\xb5"); } // [V7]
11824test { try toAsciiFail("\xe8\x94\xb0\xe3\x80\x82\xf3\xa0\x81\xb9\xe0\xa3\x9d-\xf0\x91\x88\xb5", false); } // [V7]
11825test { try toAsciiFail("\xe8\x94\xb0\xe3\x80\x82\xf3\xa0\x81\xb9\xe0\xa3\x9d-\xf0\x91\x88\xb5", true); } // [V7]
11826test { try toUnicodeFail("xn--sz1a.xn----mrd9984r3dl0i"); } // [V7]
11827test { try toAsciiFail("xn--sz1a.xn----mrd9984r3dl0i", false); } // [V7]
11828test { try toAsciiFail("xn--sz1a.xn----mrd9984r3dl0i", true); } // [V7]
11829test { try toUnicodePass("\xcf\x82\xe1\x83\x85\xe3\x80\x82\xdd\x9a", "\xcf\x82\xe2\xb4\xa5.\xdd\x9a"); }
11830test { try toAsciiPass("\xcf\x82\xe1\x83\x85\xe3\x80\x82\xdd\x9a", "xn--3xa403s.xn--epb", false); }
11831test { try toAsciiPass("\xcf\x82\xe1\x83\x85\xe3\x80\x82\xdd\x9a", "xn--4xa203s.xn--epb", true); }
11832test { try toUnicodePass("\xcf\x82\xe2\xb4\xa5\xe3\x80\x82\xdd\x9a", "\xcf\x82\xe2\xb4\xa5.\xdd\x9a"); }
11833test { try toAsciiPass("\xcf\x82\xe2\xb4\xa5\xe3\x80\x82\xdd\x9a", "xn--3xa403s.xn--epb", false); }
11834test { try toAsciiPass("\xcf\x82\xe2\xb4\xa5\xe3\x80\x82\xdd\x9a", "xn--4xa203s.xn--epb", true); }
11835test { try toUnicodePass("\xce\xa3\xe1\x83\x85\xe3\x80\x82\xdd\x9a", "\xcf\x83\xe2\xb4\xa5.\xdd\x9a"); }
11836test { try toAsciiPass("\xce\xa3\xe1\x83\x85\xe3\x80\x82\xdd\x9a", "xn--4xa203s.xn--epb", false); }
11837test { try toAsciiPass("\xce\xa3\xe1\x83\x85\xe3\x80\x82\xdd\x9a", "xn--4xa203s.xn--epb", true); }
11838test { try toUnicodePass("\xcf\x83\xe2\xb4\xa5\xe3\x80\x82\xdd\x9a", "\xcf\x83\xe2\xb4\xa5.\xdd\x9a"); }
11839test { try toAsciiPass("\xcf\x83\xe2\xb4\xa5\xe3\x80\x82\xdd\x9a", "xn--4xa203s.xn--epb", false); }
11840test { try toAsciiPass("\xcf\x83\xe2\xb4\xa5\xe3\x80\x82\xdd\x9a", "xn--4xa203s.xn--epb", true); }
11841test { try toUnicodePass("\xce\xa3\xe2\xb4\xa5\xe3\x80\x82\xdd\x9a", "\xcf\x83\xe2\xb4\xa5.\xdd\x9a"); }
11842test { try toAsciiPass("\xce\xa3\xe2\xb4\xa5\xe3\x80\x82\xdd\x9a", "xn--4xa203s.xn--epb", false); }
11843test { try toAsciiPass("\xce\xa3\xe2\xb4\xa5\xe3\x80\x82\xdd\x9a", "xn--4xa203s.xn--epb", true); }
11844test { try toUnicodePass("xn--4xa203s.xn--epb", "\xcf\x83\xe2\xb4\xa5.\xdd\x9a"); }
11845test { try toAsciiPass("xn--4xa203s.xn--epb", "xn--4xa203s.xn--epb", false); }
11846test { try toAsciiPass("xn--4xa203s.xn--epb", "xn--4xa203s.xn--epb", true); }
11847test { try toUnicodePass("\xcf\x83\xe2\xb4\xa5.\xdd\x9a", "\xcf\x83\xe2\xb4\xa5.\xdd\x9a"); }
11848test { try toAsciiPass("\xcf\x83\xe2\xb4\xa5.\xdd\x9a", "xn--4xa203s.xn--epb", false); }
11849test { try toAsciiPass("\xcf\x83\xe2\xb4\xa5.\xdd\x9a", "xn--4xa203s.xn--epb", true); }
11850test { try toUnicodePass("\xce\xa3\xe1\x83\x85.\xdd\x9a", "\xcf\x83\xe2\xb4\xa5.\xdd\x9a"); }
11851test { try toAsciiPass("\xce\xa3\xe1\x83\x85.\xdd\x9a", "xn--4xa203s.xn--epb", false); }
11852test { try toAsciiPass("\xce\xa3\xe1\x83\x85.\xdd\x9a", "xn--4xa203s.xn--epb", true); }
11853test { try toUnicodePass("\xce\xa3\xe2\xb4\xa5.\xdd\x9a", "\xcf\x83\xe2\xb4\xa5.\xdd\x9a"); }
11854test { try toAsciiPass("\xce\xa3\xe2\xb4\xa5.\xdd\x9a", "xn--4xa203s.xn--epb", false); }
11855test { try toAsciiPass("\xce\xa3\xe2\xb4\xa5.\xdd\x9a", "xn--4xa203s.xn--epb", true); }
11856test { try toUnicodePass("xn--3xa403s.xn--epb", "\xcf\x82\xe2\xb4\xa5.\xdd\x9a"); }
11857test { try toAsciiPass("xn--3xa403s.xn--epb", "xn--3xa403s.xn--epb", false); }
11858test { try toAsciiPass("xn--3xa403s.xn--epb", "xn--3xa403s.xn--epb", true); }
11859test { try toUnicodePass("\xcf\x82\xe2\xb4\xa5.\xdd\x9a", "\xcf\x82\xe2\xb4\xa5.\xdd\x9a"); }
11860test { try toAsciiPass("\xcf\x82\xe2\xb4\xa5.\xdd\x9a", "xn--3xa403s.xn--epb", false); }
11861test { try toAsciiPass("\xcf\x82\xe2\xb4\xa5.\xdd\x9a", "xn--4xa203s.xn--epb", true); }
11862test { try toUnicodeFail("xn--4xa477d.xn--epb"); } // [V7]
11863test { try toAsciiFail("xn--4xa477d.xn--epb", false); } // [V7]
11864test { try toAsciiFail("xn--4xa477d.xn--epb", true); } // [V7]
11865test { try toUnicodeFail("xn--3xa677d.xn--epb"); } // [V7]
11866test { try toAsciiFail("xn--3xa677d.xn--epb", false); } // [V7]
11867test { try toAsciiFail("xn--3xa677d.xn--epb", true); } // [V7]
11868test { try toUnicodeFail("\xe0\xb1\x8d\xe1\x82\xa9\xf0\x9e\xb0\x93\xef\xbc\x8e\xe1\xad\xb2"); } // [B1, V6, V7]
11869test { try toAsciiFail("\xe0\xb1\x8d\xe1\x82\xa9\xf0\x9e\xb0\x93\xef\xbc\x8e\xe1\xad\xb2", false); } // [B1, V6, V7]
11870test { try toAsciiFail("\xe0\xb1\x8d\xe1\x82\xa9\xf0\x9e\xb0\x93\xef\xbc\x8e\xe1\xad\xb2", true); } // [B1, V6, V7]
11871test { try toUnicodeFail("\xe0\xb1\x8d\xe1\x82\xa9\xf0\x9e\xb0\x93.\xe1\xad\xb2"); } // [B1, V6, V7]
11872test { try toAsciiFail("\xe0\xb1\x8d\xe1\x82\xa9\xf0\x9e\xb0\x93.\xe1\xad\xb2", false); } // [B1, V6, V7]
11873test { try toAsciiFail("\xe0\xb1\x8d\xe1\x82\xa9\xf0\x9e\xb0\x93.\xe1\xad\xb2", true); } // [B1, V6, V7]
11874test { try toUnicodeFail("\xe0\xb1\x8d\xe2\xb4\x89\xf0\x9e\xb0\x93.\xe1\xad\xb2"); } // [B1, V6, V7]
11875test { try toAsciiFail("\xe0\xb1\x8d\xe2\xb4\x89\xf0\x9e\xb0\x93.\xe1\xad\xb2", false); } // [B1, V6, V7]
11876test { try toAsciiFail("\xe0\xb1\x8d\xe2\xb4\x89\xf0\x9e\xb0\x93.\xe1\xad\xb2", true); } // [B1, V6, V7]
11877test { try toUnicodeFail("xn--lqc478nlr02a.xn--dwf"); } // [B1, V6, V7]
11878test { try toAsciiFail("xn--lqc478nlr02a.xn--dwf", false); } // [B1, V6, V7]
11879test { try toAsciiFail("xn--lqc478nlr02a.xn--dwf", true); } // [B1, V6, V7]
11880test { try toUnicodeFail("\xe0\xb1\x8d\xe2\xb4\x89\xf0\x9e\xb0\x93\xef\xbc\x8e\xe1\xad\xb2"); } // [B1, V6, V7]
11881test { try toAsciiFail("\xe0\xb1\x8d\xe2\xb4\x89\xf0\x9e\xb0\x93\xef\xbc\x8e\xe1\xad\xb2", false); } // [B1, V6, V7]
11882test { try toAsciiFail("\xe0\xb1\x8d\xe2\xb4\x89\xf0\x9e\xb0\x93\xef\xbc\x8e\xe1\xad\xb2", true); } // [B1, V6, V7]
11883test { try toUnicodeFail("xn--lqc64t7t26c.xn--dwf"); } // [B1, V6, V7]
11884test { try toAsciiFail("xn--lqc64t7t26c.xn--dwf", false); } // [B1, V6, V7]
11885test { try toAsciiFail("xn--lqc64t7t26c.xn--dwf", true); } // [B1, V6, V7]
11886test { try toUnicodeFail("\xe2\xae\xb7\xe2\x89\xae\xf1\x8e\x88\xb4\xf3\xa0\x84\x9f\xe3\x80\x82\xf0\x90\xa0\x84"); } // [B1, V7]
11887test { try toAsciiFail("\xe2\xae\xb7\xe2\x89\xae\xf1\x8e\x88\xb4\xf3\xa0\x84\x9f\xe3\x80\x82\xf0\x90\xa0\x84", false); } // [B1, V7]
11888test { try toAsciiFail("\xe2\xae\xb7\xe2\x89\xae\xf1\x8e\x88\xb4\xf3\xa0\x84\x9f\xe3\x80\x82\xf0\x90\xa0\x84", true); } // [B1, V7]
11889test { try toUnicodeFail("\xe2\xae\xb7<\xcc\xb8\xf1\x8e\x88\xb4\xf3\xa0\x84\x9f\xe3\x80\x82\xf0\x90\xa0\x84"); } // [B1, V7]
11890test { try toAsciiFail("\xe2\xae\xb7<\xcc\xb8\xf1\x8e\x88\xb4\xf3\xa0\x84\x9f\xe3\x80\x82\xf0\x90\xa0\x84", false); } // [B1, V7]
11891test { try toAsciiFail("\xe2\xae\xb7<\xcc\xb8\xf1\x8e\x88\xb4\xf3\xa0\x84\x9f\xe3\x80\x82\xf0\x90\xa0\x84", true); } // [B1, V7]
11892test { try toUnicodeFail("xn--gdh877a3513h.xn--pc9c"); } // [B1, V7]
11893test { try toAsciiFail("xn--gdh877a3513h.xn--pc9c", false); } // [B1, V7]
11894test { try toAsciiFail("xn--gdh877a3513h.xn--pc9c", true); } // [B1, V7]
11895test { try toAsciiPass("\xda\xbc\xef\xbd\xa1\xe2\x80\x8d\xe1\xba\x8f\xe2\x80\x8c\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11896test { try toUnicodeFail("\xda\xbc\xef\xbd\xa1\xe2\x80\x8d\xe1\xba\x8f\xe2\x80\x8c\xe1\xa1\xa4"); } // [B1, C1, C2]
11897test { try toAsciiFail("\xda\xbc\xef\xbd\xa1\xe2\x80\x8d\xe1\xba\x8f\xe2\x80\x8c\xe1\xa1\xa4", false); } // [B1, C1, C2]
11898test { try toAsciiPass("\xda\xbc\xef\xbd\xa1\xe2\x80\x8dy\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11899test { try toUnicodeFail("\xda\xbc\xef\xbd\xa1\xe2\x80\x8dy\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4"); } // [B1, C1, C2]
11900test { try toAsciiFail("\xda\xbc\xef\xbd\xa1\xe2\x80\x8dy\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4", false); } // [B1, C1, C2]
11901test { try toAsciiPass("\xda\xbc\xe3\x80\x82\xe2\x80\x8d\xe1\xba\x8f\xe2\x80\x8c\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11902test { try toUnicodeFail("\xda\xbc\xe3\x80\x82\xe2\x80\x8d\xe1\xba\x8f\xe2\x80\x8c\xe1\xa1\xa4"); } // [B1, C1, C2]
11903test { try toAsciiFail("\xda\xbc\xe3\x80\x82\xe2\x80\x8d\xe1\xba\x8f\xe2\x80\x8c\xe1\xa1\xa4", false); } // [B1, C1, C2]
11904test { try toAsciiPass("\xda\xbc\xe3\x80\x82\xe2\x80\x8dy\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11905test { try toUnicodeFail("\xda\xbc\xe3\x80\x82\xe2\x80\x8dy\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4"); } // [B1, C1, C2]
11906test { try toAsciiFail("\xda\xbc\xe3\x80\x82\xe2\x80\x8dy\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4", false); } // [B1, C1, C2]
11907test { try toAsciiPass("\xda\xbc\xe3\x80\x82\xe2\x80\x8dY\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11908test { try toUnicodeFail("\xda\xbc\xe3\x80\x82\xe2\x80\x8dY\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4"); } // [B1, C1, C2]
11909test { try toAsciiFail("\xda\xbc\xe3\x80\x82\xe2\x80\x8dY\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4", false); } // [B1, C1, C2]
11910test { try toAsciiPass("\xda\xbc\xe3\x80\x82\xe2\x80\x8d\xe1\xba\x8e\xe2\x80\x8c\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11911test { try toUnicodeFail("\xda\xbc\xe3\x80\x82\xe2\x80\x8d\xe1\xba\x8e\xe2\x80\x8c\xe1\xa1\xa4"); } // [B1, C1, C2]
11912test { try toAsciiFail("\xda\xbc\xe3\x80\x82\xe2\x80\x8d\xe1\xba\x8e\xe2\x80\x8c\xe1\xa1\xa4", false); } // [B1, C1, C2]
11913test { try toUnicodePass("xn--vkb.xn--08e172a", "\xda\xbc.\xe1\xba\x8f\xe1\xa1\xa4"); }
11914test { try toAsciiPass("xn--vkb.xn--08e172a", "xn--vkb.xn--08e172a", false); }
11915test { try toAsciiPass("xn--vkb.xn--08e172a", "xn--vkb.xn--08e172a", true); }
11916test { try toUnicodePass("\xda\xbc.\xe1\xba\x8f\xe1\xa1\xa4", "\xda\xbc.\xe1\xba\x8f\xe1\xa1\xa4"); }
11917test { try toAsciiPass("\xda\xbc.\xe1\xba\x8f\xe1\xa1\xa4", "xn--vkb.xn--08e172a", false); }
11918test { try toAsciiPass("\xda\xbc.\xe1\xba\x8f\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11919test { try toUnicodePass("\xda\xbc.y\xcc\x87\xe1\xa1\xa4", "\xda\xbc.\xe1\xba\x8f\xe1\xa1\xa4"); }
11920test { try toAsciiPass("\xda\xbc.y\xcc\x87\xe1\xa1\xa4", "xn--vkb.xn--08e172a", false); }
11921test { try toAsciiPass("\xda\xbc.y\xcc\x87\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11922test { try toUnicodePass("\xda\xbc.Y\xcc\x87\xe1\xa1\xa4", "\xda\xbc.\xe1\xba\x8f\xe1\xa1\xa4"); }
11923test { try toAsciiPass("\xda\xbc.Y\xcc\x87\xe1\xa1\xa4", "xn--vkb.xn--08e172a", false); }
11924test { try toAsciiPass("\xda\xbc.Y\xcc\x87\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11925test { try toUnicodePass("\xda\xbc.\xe1\xba\x8e\xe1\xa1\xa4", "\xda\xbc.\xe1\xba\x8f\xe1\xa1\xa4"); }
11926test { try toAsciiPass("\xda\xbc.\xe1\xba\x8e\xe1\xa1\xa4", "xn--vkb.xn--08e172a", false); }
11927test { try toAsciiPass("\xda\xbc.\xe1\xba\x8e\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11928test { try toUnicodeFail("xn--vkb.xn--08e172ax6aca"); } // [B1, C1, C2]
11929test { try toAsciiFail("xn--vkb.xn--08e172ax6aca", false); } // [B1, C1, C2]
11930test { try toAsciiFail("xn--vkb.xn--08e172ax6aca", true); } // [B1, C1, C2]
11931test { try toAsciiPass("\xda\xbc\xef\xbd\xa1\xe2\x80\x8dY\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11932test { try toUnicodeFail("\xda\xbc\xef\xbd\xa1\xe2\x80\x8dY\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4"); } // [B1, C1, C2]
11933test { try toAsciiFail("\xda\xbc\xef\xbd\xa1\xe2\x80\x8dY\xcc\x87\xe2\x80\x8c\xe1\xa1\xa4", false); } // [B1, C1, C2]
11934test { try toAsciiPass("\xda\xbc\xef\xbd\xa1\xe2\x80\x8d\xe1\xba\x8e\xe2\x80\x8c\xe1\xa1\xa4", "xn--vkb.xn--08e172a", true); }
11935test { try toUnicodeFail("\xda\xbc\xef\xbd\xa1\xe2\x80\x8d\xe1\xba\x8e\xe2\x80\x8c\xe1\xa1\xa4"); } // [B1, C1, C2]
11936test { try toAsciiFail("\xda\xbc\xef\xbd\xa1\xe2\x80\x8d\xe1\xba\x8e\xe2\x80\x8c\xe1\xa1\xa4", false); } // [B1, C1, C2]
11937test { try toUnicodeFail("\xf0\x90\xb9\xb9\xf0\x91\xb2\x9b\xe3\x80\x82\xf1\x91\x82\x90\xe0\xb7\x8a"); } // [B1, V7]
11938test { try toAsciiFail("\xf0\x90\xb9\xb9\xf0\x91\xb2\x9b\xe3\x80\x82\xf1\x91\x82\x90\xe0\xb7\x8a", false); } // [B1, V7]
11939test { try toAsciiFail("\xf0\x90\xb9\xb9\xf0\x91\xb2\x9b\xe3\x80\x82\xf1\x91\x82\x90\xe0\xb7\x8a", true); } // [B1, V7]
11940test { try toUnicodeFail("xn--xo0dg5v.xn--h1c39876d"); } // [B1, V7]
11941test { try toAsciiFail("xn--xo0dg5v.xn--h1c39876d", false); } // [B1, V7]
11942test { try toAsciiFail("xn--xo0dg5v.xn--h1c39876d", true); } // [B1, V7]
11943test { try toUnicodeFail("-\xe2\x89\xa0\xf0\x91\x88\xb5\xef\xbd\xa1\xe5\xb5\x95\xef\xbb\xb1\xdb\xb4\xea\xa5\x93"); } // [B1, B5, V3]
11944test { try toAsciiFail("-\xe2\x89\xa0\xf0\x91\x88\xb5\xef\xbd\xa1\xe5\xb5\x95\xef\xbb\xb1\xdb\xb4\xea\xa5\x93", false); } // [B1, B5, V3]
11945test { try toAsciiFail("-\xe2\x89\xa0\xf0\x91\x88\xb5\xef\xbd\xa1\xe5\xb5\x95\xef\xbb\xb1\xdb\xb4\xea\xa5\x93", true); } // [B1, B5, V3]
11946test { try toUnicodeFail("-=\xcc\xb8\xf0\x91\x88\xb5\xef\xbd\xa1\xe5\xb5\x95\xef\xbb\xb1\xdb\xb4\xea\xa5\x93"); } // [B1, B5, V3]
11947test { try toAsciiFail("-=\xcc\xb8\xf0\x91\x88\xb5\xef\xbd\xa1\xe5\xb5\x95\xef\xbb\xb1\xdb\xb4\xea\xa5\x93", false); } // [B1, B5, V3]
11948test { try toAsciiFail("-=\xcc\xb8\xf0\x91\x88\xb5\xef\xbd\xa1\xe5\xb5\x95\xef\xbb\xb1\xdb\xb4\xea\xa5\x93", true); } // [B1, B5, V3]
11949test { try toUnicodeFail("-\xe2\x89\xa0\xf0\x91\x88\xb5\xe3\x80\x82\xe5\xb5\x95\xd9\x8a\xdb\xb4\xea\xa5\x93"); } // [B1, B5, V3]
11950test { try toAsciiFail("-\xe2\x89\xa0\xf0\x91\x88\xb5\xe3\x80\x82\xe5\xb5\x95\xd9\x8a\xdb\xb4\xea\xa5\x93", false); } // [B1, B5, V3]
11951test { try toAsciiFail("-\xe2\x89\xa0\xf0\x91\x88\xb5\xe3\x80\x82\xe5\xb5\x95\xd9\x8a\xdb\xb4\xea\xa5\x93", true); } // [B1, B5, V3]
11952test { try toUnicodeFail("-=\xcc\xb8\xf0\x91\x88\xb5\xe3\x80\x82\xe5\xb5\x95\xd9\x8a\xdb\xb4\xea\xa5\x93"); } // [B1, B5, V3]
11953test { try toAsciiFail("-=\xcc\xb8\xf0\x91\x88\xb5\xe3\x80\x82\xe5\xb5\x95\xd9\x8a\xdb\xb4\xea\xa5\x93", false); } // [B1, B5, V3]
11954test { try toAsciiFail("-=\xcc\xb8\xf0\x91\x88\xb5\xe3\x80\x82\xe5\xb5\x95\xd9\x8a\xdb\xb4\xea\xa5\x93", true); } // [B1, B5, V3]
11955test { try toUnicodeFail("xn----ufo4749h.xn--mhb45a235sns3c"); } // [B1, B5, V3]
11956test { try toAsciiFail("xn----ufo4749h.xn--mhb45a235sns3c", false); } // [B1, B5, V3]
11957test { try toAsciiFail("xn----ufo4749h.xn--mhb45a235sns3c", true); } // [B1, B5, V3]
11958test { try toUnicodeFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae\xef\xbc\x8e\xdb\x81\xe2\x80\x8d\xe2\x89\xaf\xe2\x80\x8d"); } // [B1, B3, C1, C2, V7]
11959test { try toAsciiFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae\xef\xbc\x8e\xdb\x81\xe2\x80\x8d\xe2\x89\xaf\xe2\x80\x8d", false); } // [B1, B3, C1, C2, V7]
11960test { try toAsciiFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae\xef\xbc\x8e\xdb\x81\xe2\x80\x8d\xe2\x89\xaf\xe2\x80\x8d", true); } // [B3, B5, B6, V7]
11961test { try toUnicodeFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae\xef\xbc\x8e\xdb\x81\xe2\x80\x8d>\xcc\xb8\xe2\x80\x8d"); } // [B1, B3, C1, C2, V7]
11962test { try toAsciiFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae\xef\xbc\x8e\xdb\x81\xe2\x80\x8d>\xcc\xb8\xe2\x80\x8d", false); } // [B1, B3, C1, C2, V7]
11963test { try toAsciiFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae\xef\xbc\x8e\xdb\x81\xe2\x80\x8d>\xcc\xb8\xe2\x80\x8d", true); } // [B3, B5, B6, V7]
11964test { try toUnicodeFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae.\xdb\x81\xe2\x80\x8d\xe2\x89\xaf\xe2\x80\x8d"); } // [B1, B3, C1, C2, V7]
11965test { try toAsciiFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae.\xdb\x81\xe2\x80\x8d\xe2\x89\xaf\xe2\x80\x8d", false); } // [B1, B3, C1, C2, V7]
11966test { try toAsciiFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae.\xdb\x81\xe2\x80\x8d\xe2\x89\xaf\xe2\x80\x8d", true); } // [B3, B5, B6, V7]
11967test { try toUnicodeFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae.\xdb\x81\xe2\x80\x8d>\xcc\xb8\xe2\x80\x8d"); } // [B1, B3, C1, C2, V7]
11968test { try toAsciiFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae.\xdb\x81\xe2\x80\x8d>\xcc\xb8\xe2\x80\x8d", false); } // [B1, B3, C1, C2, V7]
11969test { try toAsciiFail("\xe2\x80\x8c\xf1\x8d\xb8\xb0\xf0\x90\xb9\xb6\xdd\xae.\xdb\x81\xe2\x80\x8d>\xcc\xb8\xe2\x80\x8d", true); } // [B3, B5, B6, V7]
11970test { try toUnicodeFail("xn--ypb5875khz9y.xn--0kb682l"); } // [B3, B5, B6, V7]
11971test { try toAsciiFail("xn--ypb5875khz9y.xn--0kb682l", false); } // [B3, B5, B6, V7]
11972test { try toAsciiFail("xn--ypb5875khz9y.xn--0kb682l", true); } // [B3, B5, B6, V7]
11973test { try toUnicodeFail("xn--ypb717jrx2o7v94a.xn--0kb660ka35v"); } // [B1, B3, C1, C2, V7]
11974test { try toAsciiFail("xn--ypb717jrx2o7v94a.xn--0kb660ka35v", false); } // [B1, B3, C1, C2, V7]
11975test { try toAsciiFail("xn--ypb717jrx2o7v94a.xn--0kb660ka35v", true); } // [B1, B3, C1, C2, V7]
11976test { try toUnicodeFail("\xe2\x89\xae\xef\xbc\x8e\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94"); } // [B1]
11977test { try toAsciiFail("\xe2\x89\xae\xef\xbc\x8e\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94", false); } // [B1]
11978test { try toAsciiFail("\xe2\x89\xae\xef\xbc\x8e\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94", true); } // [B1]
11979test { try toUnicodeFail("<\xcc\xb8\xef\xbc\x8e\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94"); } // [B1]
11980test { try toAsciiFail("<\xcc\xb8\xef\xbc\x8e\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94", false); } // [B1]
11981test { try toAsciiFail("<\xcc\xb8\xef\xbc\x8e\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94", true); } // [B1]
11982test { try toUnicodeFail("\xe2\x89\xae.\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94"); } // [B1]
11983test { try toAsciiFail("\xe2\x89\xae.\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94", false); } // [B1]
11984test { try toAsciiFail("\xe2\x89\xae.\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94", true); } // [B1]
11985test { try toUnicodeFail("<\xcc\xb8.\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94"); } // [B1]
11986test { try toAsciiFail("<\xcc\xb8.\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94", false); } // [B1]
11987test { try toAsciiFail("<\xcc\xb8.\xe1\x9e\xb5\xe0\xa1\x95\xf0\x90\xab\x94", true); } // [B1]
11988test { try toUnicodeFail("xn--gdh.xn--kwb4643k"); } // [B1]
11989test { try toAsciiFail("xn--gdh.xn--kwb4643k", false); } // [B1]
11990test { try toAsciiFail("xn--gdh.xn--kwb4643k", true); } // [B1]
11991test { try toUnicodeFail("xn--gdh.xn--kwb589e217p"); } // [B1, V6, V7]
11992test { try toAsciiFail("xn--gdh.xn--kwb589e217p", false); } // [B1, V6, V7]
11993test { try toAsciiFail("xn--gdh.xn--kwb589e217p", true); } // [B1, V6, V7]
11994test { try toAsciiPass("\xf0\x90\xa9\x97\xe2\x80\x8d\xef\xbd\xa1\xe1\x82\xa9\xe1\x82\xb5", "xn--pt9c.xn--0kjya", true); }
11995test { try toUnicodeFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xef\xbd\xa1\xe1\x82\xa9\xe1\x82\xb5"); } // [B3, C2]
11996test { try toAsciiFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xef\xbd\xa1\xe1\x82\xa9\xe1\x82\xb5", false); } // [B3, C2]
11997test { try toAsciiPass("\xf0\x90\xa9\x97\xe2\x80\x8d\xe3\x80\x82\xe1\x82\xa9\xe1\x82\xb5", "xn--pt9c.xn--0kjya", true); }
11998test { try toUnicodeFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xe3\x80\x82\xe1\x82\xa9\xe1\x82\xb5"); } // [B3, C2]
11999test { try toAsciiFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xe3\x80\x82\xe1\x82\xa9\xe1\x82\xb5", false); } // [B3, C2]
12000test { try toAsciiPass("\xf0\x90\xa9\x97\xe2\x80\x8d\xe3\x80\x82\xe2\xb4\x89\xe2\xb4\x95", "xn--pt9c.xn--0kjya", true); }
12001test { try toUnicodeFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xe3\x80\x82\xe2\xb4\x89\xe2\xb4\x95"); } // [B3, C2]
12002test { try toAsciiFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xe3\x80\x82\xe2\xb4\x89\xe2\xb4\x95", false); } // [B3, C2]
12003test { try toAsciiPass("\xf0\x90\xa9\x97\xe2\x80\x8d\xe3\x80\x82\xe1\x82\xa9\xe2\xb4\x95", "xn--pt9c.xn--0kjya", true); }
12004test { try toUnicodeFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xe3\x80\x82\xe1\x82\xa9\xe2\xb4\x95"); } // [B3, C2]
12005test { try toAsciiFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xe3\x80\x82\xe1\x82\xa9\xe2\xb4\x95", false); } // [B3, C2]
12006test { try toUnicodePass("xn--pt9c.xn--0kjya", "\xf0\x90\xa9\x97.\xe2\xb4\x89\xe2\xb4\x95"); }
12007test { try toAsciiPass("xn--pt9c.xn--0kjya", "xn--pt9c.xn--0kjya", false); }
12008test { try toAsciiPass("xn--pt9c.xn--0kjya", "xn--pt9c.xn--0kjya", true); }
12009test { try toUnicodePass("\xf0\x90\xa9\x97.\xe2\xb4\x89\xe2\xb4\x95", "\xf0\x90\xa9\x97.\xe2\xb4\x89\xe2\xb4\x95"); }
12010test { try toAsciiPass("\xf0\x90\xa9\x97.\xe2\xb4\x89\xe2\xb4\x95", "xn--pt9c.xn--0kjya", false); }
12011test { try toAsciiPass("\xf0\x90\xa9\x97.\xe2\xb4\x89\xe2\xb4\x95", "xn--pt9c.xn--0kjya", true); }
12012test { try toUnicodePass("\xf0\x90\xa9\x97.\xe1\x82\xa9\xe1\x82\xb5", "\xf0\x90\xa9\x97.\xe2\xb4\x89\xe2\xb4\x95"); }
12013test { try toAsciiPass("\xf0\x90\xa9\x97.\xe1\x82\xa9\xe1\x82\xb5", "xn--pt9c.xn--0kjya", false); }
12014test { try toAsciiPass("\xf0\x90\xa9\x97.\xe1\x82\xa9\xe1\x82\xb5", "xn--pt9c.xn--0kjya", true); }
12015test { try toUnicodePass("\xf0\x90\xa9\x97.\xe1\x82\xa9\xe2\xb4\x95", "\xf0\x90\xa9\x97.\xe2\xb4\x89\xe2\xb4\x95"); }
12016test { try toAsciiPass("\xf0\x90\xa9\x97.\xe1\x82\xa9\xe2\xb4\x95", "xn--pt9c.xn--0kjya", false); }
12017test { try toAsciiPass("\xf0\x90\xa9\x97.\xe1\x82\xa9\xe2\xb4\x95", "xn--pt9c.xn--0kjya", true); }
12018test { try toUnicodeFail("xn--1ug4933g.xn--0kjya"); } // [B3, C2]
12019test { try toAsciiFail("xn--1ug4933g.xn--0kjya", false); } // [B3, C2]
12020test { try toAsciiFail("xn--1ug4933g.xn--0kjya", true); } // [B3, C2]
12021test { try toAsciiPass("\xf0\x90\xa9\x97\xe2\x80\x8d\xef\xbd\xa1\xe2\xb4\x89\xe2\xb4\x95", "xn--pt9c.xn--0kjya", true); }
12022test { try toUnicodeFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xef\xbd\xa1\xe2\xb4\x89\xe2\xb4\x95"); } // [B3, C2]
12023test { try toAsciiFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xef\xbd\xa1\xe2\xb4\x89\xe2\xb4\x95", false); } // [B3, C2]
12024test { try toAsciiPass("\xf0\x90\xa9\x97\xe2\x80\x8d\xef\xbd\xa1\xe1\x82\xa9\xe2\xb4\x95", "xn--pt9c.xn--0kjya", true); }
12025test { try toUnicodeFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xef\xbd\xa1\xe1\x82\xa9\xe2\xb4\x95"); } // [B3, C2]
12026test { try toAsciiFail("\xf0\x90\xa9\x97\xe2\x80\x8d\xef\xbd\xa1\xe1\x82\xa9\xe2\xb4\x95", false); } // [B3, C2]
12027test { try toUnicodeFail("xn--pt9c.xn--hnd666l"); } // [V7]
12028test { try toAsciiFail("xn--pt9c.xn--hnd666l", false); } // [V7]
12029test { try toAsciiFail("xn--pt9c.xn--hnd666l", true); } // [V7]
12030test { try toUnicodeFail("xn--1ug4933g.xn--hnd666l"); } // [B3, C2, V7]
12031test { try toAsciiFail("xn--1ug4933g.xn--hnd666l", false); } // [B3, C2, V7]
12032test { try toAsciiFail("xn--1ug4933g.xn--hnd666l", true); } // [B3, C2, V7]
12033test { try toUnicodeFail("xn--pt9c.xn--hndy"); } // [V7]
12034test { try toAsciiFail("xn--pt9c.xn--hndy", false); } // [V7]
12035test { try toAsciiFail("xn--pt9c.xn--hndy", true); } // [V7]
12036test { try toUnicodeFail("xn--1ug4933g.xn--hndy"); } // [B3, C2, V7]
12037test { try toAsciiFail("xn--1ug4933g.xn--hndy", false); } // [B3, C2, V7]
12038test { try toAsciiFail("xn--1ug4933g.xn--hndy", true); } // [B3, C2, V7]
12039test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x84\xa4\xef\xbc\x8e\xcc\xae\xf3\x95\xa8\x91\xe0\xa7\x82"); } // [C1, V6, V7]
12040test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x84\xa4\xef\xbc\x8e\xcc\xae\xf3\x95\xa8\x91\xe0\xa7\x82", false); } // [C1, V6, V7]
12041test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x84\xa4\xef\xbc\x8e\xcc\xae\xf3\x95\xa8\x91\xe0\xa7\x82", true); } // [V6, V7]
12042test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x84\xa4.\xcc\xae\xf3\x95\xa8\x91\xe0\xa7\x82"); } // [C1, V6, V7]
12043test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x84\xa4.\xcc\xae\xf3\x95\xa8\x91\xe0\xa7\x82", false); } // [C1, V6, V7]
12044test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x84\xa4.\xcc\xae\xf3\x95\xa8\x91\xe0\xa7\x82", true); } // [V6, V7]
12045test { try toUnicodeFail("xn--1fk.xn--vta284a9o563a"); } // [V6, V7]
12046test { try toAsciiFail("xn--1fk.xn--vta284a9o563a", false); } // [V6, V7]
12047test { try toAsciiFail("xn--1fk.xn--vta284a9o563a", true); } // [V6, V7]
12048test { try toUnicodeFail("xn--0uga242k.xn--vta284a9o563a"); } // [C1, V6, V7]
12049test { try toAsciiFail("xn--0uga242k.xn--vta284a9o563a", false); } // [C1, V6, V7]
12050test { try toAsciiFail("xn--0uga242k.xn--vta284a9o563a", true); } // [C1, V6, V7]
12051test { try toUnicodeFail("\xf0\x90\x8b\xbb\xef\xbd\xa1-\xe2\x80\x8c\xf0\x90\xab\x84\xe1\x82\xb7"); } // [B1, C1, V3]
12052test { try toAsciiFail("\xf0\x90\x8b\xbb\xef\xbd\xa1-\xe2\x80\x8c\xf0\x90\xab\x84\xe1\x82\xb7", false); } // [B1, C1, V3]
12053test { try toAsciiFail("\xf0\x90\x8b\xbb\xef\xbd\xa1-\xe2\x80\x8c\xf0\x90\xab\x84\xe1\x82\xb7", true); } // [B1, V3]
12054test { try toUnicodeFail("\xf0\x90\x8b\xbb\xe3\x80\x82-\xe2\x80\x8c\xf0\x90\xab\x84\xe1\x82\xb7"); } // [B1, C1, V3]
12055test { try toAsciiFail("\xf0\x90\x8b\xbb\xe3\x80\x82-\xe2\x80\x8c\xf0\x90\xab\x84\xe1\x82\xb7", false); } // [B1, C1, V3]
12056test { try toAsciiFail("\xf0\x90\x8b\xbb\xe3\x80\x82-\xe2\x80\x8c\xf0\x90\xab\x84\xe1\x82\xb7", true); } // [B1, V3]
12057test { try toUnicodeFail("\xf0\x90\x8b\xbb\xe3\x80\x82-\xe2\x80\x8c\xf0\x90\xab\x84\xe2\xb4\x97"); } // [B1, C1, V3]
12058test { try toAsciiFail("\xf0\x90\x8b\xbb\xe3\x80\x82-\xe2\x80\x8c\xf0\x90\xab\x84\xe2\xb4\x97", false); } // [B1, C1, V3]
12059test { try toAsciiFail("\xf0\x90\x8b\xbb\xe3\x80\x82-\xe2\x80\x8c\xf0\x90\xab\x84\xe2\xb4\x97", true); } // [B1, V3]
12060test { try toUnicodeFail("xn--v97c.xn----lws0526f"); } // [B1, V3]
12061test { try toAsciiFail("xn--v97c.xn----lws0526f", false); } // [B1, V3]
12062test { try toAsciiFail("xn--v97c.xn----lws0526f", true); } // [B1, V3]
12063test { try toUnicodeFail("xn--v97c.xn----sgnv20du99s"); } // [B1, C1, V3]
12064test { try toAsciiFail("xn--v97c.xn----sgnv20du99s", false); } // [B1, C1, V3]
12065test { try toAsciiFail("xn--v97c.xn----sgnv20du99s", true); } // [B1, C1, V3]
12066test { try toUnicodeFail("\xf0\x90\x8b\xbb\xef\xbd\xa1-\xe2\x80\x8c\xf0\x90\xab\x84\xe2\xb4\x97"); } // [B1, C1, V3]
12067test { try toAsciiFail("\xf0\x90\x8b\xbb\xef\xbd\xa1-\xe2\x80\x8c\xf0\x90\xab\x84\xe2\xb4\x97", false); } // [B1, C1, V3]
12068test { try toAsciiFail("\xf0\x90\x8b\xbb\xef\xbd\xa1-\xe2\x80\x8c\xf0\x90\xab\x84\xe2\xb4\x97", true); } // [B1, V3]
12069test { try toUnicodeFail("xn--v97c.xn----i1g2513q"); } // [B1, V3, V7]
12070test { try toAsciiFail("xn--v97c.xn----i1g2513q", false); } // [B1, V3, V7]
12071test { try toAsciiFail("xn--v97c.xn----i1g2513q", true); } // [B1, V3, V7]
12072test { try toUnicodeFail("xn--v97c.xn----i1g888ih12u"); } // [B1, C1, V3, V7]
12073test { try toAsciiFail("xn--v97c.xn----i1g888ih12u", false); } // [B1, C1, V3, V7]
12074test { try toAsciiFail("xn--v97c.xn----i1g888ih12u", true); } // [B1, C1, V3, V7]
12075test { try toUnicodeFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba\xef\xbc\x8e\xe2\x89\xa0\xe2\x80\x8c"); } // [B1, C1, V7]
12076test { try toAsciiFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba\xef\xbc\x8e\xe2\x89\xa0\xe2\x80\x8c", false); } // [B1, C1, V7]
12077test { try toAsciiFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba\xef\xbc\x8e\xe2\x89\xa0\xe2\x80\x8c", true); } // [B1, V7]
12078test { try toUnicodeFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba\xef\xbc\x8e=\xcc\xb8\xe2\x80\x8c"); } // [B1, C1, V7]
12079test { try toAsciiFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba\xef\xbc\x8e=\xcc\xb8\xe2\x80\x8c", false); } // [B1, C1, V7]
12080test { try toAsciiFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba\xef\xbc\x8e=\xcc\xb8\xe2\x80\x8c", true); } // [B1, V7]
12081test { try toUnicodeFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba.\xe2\x89\xa0\xe2\x80\x8c"); } // [B1, C1, V7]
12082test { try toAsciiFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba.\xe2\x89\xa0\xe2\x80\x8c", false); } // [B1, C1, V7]
12083test { try toAsciiFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba.\xe2\x89\xa0\xe2\x80\x8c", true); } // [B1, V7]
12084test { try toUnicodeFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba.=\xcc\xb8\xe2\x80\x8c"); } // [B1, C1, V7]
12085test { try toAsciiFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba.=\xcc\xb8\xe2\x80\x8c", false); } // [B1, C1, V7]
12086test { try toAsciiFail("\xf0\x9f\x99\x91\xf0\x90\xb7\xba.=\xcc\xb8\xe2\x80\x8c", true); } // [B1, V7]
12087test { try toUnicodeFail("xn--bl0dh970b.xn--1ch"); } // [B1, V7]
12088test { try toAsciiFail("xn--bl0dh970b.xn--1ch", false); } // [B1, V7]
12089test { try toAsciiFail("xn--bl0dh970b.xn--1ch", true); } // [B1, V7]
12090test { try toUnicodeFail("xn--bl0dh970b.xn--0ug83g"); } // [B1, C1, V7]
12091test { try toAsciiFail("xn--bl0dh970b.xn--0ug83g", false); } // [B1, C1, V7]
12092test { try toAsciiFail("xn--bl0dh970b.xn--0ug83g", true); } // [B1, C1, V7]
12093test { try toUnicodeFail("\xd9\x8c\xe1\xb3\x92\xef\xbd\xa1\xf0\x9e\xae\x9e\xe2\xb5\xbf\xe2\xa7\x8e"); } // [B1, B3, V6, V7]
12094test { try toAsciiFail("\xd9\x8c\xe1\xb3\x92\xef\xbd\xa1\xf0\x9e\xae\x9e\xe2\xb5\xbf\xe2\xa7\x8e", false); } // [B1, B3, V6, V7]
12095test { try toAsciiFail("\xd9\x8c\xe1\xb3\x92\xef\xbd\xa1\xf0\x9e\xae\x9e\xe2\xb5\xbf\xe2\xa7\x8e", true); } // [B1, B3, V6, V7]
12096test { try toUnicodeFail("\xd9\x8c\xe1\xb3\x92\xe3\x80\x82\xf0\x9e\xae\x9e\xe2\xb5\xbf\xe2\xa7\x8e"); } // [B1, B3, V6, V7]
12097test { try toAsciiFail("\xd9\x8c\xe1\xb3\x92\xe3\x80\x82\xf0\x9e\xae\x9e\xe2\xb5\xbf\xe2\xa7\x8e", false); } // [B1, B3, V6, V7]
12098test { try toAsciiFail("\xd9\x8c\xe1\xb3\x92\xe3\x80\x82\xf0\x9e\xae\x9e\xe2\xb5\xbf\xe2\xa7\x8e", true); } // [B1, B3, V6, V7]
12099test { try toUnicodeFail("xn--ohb646i.xn--ewi38jf765c"); } // [B1, B3, V6, V7]
12100test { try toAsciiFail("xn--ohb646i.xn--ewi38jf765c", false); } // [B1, B3, V6, V7]
12101test { try toAsciiFail("xn--ohb646i.xn--ewi38jf765c", true); } // [B1, B3, V6, V7]
12102test { try toUnicodeFail("\xe1\x82\xb4\xf0\x9d\xa8\xa8\xe2\x82\x83\xf3\xa0\x81\xa6\xef\xbc\x8e\xf0\x9d\x9f\xb3\xf0\x91\x82\xb9\xe0\xae\x82"); } // [V7]
12103test { try toAsciiFail("\xe1\x82\xb4\xf0\x9d\xa8\xa8\xe2\x82\x83\xf3\xa0\x81\xa6\xef\xbc\x8e\xf0\x9d\x9f\xb3\xf0\x91\x82\xb9\xe0\xae\x82", false); } // [V7]
12104test { try toAsciiFail("\xe1\x82\xb4\xf0\x9d\xa8\xa8\xe2\x82\x83\xf3\xa0\x81\xa6\xef\xbc\x8e\xf0\x9d\x9f\xb3\xf0\x91\x82\xb9\xe0\xae\x82", true); } // [V7]
12105test { try toUnicodeFail("\xe1\x82\xb4\xf0\x9d\xa8\xa83\xf3\xa0\x81\xa6.7\xf0\x91\x82\xb9\xe0\xae\x82"); } // [V7]
12106test { try toAsciiFail("\xe1\x82\xb4\xf0\x9d\xa8\xa83\xf3\xa0\x81\xa6.7\xf0\x91\x82\xb9\xe0\xae\x82", false); } // [V7]
12107test { try toAsciiFail("\xe1\x82\xb4\xf0\x9d\xa8\xa83\xf3\xa0\x81\xa6.7\xf0\x91\x82\xb9\xe0\xae\x82", true); } // [V7]
12108test { try toUnicodeFail("\xe2\xb4\x94\xf0\x9d\xa8\xa83\xf3\xa0\x81\xa6.7\xf0\x91\x82\xb9\xe0\xae\x82"); } // [V7]
12109test { try toAsciiFail("\xe2\xb4\x94\xf0\x9d\xa8\xa83\xf3\xa0\x81\xa6.7\xf0\x91\x82\xb9\xe0\xae\x82", false); } // [V7]
12110test { try toAsciiFail("\xe2\xb4\x94\xf0\x9d\xa8\xa83\xf3\xa0\x81\xa6.7\xf0\x91\x82\xb9\xe0\xae\x82", true); } // [V7]
12111test { try toUnicodeFail("xn--3-ews6985n35s3g.xn--7-cve6271r"); } // [V7]
12112test { try toAsciiFail("xn--3-ews6985n35s3g.xn--7-cve6271r", false); } // [V7]
12113test { try toAsciiFail("xn--3-ews6985n35s3g.xn--7-cve6271r", true); } // [V7]
12114test { try toUnicodeFail("\xe2\xb4\x94\xf0\x9d\xa8\xa8\xe2\x82\x83\xf3\xa0\x81\xa6\xef\xbc\x8e\xf0\x9d\x9f\xb3\xf0\x91\x82\xb9\xe0\xae\x82"); } // [V7]
12115test { try toAsciiFail("\xe2\xb4\x94\xf0\x9d\xa8\xa8\xe2\x82\x83\xf3\xa0\x81\xa6\xef\xbc\x8e\xf0\x9d\x9f\xb3\xf0\x91\x82\xb9\xe0\xae\x82", false); } // [V7]
12116test { try toAsciiFail("\xe2\xb4\x94\xf0\x9d\xa8\xa8\xe2\x82\x83\xf3\xa0\x81\xa6\xef\xbc\x8e\xf0\x9d\x9f\xb3\xf0\x91\x82\xb9\xe0\xae\x82", true); } // [V7]
12117test { try toUnicodeFail("xn--3-b1g83426a35t0g.xn--7-cve6271r"); } // [V7]
12118test { try toAsciiFail("xn--3-b1g83426a35t0g.xn--7-cve6271r", false); } // [V7]
12119test { try toAsciiFail("xn--3-b1g83426a35t0g.xn--7-cve6271r", true); } // [V7]
12120test { try toUnicodeFail("\xe4\x8f\x88\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xe2\x92\x88\xf1\xb1\xa2\x95"); } // [C1, V7]
12121test { try toAsciiFail("\xe4\x8f\x88\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xe2\x92\x88\xf1\xb1\xa2\x95", false); } // [C1, V7]
12122test { try toAsciiFail("\xe4\x8f\x88\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c\xe2\x92\x88\xf1\xb1\xa2\x95", true); } // [V7]
12123test { try toUnicodeFail("\xe4\x8f\x88\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c1.\xf1\xb1\xa2\x95"); } // [C1, V7]
12124test { try toAsciiFail("\xe4\x8f\x88\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c1.\xf1\xb1\xa2\x95", false); } // [C1, V7]
12125test { try toAsciiFail("\xe4\x8f\x88\xe2\x80\x8c\xe3\x80\x82\xe2\x80\x8c1.\xf1\xb1\xa2\x95", true); } // [V7]
12126test { try toUnicodeFail("xn--eco.1.xn--ms39a"); } // [V7]
12127test { try toAsciiFail("xn--eco.1.xn--ms39a", false); } // [V7]
12128test { try toAsciiFail("xn--eco.1.xn--ms39a", true); } // [V7]
12129test { try toUnicodeFail("xn--0ug491l.xn--1-rgn.xn--ms39a"); } // [C1, V7]
12130test { try toAsciiFail("xn--0ug491l.xn--1-rgn.xn--ms39a", false); } // [C1, V7]
12131test { try toAsciiFail("xn--0ug491l.xn--1-rgn.xn--ms39a", true); } // [C1, V7]
12132test { try toUnicodeFail("xn--eco.xn--tsh21126d"); } // [V7]
12133test { try toAsciiFail("xn--eco.xn--tsh21126d", false); } // [V7]
12134test { try toAsciiFail("xn--eco.xn--tsh21126d", true); } // [V7]
12135test { try toUnicodeFail("xn--0ug491l.xn--0ug88oot66q"); } // [C1, V7]
12136test { try toAsciiFail("xn--0ug491l.xn--0ug88oot66q", false); } // [C1, V7]
12137test { try toAsciiFail("xn--0ug491l.xn--0ug88oot66q", true); } // [C1, V7]
12138test { try toUnicodeFail("\xef\xbc\x91\xea\xab\xb6\xc3\x9f\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98"); } // [V6]
12139test { try toAsciiFail("\xef\xbc\x91\xea\xab\xb6\xc3\x9f\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98", false); } // [V6]
12140test { try toAsciiFail("\xef\xbc\x91\xea\xab\xb6\xc3\x9f\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98", true); } // [V6]
12141test { try toUnicodeFail("1\xea\xab\xb6\xc3\x9f\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98"); } // [V6]
12142test { try toAsciiFail("1\xea\xab\xb6\xc3\x9f\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98", false); } // [V6]
12143test { try toAsciiFail("1\xea\xab\xb6\xc3\x9f\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98", true); } // [V6]
12144test { try toUnicodeFail("1\xea\xab\xb6SS\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98"); } // [V6]
12145test { try toAsciiFail("1\xea\xab\xb6SS\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98", false); } // [V6]
12146test { try toAsciiFail("1\xea\xab\xb6SS\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98", true); } // [V6]
12147test { try toUnicodeFail("1\xea\xab\xb6ss\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98"); } // [V6]
12148test { try toAsciiFail("1\xea\xab\xb6ss\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98", false); } // [V6]
12149test { try toAsciiFail("1\xea\xab\xb6ss\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98", true); } // [V6]
12150test { try toUnicodeFail("xn--1ss-ir6ln166b.xn--weg"); } // [V6]
12151test { try toAsciiFail("xn--1ss-ir6ln166b.xn--weg", false); } // [V6]
12152test { try toAsciiFail("xn--1ss-ir6ln166b.xn--weg", true); } // [V6]
12153test { try toUnicodeFail("xn--1-qfa2471kdb0d.xn--weg"); } // [V6]
12154test { try toAsciiFail("xn--1-qfa2471kdb0d.xn--weg", false); } // [V6]
12155test { try toAsciiFail("xn--1-qfa2471kdb0d.xn--weg", true); } // [V6]
12156test { try toUnicodeFail("\xef\xbc\x91\xea\xab\xb6SS\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98"); } // [V6]
12157test { try toAsciiFail("\xef\xbc\x91\xea\xab\xb6SS\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98", false); } // [V6]
12158test { try toAsciiFail("\xef\xbc\x91\xea\xab\xb6SS\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98", true); } // [V6]
12159test { try toUnicodeFail("\xef\xbc\x91\xea\xab\xb6ss\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98"); } // [V6]
12160test { try toAsciiFail("\xef\xbc\x91\xea\xab\xb6ss\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98", false); } // [V6]
12161test { try toAsciiFail("\xef\xbc\x91\xea\xab\xb6ss\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98", true); } // [V6]
12162test { try toUnicodeFail("1\xea\xab\xb6Ss\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98"); } // [V6]
12163test { try toAsciiFail("1\xea\xab\xb6Ss\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98", false); } // [V6]
12164test { try toAsciiFail("1\xea\xab\xb6Ss\xf0\x91\xb2\xa5\xe3\x80\x82\xe1\xb7\x98", true); } // [V6]
12165test { try toUnicodeFail("\xef\xbc\x91\xea\xab\xb6Ss\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98"); } // [V6]
12166test { try toAsciiFail("\xef\xbc\x91\xea\xab\xb6Ss\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98", false); } // [V6]
12167test { try toAsciiFail("\xef\xbc\x91\xea\xab\xb6Ss\xf0\x91\xb2\xa5\xef\xbd\xa1\xe1\xb7\x98", true); } // [V6]
12168test { try toUnicodeFail("\xe2\x80\x8d\xf1\xab\xb6\xa9\xf0\x9e\xaa\xaf\xe0\xb3\x8d\xef\xbd\xa1\xdd\xbc\xe2\x92\x88"); } // [B1, C2, V7]
12169test { try toAsciiFail("\xe2\x80\x8d\xf1\xab\xb6\xa9\xf0\x9e\xaa\xaf\xe0\xb3\x8d\xef\xbd\xa1\xdd\xbc\xe2\x92\x88", false); } // [B1, C2, V7]
12170test { try toAsciiFail("\xe2\x80\x8d\xf1\xab\xb6\xa9\xf0\x9e\xaa\xaf\xe0\xb3\x8d\xef\xbd\xa1\xdd\xbc\xe2\x92\x88", true); } // [B5, B6, V7]
12171test { try toUnicodeFail("\xe2\x80\x8d\xf1\xab\xb6\xa9\xf0\x9e\xaa\xaf\xe0\xb3\x8d\xe3\x80\x82\xdd\xbc1."); } // [B1, C2, V7]
12172test { try toAsciiFail("\xe2\x80\x8d\xf1\xab\xb6\xa9\xf0\x9e\xaa\xaf\xe0\xb3\x8d\xe3\x80\x82\xdd\xbc1.", false); } // [B1, C2, V7, A4_2]
12173test { try toAsciiFail("\xe2\x80\x8d\xf1\xab\xb6\xa9\xf0\x9e\xaa\xaf\xe0\xb3\x8d\xe3\x80\x82\xdd\xbc1.", true); } // [B5, B6, V7, A4_2]
12174test { try toUnicodeFail("xn--8tc9875v5is1a.xn--1-g6c."); } // [B5, B6, V7]
12175test { try toAsciiFail("xn--8tc9875v5is1a.xn--1-g6c.", false); } // [B5, B6, V7, A4_2]
12176test { try toAsciiFail("xn--8tc9875v5is1a.xn--1-g6c.", true); } // [B5, B6, V7, A4_2]
12177test { try toUnicodeFail("xn--8tc969gzn94a4lm8a.xn--1-g6c."); } // [B1, C2, V7]
12178test { try toAsciiFail("xn--8tc969gzn94a4lm8a.xn--1-g6c.", false); } // [B1, C2, V7, A4_2]
12179test { try toAsciiFail("xn--8tc969gzn94a4lm8a.xn--1-g6c.", true); } // [B1, C2, V7, A4_2]
12180test { try toUnicodeFail("xn--8tc9875v5is1a.xn--dqb689l"); } // [B5, B6, V7]
12181test { try toAsciiFail("xn--8tc9875v5is1a.xn--dqb689l", false); } // [B5, B6, V7]
12182test { try toAsciiFail("xn--8tc9875v5is1a.xn--dqb689l", true); } // [B5, B6, V7]
12183test { try toUnicodeFail("xn--8tc969gzn94a4lm8a.xn--dqb689l"); } // [B1, C2, V7]
12184test { try toAsciiFail("xn--8tc969gzn94a4lm8a.xn--dqb689l", false); } // [B1, C2, V7]
12185test { try toAsciiFail("xn--8tc969gzn94a4lm8a.xn--dqb689l", true); } // [B1, C2, V7]
12186test { try toUnicodeFail("\xe1\xaa\xb6\xef\xbc\x8e\xf0\x9e\xa4\xb3\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97"); } // [B1, B2, V6, V7]
12187test { try toAsciiFail("\xe1\xaa\xb6\xef\xbc\x8e\xf0\x9e\xa4\xb3\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97", false); } // [B1, B2, V6, V7]
12188test { try toAsciiFail("\xe1\xaa\xb6\xef\xbc\x8e\xf0\x9e\xa4\xb3\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97", true); } // [B1, B2, V6, V7]
12189test { try toUnicodeFail("\xe1\xaa\xb6.\xf0\x9e\xa4\xb3\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97"); } // [B1, B2, V6, V7]
12190test { try toAsciiFail("\xe1\xaa\xb6.\xf0\x9e\xa4\xb3\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97", false); } // [B1, B2, V6, V7]
12191test { try toAsciiFail("\xe1\xaa\xb6.\xf0\x9e\xa4\xb3\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97", true); } // [B1, B2, V6, V7]
12192test { try toUnicodeFail("\xe1\xaa\xb6.\xf0\x9e\xa4\x91\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97"); } // [B1, B2, V6, V7]
12193test { try toAsciiFail("\xe1\xaa\xb6.\xf0\x9e\xa4\x91\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97", false); } // [B1, B2, V6, V7]
12194test { try toAsciiFail("\xe1\xaa\xb6.\xf0\x9e\xa4\x91\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97", true); } // [B1, B2, V6, V7]
12195test { try toUnicodeFail("xn--zqf.xn--ysb9657vuiz5bj0ep"); } // [B1, B2, V6, V7]
12196test { try toAsciiFail("xn--zqf.xn--ysb9657vuiz5bj0ep", false); } // [B1, B2, V6, V7]
12197test { try toAsciiFail("xn--zqf.xn--ysb9657vuiz5bj0ep", true); } // [B1, B2, V6, V7]
12198test { try toUnicodeFail("\xe1\xaa\xb6\xef\xbc\x8e\xf0\x9e\xa4\x91\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97"); } // [B1, B2, V6, V7]
12199test { try toAsciiFail("\xe1\xaa\xb6\xef\xbc\x8e\xf0\x9e\xa4\x91\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97", false); } // [B1, B2, V6, V7]
12200test { try toAsciiFail("\xe1\xaa\xb6\xef\xbc\x8e\xf0\x9e\xa4\x91\xf2\x93\xa2\x96\xf2\xbb\x89\x92\xdf\x97", true); } // [B1, B2, V6, V7]
12201test { try toUnicodeFail("\xe0\xa1\x82\xf0\x9e\xa9\x9a\xe2\x92\x88\xef\xbc\x8e\xf3\xa0\xac\x8c\xef\xbc\x98\xf2\x8f\xb3\x8f\xdd\xb0"); } // [B1, V7]
12202test { try toAsciiFail("\xe0\xa1\x82\xf0\x9e\xa9\x9a\xe2\x92\x88\xef\xbc\x8e\xf3\xa0\xac\x8c\xef\xbc\x98\xf2\x8f\xb3\x8f\xdd\xb0", false); } // [B1, V7]
12203test { try toAsciiFail("\xe0\xa1\x82\xf0\x9e\xa9\x9a\xe2\x92\x88\xef\xbc\x8e\xf3\xa0\xac\x8c\xef\xbc\x98\xf2\x8f\xb3\x8f\xdd\xb0", true); } // [B1, V7]
12204test { try toUnicodeFail("\xe0\xa1\x82\xf0\x9e\xa9\x9a1..\xf3\xa0\xac\x8c8\xf2\x8f\xb3\x8f\xdd\xb0"); } // [B1, V7, X4_2]
12205test { try toAsciiFail("\xe0\xa1\x82\xf0\x9e\xa9\x9a1..\xf3\xa0\xac\x8c8\xf2\x8f\xb3\x8f\xdd\xb0", false); } // [B1, V7, A4_2]
12206test { try toAsciiFail("\xe0\xa1\x82\xf0\x9e\xa9\x9a1..\xf3\xa0\xac\x8c8\xf2\x8f\xb3\x8f\xdd\xb0", true); } // [B1, V7, A4_2]
12207test { try toUnicodeFail("xn--1-rid26318a..xn--8-s5c22427ox454a"); } // [B1, V7, X4_2]
12208test { try toAsciiFail("xn--1-rid26318a..xn--8-s5c22427ox454a", false); } // [B1, V7, A4_2]
12209test { try toAsciiFail("xn--1-rid26318a..xn--8-s5c22427ox454a", true); } // [B1, V7, A4_2]
12210test { try toUnicodeFail("xn--0vb095ldg52a.xn--8-s5c22427ox454a"); } // [B1, V7]
12211test { try toAsciiFail("xn--0vb095ldg52a.xn--8-s5c22427ox454a", false); } // [B1, V7]
12212test { try toAsciiFail("xn--0vb095ldg52a.xn--8-s5c22427ox454a", true); } // [B1, V7]
12213test { try toUnicodeFail("\xcd\xa1\xf0\x90\xab\xab\xcd\xa9\xe1\xa1\xb7\xe3\x80\x82-\xf3\xa0\xb0\x9b\xe9\x9e\xb0"); } // [B1, V3, V6, V7]
12214test { try toAsciiFail("\xcd\xa1\xf0\x90\xab\xab\xcd\xa9\xe1\xa1\xb7\xe3\x80\x82-\xf3\xa0\xb0\x9b\xe9\x9e\xb0", false); } // [B1, V3, V6, V7]
12215test { try toAsciiFail("\xcd\xa1\xf0\x90\xab\xab\xcd\xa9\xe1\xa1\xb7\xe3\x80\x82-\xf3\xa0\xb0\x9b\xe9\x9e\xb0", true); } // [B1, V3, V6, V7]
12216test { try toUnicodeFail("xn--cvaq482npv5t.xn----yg7dt1332g"); } // [B1, V3, V6, V7]
12217test { try toAsciiFail("xn--cvaq482npv5t.xn----yg7dt1332g", false); } // [B1, V3, V6, V7]
12218test { try toAsciiFail("xn--cvaq482npv5t.xn----yg7dt1332g", true); } // [B1, V3, V6, V7]
12219test { try toUnicodeFail("-.\xe0\xab\x8d\xe5\x89\x98\xc3\x9f\xf0\x90\xab\x83"); } // [B1, V3, V6]
12220test { try toAsciiFail("-.\xe0\xab\x8d\xe5\x89\x98\xc3\x9f\xf0\x90\xab\x83", false); } // [B1, V3, V6]
12221test { try toAsciiFail("-.\xe0\xab\x8d\xe5\x89\x98\xc3\x9f\xf0\x90\xab\x83", true); } // [B1, V3, V6]
12222test { try toUnicodeFail("-.\xe0\xab\x8d\xe5\x89\x98SS\xf0\x90\xab\x83"); } // [B1, V3, V6]
12223test { try toAsciiFail("-.\xe0\xab\x8d\xe5\x89\x98SS\xf0\x90\xab\x83", false); } // [B1, V3, V6]
12224test { try toAsciiFail("-.\xe0\xab\x8d\xe5\x89\x98SS\xf0\x90\xab\x83", true); } // [B1, V3, V6]
12225test { try toUnicodeFail("-.\xe0\xab\x8d\xe5\x89\x98ss\xf0\x90\xab\x83"); } // [B1, V3, V6]
12226test { try toAsciiFail("-.\xe0\xab\x8d\xe5\x89\x98ss\xf0\x90\xab\x83", false); } // [B1, V3, V6]
12227test { try toAsciiFail("-.\xe0\xab\x8d\xe5\x89\x98ss\xf0\x90\xab\x83", true); } // [B1, V3, V6]
12228test { try toUnicodeFail("-.\xe0\xab\x8d\xe5\x89\x98Ss\xf0\x90\xab\x83"); } // [B1, V3, V6]
12229test { try toAsciiFail("-.\xe0\xab\x8d\xe5\x89\x98Ss\xf0\x90\xab\x83", false); } // [B1, V3, V6]
12230test { try toAsciiFail("-.\xe0\xab\x8d\xe5\x89\x98Ss\xf0\x90\xab\x83", true); } // [B1, V3, V6]
12231test { try toUnicodeFail("-.xn--ss-bqg4734erywk"); } // [B1, V3, V6]
12232test { try toAsciiFail("-.xn--ss-bqg4734erywk", false); } // [B1, V3, V6]
12233test { try toAsciiFail("-.xn--ss-bqg4734erywk", true); } // [B1, V3, V6]
12234test { try toUnicodeFail("-.xn--zca791c493duf8i"); } // [B1, V3, V6]
12235test { try toAsciiFail("-.xn--zca791c493duf8i", false); } // [B1, V3, V6]
12236test { try toAsciiFail("-.xn--zca791c493duf8i", true); } // [B1, V3, V6]
12237test { try toUnicodeFail("\xe0\xa3\xbb\xf0\x9e\xb5\xb8\xef\xbd\xa1-"); } // [B1, V3, V6, V7]
12238test { try toAsciiFail("\xe0\xa3\xbb\xf0\x9e\xb5\xb8\xef\xbd\xa1-", false); } // [B1, V3, V6, V7]
12239test { try toAsciiFail("\xe0\xa3\xbb\xf0\x9e\xb5\xb8\xef\xbd\xa1-", true); } // [B1, V3, V6, V7]
12240test { try toUnicodeFail("\xe0\xa3\xbb\xf0\x9e\xb5\xb8\xe3\x80\x82-"); } // [B1, V3, V6, V7]
12241test { try toAsciiFail("\xe0\xa3\xbb\xf0\x9e\xb5\xb8\xe3\x80\x82-", false); } // [B1, V3, V6, V7]
12242test { try toAsciiFail("\xe0\xa3\xbb\xf0\x9e\xb5\xb8\xe3\x80\x82-", true); } // [B1, V3, V6, V7]
12243test { try toUnicodeFail("xn--b1b2719v.-"); } // [B1, V3, V6, V7]
12244test { try toAsciiFail("xn--b1b2719v.-", false); } // [B1, V3, V6, V7]
12245test { try toAsciiFail("xn--b1b2719v.-", true); } // [B1, V3, V6, V7]
12246test { try toUnicodeFail("\xe2\x92\x88\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xef\xbd\xa1\xe2\x89\xa0\xd8\x83\xf0\x90\xb9\xbd"); } // [B1, V7]
12247test { try toAsciiFail("\xe2\x92\x88\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xef\xbd\xa1\xe2\x89\xa0\xd8\x83\xf0\x90\xb9\xbd", false); } // [B1, V7]
12248test { try toAsciiFail("\xe2\x92\x88\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xef\xbd\xa1\xe2\x89\xa0\xd8\x83\xf0\x90\xb9\xbd", true); } // [B1, V7]
12249test { try toUnicodeFail("\xe2\x92\x88\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xef\xbd\xa1=\xcc\xb8\xd8\x83\xf0\x90\xb9\xbd"); } // [B1, V7]
12250test { try toAsciiFail("\xe2\x92\x88\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xef\xbd\xa1=\xcc\xb8\xd8\x83\xf0\x90\xb9\xbd", false); } // [B1, V7]
12251test { try toAsciiFail("\xe2\x92\x88\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xef\xbd\xa1=\xcc\xb8\xd8\x83\xf0\x90\xb9\xbd", true); } // [B1, V7]
12252test { try toUnicodeFail("1.\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xe3\x80\x82\xe2\x89\xa0\xd8\x83\xf0\x90\xb9\xbd"); } // [B1, V7]
12253test { try toAsciiFail("1.\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xe3\x80\x82\xe2\x89\xa0\xd8\x83\xf0\x90\xb9\xbd", false); } // [B1, V7]
12254test { try toAsciiFail("1.\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xe3\x80\x82\xe2\x89\xa0\xd8\x83\xf0\x90\xb9\xbd", true); } // [B1, V7]
12255test { try toUnicodeFail("1.\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xe3\x80\x82=\xcc\xb8\xd8\x83\xf0\x90\xb9\xbd"); } // [B1, V7]
12256test { try toAsciiFail("1.\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xe3\x80\x82=\xcc\xb8\xd8\x83\xf0\x90\xb9\xbd", false); } // [B1, V7]
12257test { try toAsciiFail("1.\xf3\xa0\x88\xbb\xf0\x90\xb9\xb2\xe3\x80\x82=\xcc\xb8\xd8\x83\xf0\x90\xb9\xbd", true); } // [B1, V7]
12258test { try toUnicodeFail("1.xn--qo0dl3077c.xn--lfb536lb35n"); } // [B1, V7]
12259test { try toAsciiFail("1.xn--qo0dl3077c.xn--lfb536lb35n", false); } // [B1, V7]
12260test { try toAsciiFail("1.xn--qo0dl3077c.xn--lfb536lb35n", true); } // [B1, V7]
12261test { try toUnicodeFail("xn--tshw766f1153g.xn--lfb536lb35n"); } // [B1, V7]
12262test { try toAsciiFail("xn--tshw766f1153g.xn--lfb536lb35n", false); } // [B1, V7]
12263test { try toAsciiFail("xn--tshw766f1153g.xn--lfb536lb35n", true); } // [B1, V7]
12264test { try toUnicodeFail("\xf0\x90\xb9\xa2\xf3\xa0\x88\x9a\xe1\x82\xae\xe2\x80\x8c.\xe3\x96\xbe\xf0\x90\xb9\xa1"); } // [B1, B5, B6, C1, V7]
12265test { try toAsciiFail("\xf0\x90\xb9\xa2\xf3\xa0\x88\x9a\xe1\x82\xae\xe2\x80\x8c.\xe3\x96\xbe\xf0\x90\xb9\xa1", false); } // [B1, B5, B6, C1, V7]
12266test { try toAsciiFail("\xf0\x90\xb9\xa2\xf3\xa0\x88\x9a\xe1\x82\xae\xe2\x80\x8c.\xe3\x96\xbe\xf0\x90\xb9\xa1", true); } // [B1, B5, B6, V7]
12267test { try toUnicodeFail("\xf0\x90\xb9\xa2\xf3\xa0\x88\x9a\xe2\xb4\x8e\xe2\x80\x8c.\xe3\x96\xbe\xf0\x90\xb9\xa1"); } // [B1, B5, B6, C1, V7]
12268test { try toAsciiFail("\xf0\x90\xb9\xa2\xf3\xa0\x88\x9a\xe2\xb4\x8e\xe2\x80\x8c.\xe3\x96\xbe\xf0\x90\xb9\xa1", false); } // [B1, B5, B6, C1, V7]
12269test { try toAsciiFail("\xf0\x90\xb9\xa2\xf3\xa0\x88\x9a\xe2\xb4\x8e\xe2\x80\x8c.\xe3\x96\xbe\xf0\x90\xb9\xa1", true); } // [B1, B5, B6, V7]
12270test { try toUnicodeFail("xn--5kjx323em053g.xn--pelu572d"); } // [B1, B5, B6, V7]
12271test { try toAsciiFail("xn--5kjx323em053g.xn--pelu572d", false); } // [B1, B5, B6, V7]
12272test { try toAsciiFail("xn--5kjx323em053g.xn--pelu572d", true); } // [B1, B5, B6, V7]
12273test { try toUnicodeFail("xn--0ug342clq0pqxv4i.xn--pelu572d"); } // [B1, B5, B6, C1, V7]
12274test { try toAsciiFail("xn--0ug342clq0pqxv4i.xn--pelu572d", false); } // [B1, B5, B6, C1, V7]
12275test { try toAsciiFail("xn--0ug342clq0pqxv4i.xn--pelu572d", true); } // [B1, B5, B6, C1, V7]
12276test { try toUnicodeFail("xn--mnd9001km0o0g.xn--pelu572d"); } // [B1, B5, B6, V7]
12277test { try toAsciiFail("xn--mnd9001km0o0g.xn--pelu572d", false); } // [B1, B5, B6, V7]
12278test { try toAsciiFail("xn--mnd9001km0o0g.xn--pelu572d", true); } // [B1, B5, B6, V7]
12279test { try toUnicodeFail("xn--mnd289ezj4pqxp0i.xn--pelu572d"); } // [B1, B5, B6, C1, V7]
12280test { try toAsciiFail("xn--mnd289ezj4pqxp0i.xn--pelu572d", false); } // [B1, B5, B6, C1, V7]
12281test { try toAsciiFail("xn--mnd289ezj4pqxp0i.xn--pelu572d", true); } // [B1, B5, B6, C1, V7]
12282test { try toUnicodeFail("\xf2\xa9\xbc\x97\xef\xbc\x8e\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe1\x82\xa7"); } // [B2, B3, V7]
12283test { try toAsciiFail("\xf2\xa9\xbc\x97\xef\xbc\x8e\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe1\x82\xa7", false); } // [B2, B3, V7]
12284test { try toAsciiFail("\xf2\xa9\xbc\x97\xef\xbc\x8e\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe1\x82\xa7", true); } // [B2, B3, V7]
12285test { try toUnicodeFail("\xf2\xa9\xbc\x97.\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe1\x82\xa7"); } // [B2, B3, V7]
12286test { try toAsciiFail("\xf2\xa9\xbc\x97.\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe1\x82\xa7", false); } // [B2, B3, V7]
12287test { try toAsciiFail("\xf2\xa9\xbc\x97.\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe1\x82\xa7", true); } // [B2, B3, V7]
12288test { try toUnicodeFail("\xf2\xa9\xbc\x97.\xdf\x87\xe1\xa1\x96\xe2\xb4\x93\xe2\xb4\x87"); } // [B2, B3, V7]
12289test { try toAsciiFail("\xf2\xa9\xbc\x97.\xdf\x87\xe1\xa1\x96\xe2\xb4\x93\xe2\xb4\x87", false); } // [B2, B3, V7]
12290test { try toAsciiFail("\xf2\xa9\xbc\x97.\xdf\x87\xe1\xa1\x96\xe2\xb4\x93\xe2\xb4\x87", true); } // [B2, B3, V7]
12291test { try toUnicodeFail("xn--te28c.xn--isb295fbtpmb"); } // [B2, B3, V7]
12292test { try toAsciiFail("xn--te28c.xn--isb295fbtpmb", false); } // [B2, B3, V7]
12293test { try toAsciiFail("xn--te28c.xn--isb295fbtpmb", true); } // [B2, B3, V7]
12294test { try toUnicodeFail("\xf2\xa9\xbc\x97\xef\xbc\x8e\xdf\x87\xe1\xa1\x96\xe2\xb4\x93\xe2\xb4\x87"); } // [B2, B3, V7]
12295test { try toAsciiFail("\xf2\xa9\xbc\x97\xef\xbc\x8e\xdf\x87\xe1\xa1\x96\xe2\xb4\x93\xe2\xb4\x87", false); } // [B2, B3, V7]
12296test { try toAsciiFail("\xf2\xa9\xbc\x97\xef\xbc\x8e\xdf\x87\xe1\xa1\x96\xe2\xb4\x93\xe2\xb4\x87", true); } // [B2, B3, V7]
12297test { try toUnicodeFail("xn--te28c.xn--isb856b9a631d"); } // [B2, B3, V7]
12298test { try toAsciiFail("xn--te28c.xn--isb856b9a631d", false); } // [B2, B3, V7]
12299test { try toAsciiFail("xn--te28c.xn--isb856b9a631d", true); } // [B2, B3, V7]
12300test { try toUnicodeFail("\xf2\xa9\xbc\x97.\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe2\xb4\x87"); } // [B2, B3, V7]
12301test { try toAsciiFail("\xf2\xa9\xbc\x97.\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe2\xb4\x87", false); } // [B2, B3, V7]
12302test { try toAsciiFail("\xf2\xa9\xbc\x97.\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe2\xb4\x87", true); } // [B2, B3, V7]
12303test { try toUnicodeFail("xn--te28c.xn--isb286btrgo7w"); } // [B2, B3, V7]
12304test { try toAsciiFail("xn--te28c.xn--isb286btrgo7w", false); } // [B2, B3, V7]
12305test { try toAsciiFail("xn--te28c.xn--isb286btrgo7w", true); } // [B2, B3, V7]
12306test { try toUnicodeFail("\xf2\xa9\xbc\x97\xef\xbc\x8e\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe2\xb4\x87"); } // [B2, B3, V7]
12307test { try toAsciiFail("\xf2\xa9\xbc\x97\xef\xbc\x8e\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe2\xb4\x87", false); } // [B2, B3, V7]
12308test { try toAsciiFail("\xf2\xa9\xbc\x97\xef\xbc\x8e\xdf\x87\xe1\xa1\x96\xe1\x82\xb3\xe2\xb4\x87", true); } // [B2, B3, V7]
12309test { try toUnicodeFail("\xe2\x80\x8d\xf4\x85\x8d\x89.\xda\xb3\xdd\xb5"); } // [B1, C2, V7]
12310test { try toAsciiFail("\xe2\x80\x8d\xf4\x85\x8d\x89.\xda\xb3\xdd\xb5", false); } // [B1, C2, V7]
12311test { try toAsciiFail("\xe2\x80\x8d\xf4\x85\x8d\x89.\xda\xb3\xdd\xb5", true); } // [V7]
12312test { try toUnicodeFail("xn--3j78f.xn--mkb20b"); } // [V7]
12313test { try toAsciiFail("xn--3j78f.xn--mkb20b", false); } // [V7]
12314test { try toAsciiFail("xn--3j78f.xn--mkb20b", true); } // [V7]
12315test { try toUnicodeFail("xn--1ug39444n.xn--mkb20b"); } // [B1, C2, V7]
12316test { try toAsciiFail("xn--1ug39444n.xn--mkb20b", false); } // [B1, C2, V7]
12317test { try toAsciiFail("xn--1ug39444n.xn--mkb20b", true); } // [B1, C2, V7]
12318test { try toUnicodeFail("\xf0\xb2\xa4\xb1\xe2\x92\x9b\xe2\xbe\xb3\xef\xbc\x8e\xea\xa1\xa6\xe2\x92\x88"); } // [V7]
12319test { try toAsciiFail("\xf0\xb2\xa4\xb1\xe2\x92\x9b\xe2\xbe\xb3\xef\xbc\x8e\xea\xa1\xa6\xe2\x92\x88", false); } // [V7]
12320test { try toAsciiFail("\xf0\xb2\xa4\xb1\xe2\x92\x9b\xe2\xbe\xb3\xef\xbc\x8e\xea\xa1\xa6\xe2\x92\x88", true); } // [V7]
12321test { try toUnicodePass("\xf0\xb2\xa4\xb120.\xe9\x9f\xb3.\xea\xa1\xa61.", "\xf0\xb2\xa4\xb120.\xe9\x9f\xb3.\xea\xa1\xa61."); }
12322test { try toAsciiFail("\xf0\xb2\xa4\xb120.\xe9\x9f\xb3.\xea\xa1\xa61.", false); } // [A4_2]
12323test { try toAsciiFail("\xf0\xb2\xa4\xb120.\xe9\x9f\xb3.\xea\xa1\xa61.", true); } // [A4_2]
12324test { try toUnicodePass("xn--20-9802c.xn--0w5a.xn--1-eg4e.", "\xf0\xb2\xa4\xb120.\xe9\x9f\xb3.\xea\xa1\xa61."); }
12325test { try toAsciiFail("xn--20-9802c.xn--0w5a.xn--1-eg4e.", false); } // [A4_2]
12326test { try toAsciiFail("xn--20-9802c.xn--0w5a.xn--1-eg4e.", true); } // [A4_2]
12327test { try toUnicodeFail("xn--dth6033bzbvx.xn--tsh9439b"); } // [V7]
12328test { try toAsciiFail("xn--dth6033bzbvx.xn--tsh9439b", false); } // [V7]
12329test { try toAsciiFail("xn--dth6033bzbvx.xn--tsh9439b", true); } // [V7]
12330test { try toUnicodeFail("\xdf\x9c\xef\xbc\x98\xf1\xb3\xa6\x93-\xef\xbd\xa1\xf2\x9e\xb2\x99\xf0\x91\x81\xbf\xf0\x90\xa9\xa5\xe0\xa7\x8d"); } // [B2, B3, B5, B6, V3, V7]
12331test { try toAsciiFail("\xdf\x9c\xef\xbc\x98\xf1\xb3\xa6\x93-\xef\xbd\xa1\xf2\x9e\xb2\x99\xf0\x91\x81\xbf\xf0\x90\xa9\xa5\xe0\xa7\x8d", false); } // [B2, B3, B5, B6, V3, V7]
12332test { try toAsciiFail("\xdf\x9c\xef\xbc\x98\xf1\xb3\xa6\x93-\xef\xbd\xa1\xf2\x9e\xb2\x99\xf0\x91\x81\xbf\xf0\x90\xa9\xa5\xe0\xa7\x8d", true); } // [B2, B3, B5, B6, V3, V7]
12333test { try toUnicodeFail("\xdf\x9c8\xf1\xb3\xa6\x93-\xe3\x80\x82\xf2\x9e\xb2\x99\xf0\x91\x81\xbf\xf0\x90\xa9\xa5\xe0\xa7\x8d"); } // [B2, B3, B5, B6, V3, V7]
12334test { try toAsciiFail("\xdf\x9c8\xf1\xb3\xa6\x93-\xe3\x80\x82\xf2\x9e\xb2\x99\xf0\x91\x81\xbf\xf0\x90\xa9\xa5\xe0\xa7\x8d", false); } // [B2, B3, B5, B6, V3, V7]
12335test { try toAsciiFail("\xdf\x9c8\xf1\xb3\xa6\x93-\xe3\x80\x82\xf2\x9e\xb2\x99\xf0\x91\x81\xbf\xf0\x90\xa9\xa5\xe0\xa7\x8d", true); } // [B2, B3, B5, B6, V3, V7]
12336test { try toUnicodeFail("xn--8--rve13079p.xn--b7b9842k42df776x"); } // [B2, B3, B5, B6, V3, V7]
12337test { try toAsciiFail("xn--8--rve13079p.xn--b7b9842k42df776x", false); } // [B2, B3, B5, B6, V3, V7]
12338test { try toAsciiFail("xn--8--rve13079p.xn--b7b9842k42df776x", true); } // [B2, B3, B5, B6, V3, V7]
12339test { try toUnicodePass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85"); }
12340test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85", "xn--dlj.xn--zca912alh227g", false); }
12341test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12342test { try toUnicodePass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0<\xcc\xb8\xc3\x9f\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85"); }
12343test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0<\xcc\xb8\xc3\x9f\xdd\x85", "xn--dlj.xn--zca912alh227g", false); }
12344test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0<\xcc\xb8\xc3\x9f\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12345test { try toUnicodePass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0<\xcc\xb8\xc3\x9f\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85"); }
12346test { try toAsciiPass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0<\xcc\xb8\xc3\x9f\xdd\x85", "xn--dlj.xn--zca912alh227g", false); }
12347test { try toAsciiPass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0<\xcc\xb8\xc3\x9f\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12348test { try toUnicodePass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85"); }
12349test { try toAsciiPass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85", "xn--dlj.xn--zca912alh227g", false); }
12350test { try toAsciiPass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12351test { try toUnicodePass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0\xe2\x89\xaeSS\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12352test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0\xe2\x89\xaeSS\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12353test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0\xe2\x89\xaeSS\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12354test { try toUnicodePass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0<\xcc\xb8SS\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12355test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0<\xcc\xb8SS\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12356test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0<\xcc\xb8SS\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12357test { try toUnicodePass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0<\xcc\xb8ss\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12358test { try toAsciiPass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0<\xcc\xb8ss\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12359test { try toAsciiPass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0<\xcc\xb8ss\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12360test { try toUnicodePass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0\xe2\x89\xaess\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12361test { try toAsciiPass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0\xe2\x89\xaess\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12362test { try toAsciiPass("\xe2\xb4\x95\xe3\x80\x82\xdb\xb0\xe2\x89\xaess\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12363test { try toUnicodePass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0\xe2\x89\xaeSs\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12364test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0\xe2\x89\xaeSs\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12365test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0\xe2\x89\xaeSs\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12366test { try toUnicodePass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0<\xcc\xb8Ss\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12367test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0<\xcc\xb8Ss\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12368test { try toAsciiPass("\xe1\x82\xb5\xe3\x80\x82\xdb\xb0<\xcc\xb8Ss\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12369test { try toUnicodePass("xn--dlj.xn--ss-jbe65aw27i", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12370test { try toAsciiPass("xn--dlj.xn--ss-jbe65aw27i", "xn--dlj.xn--ss-jbe65aw27i", false); }
12371test { try toAsciiPass("xn--dlj.xn--ss-jbe65aw27i", "xn--dlj.xn--ss-jbe65aw27i", true); }
12372test { try toUnicodePass("\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12373test { try toAsciiPass("\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12374test { try toAsciiPass("\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12375test { try toUnicodePass("\xe2\xb4\x95.\xdb\xb0<\xcc\xb8ss\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12376test { try toAsciiPass("\xe2\xb4\x95.\xdb\xb0<\xcc\xb8ss\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12377test { try toAsciiPass("\xe2\xb4\x95.\xdb\xb0<\xcc\xb8ss\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12378test { try toUnicodePass("\xe1\x82\xb5.\xdb\xb0<\xcc\xb8SS\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12379test { try toAsciiPass("\xe1\x82\xb5.\xdb\xb0<\xcc\xb8SS\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12380test { try toAsciiPass("\xe1\x82\xb5.\xdb\xb0<\xcc\xb8SS\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12381test { try toUnicodePass("\xe1\x82\xb5.\xdb\xb0\xe2\x89\xaeSS\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12382test { try toAsciiPass("\xe1\x82\xb5.\xdb\xb0\xe2\x89\xaeSS\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12383test { try toAsciiPass("\xe1\x82\xb5.\xdb\xb0\xe2\x89\xaeSS\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12384test { try toUnicodePass("\xe1\x82\xb5.\xdb\xb0\xe2\x89\xaeSs\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12385test { try toAsciiPass("\xe1\x82\xb5.\xdb\xb0\xe2\x89\xaeSs\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12386test { try toAsciiPass("\xe1\x82\xb5.\xdb\xb0\xe2\x89\xaeSs\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12387test { try toUnicodePass("\xe1\x82\xb5.\xdb\xb0<\xcc\xb8Ss\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xaess\xdd\x85"); }
12388test { try toAsciiPass("\xe1\x82\xb5.\xdb\xb0<\xcc\xb8Ss\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", false); }
12389test { try toAsciiPass("\xe1\x82\xb5.\xdb\xb0<\xcc\xb8Ss\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12390test { try toUnicodePass("xn--dlj.xn--zca912alh227g", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85"); }
12391test { try toAsciiPass("xn--dlj.xn--zca912alh227g", "xn--dlj.xn--zca912alh227g", false); }
12392test { try toAsciiPass("xn--dlj.xn--zca912alh227g", "xn--dlj.xn--zca912alh227g", true); }
12393test { try toUnicodePass("\xe2\xb4\x95.\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85"); }
12394test { try toAsciiPass("\xe2\xb4\x95.\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85", "xn--dlj.xn--zca912alh227g", false); }
12395test { try toAsciiPass("\xe2\xb4\x95.\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12396test { try toUnicodePass("\xe2\xb4\x95.\xdb\xb0<\xcc\xb8\xc3\x9f\xdd\x85", "\xe2\xb4\x95.\xdb\xb0\xe2\x89\xae\xc3\x9f\xdd\x85"); }
12397test { try toAsciiPass("\xe2\xb4\x95.\xdb\xb0<\xcc\xb8\xc3\x9f\xdd\x85", "xn--dlj.xn--zca912alh227g", false); }
12398test { try toAsciiPass("\xe2\xb4\x95.\xdb\xb0<\xcc\xb8\xc3\x9f\xdd\x85", "xn--dlj.xn--ss-jbe65aw27i", true); }
12399test { try toUnicodeFail("xn--tnd.xn--ss-jbe65aw27i"); } // [V7]
12400test { try toAsciiFail("xn--tnd.xn--ss-jbe65aw27i", false); } // [V7]
12401test { try toAsciiFail("xn--tnd.xn--ss-jbe65aw27i", true); } // [V7]
12402test { try toUnicodeFail("xn--tnd.xn--zca912alh227g"); } // [V7]
12403test { try toAsciiFail("xn--tnd.xn--zca912alh227g", false); } // [V7]
12404test { try toAsciiFail("xn--tnd.xn--zca912alh227g", true); } // [V7]
12405test { try toUnicodeFail("\xdf\xa9-.\xf0\x9d\xa8\x97\xea\x92\xb1\xe1\xad\xb2"); } // [B1, B3, V3, V6]
12406test { try toAsciiFail("\xdf\xa9-.\xf0\x9d\xa8\x97\xea\x92\xb1\xe1\xad\xb2", false); } // [B1, B3, V3, V6]
12407test { try toAsciiFail("\xdf\xa9-.\xf0\x9d\xa8\x97\xea\x92\xb1\xe1\xad\xb2", true); } // [B1, B3, V3, V6]
12408test { try toUnicodeFail("xn----odd.xn--dwf8994dc8wj"); } // [B1, B3, V3, V6]
12409test { try toAsciiFail("xn----odd.xn--dwf8994dc8wj", false); } // [B1, B3, V3, V6]
12410test { try toAsciiFail("xn----odd.xn--dwf8994dc8wj", true); } // [B1, B3, V3, V6]
12411test { try toUnicodeFail("\xf0\x9e\xbc\xb8\xe2\x80\x8c.\xe2\x89\xaf\xe4\x95\xb5\xe2\xab\xa7"); } // [B1, B3, C1, V7]
12412test { try toAsciiFail("\xf0\x9e\xbc\xb8\xe2\x80\x8c.\xe2\x89\xaf\xe4\x95\xb5\xe2\xab\xa7", false); } // [B1, B3, C1, V7]
12413test { try toAsciiFail("\xf0\x9e\xbc\xb8\xe2\x80\x8c.\xe2\x89\xaf\xe4\x95\xb5\xe2\xab\xa7", true); } // [B1, V7]
12414test { try toUnicodeFail("\xf0\x9e\xbc\xb8\xe2\x80\x8c.>\xcc\xb8\xe4\x95\xb5\xe2\xab\xa7"); } // [B1, B3, C1, V7]
12415test { try toAsciiFail("\xf0\x9e\xbc\xb8\xe2\x80\x8c.>\xcc\xb8\xe4\x95\xb5\xe2\xab\xa7", false); } // [B1, B3, C1, V7]
12416test { try toAsciiFail("\xf0\x9e\xbc\xb8\xe2\x80\x8c.>\xcc\xb8\xe4\x95\xb5\xe2\xab\xa7", true); } // [B1, V7]
12417test { try toUnicodeFail("xn--sn7h.xn--hdh754ax6w"); } // [B1, V7]
12418test { try toAsciiFail("xn--sn7h.xn--hdh754ax6w", false); } // [B1, V7]
12419test { try toAsciiFail("xn--sn7h.xn--hdh754ax6w", true); } // [B1, V7]
12420test { try toUnicodeFail("xn--0ugx453p.xn--hdh754ax6w"); } // [B1, B3, C1, V7]
12421test { try toAsciiFail("xn--0ugx453p.xn--hdh754ax6w", false); } // [B1, B3, C1, V7]
12422test { try toAsciiFail("xn--0ugx453p.xn--hdh754ax6w", true); } // [B1, B3, C1, V7]
12423test { try toUnicodeFail("\xf0\x90\xa8\x85\xc3\x9f\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92"); } // [B1, B3, V6, V7]
12424test { try toAsciiFail("\xf0\x90\xa8\x85\xc3\x9f\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92", false); } // [B1, B3, V6, V7]
12425test { try toAsciiFail("\xf0\x90\xa8\x85\xc3\x9f\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92", true); } // [B1, B3, V6, V7]
12426test { try toUnicodeFail("\xf0\x90\xa8\x85\xc3\x9f\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82"); } // [B1, V6]
12427test { try toAsciiFail("\xf0\x90\xa8\x85\xc3\x9f\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82", false); } // [B1, V6, A4_2]
12428test { try toAsciiFail("\xf0\x90\xa8\x85\xc3\x9f\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82", true); } // [B1, V6, A4_2]
12429test { try toUnicodeFail("\xf0\x90\xa8\x85SS\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82"); } // [B1, V6]
12430test { try toAsciiFail("\xf0\x90\xa8\x85SS\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82", false); } // [B1, V6, A4_2]
12431test { try toAsciiFail("\xf0\x90\xa8\x85SS\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82", true); } // [B1, V6, A4_2]
12432test { try toUnicodeFail("\xf0\x90\xa8\x85ss\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82"); } // [B1, V6]
12433test { try toAsciiFail("\xf0\x90\xa8\x85ss\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82", false); } // [B1, V6, A4_2]
12434test { try toAsciiFail("\xf0\x90\xa8\x85ss\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82", true); } // [B1, V6, A4_2]
12435test { try toUnicodeFail("\xf0\x90\xa8\x85Ss\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82"); } // [B1, V6]
12436test { try toAsciiFail("\xf0\x90\xa8\x85Ss\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82", false); } // [B1, V6, A4_2]
12437test { try toAsciiFail("\xf0\x90\xa8\x85Ss\xd9\x8a\xd8\xae.\xda\xac\xdb\xb3\xe3\x80\x82", true); } // [B1, V6, A4_2]
12438test { try toUnicodeFail("xn--ss-ytd5i7765l.xn--fkb6l."); } // [B1, V6]
12439test { try toAsciiFail("xn--ss-ytd5i7765l.xn--fkb6l.", false); } // [B1, V6, A4_2]
12440test { try toAsciiFail("xn--ss-ytd5i7765l.xn--fkb6l.", true); } // [B1, V6, A4_2]
12441test { try toUnicodeFail("xn--zca23yncs877j.xn--fkb6l."); } // [B1, V6]
12442test { try toAsciiFail("xn--zca23yncs877j.xn--fkb6l.", false); } // [B1, V6, A4_2]
12443test { try toAsciiFail("xn--zca23yncs877j.xn--fkb6l.", true); } // [B1, V6, A4_2]
12444test { try toUnicodeFail("\xf0\x90\xa8\x85SS\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92"); } // [B1, B3, V6, V7]
12445test { try toAsciiFail("\xf0\x90\xa8\x85SS\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92", false); } // [B1, B3, V6, V7]
12446test { try toAsciiFail("\xf0\x90\xa8\x85SS\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92", true); } // [B1, B3, V6, V7]
12447test { try toUnicodeFail("\xf0\x90\xa8\x85ss\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92"); } // [B1, B3, V6, V7]
12448test { try toAsciiFail("\xf0\x90\xa8\x85ss\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92", false); } // [B1, B3, V6, V7]
12449test { try toAsciiFail("\xf0\x90\xa8\x85ss\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92", true); } // [B1, B3, V6, V7]
12450test { try toUnicodeFail("\xf0\x90\xa8\x85Ss\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92"); } // [B1, B3, V6, V7]
12451test { try toAsciiFail("\xf0\x90\xa8\x85Ss\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92", false); } // [B1, B3, V6, V7]
12452test { try toAsciiFail("\xf0\x90\xa8\x85Ss\xef\xb1\x97.\xda\xac\xdb\xb3\xef\xb8\x92", true); } // [B1, B3, V6, V7]
12453test { try toUnicodeFail("xn--ss-ytd5i7765l.xn--fkb6lp314e"); } // [B1, B3, V6, V7]
12454test { try toAsciiFail("xn--ss-ytd5i7765l.xn--fkb6lp314e", false); } // [B1, B3, V6, V7]
12455test { try toAsciiFail("xn--ss-ytd5i7765l.xn--fkb6lp314e", true); } // [B1, B3, V6, V7]
12456test { try toUnicodeFail("xn--zca23yncs877j.xn--fkb6lp314e"); } // [B1, B3, V6, V7]
12457test { try toAsciiFail("xn--zca23yncs877j.xn--fkb6lp314e", false); } // [B1, B3, V6, V7]
12458test { try toAsciiFail("xn--zca23yncs877j.xn--fkb6lp314e", true); } // [B1, B3, V6, V7]
12459test { try toUnicodeFail("-\xe2\x89\xae\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe1\x82\xa1\xdc\x94"); } // [B1, V3, V7]
12460test { try toAsciiFail("-\xe2\x89\xae\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe1\x82\xa1\xdc\x94", false); } // [B1, V3, V7]
12461test { try toAsciiFail("-\xe2\x89\xae\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe1\x82\xa1\xdc\x94", true); } // [B1, V3, V7]
12462test { try toUnicodeFail("-<\xcc\xb8\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe1\x82\xa1\xdc\x94"); } // [B1, V3, V7]
12463test { try toAsciiFail("-<\xcc\xb8\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe1\x82\xa1\xdc\x94", false); } // [B1, V3, V7]
12464test { try toAsciiFail("-<\xcc\xb8\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe1\x82\xa1\xdc\x94", true); } // [B1, V3, V7]
12465test { try toUnicodeFail("-<\xcc\xb8\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe2\xb4\x81\xdc\x94"); } // [B1, V3, V7]
12466test { try toAsciiFail("-<\xcc\xb8\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe2\xb4\x81\xdc\x94", false); } // [B1, V3, V7]
12467test { try toAsciiFail("-<\xcc\xb8\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe2\xb4\x81\xdc\x94", true); } // [B1, V3, V7]
12468test { try toUnicodeFail("-\xe2\x89\xae\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe2\xb4\x81\xdc\x94"); } // [B1, V3, V7]
12469test { try toAsciiFail("-\xe2\x89\xae\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe2\xb4\x81\xdc\x94", false); } // [B1, V3, V7]
12470test { try toAsciiFail("-\xe2\x89\xae\xf0\x9f\xa1\x92\xe1\xb3\xad.\xf1\x8f\xbf\xbe\xe2\xb4\x81\xdc\x94", true); } // [B1, V3, V7]
12471test { try toUnicodeFail("xn----44l04zxt68c.xn--enb135qf106f"); } // [B1, V3, V7]
12472test { try toAsciiFail("xn----44l04zxt68c.xn--enb135qf106f", false); } // [B1, V3, V7]
12473test { try toAsciiFail("xn----44l04zxt68c.xn--enb135qf106f", true); } // [B1, V3, V7]
12474test { try toUnicodeFail("xn----44l04zxt68c.xn--enb300c1597h"); } // [B1, V3, V7]
12475test { try toAsciiFail("xn----44l04zxt68c.xn--enb300c1597h", false); } // [B1, V3, V7]
12476test { try toAsciiFail("xn----44l04zxt68c.xn--enb300c1597h", true); } // [B1, V3, V7]
12477test { try toAsciiPass("\xf0\x9e\xa4\xa8\xef\xbd\xa1\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c", "xn--ge6h.xn--oc9a", true); }
12478test { try toUnicodeFail("\xf0\x9e\xa4\xa8\xef\xbd\xa1\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c"); } // [B6, C1, C2]
12479test { try toAsciiFail("\xf0\x9e\xa4\xa8\xef\xbd\xa1\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c", false); } // [B6, C1, C2]
12480test { try toAsciiPass("\xf0\x9e\xa4\xa8\xe3\x80\x82\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c", "xn--ge6h.xn--oc9a", true); }
12481test { try toUnicodeFail("\xf0\x9e\xa4\xa8\xe3\x80\x82\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c"); } // [B6, C1, C2]
12482test { try toAsciiFail("\xf0\x9e\xa4\xa8\xe3\x80\x82\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c", false); } // [B6, C1, C2]
12483test { try toAsciiPass("\xf0\x9e\xa4\x86\xe3\x80\x82\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c", "xn--ge6h.xn--oc9a", true); }
12484test { try toUnicodeFail("\xf0\x9e\xa4\x86\xe3\x80\x82\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c"); } // [B6, C1, C2]
12485test { try toAsciiFail("\xf0\x9e\xa4\x86\xe3\x80\x82\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c", false); } // [B6, C1, C2]
12486test { try toUnicodePass("xn--ge6h.xn--oc9a", "\xf0\x9e\xa4\xa8.\xea\xa1\x8f"); }
12487test { try toAsciiPass("xn--ge6h.xn--oc9a", "xn--ge6h.xn--oc9a", false); }
12488test { try toAsciiPass("xn--ge6h.xn--oc9a", "xn--ge6h.xn--oc9a", true); }
12489test { try toUnicodePass("\xf0\x9e\xa4\xa8.\xea\xa1\x8f", "\xf0\x9e\xa4\xa8.\xea\xa1\x8f"); }
12490test { try toAsciiPass("\xf0\x9e\xa4\xa8.\xea\xa1\x8f", "xn--ge6h.xn--oc9a", false); }
12491test { try toAsciiPass("\xf0\x9e\xa4\xa8.\xea\xa1\x8f", "xn--ge6h.xn--oc9a", true); }
12492test { try toUnicodePass("\xf0\x9e\xa4\x86.\xea\xa1\x8f", "\xf0\x9e\xa4\xa8.\xea\xa1\x8f"); }
12493test { try toAsciiPass("\xf0\x9e\xa4\x86.\xea\xa1\x8f", "xn--ge6h.xn--oc9a", false); }
12494test { try toAsciiPass("\xf0\x9e\xa4\x86.\xea\xa1\x8f", "xn--ge6h.xn--oc9a", true); }
12495test { try toUnicodeFail("xn--ge6h.xn--0ugb9575h"); } // [B6, C1, C2]
12496test { try toAsciiFail("xn--ge6h.xn--0ugb9575h", false); } // [B6, C1, C2]
12497test { try toAsciiFail("xn--ge6h.xn--0ugb9575h", true); } // [B6, C1, C2]
12498test { try toAsciiPass("\xf0\x9e\xa4\x86\xef\xbd\xa1\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c", "xn--ge6h.xn--oc9a", true); }
12499test { try toUnicodeFail("\xf0\x9e\xa4\x86\xef\xbd\xa1\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c"); } // [B6, C1, C2]
12500test { try toAsciiFail("\xf0\x9e\xa4\x86\xef\xbd\xa1\xea\xa1\x8f\xe2\x80\x8d\xe2\x80\x8c", false); } // [B6, C1, C2]
12501test { try toUnicodeFail("\xf3\xa0\x85\xb9\xf0\x91\x82\xb6\xef\xbc\x8e\xe1\xa2\x8c\xf0\x91\x82\xb9\xd9\xa9"); } // [B1, B5, B6, V6]
12502test { try toAsciiFail("\xf3\xa0\x85\xb9\xf0\x91\x82\xb6\xef\xbc\x8e\xe1\xa2\x8c\xf0\x91\x82\xb9\xd9\xa9", false); } // [B1, B5, B6, V6]
12503test { try toAsciiFail("\xf3\xa0\x85\xb9\xf0\x91\x82\xb6\xef\xbc\x8e\xe1\xa2\x8c\xf0\x91\x82\xb9\xd9\xa9", true); } // [B1, B5, B6, V6]
12504test { try toUnicodeFail("\xf3\xa0\x85\xb9\xf0\x91\x82\xb6.\xe1\xa2\x8c\xf0\x91\x82\xb9\xd9\xa9"); } // [B1, B5, B6, V6]
12505test { try toAsciiFail("\xf3\xa0\x85\xb9\xf0\x91\x82\xb6.\xe1\xa2\x8c\xf0\x91\x82\xb9\xd9\xa9", false); } // [B1, B5, B6, V6]
12506test { try toAsciiFail("\xf3\xa0\x85\xb9\xf0\x91\x82\xb6.\xe1\xa2\x8c\xf0\x91\x82\xb9\xd9\xa9", true); } // [B1, B5, B6, V6]
12507test { try toUnicodeFail("xn--b50d.xn--iib993gyp5p"); } // [B1, B5, B6, V6]
12508test { try toAsciiFail("xn--b50d.xn--iib993gyp5p", false); } // [B1, B5, B6, V6]
12509test { try toAsciiFail("xn--b50d.xn--iib993gyp5p", true); } // [B1, B5, B6, V6]
12510test { try toUnicodeFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe2\xbe\x91"); } // [V7]
12511test { try toAsciiFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe2\xbe\x91", false); } // [V7]
12512test { try toAsciiFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe2\xbe\x91", true); } // [V7]
12513test { try toUnicodeFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe2\xbe\x91"); } // [V7]
12514test { try toAsciiFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe2\xbe\x91", false); } // [V7]
12515test { try toAsciiFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe2\xbe\x91", true); } // [V7]
12516test { try toUnicodeFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe8\xa5\xbe"); } // [V7]
12517test { try toAsciiFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe8\xa5\xbe", false); } // [V7]
12518test { try toAsciiFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe8\xa5\xbe", true); } // [V7]
12519test { try toUnicodeFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe8\xa5\xbe"); } // [V7]
12520test { try toAsciiFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe8\xa5\xbe", false); } // [V7]
12521test { try toAsciiFail("\xe2\x84\xb2\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe8\xa5\xbe", true); } // [V7]
12522test { try toUnicodeFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe8\xa5\xbe"); } // [V7]
12523test { try toAsciiFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe8\xa5\xbe", false); } // [V7]
12524test { try toAsciiFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe8\xa5\xbe", true); } // [V7]
12525test { try toUnicodeFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe8\xa5\xbe"); } // [V7]
12526test { try toAsciiFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe8\xa5\xbe", false); } // [V7]
12527test { try toAsciiFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe8\xa5\xbe", true); } // [V7]
12528test { try toUnicodeFail("xn--73g39298c.xn--hdhz171b"); } // [V7]
12529test { try toAsciiFail("xn--73g39298c.xn--hdhz171b", false); } // [V7]
12530test { try toAsciiFail("xn--73g39298c.xn--hdhz171b", true); } // [V7]
12531test { try toUnicodeFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe2\xbe\x91"); } // [V7]
12532test { try toAsciiFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe2\xbe\x91", false); } // [V7]
12533test { try toAsciiFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82>\xcc\xb8\xe2\xbe\x91", true); } // [V7]
12534test { try toUnicodeFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe2\xbe\x91"); } // [V7]
12535test { try toAsciiFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe2\xbe\x91", false); } // [V7]
12536test { try toAsciiFail("\xe2\x85\x8e\xf3\xa0\x85\xba\xf1\x9d\xb5\x92\xe3\x80\x82\xe2\x89\xaf\xe2\xbe\x91", true); } // [V7]
12537test { try toUnicodeFail("xn--f3g73398c.xn--hdhz171b"); } // [V7]
12538test { try toAsciiFail("xn--f3g73398c.xn--hdhz171b", false); } // [V7]
12539test { try toAsciiFail("xn--f3g73398c.xn--hdhz171b", true); } // [V7]
12540test { try toUnicodeFail("\xcf\x82\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xef\xbd\xa1-"); } // [B1, B5, B6, C2, V3]
12541test { try toAsciiFail("\xcf\x82\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xef\xbd\xa1-", false); } // [B1, B5, B6, C2, V3]
12542test { try toAsciiFail("\xcf\x82\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xef\xbd\xa1-", true); } // [B1, B5, B6, V3]
12543test { try toUnicodeFail("\xcf\x82\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xe3\x80\x82-"); } // [B1, B5, B6, C2, V3]
12544test { try toAsciiFail("\xcf\x82\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xe3\x80\x82-", false); } // [B1, B5, B6, C2, V3]
12545test { try toAsciiFail("\xcf\x82\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xe3\x80\x82-", true); } // [B1, B5, B6, V3]
12546test { try toUnicodeFail("\xce\xa3\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xe3\x80\x82-"); } // [B1, B5, B6, C2, V3]
12547test { try toAsciiFail("\xce\xa3\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xe3\x80\x82-", false); } // [B1, B5, B6, C2, V3]
12548test { try toAsciiFail("\xce\xa3\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xe3\x80\x82-", true); } // [B1, B5, B6, V3]
12549test { try toUnicodeFail("\xcf\x83\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xe3\x80\x82-"); } // [B1, B5, B6, C2, V3]
12550test { try toAsciiFail("\xcf\x83\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xe3\x80\x82-", false); } // [B1, B5, B6, C2, V3]
12551test { try toAsciiFail("\xcf\x83\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xe3\x80\x82-", true); } // [B1, B5, B6, V3]
12552test { try toUnicodeFail("xn--4xa25ks2j.-"); } // [B1, B5, B6, V3]
12553test { try toAsciiFail("xn--4xa25ks2j.-", false); } // [B1, B5, B6, V3]
12554test { try toAsciiFail("xn--4xa25ks2j.-", true); } // [B1, B5, B6, V3]
12555test { try toUnicodeFail("xn--4xa25ks2jenu.-"); } // [B1, B5, B6, C2, V3]
12556test { try toAsciiFail("xn--4xa25ks2jenu.-", false); } // [B1, B5, B6, C2, V3]
12557test { try toAsciiFail("xn--4xa25ks2jenu.-", true); } // [B1, B5, B6, C2, V3]
12558test { try toUnicodeFail("xn--3xa45ks2jenu.-"); } // [B1, B5, B6, C2, V3]
12559test { try toAsciiFail("xn--3xa45ks2jenu.-", false); } // [B1, B5, B6, C2, V3]
12560test { try toAsciiFail("xn--3xa45ks2jenu.-", true); } // [B1, B5, B6, C2, V3]
12561test { try toUnicodeFail("\xce\xa3\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xef\xbd\xa1-"); } // [B1, B5, B6, C2, V3]
12562test { try toAsciiFail("\xce\xa3\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xef\xbd\xa1-", false); } // [B1, B5, B6, C2, V3]
12563test { try toAsciiFail("\xce\xa3\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xef\xbd\xa1-", true); } // [B1, B5, B6, V3]
12564test { try toUnicodeFail("\xcf\x83\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xef\xbd\xa1-"); } // [B1, B5, B6, C2, V3]
12565test { try toAsciiFail("\xcf\x83\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xef\xbd\xa1-", false); } // [B1, B5, B6, C2, V3]
12566test { try toAsciiFail("\xcf\x83\xe2\x80\x8d\xe0\xb7\x94\xd9\xa0\xef\xbd\xa1-", true); } // [B1, B5, B6, V3]
12567test { try toUnicodeFail("\xe2\x80\x8c.\xc3\x9f\xe1\x82\xa9-"); } // [C1, V3]
12568test { try toAsciiFail("\xe2\x80\x8c.\xc3\x9f\xe1\x82\xa9-", false); } // [C1, V3]
12569test { try toAsciiFail("\xe2\x80\x8c.\xc3\x9f\xe1\x82\xa9-", true); } // [V3, A4_2]
12570test { try toUnicodeFail("\xe2\x80\x8c.\xc3\x9f\xe2\xb4\x89-"); } // [C1, V3]
12571test { try toAsciiFail("\xe2\x80\x8c.\xc3\x9f\xe2\xb4\x89-", false); } // [C1, V3]
12572test { try toAsciiFail("\xe2\x80\x8c.\xc3\x9f\xe2\xb4\x89-", true); } // [V3, A4_2]
12573test { try toUnicodeFail("\xe2\x80\x8c.SS\xe1\x82\xa9-"); } // [C1, V3]
12574test { try toAsciiFail("\xe2\x80\x8c.SS\xe1\x82\xa9-", false); } // [C1, V3]
12575test { try toAsciiFail("\xe2\x80\x8c.SS\xe1\x82\xa9-", true); } // [V3, A4_2]
12576test { try toUnicodeFail("\xe2\x80\x8c.ss\xe2\xb4\x89-"); } // [C1, V3]
12577test { try toAsciiFail("\xe2\x80\x8c.ss\xe2\xb4\x89-", false); } // [C1, V3]
12578test { try toAsciiFail("\xe2\x80\x8c.ss\xe2\xb4\x89-", true); } // [V3, A4_2]
12579test { try toUnicodeFail("\xe2\x80\x8c.Ss\xe2\xb4\x89-"); } // [C1, V3]
12580test { try toAsciiFail("\xe2\x80\x8c.Ss\xe2\xb4\x89-", false); } // [C1, V3]
12581test { try toAsciiFail("\xe2\x80\x8c.Ss\xe2\xb4\x89-", true); } // [V3, A4_2]
12582test { try toUnicodeFail(".xn--ss--bi1b"); } // [V3, X4_2]
12583test { try toAsciiFail(".xn--ss--bi1b", false); } // [V3, A4_2]
12584test { try toAsciiFail(".xn--ss--bi1b", true); } // [V3, A4_2]
12585test { try toUnicodeFail("xn--0ug.xn--ss--bi1b"); } // [C1, V3]
12586test { try toAsciiFail("xn--0ug.xn--ss--bi1b", false); } // [C1, V3]
12587test { try toAsciiFail("xn--0ug.xn--ss--bi1b", true); } // [C1, V3]
12588test { try toUnicodeFail("xn--0ug.xn----pfa2305a"); } // [C1, V3]
12589test { try toAsciiFail("xn--0ug.xn----pfa2305a", false); } // [C1, V3]
12590test { try toAsciiFail("xn--0ug.xn----pfa2305a", true); } // [C1, V3]
12591test { try toUnicodeFail(".xn--ss--4rn"); } // [V3, V7, X4_2]
12592test { try toAsciiFail(".xn--ss--4rn", false); } // [V3, V7, A4_2]
12593test { try toAsciiFail(".xn--ss--4rn", true); } // [V3, V7, A4_2]
12594test { try toUnicodeFail("xn--0ug.xn--ss--4rn"); } // [C1, V3, V7]
12595test { try toAsciiFail("xn--0ug.xn--ss--4rn", false); } // [C1, V3, V7]
12596test { try toAsciiFail("xn--0ug.xn--ss--4rn", true); } // [C1, V3, V7]
12597test { try toUnicodeFail("xn--0ug.xn----pfa042j"); } // [C1, V3, V7]
12598test { try toAsciiFail("xn--0ug.xn----pfa042j", false); } // [C1, V3, V7]
12599test { try toAsciiFail("xn--0ug.xn----pfa042j", true); } // [C1, V3, V7]
12600test { try toUnicodeFail("\xf3\x8d\xad\xb2\xf0\x90\xab\x8d\xe3\x93\xb1\xe3\x80\x82\xe2\xbe\x91"); } // [B5, V7]
12601test { try toAsciiFail("\xf3\x8d\xad\xb2\xf0\x90\xab\x8d\xe3\x93\xb1\xe3\x80\x82\xe2\xbe\x91", false); } // [B5, V7]
12602test { try toAsciiFail("\xf3\x8d\xad\xb2\xf0\x90\xab\x8d\xe3\x93\xb1\xe3\x80\x82\xe2\xbe\x91", true); } // [B5, V7]
12603test { try toUnicodeFail("\xf3\x8d\xad\xb2\xf0\x90\xab\x8d\xe3\x93\xb1\xe3\x80\x82\xe8\xa5\xbe"); } // [B5, V7]
12604test { try toAsciiFail("\xf3\x8d\xad\xb2\xf0\x90\xab\x8d\xe3\x93\xb1\xe3\x80\x82\xe8\xa5\xbe", false); } // [B5, V7]
12605test { try toAsciiFail("\xf3\x8d\xad\xb2\xf0\x90\xab\x8d\xe3\x93\xb1\xe3\x80\x82\xe8\xa5\xbe", true); } // [B5, V7]
12606test { try toUnicodeFail("xn--u7kt691dlj09f.xn--9v2a"); } // [B5, V7]
12607test { try toAsciiFail("xn--u7kt691dlj09f.xn--9v2a", false); } // [B5, V7]
12608test { try toAsciiFail("xn--u7kt691dlj09f.xn--9v2a", true); } // [B5, V7]
12609test { try toUnicodeFail("\xda\xa0\xf0\x90\xae\x8b\xf0\x90\xb9\xb0\xe2\x89\xae\xe3\x80\x82\xe2\x89\xaf\xf3\xa0\xa6\x97\xe2\x80\x8d"); } // [B1, B3, C2, V7]
12610test { try toAsciiFail("\xda\xa0\xf0\x90\xae\x8b\xf0\x90\xb9\xb0\xe2\x89\xae\xe3\x80\x82\xe2\x89\xaf\xf3\xa0\xa6\x97\xe2\x80\x8d", false); } // [B1, B3, C2, V7]
12611test { try toAsciiFail("\xda\xa0\xf0\x90\xae\x8b\xf0\x90\xb9\xb0\xe2\x89\xae\xe3\x80\x82\xe2\x89\xaf\xf3\xa0\xa6\x97\xe2\x80\x8d", true); } // [B1, B3, V7]
12612test { try toUnicodeFail("\xda\xa0\xf0\x90\xae\x8b\xf0\x90\xb9\xb0<\xcc\xb8\xe3\x80\x82>\xcc\xb8\xf3\xa0\xa6\x97\xe2\x80\x8d"); } // [B1, B3, C2, V7]
12613test { try toAsciiFail("\xda\xa0\xf0\x90\xae\x8b\xf0\x90\xb9\xb0<\xcc\xb8\xe3\x80\x82>\xcc\xb8\xf3\xa0\xa6\x97\xe2\x80\x8d", false); } // [B1, B3, C2, V7]
12614test { try toAsciiFail("\xda\xa0\xf0\x90\xae\x8b\xf0\x90\xb9\xb0<\xcc\xb8\xe3\x80\x82>\xcc\xb8\xf3\xa0\xa6\x97\xe2\x80\x8d", true); } // [B1, B3, V7]
12615test { try toUnicodeFail("xn--2jb053lf13nyoc.xn--hdh08821l"); } // [B1, B3, V7]
12616test { try toAsciiFail("xn--2jb053lf13nyoc.xn--hdh08821l", false); } // [B1, B3, V7]
12617test { try toAsciiFail("xn--2jb053lf13nyoc.xn--hdh08821l", true); } // [B1, B3, V7]
12618test { try toUnicodeFail("xn--2jb053lf13nyoc.xn--1ugx6gc8096c"); } // [B1, B3, C2, V7]
12619test { try toAsciiFail("xn--2jb053lf13nyoc.xn--1ugx6gc8096c", false); } // [B1, B3, C2, V7]
12620test { try toAsciiFail("xn--2jb053lf13nyoc.xn--1ugx6gc8096c", true); } // [B1, B3, C2, V7]
12621test { try toUnicodeFail("\xf0\x9d\x9f\x9e\xef\xbd\xa1\xf1\x83\xb0\xb6\xdd\xb7\xe0\xa2\xb0\xe2\xa9\x8b"); } // [B1, B5, B6, V7]
12622test { try toAsciiFail("\xf0\x9d\x9f\x9e\xef\xbd\xa1\xf1\x83\xb0\xb6\xdd\xb7\xe0\xa2\xb0\xe2\xa9\x8b", false); } // [B1, B5, B6, V7]
12623test { try toAsciiFail("\xf0\x9d\x9f\x9e\xef\xbd\xa1\xf1\x83\xb0\xb6\xdd\xb7\xe0\xa2\xb0\xe2\xa9\x8b", true); } // [B1, B5, B6, V7]
12624test { try toUnicodeFail("6\xe3\x80\x82\xf1\x83\xb0\xb6\xdd\xb7\xe0\xa2\xb0\xe2\xa9\x8b"); } // [B1, B5, B6, V7]
12625test { try toAsciiFail("6\xe3\x80\x82\xf1\x83\xb0\xb6\xdd\xb7\xe0\xa2\xb0\xe2\xa9\x8b", false); } // [B1, B5, B6, V7]
12626test { try toAsciiFail("6\xe3\x80\x82\xf1\x83\xb0\xb6\xdd\xb7\xe0\xa2\xb0\xe2\xa9\x8b", true); } // [B1, B5, B6, V7]
12627test { try toUnicodeFail("6.xn--7pb04do15eq748f"); } // [B1, B5, B6, V7]
12628test { try toAsciiFail("6.xn--7pb04do15eq748f", false); } // [B1, B5, B6, V7]
12629test { try toAsciiFail("6.xn--7pb04do15eq748f", true); } // [B1, B5, B6, V7]
12630test { try toUnicodeFail("-\xef\xb3\xbd\xe3\x80\x82\xf0\x91\x8d\xb4\xf0\x91\x87\x80"); } // [B1, V3, V6]
12631test { try toAsciiFail("-\xef\xb3\xbd\xe3\x80\x82\xf0\x91\x8d\xb4\xf0\x91\x87\x80", false); } // [B1, V3, V6]
12632test { try toAsciiFail("-\xef\xb3\xbd\xe3\x80\x82\xf0\x91\x8d\xb4\xf0\x91\x87\x80", true); } // [B1, V3, V6]
12633test { try toUnicodeFail("-\xef\xb3\xbd\xe3\x80\x82\xf0\x91\x87\x80\xf0\x91\x8d\xb4"); } // [B1, V3, V6]
12634test { try toAsciiFail("-\xef\xb3\xbd\xe3\x80\x82\xf0\x91\x87\x80\xf0\x91\x8d\xb4", false); } // [B1, V3, V6]
12635test { try toAsciiFail("-\xef\xb3\xbd\xe3\x80\x82\xf0\x91\x87\x80\xf0\x91\x8d\xb4", true); } // [B1, V3, V6]
12636test { try toUnicodeFail("-\xd8\xb4\xd9\x89\xe3\x80\x82\xf0\x91\x87\x80\xf0\x91\x8d\xb4"); } // [B1, V3, V6]
12637test { try toAsciiFail("-\xd8\xb4\xd9\x89\xe3\x80\x82\xf0\x91\x87\x80\xf0\x91\x8d\xb4", false); } // [B1, V3, V6]
12638test { try toAsciiFail("-\xd8\xb4\xd9\x89\xe3\x80\x82\xf0\x91\x87\x80\xf0\x91\x8d\xb4", true); } // [B1, V3, V6]
12639test { try toUnicodeFail("xn----qnc7d.xn--wd1d62a"); } // [B1, V3, V6]
12640test { try toAsciiFail("xn----qnc7d.xn--wd1d62a", false); } // [B1, V3, V6]
12641test { try toAsciiFail("xn----qnc7d.xn--wd1d62a", true); } // [B1, V3, V6]
12642test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\x8a\xb6\xf0\x9d\x9f\x8f.\xe0\xb5\x83\xf2\xaa\xa5\x90\xf0\x90\xb9\xac\xf3\x8a\x93\xb6"); } // [B1, C1, V6, V7]
12643test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x8a\xb6\xf0\x9d\x9f\x8f.\xe0\xb5\x83\xf2\xaa\xa5\x90\xf0\x90\xb9\xac\xf3\x8a\x93\xb6", false); } // [B1, C1, V6, V7]
12644test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x8a\xb6\xf0\x9d\x9f\x8f.\xe0\xb5\x83\xf2\xaa\xa5\x90\xf0\x90\xb9\xac\xf3\x8a\x93\xb6", true); } // [B1, V6, V7]
12645test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\x8a\xb61.\xe0\xb5\x83\xf2\xaa\xa5\x90\xf0\x90\xb9\xac\xf3\x8a\x93\xb6"); } // [B1, C1, V6, V7]
12646test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x8a\xb61.\xe0\xb5\x83\xf2\xaa\xa5\x90\xf0\x90\xb9\xac\xf3\x8a\x93\xb6", false); } // [B1, C1, V6, V7]
12647test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x8a\xb61.\xe0\xb5\x83\xf2\xaa\xa5\x90\xf0\x90\xb9\xac\xf3\x8a\x93\xb6", true); } // [B1, V6, V7]
12648test { try toUnicodeFail("xn--1-f521m.xn--mxc0872kcu37dnmem"); } // [B1, V6, V7]
12649test { try toAsciiFail("xn--1-f521m.xn--mxc0872kcu37dnmem", false); } // [B1, V6, V7]
12650test { try toAsciiFail("xn--1-f521m.xn--mxc0872kcu37dnmem", true); } // [B1, V6, V7]
12651test { try toUnicodeFail("xn--1-rgnu0071n.xn--mxc0872kcu37dnmem"); } // [B1, C1, V6, V7]
12652test { try toAsciiFail("xn--1-rgnu0071n.xn--mxc0872kcu37dnmem", false); } // [B1, C1, V6, V7]
12653test { try toAsciiFail("xn--1-rgnu0071n.xn--mxc0872kcu37dnmem", true); } // [B1, C1, V6, V7]
12654test { try toUnicodePass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.\xc3\x9f", "\xe9\xbd\x99--4.\xc3\x9f"); }
12655test { try toAsciiPass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.\xc3\x9f", "xn----4-p16k.xn--zca", false); }
12656test { try toAsciiPass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.\xc3\x9f", "xn----4-p16k.ss", true); }
12657test { try toUnicodePass("\xe9\xbd\x99--4.\xc3\x9f", "\xe9\xbd\x99--4.\xc3\x9f"); }
12658test { try toAsciiPass("\xe9\xbd\x99--4.\xc3\x9f", "xn----4-p16k.xn--zca", false); }
12659test { try toAsciiPass("\xe9\xbd\x99--4.\xc3\x9f", "xn----4-p16k.ss", true); }
12660test { try toUnicodePass("\xe9\xbd\x99--4.SS", "\xe9\xbd\x99--4.ss"); }
12661test { try toAsciiPass("\xe9\xbd\x99--4.SS", "xn----4-p16k.ss", false); }
12662test { try toAsciiPass("\xe9\xbd\x99--4.SS", "xn----4-p16k.ss", true); }
12663test { try toUnicodePass("\xe9\xbd\x99--4.ss", "\xe9\xbd\x99--4.ss"); }
12664test { try toAsciiPass("\xe9\xbd\x99--4.ss", "xn----4-p16k.ss", false); }
12665test { try toAsciiPass("\xe9\xbd\x99--4.ss", "xn----4-p16k.ss", true); }
12666test { try toUnicodePass("\xe9\xbd\x99--4.Ss", "\xe9\xbd\x99--4.ss"); }
12667test { try toAsciiPass("\xe9\xbd\x99--4.Ss", "xn----4-p16k.ss", false); }
12668test { try toAsciiPass("\xe9\xbd\x99--4.Ss", "xn----4-p16k.ss", true); }
12669test { try toUnicodePass("xn----4-p16k.ss", "\xe9\xbd\x99--4.ss"); }
12670test { try toAsciiPass("xn----4-p16k.ss", "xn----4-p16k.ss", false); }
12671test { try toAsciiPass("xn----4-p16k.ss", "xn----4-p16k.ss", true); }
12672test { try toUnicodePass("xn----4-p16k.xn--zca", "\xe9\xbd\x99--4.\xc3\x9f"); }
12673test { try toAsciiPass("xn----4-p16k.xn--zca", "xn----4-p16k.xn--zca", false); }
12674test { try toAsciiPass("xn----4-p16k.xn--zca", "xn----4-p16k.xn--zca", true); }
12675test { try toUnicodePass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.SS", "\xe9\xbd\x99--4.ss"); }
12676test { try toAsciiPass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.SS", "xn----4-p16k.ss", false); }
12677test { try toAsciiPass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.SS", "xn----4-p16k.ss", true); }
12678test { try toUnicodePass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.ss", "\xe9\xbd\x99--4.ss"); }
12679test { try toAsciiPass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.ss", "xn----4-p16k.ss", false); }
12680test { try toAsciiPass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.ss", "xn----4-p16k.ss", true); }
12681test { try toUnicodePass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.Ss", "\xe9\xbd\x99--4.ss"); }
12682test { try toAsciiPass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.Ss", "xn----4-p16k.ss", false); }
12683test { try toAsciiPass("\xe9\xbd\x99--\xf0\x9d\x9f\xb0.Ss", "xn----4-p16k.ss", true); }
12684test { try toUnicodeFail("\xe1\xaf\xb2.\xf0\x90\xb9\xa2\xf0\x9e\x80\x96\xe2\x80\x8c"); } // [B1, C1, V6]
12685test { try toAsciiFail("\xe1\xaf\xb2.\xf0\x90\xb9\xa2\xf0\x9e\x80\x96\xe2\x80\x8c", false); } // [B1, C1, V6]
12686test { try toAsciiFail("\xe1\xaf\xb2.\xf0\x90\xb9\xa2\xf0\x9e\x80\x96\xe2\x80\x8c", true); } // [B1, V6]
12687test { try toUnicodeFail("xn--0zf.xn--9n0d2296a"); } // [B1, V6]
12688test { try toAsciiFail("xn--0zf.xn--9n0d2296a", false); } // [B1, V6]
12689test { try toAsciiFail("xn--0zf.xn--9n0d2296a", true); } // [B1, V6]
12690test { try toUnicodeFail("xn--0zf.xn--0ug9894grqqf"); } // [B1, C1, V6]
12691test { try toAsciiFail("xn--0zf.xn--0ug9894grqqf", false); } // [B1, C1, V6]
12692test { try toAsciiFail("xn--0zf.xn--0ug9894grqqf", true); } // [B1, C1, V6]
12693test { try toUnicodeFail("\xf3\x83\xb2\x99\xf3\xa0\x8b\x98\xef\xbd\xa1?-\xe2\x80\x8d"); } // [C2, V7, U1]
12694test { try toAsciiFail("\xf3\x83\xb2\x99\xf3\xa0\x8b\x98\xef\xbd\xa1?-\xe2\x80\x8d", false); } // [C2, V7, U1]
12695test { try toAsciiFail("\xf3\x83\xb2\x99\xf3\xa0\x8b\x98\xef\xbd\xa1?-\xe2\x80\x8d", true); } // [V3, V7, U1]
12696test { try toUnicodeFail("\xf3\x83\xb2\x99\xf3\xa0\x8b\x98\xe3\x80\x82?-\xe2\x80\x8d"); } // [C2, V7, U1]
12697test { try toAsciiFail("\xf3\x83\xb2\x99\xf3\xa0\x8b\x98\xe3\x80\x82?-\xe2\x80\x8d", false); } // [C2, V7, U1]
12698test { try toAsciiFail("\xf3\x83\xb2\x99\xf3\xa0\x8b\x98\xe3\x80\x82?-\xe2\x80\x8d", true); } // [V3, V7, U1]
12699test { try toUnicodeFail("xn--ct86d8w51a.?-"); } // [V3, V7, U1]
12700test { try toAsciiFail("xn--ct86d8w51a.?-", false); } // [V3, V7, U1]
12701test { try toAsciiFail("xn--ct86d8w51a.?-", true); } // [V3, V7, U1]
12702test { try toUnicodeFail("xn--ct86d8w51a.xn--?--n1t"); } // [C2, V7, U1]
12703test { try toAsciiFail("xn--ct86d8w51a.xn--?--n1t", false); } // [C2, V7, U1]
12704test { try toAsciiFail("xn--ct86d8w51a.xn--?--n1t", true); } // [C2, V7, U1]
12705test { try toUnicodeFail("xn--ct86d8w51a.?-\xe2\x80\x8d"); } // [C2, V7, U1]
12706test { try toAsciiFail("xn--ct86d8w51a.?-\xe2\x80\x8d", false); } // [C2, V7, U1]
12707test { try toAsciiFail("xn--ct86d8w51a.?-\xe2\x80\x8d", true); } // [V3, V7, U1]
12708test { try toUnicodeFail("XN--CT86D8W51A.?-\xe2\x80\x8d"); } // [C2, V7, U1]
12709test { try toAsciiFail("XN--CT86D8W51A.?-\xe2\x80\x8d", false); } // [C2, V7, U1]
12710test { try toAsciiFail("XN--CT86D8W51A.?-\xe2\x80\x8d", true); } // [V3, V7, U1]
12711test { try toUnicodeFail("Xn--Ct86d8w51a.?-\xe2\x80\x8d"); } // [C2, V7, U1]
12712test { try toAsciiFail("Xn--Ct86d8w51a.?-\xe2\x80\x8d", false); } // [C2, V7, U1]
12713test { try toAsciiFail("Xn--Ct86d8w51a.?-\xe2\x80\x8d", true); } // [V3, V7, U1]
12714test { try toUnicodeFail("\xe1\xa9\xa0\xef\xbc\x8e\xf0\x9e\xb5\xb7-\xf0\x9d\xaa\xa9\xe6\x82\x8e"); } // [B1, B2, B3, V6, V7]
12715test { try toAsciiFail("\xe1\xa9\xa0\xef\xbc\x8e\xf0\x9e\xb5\xb7-\xf0\x9d\xaa\xa9\xe6\x82\x8e", false); } // [B1, B2, B3, V6, V7]
12716test { try toAsciiFail("\xe1\xa9\xa0\xef\xbc\x8e\xf0\x9e\xb5\xb7-\xf0\x9d\xaa\xa9\xe6\x82\x8e", true); } // [B1, B2, B3, V6, V7]
12717test { try toUnicodeFail("\xe1\xa9\xa0.\xf0\x9e\xb5\xb7-\xf0\x9d\xaa\xa9\xe6\x82\x8e"); } // [B1, B2, B3, V6, V7]
12718test { try toAsciiFail("\xe1\xa9\xa0.\xf0\x9e\xb5\xb7-\xf0\x9d\xaa\xa9\xe6\x82\x8e", false); } // [B1, B2, B3, V6, V7]
12719test { try toAsciiFail("\xe1\xa9\xa0.\xf0\x9e\xb5\xb7-\xf0\x9d\xaa\xa9\xe6\x82\x8e", true); } // [B1, B2, B3, V6, V7]
12720test { try toUnicodeFail("xn--jof.xn----gf4bq282iezpa"); } // [B1, B2, B3, V6, V7]
12721test { try toAsciiFail("xn--jof.xn----gf4bq282iezpa", false); } // [B1, B2, B3, V6, V7]
12722test { try toAsciiFail("xn--jof.xn----gf4bq282iezpa", true); } // [B1, B2, B3, V6, V7]
12723test { try toUnicodeFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b\xef\xbc\x8e\xf0\x9e\xa4\xb3\xf1\x8f\xa5\xbe"); } // [B2, B3, B6, V7]
12724test { try toAsciiFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b\xef\xbc\x8e\xf0\x9e\xa4\xb3\xf1\x8f\xa5\xbe", false); } // [B2, B3, B6, V7]
12725test { try toAsciiFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b\xef\xbc\x8e\xf0\x9e\xa4\xb3\xf1\x8f\xa5\xbe", true); } // [B2, B3, B6, V7]
12726test { try toUnicodeFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b.\xf0\x9e\xa4\xb3\xf1\x8f\xa5\xbe"); } // [B2, B3, B6, V7]
12727test { try toAsciiFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b.\xf0\x9e\xa4\xb3\xf1\x8f\xa5\xbe", false); } // [B2, B3, B6, V7]
12728test { try toAsciiFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b.\xf0\x9e\xa4\xb3\xf1\x8f\xa5\xbe", true); } // [B2, B3, B6, V7]
12729test { try toUnicodeFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b.\xf0\x9e\xa4\x91\xf1\x8f\xa5\xbe"); } // [B2, B3, B6, V7]
12730test { try toAsciiFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b.\xf0\x9e\xa4\x91\xf1\x8f\xa5\xbe", false); } // [B2, B3, B6, V7]
12731test { try toAsciiFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b.\xf0\x9e\xa4\x91\xf1\x8f\xa5\xbe", true); } // [B2, B3, B6, V7]
12732test { try toUnicodeFail("xn--xx5gy2741c.xn--re6hw266j"); } // [B2, B3, B6, V7]
12733test { try toAsciiFail("xn--xx5gy2741c.xn--re6hw266j", false); } // [B2, B3, B6, V7]
12734test { try toAsciiFail("xn--xx5gy2741c.xn--re6hw266j", true); } // [B2, B3, B6, V7]
12735test { try toUnicodeFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b\xef\xbc\x8e\xf0\x9e\xa4\x91\xf1\x8f\xa5\xbe"); } // [B2, B3, B6, V7]
12736test { try toAsciiFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b\xef\xbc\x8e\xf0\x9e\xa4\x91\xf1\x8f\xa5\xbe", false); } // [B2, B3, B6, V7]
12737test { try toAsciiFail("\xf0\x9b\x9c\xaf\xf3\xa0\x8a\x9b\xef\xbc\x8e\xf0\x9e\xa4\x91\xf1\x8f\xa5\xbe", true); } // [B2, B3, B6, V7]
12738test { try toUnicodeFail("\xdc\x9c\xf0\x90\xab\x92\xd8\xae.\xf0\x90\x8b\xb2"); } // [B1]
12739test { try toAsciiFail("\xdc\x9c\xf0\x90\xab\x92\xd8\xae.\xf0\x90\x8b\xb2", false); } // [B1]
12740test { try toAsciiFail("\xdc\x9c\xf0\x90\xab\x92\xd8\xae.\xf0\x90\x8b\xb2", true); } // [B1]
12741test { try toUnicodeFail("xn--tgb98b8643d.xn--m97c"); } // [B1]
12742test { try toAsciiFail("xn--tgb98b8643d.xn--m97c", false); } // [B1]
12743test { try toAsciiFail("xn--tgb98b8643d.xn--m97c", true); } // [B1]
12744test { try toUnicodeFail("\xf0\x90\xbc\x91\xf0\x9e\xa4\x93\xd8\xb7\xe0\xa3\xa2.?"); } // [B1, V7, U1]
12745test { try toAsciiFail("\xf0\x90\xbc\x91\xf0\x9e\xa4\x93\xd8\xb7\xe0\xa3\xa2.?", false); } // [B1, V7, U1]
12746test { try toAsciiFail("\xf0\x90\xbc\x91\xf0\x9e\xa4\x93\xd8\xb7\xe0\xa3\xa2.?", true); } // [B1, V7, U1]
12747test { try toUnicodeFail("\xf0\x90\xbc\x91\xf0\x9e\xa4\xb5\xd8\xb7\xe0\xa3\xa2.?"); } // [B1, V7, U1]
12748test { try toAsciiFail("\xf0\x90\xbc\x91\xf0\x9e\xa4\xb5\xd8\xb7\xe0\xa3\xa2.?", false); } // [B1, V7, U1]
12749test { try toAsciiFail("\xf0\x90\xbc\x91\xf0\x9e\xa4\xb5\xd8\xb7\xe0\xa3\xa2.?", true); } // [B1, V7, U1]
12750test { try toUnicodeFail("xn--2gb08k9w69agm0g.?"); } // [B1, V7, U1]
12751test { try toAsciiFail("xn--2gb08k9w69agm0g.?", false); } // [B1, V7, U1]
12752test { try toAsciiFail("xn--2gb08k9w69agm0g.?", true); } // [B1, V7, U1]
12753test { try toUnicodeFail("\xe2\x86\x83\xe3\x80\x82\xe0\xa9\x8d\xe1\xb3\x94\xf0\x9e\xb7\xa3"); } // [B1, V6, V7]
12754test { try toAsciiFail("\xe2\x86\x83\xe3\x80\x82\xe0\xa9\x8d\xe1\xb3\x94\xf0\x9e\xb7\xa3", false); } // [B1, V6, V7]
12755test { try toAsciiFail("\xe2\x86\x83\xe3\x80\x82\xe0\xa9\x8d\xe1\xb3\x94\xf0\x9e\xb7\xa3", true); } // [B1, V6, V7]
12756test { try toUnicodeFail("\xe2\x86\x83\xe3\x80\x82\xe1\xb3\x94\xe0\xa9\x8d\xf0\x9e\xb7\xa3"); } // [B1, V6, V7]
12757test { try toAsciiFail("\xe2\x86\x83\xe3\x80\x82\xe1\xb3\x94\xe0\xa9\x8d\xf0\x9e\xb7\xa3", false); } // [B1, V6, V7]
12758test { try toAsciiFail("\xe2\x86\x83\xe3\x80\x82\xe1\xb3\x94\xe0\xa9\x8d\xf0\x9e\xb7\xa3", true); } // [B1, V6, V7]
12759test { try toUnicodeFail("\xe2\x86\x84\xe3\x80\x82\xe1\xb3\x94\xe0\xa9\x8d\xf0\x9e\xb7\xa3"); } // [B1, V6, V7]
12760test { try toAsciiFail("\xe2\x86\x84\xe3\x80\x82\xe1\xb3\x94\xe0\xa9\x8d\xf0\x9e\xb7\xa3", false); } // [B1, V6, V7]
12761test { try toAsciiFail("\xe2\x86\x84\xe3\x80\x82\xe1\xb3\x94\xe0\xa9\x8d\xf0\x9e\xb7\xa3", true); } // [B1, V6, V7]
12762test { try toUnicodeFail("xn--r5g.xn--ybc995g0835a"); } // [B1, V6, V7]
12763test { try toAsciiFail("xn--r5g.xn--ybc995g0835a", false); } // [B1, V6, V7]
12764test { try toAsciiFail("xn--r5g.xn--ybc995g0835a", true); } // [B1, V6, V7]
12765test { try toUnicodeFail("\xe2\x86\x84\xe3\x80\x82\xe0\xa9\x8d\xe1\xb3\x94\xf0\x9e\xb7\xa3"); } // [B1, V6, V7]
12766test { try toAsciiFail("\xe2\x86\x84\xe3\x80\x82\xe0\xa9\x8d\xe1\xb3\x94\xf0\x9e\xb7\xa3", false); } // [B1, V6, V7]
12767test { try toAsciiFail("\xe2\x86\x84\xe3\x80\x82\xe0\xa9\x8d\xe1\xb3\x94\xf0\x9e\xb7\xa3", true); } // [B1, V6, V7]
12768test { try toUnicodeFail("xn--q5g.xn--ybc995g0835a"); } // [B1, V6, V7]
12769test { try toAsciiFail("xn--q5g.xn--ybc995g0835a", false); } // [B1, V6, V7]
12770test { try toAsciiFail("xn--q5g.xn--ybc995g0835a", true); } // [B1, V6, V7]
12771test { try toUnicodeFail("\xf3\xa0\xaa\xa2-\xe3\x80\x82\xf2\x9b\x82\x8f\xe2\x89\xae\xf0\x91\x9c\xab"); } // [V3, V7]
12772test { try toAsciiFail("\xf3\xa0\xaa\xa2-\xe3\x80\x82\xf2\x9b\x82\x8f\xe2\x89\xae\xf0\x91\x9c\xab", false); } // [V3, V7]
12773test { try toAsciiFail("\xf3\xa0\xaa\xa2-\xe3\x80\x82\xf2\x9b\x82\x8f\xe2\x89\xae\xf0\x91\x9c\xab", true); } // [V3, V7]
12774test { try toUnicodeFail("\xf3\xa0\xaa\xa2-\xe3\x80\x82\xf2\x9b\x82\x8f<\xcc\xb8\xf0\x91\x9c\xab"); } // [V3, V7]
12775test { try toAsciiFail("\xf3\xa0\xaa\xa2-\xe3\x80\x82\xf2\x9b\x82\x8f<\xcc\xb8\xf0\x91\x9c\xab", false); } // [V3, V7]
12776test { try toAsciiFail("\xf3\xa0\xaa\xa2-\xe3\x80\x82\xf2\x9b\x82\x8f<\xcc\xb8\xf0\x91\x9c\xab", true); } // [V3, V7]
12777test { try toUnicodeFail("xn----bh61m.xn--gdhz157g0em1d"); } // [V3, V7]
12778test { try toAsciiFail("xn----bh61m.xn--gdhz157g0em1d", false); } // [V3, V7]
12779test { try toAsciiFail("xn----bh61m.xn--gdhz157g0em1d", true); } // [V3, V7]
12780test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7\xe2\x89\xae\xe1\x82\xa9"); } // [C1, C2, V7]
12781test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7\xe2\x89\xae\xe1\x82\xa9", false); } // [C1, C2, V7]
12782test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7\xe2\x89\xae\xe1\x82\xa9", true); } // [V7]
12783test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7<\xcc\xb8\xe1\x82\xa9"); } // [C1, C2, V7]
12784test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7<\xcc\xb8\xe1\x82\xa9", false); } // [C1, C2, V7]
12785test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7<\xcc\xb8\xe1\x82\xa9", true); } // [V7]
12786test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7<\xcc\xb8\xe2\xb4\x89"); } // [C1, C2, V7]
12787test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7<\xcc\xb8\xe2\xb4\x89", false); } // [C1, C2, V7]
12788test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7<\xcc\xb8\xe2\xb4\x89", true); } // [V7]
12789test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7\xe2\x89\xae\xe2\xb4\x89"); } // [C1, C2, V7]
12790test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7\xe2\x89\xae\xe2\xb4\x89", false); } // [C1, C2, V7]
12791test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\x89\xb9\xe2\x80\x8d\xe3\x80\x82\xf2\x8c\xbf\xa7\xe2\x89\xae\xe2\xb4\x89", true); } // [V7]
12792test { try toUnicodeFail("xn--3n36e.xn--gdh992byu01p"); } // [V7]
12793test { try toAsciiFail("xn--3n36e.xn--gdh992byu01p", false); } // [V7]
12794test { try toAsciiFail("xn--3n36e.xn--gdh992byu01p", true); } // [V7]
12795test { try toUnicodeFail("xn--0ugc90904y.xn--gdh992byu01p"); } // [C1, C2, V7]
12796test { try toAsciiFail("xn--0ugc90904y.xn--gdh992byu01p", false); } // [C1, C2, V7]
12797test { try toAsciiFail("xn--0ugc90904y.xn--gdh992byu01p", true); } // [C1, C2, V7]
12798test { try toUnicodeFail("xn--3n36e.xn--hnd112gpz83n"); } // [V7]
12799test { try toAsciiFail("xn--3n36e.xn--hnd112gpz83n", false); } // [V7]
12800test { try toAsciiFail("xn--3n36e.xn--hnd112gpz83n", true); } // [V7]
12801test { try toUnicodeFail("xn--0ugc90904y.xn--hnd112gpz83n"); } // [C1, C2, V7]
12802test { try toAsciiFail("xn--0ugc90904y.xn--hnd112gpz83n", false); } // [C1, C2, V7]
12803test { try toAsciiFail("xn--0ugc90904y.xn--hnd112gpz83n", true); } // [C1, C2, V7]
12804test { try toUnicodeFail("\xf0\x90\xb9\xaf-\xf0\x91\x84\xb4\xe0\xa2\xbc\xe3\x80\x82\xef\xb8\x92\xe4\x96\x90\xe2\xbe\x86"); } // [B1, V7]
12805test { try toAsciiFail("\xf0\x90\xb9\xaf-\xf0\x91\x84\xb4\xe0\xa2\xbc\xe3\x80\x82\xef\xb8\x92\xe4\x96\x90\xe2\xbe\x86", false); } // [B1, V7]
12806test { try toAsciiFail("\xf0\x90\xb9\xaf-\xf0\x91\x84\xb4\xe0\xa2\xbc\xe3\x80\x82\xef\xb8\x92\xe4\x96\x90\xe2\xbe\x86", true); } // [B1, V7]
12807test { try toUnicodeFail("\xf0\x90\xb9\xaf-\xf0\x91\x84\xb4\xe0\xa2\xbc\xe3\x80\x82\xe3\x80\x82\xe4\x96\x90\xe8\x88\x8c"); } // [B1, X4_2]
12808test { try toAsciiFail("\xf0\x90\xb9\xaf-\xf0\x91\x84\xb4\xe0\xa2\xbc\xe3\x80\x82\xe3\x80\x82\xe4\x96\x90\xe8\x88\x8c", false); } // [B1, A4_2]
12809test { try toAsciiFail("\xf0\x90\xb9\xaf-\xf0\x91\x84\xb4\xe0\xa2\xbc\xe3\x80\x82\xe3\x80\x82\xe4\x96\x90\xe8\x88\x8c", true); } // [B1, A4_2]
12810test { try toUnicodeFail("xn----rpd7902rclc..xn--fpo216m"); } // [B1, X4_2]
12811test { try toAsciiFail("xn----rpd7902rclc..xn--fpo216m", false); } // [B1, A4_2]
12812test { try toAsciiFail("xn----rpd7902rclc..xn--fpo216m", true); } // [B1, A4_2]
12813test { try toUnicodeFail("xn----rpd7902rclc.xn--fpo216mn07e"); } // [B1, V7]
12814test { try toAsciiFail("xn----rpd7902rclc.xn--fpo216mn07e", false); } // [B1, V7]
12815test { try toAsciiFail("xn----rpd7902rclc.xn--fpo216mn07e", true); } // [B1, V7]
12816test { try toUnicodeFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xef\xbd\xa1\xec\xaa\xa1"); } // [V6]
12817test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xef\xbd\xa1\xec\xaa\xa1", false); } // [V6]
12818test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xef\xbd\xa1\xec\xaa\xa1", true); } // [V6]
12819test { try toUnicodeFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xef\xbd\xa1\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8"); } // [V6]
12820test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xef\xbd\xa1\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8", false); } // [V6]
12821test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xef\xbd\xa1\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8", true); } // [V6]
12822test { try toUnicodeFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xe3\x80\x82\xec\xaa\xa1"); } // [V6]
12823test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xe3\x80\x82\xec\xaa\xa1", false); } // [V6]
12824test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xe3\x80\x82\xec\xaa\xa1", true); } // [V6]
12825test { try toUnicodeFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xe3\x80\x82\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8"); } // [V6]
12826test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xe3\x80\x82\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8", false); } // [V6]
12827test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe1\x82\xb0\xe3\x80\x82\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8", true); } // [V6]
12828test { try toUnicodeFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xe3\x80\x82\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8"); } // [V6]
12829test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xe3\x80\x82\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8", false); } // [V6]
12830test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xe3\x80\x82\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8", true); } // [V6]
12831test { try toUnicodeFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xe3\x80\x82\xec\xaa\xa1"); } // [V6]
12832test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xe3\x80\x82\xec\xaa\xa1", false); } // [V6]
12833test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xe3\x80\x82\xec\xaa\xa1", true); } // [V6]
12834test { try toUnicodeFail("xn--7kj1858k.xn--pi6b"); } // [V6]
12835test { try toAsciiFail("xn--7kj1858k.xn--pi6b", false); } // [V6]
12836test { try toAsciiFail("xn--7kj1858k.xn--pi6b", true); } // [V6]
12837test { try toUnicodeFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xef\xbd\xa1\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8"); } // [V6]
12838test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xef\xbd\xa1\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8", false); } // [V6]
12839test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xef\xbd\xa1\xe1\x84\x8d\xe1\x85\xa8\xe1\x86\xa8", true); } // [V6]
12840test { try toUnicodeFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xef\xbd\xa1\xec\xaa\xa1"); } // [V6]
12841test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xef\xbd\xa1\xec\xaa\xa1", false); } // [V6]
12842test { try toAsciiFail("\xf0\x9d\xaa\x9e\xe2\xb4\x90\xef\xbd\xa1\xec\xaa\xa1", true); } // [V6]
12843test { try toUnicodeFail("xn--ond3755u.xn--pi6b"); } // [V6, V7]
12844test { try toAsciiFail("xn--ond3755u.xn--pi6b", false); } // [V6, V7]
12845test { try toAsciiFail("xn--ond3755u.xn--pi6b", true); } // [V6, V7]
12846test { try toUnicodeFail("\xe0\xb8\xba\xec\xa9\x81\xf0\x90\xb9\xac.\xf4\x8b\x89\xb3"); } // [B1, V6, V7]
12847test { try toAsciiFail("\xe0\xb8\xba\xec\xa9\x81\xf0\x90\xb9\xac.\xf4\x8b\x89\xb3", false); } // [B1, V6, V7]
12848test { try toAsciiFail("\xe0\xb8\xba\xec\xa9\x81\xf0\x90\xb9\xac.\xf4\x8b\x89\xb3", true); } // [B1, V6, V7]
12849test { try toUnicodeFail("\xe0\xb8\xba\xe1\x84\x8d\xe1\x85\xa4\xe1\x86\xb8\xf0\x90\xb9\xac.\xf4\x8b\x89\xb3"); } // [B1, V6, V7]
12850test { try toAsciiFail("\xe0\xb8\xba\xe1\x84\x8d\xe1\x85\xa4\xe1\x86\xb8\xf0\x90\xb9\xac.\xf4\x8b\x89\xb3", false); } // [B1, V6, V7]
12851test { try toAsciiFail("\xe0\xb8\xba\xe1\x84\x8d\xe1\x85\xa4\xe1\x86\xb8\xf0\x90\xb9\xac.\xf4\x8b\x89\xb3", true); } // [B1, V6, V7]
12852test { try toUnicodeFail("xn--o4c4837g2zvb.xn--5f70g"); } // [B1, V6, V7]
12853test { try toAsciiFail("xn--o4c4837g2zvb.xn--5f70g", false); } // [B1, V6, V7]
12854test { try toAsciiFail("xn--o4c4837g2zvb.xn--5f70g", true); } // [B1, V6, V7]
12855test { try toUnicodeFail("\xe1\xa1\x85\xef\xbc\x90\xe2\x80\x8c\xef\xbd\xa1\xe2\x8e\xa2\xf3\xa4\xa8\x84"); } // [C1, V7]
12856test { try toAsciiFail("\xe1\xa1\x85\xef\xbc\x90\xe2\x80\x8c\xef\xbd\xa1\xe2\x8e\xa2\xf3\xa4\xa8\x84", false); } // [C1, V7]
12857test { try toAsciiFail("\xe1\xa1\x85\xef\xbc\x90\xe2\x80\x8c\xef\xbd\xa1\xe2\x8e\xa2\xf3\xa4\xa8\x84", true); } // [V7]
12858test { try toUnicodeFail("\xe1\xa1\x850\xe2\x80\x8c\xe3\x80\x82\xe2\x8e\xa2\xf3\xa4\xa8\x84"); } // [C1, V7]
12859test { try toAsciiFail("\xe1\xa1\x850\xe2\x80\x8c\xe3\x80\x82\xe2\x8e\xa2\xf3\xa4\xa8\x84", false); } // [C1, V7]
12860test { try toAsciiFail("\xe1\xa1\x850\xe2\x80\x8c\xe3\x80\x82\xe2\x8e\xa2\xf3\xa4\xa8\x84", true); } // [V7]
12861test { try toUnicodeFail("xn--0-z6j.xn--8lh28773l"); } // [V7]
12862test { try toAsciiFail("xn--0-z6j.xn--8lh28773l", false); } // [V7]
12863test { try toAsciiFail("xn--0-z6j.xn--8lh28773l", true); } // [V7]
12864test { try toUnicodeFail("xn--0-z6jy93b.xn--8lh28773l"); } // [C1, V7]
12865test { try toAsciiFail("xn--0-z6jy93b.xn--8lh28773l", false); } // [C1, V7]
12866test { try toAsciiFail("xn--0-z6jy93b.xn--8lh28773l", true); } // [C1, V7]
12867test { try toAsciiPass("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8d\xc3\x9f", "xn--9-i0j5967eg3qz.ss", true); }
12868test { try toUnicodeFail("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8d\xc3\x9f"); } // [C2]
12869test { try toAsciiFail("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8d\xc3\x9f", false); } // [C2]
12870test { try toAsciiPass("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8d\xc3\x9f", "xn--9-i0j5967eg3qz.ss", true); }
12871test { try toUnicodeFail("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8d\xc3\x9f"); } // [C2]
12872test { try toAsciiFail("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8d\xc3\x9f", false); } // [C2]
12873test { try toAsciiPass("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8dSS", "xn--9-i0j5967eg3qz.ss", true); }
12874test { try toUnicodeFail("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8dSS"); } // [C2]
12875test { try toAsciiFail("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8dSS", false); } // [C2]
12876test { try toAsciiPass("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8dss", "xn--9-i0j5967eg3qz.ss", true); }
12877test { try toUnicodeFail("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8dss"); } // [C2]
12878test { try toAsciiFail("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8dss", false); } // [C2]
12879test { try toUnicodePass("xn--9-i0j5967eg3qz.ss", "\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.ss"); }
12880test { try toAsciiPass("xn--9-i0j5967eg3qz.ss", "xn--9-i0j5967eg3qz.ss", false); }
12881test { try toAsciiPass("xn--9-i0j5967eg3qz.ss", "xn--9-i0j5967eg3qz.ss", true); }
12882test { try toUnicodePass("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.ss", "\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.ss"); }
12883test { try toAsciiPass("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.ss", "xn--9-i0j5967eg3qz.ss", false); }
12884test { try toAsciiPass("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.ss", "xn--9-i0j5967eg3qz.ss", true); }
12885test { try toUnicodePass("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.SS", "\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.ss"); }
12886test { try toAsciiPass("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.SS", "xn--9-i0j5967eg3qz.ss", false); }
12887test { try toAsciiPass("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.SS", "xn--9-i0j5967eg3qz.ss", true); }
12888test { try toUnicodeFail("xn--9-i0j5967eg3qz.xn--ss-l1t"); } // [C2]
12889test { try toAsciiFail("xn--9-i0j5967eg3qz.xn--ss-l1t", false); } // [C2]
12890test { try toAsciiFail("xn--9-i0j5967eg3qz.xn--ss-l1t", true); } // [C2]
12891test { try toUnicodeFail("xn--9-i0j5967eg3qz.xn--zca770n"); } // [C2]
12892test { try toAsciiFail("xn--9-i0j5967eg3qz.xn--zca770n", false); } // [C2]
12893test { try toAsciiFail("xn--9-i0j5967eg3qz.xn--zca770n", true); } // [C2]
12894test { try toAsciiPass("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8dSS", "xn--9-i0j5967eg3qz.ss", true); }
12895test { try toUnicodeFail("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8dSS"); } // [C2]
12896test { try toAsciiFail("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8dSS", false); } // [C2]
12897test { try toAsciiPass("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8dss", "xn--9-i0j5967eg3qz.ss", true); }
12898test { try toUnicodeFail("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8dss"); } // [C2]
12899test { try toAsciiFail("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8dss", false); } // [C2]
12900test { try toAsciiPass("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8dSs", "xn--9-i0j5967eg3qz.ss", true); }
12901test { try toUnicodeFail("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8dSs"); } // [C2]
12902test { try toAsciiFail("\xf0\xb2\xae\x9a9\xea\x8d\xa9\xe1\x9f\x93.\xe2\x80\x8dSs", false); } // [C2]
12903test { try toAsciiPass("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8dSs", "xn--9-i0j5967eg3qz.ss", true); }
12904test { try toUnicodeFail("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8dSs"); } // [C2]
12905test { try toAsciiFail("\xf0\xb2\xae\x9a\xef\xbc\x99\xea\x8d\xa9\xe1\x9f\x93\xef\xbc\x8e\xe2\x80\x8dSs", false); } // [C2]
12906test { try toUnicodePass("\xea\x97\xb7\xf0\x91\x86\x80.\xdd\x9d\xf0\x90\xa9\x92", "\xea\x97\xb7\xf0\x91\x86\x80.\xdd\x9d\xf0\x90\xa9\x92"); }
12907test { try toAsciiPass("\xea\x97\xb7\xf0\x91\x86\x80.\xdd\x9d\xf0\x90\xa9\x92", "xn--ju8a625r.xn--hpb0073k", false); }
12908test { try toAsciiPass("\xea\x97\xb7\xf0\x91\x86\x80.\xdd\x9d\xf0\x90\xa9\x92", "xn--ju8a625r.xn--hpb0073k", true); }
12909test { try toUnicodePass("xn--ju8a625r.xn--hpb0073k", "\xea\x97\xb7\xf0\x91\x86\x80.\xdd\x9d\xf0\x90\xa9\x92"); }
12910test { try toAsciiPass("xn--ju8a625r.xn--hpb0073k", "xn--ju8a625r.xn--hpb0073k", false); }
12911test { try toAsciiPass("xn--ju8a625r.xn--hpb0073k", "xn--ju8a625r.xn--hpb0073k", true); }
12912test { try toUnicodeFail("\xe2\x92\x90\xe2\x89\xaf-\xe3\x80\x82\xef\xb8\x92\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0"); } // [V3, V7]
12913test { try toAsciiFail("\xe2\x92\x90\xe2\x89\xaf-\xe3\x80\x82\xef\xb8\x92\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0", false); } // [V3, V7]
12914test { try toAsciiFail("\xe2\x92\x90\xe2\x89\xaf-\xe3\x80\x82\xef\xb8\x92\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0", true); } // [V3, V7]
12915test { try toUnicodeFail("\xe2\x92\x90>\xcc\xb8-\xe3\x80\x82\xef\xb8\x92\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0"); } // [V3, V7]
12916test { try toAsciiFail("\xe2\x92\x90>\xcc\xb8-\xe3\x80\x82\xef\xb8\x92\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0", false); } // [V3, V7]
12917test { try toAsciiFail("\xe2\x92\x90>\xcc\xb8-\xe3\x80\x82\xef\xb8\x92\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0", true); } // [V3, V7]
12918test { try toUnicodeFail("9.\xe2\x89\xaf-\xe3\x80\x82\xe3\x80\x82\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0"); } // [V3, V7, X4_2]
12919test { try toAsciiFail("9.\xe2\x89\xaf-\xe3\x80\x82\xe3\x80\x82\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0", false); } // [V3, V7, A4_2]
12920test { try toAsciiFail("9.\xe2\x89\xaf-\xe3\x80\x82\xe3\x80\x82\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0", true); } // [V3, V7, A4_2]
12921test { try toUnicodeFail("9.>\xcc\xb8-\xe3\x80\x82\xe3\x80\x82\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0"); } // [V3, V7, X4_2]
12922test { try toAsciiFail("9.>\xcc\xb8-\xe3\x80\x82\xe3\x80\x82\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0", false); } // [V3, V7, A4_2]
12923test { try toAsciiFail("9.>\xcc\xb8-\xe3\x80\x82\xe3\x80\x82\xf2\xa9\x91\xa3-\xf1\x9e\x9b\xa0", true); } // [V3, V7, A4_2]
12924test { try toUnicodeFail("9.xn----ogo..xn----xj54d1s69k"); } // [V3, V7, X4_2]
12925test { try toAsciiFail("9.xn----ogo..xn----xj54d1s69k", false); } // [V3, V7, A4_2]
12926test { try toAsciiFail("9.xn----ogo..xn----xj54d1s69k", true); } // [V3, V7, A4_2]
12927test { try toUnicodeFail("xn----ogot9g.xn----n89hl0522az9u2a"); } // [V3, V7]
12928test { try toAsciiFail("xn----ogot9g.xn----n89hl0522az9u2a", false); } // [V3, V7]
12929test { try toAsciiFail("xn----ogot9g.xn----n89hl0522az9u2a", true); } // [V3, V7]
12930test { try toUnicodeFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe1\x83\x81\xf3\xa0\xa2\x8f\xef\xbc\x8e\xd8\x9d"); } // [B6, V7]
12931test { try toAsciiFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe1\x83\x81\xf3\xa0\xa2\x8f\xef\xbc\x8e\xd8\x9d", false); } // [B6, V7]
12932test { try toAsciiFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe1\x83\x81\xf3\xa0\xa2\x8f\xef\xbc\x8e\xd8\x9d", true); } // [B6, V7]
12933test { try toUnicodeFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe1\x83\x81\xf3\xa0\xa2\x8f.\xd8\x9d"); } // [B6, V7]
12934test { try toAsciiFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe1\x83\x81\xf3\xa0\xa2\x8f.\xd8\x9d", false); } // [B6, V7]
12935test { try toAsciiFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe1\x83\x81\xf3\xa0\xa2\x8f.\xd8\x9d", true); } // [B6, V7]
12936test { try toUnicodeFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe2\xb4\xa1\xf3\xa0\xa2\x8f.\xd8\x9d"); } // [B6, V7]
12937test { try toAsciiFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe2\xb4\xa1\xf3\xa0\xa2\x8f.\xd8\x9d", false); } // [B6, V7]
12938test { try toAsciiFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe2\xb4\xa1\xf3\xa0\xa2\x8f.\xd8\x9d", true); } // [B6, V7]
12939test { try toUnicodeFail("xn--vuc226n8n28lmju7a.xn--cgb"); } // [B6, V7]
12940test { try toAsciiFail("xn--vuc226n8n28lmju7a.xn--cgb", false); } // [B6, V7]
12941test { try toAsciiFail("xn--vuc226n8n28lmju7a.xn--cgb", true); } // [B6, V7]
12942test { try toUnicodeFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe2\xb4\xa1\xf3\xa0\xa2\x8f\xef\xbc\x8e\xd8\x9d"); } // [B6, V7]
12943test { try toAsciiFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe2\xb4\xa1\xf3\xa0\xa2\x8f\xef\xbc\x8e\xd8\x9d", false); } // [B6, V7]
12944test { try toAsciiFail("\xf2\x88\xaa\x9a\xe0\xb3\xa3\xe2\xb4\xa1\xf3\xa0\xa2\x8f\xef\xbc\x8e\xd8\x9d", true); } // [B6, V7]
12945test { try toUnicodeFail("xn--vuc49qvu85xmju7a.xn--cgb"); } // [B6, V7]
12946test { try toAsciiFail("xn--vuc49qvu85xmju7a.xn--cgb", false); } // [B6, V7]
12947test { try toAsciiFail("xn--vuc49qvu85xmju7a.xn--cgb", true); } // [B6, V7]
12948test { try toUnicodeFail("\xe1\xb7\xab\xe3\x80\x82\xf0\x90\x8b\xa9\xd8\xb8-\xf0\x90\xab\xae"); } // [B1, V6]
12949test { try toAsciiFail("\xe1\xb7\xab\xe3\x80\x82\xf0\x90\x8b\xa9\xd8\xb8-\xf0\x90\xab\xae", false); } // [B1, V6]
12950test { try toAsciiFail("\xe1\xb7\xab\xe3\x80\x82\xf0\x90\x8b\xa9\xd8\xb8-\xf0\x90\xab\xae", true); } // [B1, V6]
12951test { try toUnicodeFail("xn--gfg.xn----xnc0815qyyg"); } // [B1, V6]
12952test { try toAsciiFail("xn--gfg.xn----xnc0815qyyg", false); } // [B1, V6]
12953test { try toAsciiFail("xn--gfg.xn----xnc0815qyyg", true); } // [B1, V6]
12954test { try toUnicodeFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe1\x82\xbd"); } // [B5]
12955test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe1\x82\xbd", false); } // [B5]
12956test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe1\x82\xbd", true); } // [B5]
12957test { try toUnicodeFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe1\x82\xbd"); } // [B5]
12958test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe1\x82\xbd", false); } // [B5]
12959test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe1\x82\xbd", true); } // [B5]
12960test { try toUnicodeFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe1\x82\xbd"); } // [B5]
12961test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe1\x82\xbd", false); } // [B5]
12962test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe1\x82\xbd", true); } // [B5]
12963test { try toUnicodeFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe1\x82\xbd"); } // [B5]
12964test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe1\x82\xbd", false); } // [B5]
12965test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe1\x82\xbd", true); } // [B5]
12966test { try toUnicodeFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe2\xb4\x9d"); } // [B5]
12967test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe2\xb4\x9d", false); } // [B5]
12968test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe2\xb4\x9d", true); } // [B5]
12969test { try toUnicodeFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe2\xb4\x9d"); } // [B5]
12970test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe2\xb4\x9d", false); } // [B5]
12971test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb3\x8b\xe2\xb4\x9d", true); } // [B5]
12972test { try toUnicodeFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe1\x82\xbd"); } // [B5]
12973test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe1\x82\xbd", false); } // [B5]
12974test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe1\x82\xbd", true); } // [B5]
12975test { try toUnicodeFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe1\x82\xbd"); } // [B5]
12976test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe1\x82\xbd", false); } // [B5]
12977test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe1\x82\xbd", true); } // [B5]
12978test { try toUnicodeFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe2\xb4\x9d"); } // [B5]
12979test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe2\xb4\x9d", false); } // [B5]
12980test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe2\xb4\x9d", true); } // [B5]
12981test { try toUnicodeFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe2\xb4\x9d"); } // [B5]
12982test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe2\xb4\x9d", false); } // [B5]
12983test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe8\x88\x9b\xf0\x90\xb2\x8b\xe2\xb4\x9d", true); } // [B5]
12984test { try toUnicodeFail("xn--9u4b.xn--llj123yh74e"); } // [B5]
12985test { try toAsciiFail("xn--9u4b.xn--llj123yh74e", false); } // [B5]
12986test { try toAsciiFail("xn--9u4b.xn--llj123yh74e", true); } // [B5]
12987test { try toUnicodeFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe2\xb4\x9d"); } // [B5]
12988test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe2\xb4\x9d", false); } // [B5]
12989test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe2\xb4\x9d", true); } // [B5]
12990test { try toUnicodeFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe2\xb4\x9d"); } // [B5]
12991test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe2\xb4\x9d", false); } // [B5]
12992test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb3\x8b\xe2\xb4\x9d", true); } // [B5]
12993test { try toUnicodeFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe1\x82\xbd"); } // [B5]
12994test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe1\x82\xbd", false); } // [B5]
12995test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe1\x82\xbd", true); } // [B5]
12996test { try toUnicodeFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe1\x82\xbd"); } // [B5]
12997test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe1\x82\xbd", false); } // [B5]
12998test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe1\x82\xbd", true); } // [B5]
12999test { try toUnicodeFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe2\xb4\x9d"); } // [B5]
13000test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe2\xb4\x9d", false); } // [B5]
13001test { try toAsciiFail("\xe1\x84\x89\xe1\x85\xb4\xe1\x86\xae\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe2\xb4\x9d", true); } // [B5]
13002test { try toUnicodeFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe2\xb4\x9d"); } // [B5]
13003test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe2\xb4\x9d", false); } // [B5]
13004test { try toAsciiFail("\xec\x8b\x87\xe3\x80\x82\xe2\xbe\x87\xf0\x90\xb2\x8b\xe2\xb4\x9d", true); } // [B5]
13005test { try toUnicodeFail("xn--9u4b.xn--1nd7519ch79d"); } // [B5, V7]
13006test { try toAsciiFail("xn--9u4b.xn--1nd7519ch79d", false); } // [B5, V7]
13007test { try toAsciiFail("xn--9u4b.xn--1nd7519ch79d", true); } // [B5, V7]
13008test { try toUnicodeFail("\xf0\x90\xb9\xa0\xcf\x82\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe1\x83\x80"); } // [B1, C1]
13009test { try toAsciiFail("\xf0\x90\xb9\xa0\xcf\x82\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe1\x83\x80", false); } // [B1, C1]
13010test { try toAsciiFail("\xf0\x90\xb9\xa0\xcf\x82\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe1\x83\x80", true); } // [B1, B2, B3]
13011test { try toUnicodeFail("\xf0\x90\xb9\xa0\xcf\x82\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe2\xb4\xa0"); } // [B1, C1]
13012test { try toAsciiFail("\xf0\x90\xb9\xa0\xcf\x82\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe2\xb4\xa0", false); } // [B1, C1]
13013test { try toAsciiFail("\xf0\x90\xb9\xa0\xcf\x82\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe2\xb4\xa0", true); } // [B1, B2, B3]
13014test { try toUnicodeFail("\xf0\x90\xb9\xa0\xce\xa3\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe1\x83\x80"); } // [B1, C1]
13015test { try toAsciiFail("\xf0\x90\xb9\xa0\xce\xa3\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe1\x83\x80", false); } // [B1, C1]
13016test { try toAsciiFail("\xf0\x90\xb9\xa0\xce\xa3\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe1\x83\x80", true); } // [B1, B2, B3]
13017test { try toUnicodeFail("\xf0\x90\xb9\xa0\xcf\x83\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe2\xb4\xa0"); } // [B1, C1]
13018test { try toAsciiFail("\xf0\x90\xb9\xa0\xcf\x83\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe2\xb4\xa0", false); } // [B1, C1]
13019test { try toAsciiFail("\xf0\x90\xb9\xa0\xcf\x83\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe2\xb4\xa0", true); } // [B1, B2, B3]
13020test { try toUnicodeFail("\xf0\x90\xb9\xa0\xce\xa3\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe2\xb4\xa0"); } // [B1, C1]
13021test { try toAsciiFail("\xf0\x90\xb9\xa0\xce\xa3\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe2\xb4\xa0", false); } // [B1, C1]
13022test { try toAsciiFail("\xf0\x90\xb9\xa0\xce\xa3\xe3\x80\x82\xe2\x80\x8c\xda\xbf\xe2\xb4\xa0", true); } // [B1, B2, B3]
13023test { try toUnicodeFail("xn--4xa9167k.xn--ykb467q"); } // [B1, B2, B3]
13024test { try toAsciiFail("xn--4xa9167k.xn--ykb467q", false); } // [B1, B2, B3]
13025test { try toAsciiFail("xn--4xa9167k.xn--ykb467q", true); } // [B1, B2, B3]
13026test { try toUnicodeFail("xn--4xa9167k.xn--ykb760k9hj"); } // [B1, C1]
13027test { try toAsciiFail("xn--4xa9167k.xn--ykb760k9hj", false); } // [B1, C1]
13028test { try toAsciiFail("xn--4xa9167k.xn--ykb760k9hj", true); } // [B1, C1]
13029test { try toUnicodeFail("xn--3xa1267k.xn--ykb760k9hj"); } // [B1, C1]
13030test { try toAsciiFail("xn--3xa1267k.xn--ykb760k9hj", false); } // [B1, C1]
13031test { try toAsciiFail("xn--3xa1267k.xn--ykb760k9hj", true); } // [B1, C1]
13032test { try toUnicodeFail("xn--4xa9167k.xn--ykb632c"); } // [B1, B2, B3, V7]
13033test { try toAsciiFail("xn--4xa9167k.xn--ykb632c", false); } // [B1, B2, B3, V7]
13034test { try toAsciiFail("xn--4xa9167k.xn--ykb632c", true); } // [B1, B2, B3, V7]
13035test { try toUnicodeFail("xn--4xa9167k.xn--ykb632cvxm"); } // [B1, C1, V7]
13036test { try toAsciiFail("xn--4xa9167k.xn--ykb632cvxm", false); } // [B1, C1, V7]
13037test { try toAsciiFail("xn--4xa9167k.xn--ykb632cvxm", true); } // [B1, C1, V7]
13038test { try toUnicodeFail("xn--3xa1267k.xn--ykb632cvxm"); } // [B1, C1, V7]
13039test { try toAsciiFail("xn--3xa1267k.xn--ykb632cvxm", false); } // [B1, C1, V7]
13040test { try toAsciiFail("xn--3xa1267k.xn--ykb632cvxm", true); } // [B1, C1, V7]
13041test { try toUnicodeFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-\xc3\x9f"); } // [B2, B3, B5, B6, C1, V7]
13042test { try toAsciiFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-\xc3\x9f", false); } // [B2, B3, B5, B6, C1, V7]
13043test { try toAsciiFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-\xc3\x9f", true); } // [B2, B3, B5, B6, V7]
13044test { try toUnicodeFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-SS"); } // [B2, B3, B5, B6, C1, V7]
13045test { try toAsciiFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-SS", false); } // [B2, B3, B5, B6, C1, V7]
13046test { try toAsciiFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-SS", true); } // [B2, B3, B5, B6, V7]
13047test { try toUnicodeFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-ss"); } // [B2, B3, B5, B6, C1, V7]
13048test { try toAsciiFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-ss", false); } // [B2, B3, B5, B6, C1, V7]
13049test { try toAsciiFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-ss", true); } // [B2, B3, B5, B6, V7]
13050test { try toUnicodeFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-Ss"); } // [B2, B3, B5, B6, C1, V7]
13051test { try toAsciiFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-Ss", false); } // [B2, B3, B5, B6, C1, V7]
13052test { try toAsciiFail("\xf2\x87\x92\x90\xe2\x80\x8c\xd8\x84.\xda\x9a-Ss", true); } // [B2, B3, B5, B6, V7]
13053test { try toUnicodeFail("xn--mfb98261i.xn---ss-sdf"); } // [B2, B3, B5, B6, V7]
13054test { try toAsciiFail("xn--mfb98261i.xn---ss-sdf", false); } // [B2, B3, B5, B6, V7]
13055test { try toAsciiFail("xn--mfb98261i.xn---ss-sdf", true); } // [B2, B3, B5, B6, V7]
13056test { try toUnicodeFail("xn--mfb144kqo32m.xn---ss-sdf"); } // [B2, B3, B5, B6, C1, V7]
13057test { try toAsciiFail("xn--mfb144kqo32m.xn---ss-sdf", false); } // [B2, B3, B5, B6, C1, V7]
13058test { try toAsciiFail("xn--mfb144kqo32m.xn---ss-sdf", true); } // [B2, B3, B5, B6, C1, V7]
13059test { try toUnicodeFail("xn--mfb144kqo32m.xn----qfa315b"); } // [B2, B3, B5, B6, C1, V7]
13060test { try toAsciiFail("xn--mfb144kqo32m.xn----qfa315b", false); } // [B2, B3, B5, B6, C1, V7]
13061test { try toAsciiFail("xn--mfb144kqo32m.xn----qfa315b", true); } // [B2, B3, B5, B6, C1, V7]
13062test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8d\xe1\x9e\xb5\xd9\xba.-\xef\xae\xb0\xf3\x85\x84\x9e\xf0\x90\xb8\x9a"); } // [B1, C1, C2, V3, V7]
13063test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8d\xe1\x9e\xb5\xd9\xba.-\xef\xae\xb0\xf3\x85\x84\x9e\xf0\x90\xb8\x9a", false); } // [B1, C1, C2, V3, V7]
13064test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8d\xe1\x9e\xb5\xd9\xba.-\xef\xae\xb0\xf3\x85\x84\x9e\xf0\x90\xb8\x9a", true); } // [B1, V3, V7]
13065test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8d\xe1\x9e\xb5\xd9\xba.-\xdb\x93\xf3\x85\x84\x9e\xf0\x90\xb8\x9a"); } // [B1, C1, C2, V3, V7]
13066test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8d\xe1\x9e\xb5\xd9\xba.-\xdb\x93\xf3\x85\x84\x9e\xf0\x90\xb8\x9a", false); } // [B1, C1, C2, V3, V7]
13067test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8d\xe1\x9e\xb5\xd9\xba.-\xdb\x93\xf3\x85\x84\x9e\xf0\x90\xb8\x9a", true); } // [B1, V3, V7]
13068test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8d\xe1\x9e\xb5\xd9\xba.-\xdb\x92\xd9\x94\xf3\x85\x84\x9e\xf0\x90\xb8\x9a"); } // [B1, C1, C2, V3, V7]
13069test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8d\xe1\x9e\xb5\xd9\xba.-\xdb\x92\xd9\x94\xf3\x85\x84\x9e\xf0\x90\xb8\x9a", false); } // [B1, C1, C2, V3, V7]
13070test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8d\xe1\x9e\xb5\xd9\xba.-\xdb\x92\xd9\x94\xf3\x85\x84\x9e\xf0\x90\xb8\x9a", true); } // [B1, V3, V7]
13071test { try toUnicodeFail("xn--zib.xn----twc1133r17r6g"); } // [B1, V3, V7]
13072test { try toAsciiFail("xn--zib.xn----twc1133r17r6g", false); } // [B1, V3, V7]
13073test { try toAsciiFail("xn--zib.xn----twc1133r17r6g", true); } // [B1, V3, V7]
13074test { try toUnicodeFail("xn--zib502kda.xn----twc1133r17r6g"); } // [B1, C1, C2, V3, V7]
13075test { try toAsciiFail("xn--zib502kda.xn----twc1133r17r6g", false); } // [B1, C1, C2, V3, V7]
13076test { try toAsciiFail("xn--zib502kda.xn----twc1133r17r6g", true); } // [B1, C1, C2, V3, V7]
13077test { try toUnicodeFail("xn--zib539f.xn----twc1133r17r6g"); } // [B1, V3, V6, V7]
13078test { try toAsciiFail("xn--zib539f.xn----twc1133r17r6g", false); } // [B1, V3, V6, V7]
13079test { try toAsciiFail("xn--zib539f.xn----twc1133r17r6g", true); } // [B1, V3, V6, V7]
13080test { try toUnicodeFail("xn--zib539f8igea.xn----twc1133r17r6g"); } // [B1, C1, C2, V3, V7]
13081test { try toAsciiFail("xn--zib539f8igea.xn----twc1133r17r6g", false); } // [B1, C1, C2, V3, V7]
13082test { try toAsciiFail("xn--zib539f8igea.xn----twc1133r17r6g", true); } // [B1, C1, C2, V3, V7]
13083test { try toUnicodeFail("\xf2\xa1\xb6\xb1\xef\xbd\xa1\xf0\x90\xae\xac\xe2\x89\xa0"); } // [B3, V7]
13084test { try toAsciiFail("\xf2\xa1\xb6\xb1\xef\xbd\xa1\xf0\x90\xae\xac\xe2\x89\xa0", false); } // [B3, V7]
13085test { try toAsciiFail("\xf2\xa1\xb6\xb1\xef\xbd\xa1\xf0\x90\xae\xac\xe2\x89\xa0", true); } // [B3, V7]
13086test { try toUnicodeFail("\xf2\xa1\xb6\xb1\xef\xbd\xa1\xf0\x90\xae\xac=\xcc\xb8"); } // [B3, V7]
13087test { try toAsciiFail("\xf2\xa1\xb6\xb1\xef\xbd\xa1\xf0\x90\xae\xac=\xcc\xb8", false); } // [B3, V7]
13088test { try toAsciiFail("\xf2\xa1\xb6\xb1\xef\xbd\xa1\xf0\x90\xae\xac=\xcc\xb8", true); } // [B3, V7]
13089test { try toUnicodeFail("\xf2\xa1\xb6\xb1\xe3\x80\x82\xf0\x90\xae\xac\xe2\x89\xa0"); } // [B3, V7]
13090test { try toAsciiFail("\xf2\xa1\xb6\xb1\xe3\x80\x82\xf0\x90\xae\xac\xe2\x89\xa0", false); } // [B3, V7]
13091test { try toAsciiFail("\xf2\xa1\xb6\xb1\xe3\x80\x82\xf0\x90\xae\xac\xe2\x89\xa0", true); } // [B3, V7]
13092test { try toUnicodeFail("\xf2\xa1\xb6\xb1\xe3\x80\x82\xf0\x90\xae\xac=\xcc\xb8"); } // [B3, V7]
13093test { try toAsciiFail("\xf2\xa1\xb6\xb1\xe3\x80\x82\xf0\x90\xae\xac=\xcc\xb8", false); } // [B3, V7]
13094test { try toAsciiFail("\xf2\xa1\xb6\xb1\xe3\x80\x82\xf0\x90\xae\xac=\xcc\xb8", true); } // [B3, V7]
13095test { try toUnicodeFail("xn--dd55c.xn--1ch3003g"); } // [B3, V7]
13096test { try toAsciiFail("xn--dd55c.xn--1ch3003g", false); } // [B3, V7]
13097test { try toAsciiFail("xn--dd55c.xn--1ch3003g", true); } // [B3, V7]
13098test { try toUnicodeFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xef\xbd\xa1\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xeb\x8d\x9d\xdb\xb5"); } // [B1, V6, V7]
13099test { try toAsciiFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xef\xbd\xa1\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xeb\x8d\x9d\xdb\xb5", false); } // [B1, V6, V7]
13100test { try toAsciiFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xef\xbd\xa1\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xeb\x8d\x9d\xdb\xb5", true); } // [B1, V6, V7]
13101test { try toUnicodeFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xef\xbd\xa1\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xe1\x84\x83\xe1\x85\xa5\xe1\x86\xb0\xdb\xb5"); } // [B1, V6, V7]
13102test { try toAsciiFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xef\xbd\xa1\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xe1\x84\x83\xe1\x85\xa5\xe1\x86\xb0\xdb\xb5", false); } // [B1, V6, V7]
13103test { try toAsciiFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xef\xbd\xa1\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xe1\x84\x83\xe1\x85\xa5\xe1\x86\xb0\xdb\xb5", true); } // [B1, V6, V7]
13104test { try toUnicodeFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xe3\x80\x82\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xeb\x8d\x9d\xdb\xb5"); } // [B1, V6, V7]
13105test { try toAsciiFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xe3\x80\x82\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xeb\x8d\x9d\xdb\xb5", false); } // [B1, V6, V7]
13106test { try toAsciiFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xe3\x80\x82\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xeb\x8d\x9d\xdb\xb5", true); } // [B1, V6, V7]
13107test { try toUnicodeFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xe3\x80\x82\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xe1\x84\x83\xe1\x85\xa5\xe1\x86\xb0\xdb\xb5"); } // [B1, V6, V7]
13108test { try toAsciiFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xe3\x80\x82\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xe1\x84\x83\xe1\x85\xa5\xe1\x86\xb0\xdb\xb5", false); } // [B1, V6, V7]
13109test { try toAsciiFail("\xe0\xbe\xb2\xf0\x9e\xb6\x85\xe3\x80\x82\xf0\x90\xb9\xae\xf0\x90\xb9\xb7\xe1\x84\x83\xe1\x85\xa5\xe1\x86\xb0\xdb\xb5", true); } // [B1, V6, V7]
13110test { try toUnicodeFail("xn--fgd0675v.xn--imb5839fidpcbba"); } // [B1, V6, V7]
13111test { try toAsciiFail("xn--fgd0675v.xn--imb5839fidpcbba", false); } // [B1, V6, V7]
13112test { try toAsciiFail("xn--fgd0675v.xn--imb5839fidpcbba", true); } // [B1, V6, V7]
13113test { try toUnicodeFail("\xe1\x82\xaf\xf3\xa0\x85\x8b-\xef\xbc\x8e\xe2\x80\x8d\xe1\x82\xa9"); } // [C2, V3]
13114test { try toAsciiFail("\xe1\x82\xaf\xf3\xa0\x85\x8b-\xef\xbc\x8e\xe2\x80\x8d\xe1\x82\xa9", false); } // [C2, V3]
13115test { try toAsciiFail("\xe1\x82\xaf\xf3\xa0\x85\x8b-\xef\xbc\x8e\xe2\x80\x8d\xe1\x82\xa9", true); } // [V3]
13116test { try toUnicodeFail("\xe1\x82\xaf\xf3\xa0\x85\x8b-.\xe2\x80\x8d\xe1\x82\xa9"); } // [C2, V3]
13117test { try toAsciiFail("\xe1\x82\xaf\xf3\xa0\x85\x8b-.\xe2\x80\x8d\xe1\x82\xa9", false); } // [C2, V3]
13118test { try toAsciiFail("\xe1\x82\xaf\xf3\xa0\x85\x8b-.\xe2\x80\x8d\xe1\x82\xa9", true); } // [V3]
13119test { try toUnicodeFail("\xe2\xb4\x8f\xf3\xa0\x85\x8b-.\xe2\x80\x8d\xe2\xb4\x89"); } // [C2, V3]
13120test { try toAsciiFail("\xe2\xb4\x8f\xf3\xa0\x85\x8b-.\xe2\x80\x8d\xe2\xb4\x89", false); } // [C2, V3]
13121test { try toAsciiFail("\xe2\xb4\x8f\xf3\xa0\x85\x8b-.\xe2\x80\x8d\xe2\xb4\x89", true); } // [V3]
13122test { try toUnicodeFail("xn----3vs.xn--0kj"); } // [V3]
13123test { try toAsciiFail("xn----3vs.xn--0kj", false); } // [V3]
13124test { try toAsciiFail("xn----3vs.xn--0kj", true); } // [V3]
13125test { try toUnicodeFail("xn----3vs.xn--1ug532c"); } // [C2, V3]
13126test { try toAsciiFail("xn----3vs.xn--1ug532c", false); } // [C2, V3]
13127test { try toAsciiFail("xn----3vs.xn--1ug532c", true); } // [C2, V3]
13128test { try toUnicodeFail("\xe2\xb4\x8f\xf3\xa0\x85\x8b-\xef\xbc\x8e\xe2\x80\x8d\xe2\xb4\x89"); } // [C2, V3]
13129test { try toAsciiFail("\xe2\xb4\x8f\xf3\xa0\x85\x8b-\xef\xbc\x8e\xe2\x80\x8d\xe2\xb4\x89", false); } // [C2, V3]
13130test { try toAsciiFail("\xe2\xb4\x8f\xf3\xa0\x85\x8b-\xef\xbc\x8e\xe2\x80\x8d\xe2\xb4\x89", true); } // [V3]
13131test { try toUnicodeFail("xn----00g.xn--hnd"); } // [V3, V7]
13132test { try toAsciiFail("xn----00g.xn--hnd", false); } // [V3, V7]
13133test { try toAsciiFail("xn----00g.xn--hnd", true); } // [V3, V7]
13134test { try toUnicodeFail("xn----00g.xn--hnd399e"); } // [C2, V3, V7]
13135test { try toAsciiFail("xn----00g.xn--hnd399e", false); } // [C2, V3, V7]
13136test { try toAsciiFail("xn----00g.xn--hnd399e", true); } // [C2, V3, V7]
13137test { try toUnicodeFail("\xe2\x87\xa7\xf0\x90\xa8\x8f\xf3\xa0\xbe\x88\xf3\xaf\xb6\x85\xe3\x80\x82\xd8\x80\xf3\xa0\x88\xb5\xf3\xa0\x86\x89"); } // [B1, V7]
13138test { try toAsciiFail("\xe2\x87\xa7\xf0\x90\xa8\x8f\xf3\xa0\xbe\x88\xf3\xaf\xb6\x85\xe3\x80\x82\xd8\x80\xf3\xa0\x88\xb5\xf3\xa0\x86\x89", false); } // [B1, V7]
13139test { try toAsciiFail("\xe2\x87\xa7\xf0\x90\xa8\x8f\xf3\xa0\xbe\x88\xf3\xaf\xb6\x85\xe3\x80\x82\xd8\x80\xf3\xa0\x88\xb5\xf3\xa0\x86\x89", true); } // [B1, V7]
13140test { try toUnicodeFail("xn--l8g5552g64t4g46xf.xn--ifb08144p"); } // [B1, V7]
13141test { try toAsciiFail("xn--l8g5552g64t4g46xf.xn--ifb08144p", false); } // [B1, V7]
13142test { try toAsciiFail("xn--l8g5552g64t4g46xf.xn--ifb08144p", true); } // [B1, V7]
13143test { try toUnicodeFail("\xe2\x89\xa0\xf0\x90\xae\x82.\xe2\x86\x91\xf0\x9f\x84\x87\xe2\x92\x88"); } // [B1, V7, U1]
13144test { try toAsciiFail("\xe2\x89\xa0\xf0\x90\xae\x82.\xe2\x86\x91\xf0\x9f\x84\x87\xe2\x92\x88", false); } // [B1, V7, U1]
13145test { try toAsciiFail("\xe2\x89\xa0\xf0\x90\xae\x82.\xe2\x86\x91\xf0\x9f\x84\x87\xe2\x92\x88", true); } // [B1, V7, U1]
13146test { try toUnicodeFail("=\xcc\xb8\xf0\x90\xae\x82.\xe2\x86\x91\xf0\x9f\x84\x87\xe2\x92\x88"); } // [B1, V7, U1]
13147test { try toAsciiFail("=\xcc\xb8\xf0\x90\xae\x82.\xe2\x86\x91\xf0\x9f\x84\x87\xe2\x92\x88", false); } // [B1, V7, U1]
13148test { try toAsciiFail("=\xcc\xb8\xf0\x90\xae\x82.\xe2\x86\x91\xf0\x9f\x84\x87\xe2\x92\x88", true); } // [B1, V7, U1]
13149test { try toUnicodeFail("\xe2\x89\xa0\xf0\x90\xae\x82.\xe2\x86\x916,1."); } // [B1, U1]
13150test { try toAsciiFail("\xe2\x89\xa0\xf0\x90\xae\x82.\xe2\x86\x916,1.", false); } // [B1, U1, A4_2]
13151test { try toAsciiFail("\xe2\x89\xa0\xf0\x90\xae\x82.\xe2\x86\x916,1.", true); } // [B1, U1, A4_2]
13152test { try toUnicodeFail("=\xcc\xb8\xf0\x90\xae\x82.\xe2\x86\x916,1."); } // [B1, U1]
13153test { try toAsciiFail("=\xcc\xb8\xf0\x90\xae\x82.\xe2\x86\x916,1.", false); } // [B1, U1, A4_2]
13154test { try toAsciiFail("=\xcc\xb8\xf0\x90\xae\x82.\xe2\x86\x916,1.", true); } // [B1, U1, A4_2]
13155test { try toUnicodeFail("xn--1chy492g.xn--6,1-pw1a."); } // [B1, U1]
13156test { try toAsciiFail("xn--1chy492g.xn--6,1-pw1a.", false); } // [B1, U1, A4_2]
13157test { try toAsciiFail("xn--1chy492g.xn--6,1-pw1a.", true); } // [B1, U1, A4_2]
13158test { try toUnicodeFail("xn--1chy492g.xn--6,-uzus5m"); } // [B1, V7, U1]
13159test { try toAsciiFail("xn--1chy492g.xn--6,-uzus5m", false); } // [B1, V7, U1]
13160test { try toAsciiFail("xn--1chy492g.xn--6,-uzus5m", true); } // [B1, V7, U1]
13161test { try toUnicodeFail("xn--1chy492g.xn--45gx9iuy44d"); } // [B1, V7]
13162test { try toAsciiFail("xn--1chy492g.xn--45gx9iuy44d", false); } // [B1, V7]
13163test { try toAsciiFail("xn--1chy492g.xn--45gx9iuy44d", true); } // [B1, V7]
13164test { try toUnicodeFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89\xc3\x9f.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab"); } // [B1, B5, B6, C1, V6, V7]
13165test { try toAsciiFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89\xc3\x9f.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab", false); } // [B1, B5, B6, C1, V6, V7]
13166test { try toAsciiFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89\xc3\x9f.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab", true); } // [B1, B5, B6, V6, V7]
13167test { try toUnicodeFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89SS.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab"); } // [B1, B5, B6, C1, V6, V7]
13168test { try toAsciiFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89SS.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab", false); } // [B1, B5, B6, C1, V6, V7]
13169test { try toAsciiFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89SS.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab", true); } // [B1, B5, B6, V6, V7]
13170test { try toUnicodeFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89ss.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab"); } // [B1, B5, B6, C1, V6, V7]
13171test { try toAsciiFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89ss.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab", false); } // [B1, B5, B6, C1, V6, V7]
13172test { try toAsciiFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89ss.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab", true); } // [B1, B5, B6, V6, V7]
13173test { try toUnicodeFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89Ss.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab"); } // [B1, B5, B6, C1, V6, V7]
13174test { try toAsciiFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89Ss.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab", false); } // [B1, B5, B6, C1, V6, V7]
13175test { try toAsciiFail("\xf0\x9d\xa9\x8f\xf3\xa0\xb2\x89Ss.\xe1\xa2\xa4\xf2\x84\xa6\x8c\xe2\x80\x8c\xf0\x90\xb9\xab", true); } // [B1, B5, B6, V6, V7]
13176test { try toUnicodeFail("xn--ss-zb11ap1427e.xn--ubf2596jbt61c"); } // [B1, B5, B6, V6, V7]
13177test { try toAsciiFail("xn--ss-zb11ap1427e.xn--ubf2596jbt61c", false); } // [B1, B5, B6, V6, V7]
13178test { try toAsciiFail("xn--ss-zb11ap1427e.xn--ubf2596jbt61c", true); } // [B1, B5, B6, V6, V7]
13179test { try toUnicodeFail("xn--ss-zb11ap1427e.xn--ubf609atw1tynn3d"); } // [B1, B5, B6, C1, V6, V7]
13180test { try toAsciiFail("xn--ss-zb11ap1427e.xn--ubf609atw1tynn3d", false); } // [B1, B5, B6, C1, V6, V7]
13181test { try toAsciiFail("xn--ss-zb11ap1427e.xn--ubf609atw1tynn3d", true); } // [B1, B5, B6, C1, V6, V7]
13182test { try toUnicodeFail("xn--zca3153vupz3e.xn--ubf609atw1tynn3d"); } // [B1, B5, B6, C1, V6, V7]
13183test { try toAsciiFail("xn--zca3153vupz3e.xn--ubf609atw1tynn3d", false); } // [B1, B5, B6, C1, V6, V7]
13184test { try toAsciiFail("xn--zca3153vupz3e.xn--ubf609atw1tynn3d", true); } // [B1, B5, B6, C1, V6, V7]
13185test { try toUnicodeFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba"); } // [B1, B5, V6, V7]
13186test { try toAsciiFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba", false); } // [B1, B5, V6, V7]
13187test { try toAsciiFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba", true); } // [B1, B5, V6, V7]
13188test { try toUnicodeFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba"); } // [B1, B5, V6, V7]
13189test { try toAsciiFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba", false); } // [B1, B5, V6, V7]
13190test { try toAsciiFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba", true); } // [B1, B5, V6, V7]
13191test { try toUnicodeFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xe3\x80\x82\xea\x99\xba"); } // [B1, B5, V6, V7]
13192test { try toAsciiFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xe3\x80\x82\xea\x99\xba", false); } // [B1, B5, V6, V7]
13193test { try toAsciiFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xe3\x80\x82\xea\x99\xba", true); } // [B1, B5, V6, V7]
13194test { try toUnicodeFail("SS\xf0\x90\xb5\x93\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba"); } // [B1, B5, V6, V7]
13195test { try toAsciiFail("SS\xf0\x90\xb5\x93\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba", false); } // [B1, B5, V6, V7]
13196test { try toAsciiFail("SS\xf0\x90\xb5\x93\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba", true); } // [B1, B5, V6, V7]
13197test { try toUnicodeFail("ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xe3\x80\x82\xea\x99\xba"); } // [B1, B5, V6, V7]
13198test { try toAsciiFail("ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xe3\x80\x82\xea\x99\xba", false); } // [B1, B5, V6, V7]
13199test { try toAsciiFail("ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xe3\x80\x82\xea\x99\xba", true); } // [B1, B5, V6, V7]
13200test { try toUnicodeFail("Ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba"); } // [B1, B5, V6, V7]
13201test { try toAsciiFail("Ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba", false); } // [B1, B5, V6, V7]
13202test { try toAsciiFail("Ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba", true); } // [B1, B5, V6, V7]
13203test { try toUnicodeFail("xn--ss-e61ar955h4hs7b.xn--9x8a"); } // [B1, B5, V6, V7]
13204test { try toAsciiFail("xn--ss-e61ar955h4hs7b.xn--9x8a", false); } // [B1, B5, V6, V7]
13205test { try toAsciiFail("xn--ss-e61ar955h4hs7b.xn--9x8a", true); } // [B1, B5, V6, V7]
13206test { try toUnicodeFail("xn--zca227tpy4lkns1b.xn--9x8a"); } // [B1, B5, V6, V7]
13207test { try toAsciiFail("xn--zca227tpy4lkns1b.xn--9x8a", false); } // [B1, B5, V6, V7]
13208test { try toAsciiFail("xn--zca227tpy4lkns1b.xn--9x8a", true); } // [B1, B5, V6, V7]
13209test { try toUnicodeFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xef\xbd\xa1\xea\x99\xba"); } // [B1, B5, V6, V7]
13210test { try toAsciiFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xef\xbd\xa1\xea\x99\xba", false); } // [B1, B5, V6, V7]
13211test { try toAsciiFail("\xc3\x9f\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xef\xbd\xa1\xea\x99\xba", true); } // [B1, B5, V6, V7]
13212test { try toUnicodeFail("SS\xf0\x90\xb5\x93\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba"); } // [B1, B5, V6, V7]
13213test { try toAsciiFail("SS\xf0\x90\xb5\x93\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba", false); } // [B1, B5, V6, V7]
13214test { try toAsciiFail("SS\xf0\x90\xb5\x93\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba", true); } // [B1, B5, V6, V7]
13215test { try toUnicodeFail("ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xef\xbd\xa1\xea\x99\xba"); } // [B1, B5, V6, V7]
13216test { try toAsciiFail("ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xef\xbd\xa1\xea\x99\xba", false); } // [B1, B5, V6, V7]
13217test { try toAsciiFail("ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe2\xb4\x87\xef\xbd\xa1\xea\x99\xba", true); } // [B1, B5, V6, V7]
13218test { try toUnicodeFail("Ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba"); } // [B1, B5, V6, V7]
13219test { try toAsciiFail("Ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba", false); } // [B1, B5, V6, V7]
13220test { try toAsciiFail("Ss\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba", true); } // [B1, B5, V6, V7]
13221test { try toUnicodeFail("SS\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba"); } // [B1, B5, V6, V7]
13222test { try toAsciiFail("SS\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba", false); } // [B1, B5, V6, V7]
13223test { try toAsciiFail("SS\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xe3\x80\x82\xea\x99\xba", true); } // [B1, B5, V6, V7]
13224test { try toUnicodeFail("xn--ss-rek7420r4hs7b.xn--9x8a"); } // [B1, B5, V6, V7]
13225test { try toAsciiFail("xn--ss-rek7420r4hs7b.xn--9x8a", false); } // [B1, B5, V6, V7]
13226test { try toAsciiFail("xn--ss-rek7420r4hs7b.xn--9x8a", true); } // [B1, B5, V6, V7]
13227test { try toUnicodeFail("xn--zca491fci5qkn79a.xn--9x8a"); } // [B1, B5, V6, V7]
13228test { try toAsciiFail("xn--zca491fci5qkn79a.xn--9x8a", false); } // [B1, B5, V6, V7]
13229test { try toAsciiFail("xn--zca491fci5qkn79a.xn--9x8a", true); } // [B1, B5, V6, V7]
13230test { try toUnicodeFail("SS\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba"); } // [B1, B5, V6, V7]
13231test { try toAsciiFail("SS\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba", false); } // [B1, B5, V6, V7]
13232test { try toAsciiFail("SS\xf0\x90\xb5\xb3\xf1\x97\x98\x81\xe1\x82\xa7\xef\xbd\xa1\xea\x99\xba", true); } // [B1, B5, V6, V7]
13233test { try toUnicodeFail("\xe1\x9c\x94\xe3\x80\x82\xf3\xa0\x86\xa3-\xf0\x91\x8b\xaa"); } // [V3, V6]
13234test { try toAsciiFail("\xe1\x9c\x94\xe3\x80\x82\xf3\xa0\x86\xa3-\xf0\x91\x8b\xaa", false); } // [V3, V6]
13235test { try toAsciiFail("\xe1\x9c\x94\xe3\x80\x82\xf3\xa0\x86\xa3-\xf0\x91\x8b\xaa", true); } // [V3, V6]
13236test { try toUnicodeFail("xn--fze.xn----ly8i"); } // [V3, V6]
13237test { try toAsciiFail("xn--fze.xn----ly8i", false); } // [V3, V6]
13238test { try toAsciiFail("xn--fze.xn----ly8i", true); } // [V3, V6]
13239test { try toUnicodeFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbd\xc3\x9f"); } // [V3, V6, V7]
13240test { try toAsciiFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbd\xc3\x9f", false); } // [V3, V6, V7]
13241test { try toAsciiFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbd\xc3\x9f", true); } // [V3, V6, V7]
13242test { try toUnicodeFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbd\xc3\x9f"); } // [V3, V6, V7]
13243test { try toAsciiFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbd\xc3\x9f", false); } // [V3, V6, V7]
13244test { try toAsciiFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbd\xc3\x9f", true); } // [V3, V6, V7]
13245test { try toUnicodeFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbdSS"); } // [V3, V6, V7]
13246test { try toAsciiFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbdSS", false); } // [V3, V6, V7]
13247test { try toAsciiFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbdSS", true); } // [V3, V6, V7]
13248test { try toUnicodeFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbdss"); } // [V3, V6, V7]
13249test { try toAsciiFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbdss", false); } // [V3, V6, V7]
13250test { try toAsciiFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbdss", true); } // [V3, V6, V7]
13251test { try toUnicodeFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbdSs"); } // [V3, V6, V7]
13252test { try toAsciiFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbdSs", false); } // [V3, V6, V7]
13253test { try toAsciiFail("\xea\xaf\xa8-.\xf2\xa8\x8f\x9c\xd6\xbdSs", true); } // [V3, V6, V7]
13254test { try toUnicodeFail("xn----pw5e.xn--ss-7jd10716y"); } // [V3, V6, V7]
13255test { try toAsciiFail("xn----pw5e.xn--ss-7jd10716y", false); } // [V3, V6, V7]
13256test { try toAsciiFail("xn----pw5e.xn--ss-7jd10716y", true); } // [V3, V6, V7]
13257test { try toUnicodeFail("xn----pw5e.xn--zca50wfv060a"); } // [V3, V6, V7]
13258test { try toAsciiFail("xn----pw5e.xn--zca50wfv060a", false); } // [V3, V6, V7]
13259test { try toAsciiFail("xn----pw5e.xn--zca50wfv060a", true); } // [V3, V6, V7]
13260test { try toUnicodeFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbdSS"); } // [V3, V6, V7]
13261test { try toAsciiFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbdSS", false); } // [V3, V6, V7]
13262test { try toAsciiFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbdSS", true); } // [V3, V6, V7]
13263test { try toUnicodeFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbdss"); } // [V3, V6, V7]
13264test { try toAsciiFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbdss", false); } // [V3, V6, V7]
13265test { try toAsciiFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbdss", true); } // [V3, V6, V7]
13266test { try toUnicodeFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbdSs"); } // [V3, V6, V7]
13267test { try toAsciiFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbdSs", false); } // [V3, V6, V7]
13268test { try toAsciiFail("\xea\xaf\xa8-\xef\xbc\x8e\xf2\xa8\x8f\x9c\xd6\xbdSs", true); } // [V3, V6, V7]
13269test { try toUnicodeFail("\xe1\xa1\x93-\xe2\x89\xae\xe3\x80\x82\xd9\xab\xf3\xa0\x85\xb1\xe1\xa1\x84"); } // [B1, B6]
13270test { try toAsciiFail("\xe1\xa1\x93-\xe2\x89\xae\xe3\x80\x82\xd9\xab\xf3\xa0\x85\xb1\xe1\xa1\x84", false); } // [B1, B6]
13271test { try toAsciiFail("\xe1\xa1\x93-\xe2\x89\xae\xe3\x80\x82\xd9\xab\xf3\xa0\x85\xb1\xe1\xa1\x84", true); } // [B1, B6]
13272test { try toUnicodeFail("\xe1\xa1\x93-<\xcc\xb8\xe3\x80\x82\xd9\xab\xf3\xa0\x85\xb1\xe1\xa1\x84"); } // [B1, B6]
13273test { try toAsciiFail("\xe1\xa1\x93-<\xcc\xb8\xe3\x80\x82\xd9\xab\xf3\xa0\x85\xb1\xe1\xa1\x84", false); } // [B1, B6]
13274test { try toAsciiFail("\xe1\xa1\x93-<\xcc\xb8\xe3\x80\x82\xd9\xab\xf3\xa0\x85\xb1\xe1\xa1\x84", true); } // [B1, B6]
13275test { try toUnicodeFail("xn----s7j866c.xn--kib252g"); } // [B1, B6]
13276test { try toAsciiFail("xn----s7j866c.xn--kib252g", false); } // [B1, B6]
13277test { try toAsciiFail("xn----s7j866c.xn--kib252g", true); } // [B1, B6]
13278test { try toUnicodeFail("\xf0\x9d\x9f\xa5\xe2\x99\xae\xf0\x91\x9c\xab\xe0\xa3\xad\xef\xbc\x8e\xe1\x9f\x92\xf0\x91\x9c\xab8\xf3\xa0\x86\x8f"); } // [V6]
13279test { try toAsciiFail("\xf0\x9d\x9f\xa5\xe2\x99\xae\xf0\x91\x9c\xab\xe0\xa3\xad\xef\xbc\x8e\xe1\x9f\x92\xf0\x91\x9c\xab8\xf3\xa0\x86\x8f", false); } // [V6]
13280test { try toAsciiFail("\xf0\x9d\x9f\xa5\xe2\x99\xae\xf0\x91\x9c\xab\xe0\xa3\xad\xef\xbc\x8e\xe1\x9f\x92\xf0\x91\x9c\xab8\xf3\xa0\x86\x8f", true); } // [V6]
13281test { try toUnicodeFail("3\xe2\x99\xae\xf0\x91\x9c\xab\xe0\xa3\xad.\xe1\x9f\x92\xf0\x91\x9c\xab8\xf3\xa0\x86\x8f"); } // [V6]
13282test { try toAsciiFail("3\xe2\x99\xae\xf0\x91\x9c\xab\xe0\xa3\xad.\xe1\x9f\x92\xf0\x91\x9c\xab8\xf3\xa0\x86\x8f", false); } // [V6]
13283test { try toAsciiFail("3\xe2\x99\xae\xf0\x91\x9c\xab\xe0\xa3\xad.\xe1\x9f\x92\xf0\x91\x9c\xab8\xf3\xa0\x86\x8f", true); } // [V6]
13284test { try toUnicodeFail("xn--3-ksd277tlo7s.xn--8-f0jx021l"); } // [V6]
13285test { try toAsciiFail("xn--3-ksd277tlo7s.xn--8-f0jx021l", false); } // [V6]
13286test { try toAsciiFail("xn--3-ksd277tlo7s.xn--8-f0jx021l", true); } // [V6]
13287test { try toUnicodeFail("-\xef\xbd\xa1\xf2\x95\x8c\x80\xe2\x80\x8d\xe2\x9d\xa1"); } // [C2, V3, V7]
13288test { try toAsciiFail("-\xef\xbd\xa1\xf2\x95\x8c\x80\xe2\x80\x8d\xe2\x9d\xa1", false); } // [C2, V3, V7]
13289test { try toAsciiFail("-\xef\xbd\xa1\xf2\x95\x8c\x80\xe2\x80\x8d\xe2\x9d\xa1", true); } // [V3, V7]
13290test { try toUnicodeFail("-\xe3\x80\x82\xf2\x95\x8c\x80\xe2\x80\x8d\xe2\x9d\xa1"); } // [C2, V3, V7]
13291test { try toAsciiFail("-\xe3\x80\x82\xf2\x95\x8c\x80\xe2\x80\x8d\xe2\x9d\xa1", false); } // [C2, V3, V7]
13292test { try toAsciiFail("-\xe3\x80\x82\xf2\x95\x8c\x80\xe2\x80\x8d\xe2\x9d\xa1", true); } // [V3, V7]
13293test { try toUnicodeFail("-.xn--nei54421f"); } // [V3, V7]
13294test { try toAsciiFail("-.xn--nei54421f", false); } // [V3, V7]
13295test { try toAsciiFail("-.xn--nei54421f", true); } // [V3, V7]
13296test { try toUnicodeFail("-.xn--1ug800aq795s"); } // [C2, V3, V7]
13297test { try toAsciiFail("-.xn--1ug800aq795s", false); } // [C2, V3, V7]
13298test { try toAsciiFail("-.xn--1ug800aq795s", true); } // [C2, V3, V7]
13299test { try toUnicodeFail("\xf0\x9d\x9f\x93\xe2\x98\xb1\xf0\x9d\x9f\x90\xf2\xa5\xb0\xb5\xef\xbd\xa1\xf0\x9d\xaa\xae\xf1\x90\xa1\xb3"); } // [V6, V7]
13300test { try toAsciiFail("\xf0\x9d\x9f\x93\xe2\x98\xb1\xf0\x9d\x9f\x90\xf2\xa5\xb0\xb5\xef\xbd\xa1\xf0\x9d\xaa\xae\xf1\x90\xa1\xb3", false); } // [V6, V7]
13301test { try toAsciiFail("\xf0\x9d\x9f\x93\xe2\x98\xb1\xf0\x9d\x9f\x90\xf2\xa5\xb0\xb5\xef\xbd\xa1\xf0\x9d\xaa\xae\xf1\x90\xa1\xb3", true); } // [V6, V7]
13302test { try toUnicodeFail("5\xe2\x98\xb12\xf2\xa5\xb0\xb5\xe3\x80\x82\xf0\x9d\xaa\xae\xf1\x90\xa1\xb3"); } // [V6, V7]
13303test { try toAsciiFail("5\xe2\x98\xb12\xf2\xa5\xb0\xb5\xe3\x80\x82\xf0\x9d\xaa\xae\xf1\x90\xa1\xb3", false); } // [V6, V7]
13304test { try toAsciiFail("5\xe2\x98\xb12\xf2\xa5\xb0\xb5\xe3\x80\x82\xf0\x9d\xaa\xae\xf1\x90\xa1\xb3", true); } // [V6, V7]
13305test { try toUnicodeFail("xn--52-dwx47758j.xn--kd3hk431k"); } // [V6, V7]
13306test { try toAsciiFail("xn--52-dwx47758j.xn--kd3hk431k", false); } // [V6, V7]
13307test { try toAsciiFail("xn--52-dwx47758j.xn--kd3hk431k", true); } // [V6, V7]
13308test { try toUnicodeFail("-.-\xe2\x94\x9c\xf2\x96\xa6\xa3"); } // [V3, V7]
13309test { try toAsciiFail("-.-\xe2\x94\x9c\xf2\x96\xa6\xa3", false); } // [V3, V7]
13310test { try toAsciiFail("-.-\xe2\x94\x9c\xf2\x96\xa6\xa3", true); } // [V3, V7]
13311test { try toUnicodeFail("-.xn----ukp70432h"); } // [V3, V7]
13312test { try toAsciiFail("-.xn----ukp70432h", false); } // [V3, V7]
13313test { try toAsciiFail("-.xn----ukp70432h", true); } // [V3, V7]
13314test { try toUnicodeFail("\xd6\xa5\xdd\xad\xef\xbd\xa1\xe2\x80\x8d\xf3\xa0\x80\x98"); } // [B1, C2, V6, V7]
13315test { try toAsciiFail("\xd6\xa5\xdd\xad\xef\xbd\xa1\xe2\x80\x8d\xf3\xa0\x80\x98", false); } // [B1, C2, V6, V7]
13316test { try toAsciiFail("\xd6\xa5\xdd\xad\xef\xbd\xa1\xe2\x80\x8d\xf3\xa0\x80\x98", true); } // [B1, V6, V7]
13317test { try toUnicodeFail("\xd6\xa5\xdd\xad\xe3\x80\x82\xe2\x80\x8d\xf3\xa0\x80\x98"); } // [B1, C2, V6, V7]
13318test { try toAsciiFail("\xd6\xa5\xdd\xad\xe3\x80\x82\xe2\x80\x8d\xf3\xa0\x80\x98", false); } // [B1, C2, V6, V7]
13319test { try toAsciiFail("\xd6\xa5\xdd\xad\xe3\x80\x82\xe2\x80\x8d\xf3\xa0\x80\x98", true); } // [B1, V6, V7]
13320test { try toUnicodeFail("xn--wcb62g.xn--p526e"); } // [B1, V6, V7]
13321test { try toAsciiFail("xn--wcb62g.xn--p526e", false); } // [B1, V6, V7]
13322test { try toAsciiFail("xn--wcb62g.xn--p526e", true); } // [B1, V6, V7]
13323test { try toUnicodeFail("xn--wcb62g.xn--1ugy8001l"); } // [B1, C2, V6, V7]
13324test { try toAsciiFail("xn--wcb62g.xn--1ugy8001l", false); } // [B1, C2, V6, V7]
13325test { try toAsciiFail("xn--wcb62g.xn--1ugy8001l", true); } // [B1, C2, V6, V7]
13326test { try toUnicodeFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe1\x82\xae\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92"); } // [B1, C1, V7]
13327test { try toAsciiFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe1\x82\xae\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92", false); } // [B1, C1, V7]
13328test { try toAsciiFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe1\x82\xae\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92", true); } // [B1, V7]
13329test { try toUnicodeFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe1\x82\xae\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92"); } // [B1, C1, V7]
13330test { try toAsciiFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe1\x82\xae\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92", false); } // [B1, C1, V7]
13331test { try toAsciiFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe1\x82\xae\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92", true); } // [B1, V7]
13332test { try toUnicodeFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe1\x82\xae.\xe2\x80\x8c1.1.\xf0\x90\xab\x92"); } // [B1, C1, V7]
13333test { try toAsciiFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe1\x82\xae.\xe2\x80\x8c1.1.\xf0\x90\xab\x92", false); } // [B1, C1, V7]
13334test { try toAsciiFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe1\x82\xae.\xe2\x80\x8c1.1.\xf0\x90\xab\x92", true); } // [B1, V7]
13335test { try toUnicodeFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe1\x82\xae.\xe2\x80\x8c1.1.\xf0\x90\xab\x92"); } // [B1, C1, V7]
13336test { try toAsciiFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe1\x82\xae.\xe2\x80\x8c1.1.\xf0\x90\xab\x92", false); } // [B1, C1, V7]
13337test { try toAsciiFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe1\x82\xae.\xe2\x80\x8c1.1.\xf0\x90\xab\x92", true); } // [B1, V7]
13338test { try toUnicodeFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe2\xb4\x8e.\xe2\x80\x8c1.1.\xf0\x90\xab\x92"); } // [B1, C1, V7]
13339test { try toAsciiFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe2\xb4\x8e.\xe2\x80\x8c1.1.\xf0\x90\xab\x92", false); } // [B1, C1, V7]
13340test { try toAsciiFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe2\xb4\x8e.\xe2\x80\x8c1.1.\xf0\x90\xab\x92", true); } // [B1, V7]
13341test { try toUnicodeFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe2\xb4\x8e.\xe2\x80\x8c1.1.\xf0\x90\xab\x92"); } // [B1, C1, V7]
13342test { try toAsciiFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe2\xb4\x8e.\xe2\x80\x8c1.1.\xf0\x90\xab\x92", false); } // [B1, C1, V7]
13343test { try toAsciiFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe2\xb4\x8e.\xe2\x80\x8c1.1.\xf0\x90\xab\x92", true); } // [B1, V7]
13344test { try toUnicodeFail("xn--5kj3511ccyw3h.1.1.xn--7w9c"); } // [B1, V7]
13345test { try toAsciiFail("xn--5kj3511ccyw3h.1.1.xn--7w9c", false); } // [B1, V7]
13346test { try toAsciiFail("xn--5kj3511ccyw3h.1.1.xn--7w9c", true); } // [B1, V7]
13347test { try toUnicodeFail("xn--5kj3511ccyw3h.xn--1-rgn.1.xn--7w9c"); } // [B1, C1, V7]
13348test { try toAsciiFail("xn--5kj3511ccyw3h.xn--1-rgn.1.xn--7w9c", false); } // [B1, C1, V7]
13349test { try toAsciiFail("xn--5kj3511ccyw3h.xn--1-rgn.1.xn--7w9c", true); } // [B1, C1, V7]
13350test { try toUnicodeFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe2\xb4\x8e\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92"); } // [B1, C1, V7]
13351test { try toAsciiFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe2\xb4\x8e\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92", false); } // [B1, C1, V7]
13352test { try toAsciiFail("\xe1\x84\x8c\xe1\x85\xb1\xe1\x86\xbc\xf3\x94\x8f\x89\xe2\xb4\x8e\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92", true); } // [B1, V7]
13353test { try toUnicodeFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe2\xb4\x8e\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92"); } // [B1, C1, V7]
13354test { try toAsciiFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe2\xb4\x8e\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92", false); } // [B1, C1, V7]
13355test { try toAsciiFail("\xec\xa5\xa5\xf3\x94\x8f\x89\xe2\xb4\x8e\xef\xbc\x8e\xe2\x80\x8c\xe2\x92\x88\xe2\x92\x88\xf0\x90\xab\x92", true); } // [B1, V7]
13356test { try toUnicodeFail("xn--5kj3511ccyw3h.xn--tsha6797o"); } // [B1, V7]
13357test { try toAsciiFail("xn--5kj3511ccyw3h.xn--tsha6797o", false); } // [B1, V7]
13358test { try toAsciiFail("xn--5kj3511ccyw3h.xn--tsha6797o", true); } // [B1, V7]
13359test { try toUnicodeFail("xn--5kj3511ccyw3h.xn--0ug88oa0396u"); } // [B1, C1, V7]
13360test { try toAsciiFail("xn--5kj3511ccyw3h.xn--0ug88oa0396u", false); } // [B1, C1, V7]
13361test { try toAsciiFail("xn--5kj3511ccyw3h.xn--0ug88oa0396u", true); } // [B1, C1, V7]
13362test { try toUnicodeFail("xn--mnd7865gcy28g.1.1.xn--7w9c"); } // [B1, V7]
13363test { try toAsciiFail("xn--mnd7865gcy28g.1.1.xn--7w9c", false); } // [B1, V7]
13364test { try toAsciiFail("xn--mnd7865gcy28g.1.1.xn--7w9c", true); } // [B1, V7]
13365test { try toUnicodeFail("xn--mnd7865gcy28g.xn--1-rgn.1.xn--7w9c"); } // [B1, C1, V7]
13366test { try toAsciiFail("xn--mnd7865gcy28g.xn--1-rgn.1.xn--7w9c", false); } // [B1, C1, V7]
13367test { try toAsciiFail("xn--mnd7865gcy28g.xn--1-rgn.1.xn--7w9c", true); } // [B1, C1, V7]
13368test { try toUnicodeFail("xn--mnd7865gcy28g.xn--tsha6797o"); } // [B1, V7]
13369test { try toAsciiFail("xn--mnd7865gcy28g.xn--tsha6797o", false); } // [B1, V7]
13370test { try toAsciiFail("xn--mnd7865gcy28g.xn--tsha6797o", true); } // [B1, V7]
13371test { try toUnicodeFail("xn--mnd7865gcy28g.xn--0ug88oa0396u"); } // [B1, C1, V7]
13372test { try toAsciiFail("xn--mnd7865gcy28g.xn--0ug88oa0396u", false); } // [B1, C1, V7]
13373test { try toAsciiFail("xn--mnd7865gcy28g.xn--0ug88oa0396u", true); } // [B1, C1, V7]
13374test { try toUnicodeFail("\xe0\xa0\xa7\xf0\x9d\x9f\xb6\xda\xa0-\xe3\x80\x82\xf0\x91\x84\xb3"); } // [B1, V3, V6]
13375test { try toAsciiFail("\xe0\xa0\xa7\xf0\x9d\x9f\xb6\xda\xa0-\xe3\x80\x82\xf0\x91\x84\xb3", false); } // [B1, V3, V6]
13376test { try toAsciiFail("\xe0\xa0\xa7\xf0\x9d\x9f\xb6\xda\xa0-\xe3\x80\x82\xf0\x91\x84\xb3", true); } // [B1, V3, V6]
13377test { try toUnicodeFail("\xe0\xa0\xa70\xda\xa0-\xe3\x80\x82\xf0\x91\x84\xb3"); } // [B1, V3, V6]
13378test { try toAsciiFail("\xe0\xa0\xa70\xda\xa0-\xe3\x80\x82\xf0\x91\x84\xb3", false); } // [B1, V3, V6]
13379test { try toAsciiFail("\xe0\xa0\xa70\xda\xa0-\xe3\x80\x82\xf0\x91\x84\xb3", true); } // [B1, V3, V6]
13380test { try toUnicodeFail("xn--0--p3d67m.xn--v80d"); } // [B1, V3, V6]
13381test { try toAsciiFail("xn--0--p3d67m.xn--v80d", false); } // [B1, V3, V6]
13382test { try toAsciiFail("xn--0--p3d67m.xn--v80d", true); } // [B1, V3, V6]
13383test { try toUnicodeFail("\xcf\x82\xef\xbc\x8e\xef\xb7\x81\xf0\x9f\x9e\x9b\xe2\x92\x88"); } // [V7]
13384test { try toAsciiFail("\xcf\x82\xef\xbc\x8e\xef\xb7\x81\xf0\x9f\x9e\x9b\xe2\x92\x88", false); } // [V7]
13385test { try toAsciiFail("\xcf\x82\xef\xbc\x8e\xef\xb7\x81\xf0\x9f\x9e\x9b\xe2\x92\x88", true); } // [V7]
13386test { try toUnicodePass("\xcf\x82.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1.", "\xcf\x82.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1."); }
13387test { try toAsciiFail("\xcf\x82.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1.", false); } // [A4_2]
13388test { try toAsciiFail("\xcf\x82.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1.", true); } // [A4_2]
13389test { try toUnicodePass("\xce\xa3.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1.", "\xcf\x83.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1."); }
13390test { try toAsciiFail("\xce\xa3.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1.", false); } // [A4_2]
13391test { try toAsciiFail("\xce\xa3.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1.", true); } // [A4_2]
13392test { try toUnicodePass("\xcf\x83.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1.", "\xcf\x83.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1."); }
13393test { try toAsciiFail("\xcf\x83.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1.", false); } // [A4_2]
13394test { try toAsciiFail("\xcf\x83.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1.", true); } // [A4_2]
13395test { try toUnicodePass("xn--4xa.xn--1-gocmu97674d.", "\xcf\x83.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1."); }
13396test { try toAsciiFail("xn--4xa.xn--1-gocmu97674d.", false); } // [A4_2]
13397test { try toAsciiFail("xn--4xa.xn--1-gocmu97674d.", true); } // [A4_2]
13398test { try toUnicodePass("xn--3xa.xn--1-gocmu97674d.", "\xcf\x82.\xd9\x81\xd9\x85\xd9\x8a\xf0\x9f\x9e\x9b1."); }
13399test { try toAsciiFail("xn--3xa.xn--1-gocmu97674d.", false); } // [A4_2]
13400test { try toAsciiFail("xn--3xa.xn--1-gocmu97674d.", true); } // [A4_2]
13401test { try toUnicodeFail("\xce\xa3\xef\xbc\x8e\xef\xb7\x81\xf0\x9f\x9e\x9b\xe2\x92\x88"); } // [V7]
13402test { try toAsciiFail("\xce\xa3\xef\xbc\x8e\xef\xb7\x81\xf0\x9f\x9e\x9b\xe2\x92\x88", false); } // [V7]
13403test { try toAsciiFail("\xce\xa3\xef\xbc\x8e\xef\xb7\x81\xf0\x9f\x9e\x9b\xe2\x92\x88", true); } // [V7]
13404test { try toUnicodeFail("\xcf\x83\xef\xbc\x8e\xef\xb7\x81\xf0\x9f\x9e\x9b\xe2\x92\x88"); } // [V7]
13405test { try toAsciiFail("\xcf\x83\xef\xbc\x8e\xef\xb7\x81\xf0\x9f\x9e\x9b\xe2\x92\x88", false); } // [V7]
13406test { try toAsciiFail("\xcf\x83\xef\xbc\x8e\xef\xb7\x81\xf0\x9f\x9e\x9b\xe2\x92\x88", true); } // [V7]
13407test { try toUnicodeFail("xn--4xa.xn--dhbip2802atb20c"); } // [V7]
13408test { try toAsciiFail("xn--4xa.xn--dhbip2802atb20c", false); } // [V7]
13409test { try toAsciiFail("xn--4xa.xn--dhbip2802atb20c", true); } // [V7]
13410test { try toUnicodeFail("xn--3xa.xn--dhbip2802atb20c"); } // [V7]
13411test { try toAsciiFail("xn--3xa.xn--dhbip2802atb20c", false); } // [V7]
13412test { try toAsciiFail("xn--3xa.xn--dhbip2802atb20c", true); } // [V7]
13413test { try toUnicodeFail("\xf0\x9f\x97\xa9-\xef\xbd\xa1\xf0\x90\xb9\xbb\xf3\x90\x9e\x86\xf1\xa5\x89\xae"); } // [B1, V3, V7]
13414test { try toAsciiFail("\xf0\x9f\x97\xa9-\xef\xbd\xa1\xf0\x90\xb9\xbb\xf3\x90\x9e\x86\xf1\xa5\x89\xae", false); } // [B1, V3, V7]
13415test { try toAsciiFail("\xf0\x9f\x97\xa9-\xef\xbd\xa1\xf0\x90\xb9\xbb\xf3\x90\x9e\x86\xf1\xa5\x89\xae", true); } // [B1, V3, V7]
13416test { try toUnicodeFail("\xf0\x9f\x97\xa9-\xe3\x80\x82\xf0\x90\xb9\xbb\xf3\x90\x9e\x86\xf1\xa5\x89\xae"); } // [B1, V3, V7]
13417test { try toAsciiFail("\xf0\x9f\x97\xa9-\xe3\x80\x82\xf0\x90\xb9\xbb\xf3\x90\x9e\x86\xf1\xa5\x89\xae", false); } // [B1, V3, V7]
13418test { try toAsciiFail("\xf0\x9f\x97\xa9-\xe3\x80\x82\xf0\x90\xb9\xbb\xf3\x90\x9e\x86\xf1\xa5\x89\xae", true); } // [B1, V3, V7]
13419test { try toUnicodeFail("xn----6t3s.xn--zo0d4811u6ru6a"); } // [B1, V3, V7]
13420test { try toAsciiFail("xn----6t3s.xn--zo0d4811u6ru6a", false); } // [B1, V3, V7]
13421test { try toAsciiFail("xn----6t3s.xn--zo0d4811u6ru6a", true); } // [B1, V3, V7]
13422test { try toUnicodeFail("\xf0\x90\xa1\x9c-\xf0\x9f\x94\xaa\xef\xbd\xa1\xf0\x9d\x9f\xbb\xe2\x80\x8c\xf0\x90\xbf\x80"); } // [B1, B3, C1]
13423test { try toAsciiFail("\xf0\x90\xa1\x9c-\xf0\x9f\x94\xaa\xef\xbd\xa1\xf0\x9d\x9f\xbb\xe2\x80\x8c\xf0\x90\xbf\x80", false); } // [B1, B3, C1]
13424test { try toAsciiFail("\xf0\x90\xa1\x9c-\xf0\x9f\x94\xaa\xef\xbd\xa1\xf0\x9d\x9f\xbb\xe2\x80\x8c\xf0\x90\xbf\x80", true); } // [B1, B3]
13425test { try toUnicodeFail("\xf0\x90\xa1\x9c-\xf0\x9f\x94\xaa\xe3\x80\x825\xe2\x80\x8c\xf0\x90\xbf\x80"); } // [B1, B3, C1]
13426test { try toAsciiFail("\xf0\x90\xa1\x9c-\xf0\x9f\x94\xaa\xe3\x80\x825\xe2\x80\x8c\xf0\x90\xbf\x80", false); } // [B1, B3, C1]
13427test { try toAsciiFail("\xf0\x90\xa1\x9c-\xf0\x9f\x94\xaa\xe3\x80\x825\xe2\x80\x8c\xf0\x90\xbf\x80", true); } // [B1, B3]
13428test { try toUnicodeFail("xn----5j4iv089c.xn--5-bn7i"); } // [B1, B3]
13429test { try toAsciiFail("xn----5j4iv089c.xn--5-bn7i", false); } // [B1, B3]
13430test { try toAsciiFail("xn----5j4iv089c.xn--5-bn7i", true); } // [B1, B3]
13431test { try toUnicodeFail("xn----5j4iv089c.xn--5-sgn7149h"); } // [B1, B3, C1]
13432test { try toAsciiFail("xn----5j4iv089c.xn--5-sgn7149h", false); } // [B1, B3, C1]
13433test { try toAsciiFail("xn----5j4iv089c.xn--5-sgn7149h", true); } // [B1, B3, C1]
13434test { try toUnicodeFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8d\xc3\x9f\xef\xbc\x8e\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13435test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8d\xc3\x9f\xef\xbc\x8e\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13436test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8d\xc3\x9f\xef\xbc\x8e\xdf\x8f0\xd6\xbc", true); } // [B1]
13437test { try toUnicodeFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8d\xc3\x9f\xef\xbc\x8e\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13438test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8d\xc3\x9f\xef\xbc\x8e\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13439test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8d\xc3\x9f\xef\xbc\x8e\xdf\x8f0\xd6\xbc", true); } // [B1]
13440test { try toUnicodeFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8d\xc3\x9f.\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13441test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8d\xc3\x9f.\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13442test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8d\xc3\x9f.\xdf\x8f0\xd6\xbc", true); } // [B1]
13443test { try toUnicodeFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8d\xc3\x9f.\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13444test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8d\xc3\x9f.\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13445test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8d\xc3\x9f.\xdf\x8f0\xd6\xbc", true); } // [B1]
13446test { try toUnicodeFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSS.\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13447test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSS.\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13448test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSS.\xdf\x8f0\xd6\xbc", true); } // [B1]
13449test { try toUnicodeFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSS.\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13450test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSS.\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13451test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSS.\xdf\x8f0\xd6\xbc", true); } // [B1]
13452test { try toUnicodeFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dss.\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13453test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dss.\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13454test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dss.\xdf\x8f0\xd6\xbc", true); } // [B1]
13455test { try toUnicodeFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dss.\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13456test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dss.\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13457test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dss.\xdf\x8f0\xd6\xbc", true); } // [B1]
13458test { try toUnicodeFail("xn--ss-i05i7041a.xn--0-vgc50n"); } // [B1]
13459test { try toAsciiFail("xn--ss-i05i7041a.xn--0-vgc50n", false); } // [B1]
13460test { try toAsciiFail("xn--ss-i05i7041a.xn--0-vgc50n", true); } // [B1]
13461test { try toUnicodeFail("xn--ss-l1tu910fo0xd.xn--0-vgc50n"); } // [B1, C2]
13462test { try toAsciiFail("xn--ss-l1tu910fo0xd.xn--0-vgc50n", false); } // [B1, C2]
13463test { try toAsciiFail("xn--ss-l1tu910fo0xd.xn--0-vgc50n", true); } // [B1, C2]
13464test { try toUnicodeFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSs.\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13465test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSs.\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13466test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSs.\xdf\x8f0\xd6\xbc", true); } // [B1]
13467test { try toUnicodeFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSs.\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13468test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSs.\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13469test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSs.\xdf\x8f0\xd6\xbc", true); } // [B1]
13470test { try toUnicodeFail("xn--zca770n5s4hev6c.xn--0-vgc50n"); } // [B1, C2]
13471test { try toAsciiFail("xn--zca770n5s4hev6c.xn--0-vgc50n", false); } // [B1, C2]
13472test { try toAsciiFail("xn--zca770n5s4hev6c.xn--0-vgc50n", true); } // [B1, C2]
13473test { try toUnicodeFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSS\xef\xbc\x8e\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13474test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSS\xef\xbc\x8e\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13475test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSS\xef\xbc\x8e\xdf\x8f0\xd6\xbc", true); } // [B1]
13476test { try toUnicodeFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSS\xef\xbc\x8e\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13477test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSS\xef\xbc\x8e\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13478test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSS\xef\xbc\x8e\xdf\x8f0\xd6\xbc", true); } // [B1]
13479test { try toUnicodeFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dss\xef\xbc\x8e\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13480test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dss\xef\xbc\x8e\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13481test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dss\xef\xbc\x8e\xdf\x8f0\xd6\xbc", true); } // [B1]
13482test { try toUnicodeFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dss\xef\xbc\x8e\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13483test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dss\xef\xbc\x8e\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13484test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dss\xef\xbc\x8e\xdf\x8f0\xd6\xbc", true); } // [B1]
13485test { try toUnicodeFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSs\xef\xbc\x8e\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13486test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSs\xef\xbc\x8e\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13487test { try toAsciiFail("\xf0\x90\xb9\xa3\xeb\x8a\xbf\xe2\x80\x8dSs\xef\xbc\x8e\xdf\x8f0\xd6\xbc", true); } // [B1]
13488test { try toUnicodeFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSs\xef\xbc\x8e\xdf\x8f0\xd6\xbc"); } // [B1, C2]
13489test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSs\xef\xbc\x8e\xdf\x8f0\xd6\xbc", false); } // [B1, C2]
13490test { try toAsciiFail("\xf0\x90\xb9\xa3\xe1\x84\x82\xe1\x85\xb4\xe1\x86\xba\xe2\x80\x8dSs\xef\xbc\x8e\xdf\x8f0\xd6\xbc", true); } // [B1]
13491test { try toUnicodeFail("9\xf3\xa0\x87\xa5\xef\xbc\x8e\xf3\xaa\xb4\xb4\xe1\xa2\x93"); } // [V7]
13492test { try toAsciiFail("9\xf3\xa0\x87\xa5\xef\xbc\x8e\xf3\xaa\xb4\xb4\xe1\xa2\x93", false); } // [V7]
13493test { try toAsciiFail("9\xf3\xa0\x87\xa5\xef\xbc\x8e\xf3\xaa\xb4\xb4\xe1\xa2\x93", true); } // [V7]
13494test { try toUnicodeFail("9\xf3\xa0\x87\xa5.\xf3\xaa\xb4\xb4\xe1\xa2\x93"); } // [V7]
13495test { try toAsciiFail("9\xf3\xa0\x87\xa5.\xf3\xaa\xb4\xb4\xe1\xa2\x93", false); } // [V7]
13496test { try toAsciiFail("9\xf3\xa0\x87\xa5.\xf3\xaa\xb4\xb4\xe1\xa2\x93", true); } // [V7]
13497test { try toUnicodeFail("9.xn--dbf91222q"); } // [V7]
13498test { try toAsciiFail("9.xn--dbf91222q", false); } // [V7]
13499test { try toAsciiFail("9.xn--dbf91222q", true); } // [V7]
13500test { try toUnicodeFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97\xc3\x9f\xe2\xbd\x9f"); } // [B1, B2, B3, C1]
13501test { try toAsciiFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97\xc3\x9f\xe2\xbd\x9f", false); } // [B1, B2, B3, C1]
13502test { try toAsciiFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97\xc3\x9f\xe2\xbd\x9f", true); } // [B2, B3, A4_2]
13503test { try toUnicodeFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97\xc3\x9f\xe7\x8e\x89"); } // [B1, B2, B3, C1]
13504test { try toAsciiFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97\xc3\x9f\xe7\x8e\x89", false); } // [B1, B2, B3, C1]
13505test { try toAsciiFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97\xc3\x9f\xe7\x8e\x89", true); } // [B2, B3, A4_2]
13506test { try toUnicodeFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97SS\xe7\x8e\x89"); } // [B1, B2, B3, C1]
13507test { try toAsciiFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97SS\xe7\x8e\x89", false); } // [B1, B2, B3, C1]
13508test { try toAsciiFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97SS\xe7\x8e\x89", true); } // [B2, B3, A4_2]
13509test { try toUnicodeFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97ss\xe7\x8e\x89"); } // [B1, B2, B3, C1]
13510test { try toAsciiFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97ss\xe7\x8e\x89", false); } // [B1, B2, B3, C1]
13511test { try toAsciiFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97ss\xe7\x8e\x89", true); } // [B2, B3, A4_2]
13512test { try toUnicodeFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97Ss\xe7\x8e\x89"); } // [B1, B2, B3, C1]
13513test { try toAsciiFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97Ss\xe7\x8e\x89", false); } // [B1, B2, B3, C1]
13514test { try toAsciiFail("\xe2\x80\x8c\xe1\x85\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97Ss\xe7\x8e\x89", true); } // [B2, B3, A4_2]
13515test { try toUnicodeFail(".xn--ss-je6eq954cp25j"); } // [B2, B3, X4_2]
13516test { try toAsciiFail(".xn--ss-je6eq954cp25j", false); } // [B2, B3, A4_2]
13517test { try toAsciiFail(".xn--ss-je6eq954cp25j", true); } // [B2, B3, A4_2]
13518test { try toUnicodeFail("xn--0ug.xn--ss-je6eq954cp25j"); } // [B1, B2, B3, C1]
13519test { try toAsciiFail("xn--0ug.xn--ss-je6eq954cp25j", false); } // [B1, B2, B3, C1]
13520test { try toAsciiFail("xn--0ug.xn--ss-je6eq954cp25j", true); } // [B1, B2, B3, C1]
13521test { try toUnicodeFail("xn--0ug.xn--zca2289c550e0iwi"); } // [B1, B2, B3, C1]
13522test { try toAsciiFail("xn--0ug.xn--zca2289c550e0iwi", false); } // [B1, B2, B3, C1]
13523test { try toAsciiFail("xn--0ug.xn--zca2289c550e0iwi", true); } // [B1, B2, B3, C1]
13524test { try toUnicodeFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97SS\xe2\xbd\x9f"); } // [B1, B2, B3, C1]
13525test { try toAsciiFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97SS\xe2\xbd\x9f", false); } // [B1, B2, B3, C1]
13526test { try toAsciiFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97SS\xe2\xbd\x9f", true); } // [B2, B3, A4_2]
13527test { try toUnicodeFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97ss\xe2\xbd\x9f"); } // [B1, B2, B3, C1]
13528test { try toAsciiFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97ss\xe2\xbd\x9f", false); } // [B1, B2, B3, C1]
13529test { try toAsciiFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97ss\xe2\xbd\x9f", true); } // [B2, B3, A4_2]
13530test { try toUnicodeFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97Ss\xe2\xbd\x9f"); } // [B1, B2, B3, C1]
13531test { try toAsciiFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97Ss\xe2\xbd\x9f", false); } // [B1, B2, B3, C1]
13532test { try toAsciiFail("\xe2\x80\x8c\xef\xbe\xa0.\xf0\x90\xab\xad\xf0\x9f\xa0\x97Ss\xe2\xbd\x9f", true); } // [B2, B3, A4_2]
13533test { try toUnicodeFail("xn--psd.xn--ss-je6eq954cp25j"); } // [B2, B3, V7]
13534test { try toAsciiFail("xn--psd.xn--ss-je6eq954cp25j", false); } // [B2, B3, V7]
13535test { try toAsciiFail("xn--psd.xn--ss-je6eq954cp25j", true); } // [B2, B3, V7]
13536test { try toUnicodeFail("xn--psd526e.xn--ss-je6eq954cp25j"); } // [B1, B2, B3, C1, V7]
13537test { try toAsciiFail("xn--psd526e.xn--ss-je6eq954cp25j", false); } // [B1, B2, B3, C1, V7]
13538test { try toAsciiFail("xn--psd526e.xn--ss-je6eq954cp25j", true); } // [B1, B2, B3, C1, V7]
13539test { try toUnicodeFail("xn--psd526e.xn--zca2289c550e0iwi"); } // [B1, B2, B3, C1, V7]
13540test { try toAsciiFail("xn--psd526e.xn--zca2289c550e0iwi", false); } // [B1, B2, B3, C1, V7]
13541test { try toAsciiFail("xn--psd526e.xn--zca2289c550e0iwi", true); } // [B1, B2, B3, C1, V7]
13542test { try toUnicodeFail("xn--cl7c.xn--ss-je6eq954cp25j"); } // [B2, B3, V7]
13543test { try toAsciiFail("xn--cl7c.xn--ss-je6eq954cp25j", false); } // [B2, B3, V7]
13544test { try toAsciiFail("xn--cl7c.xn--ss-je6eq954cp25j", true); } // [B2, B3, V7]
13545test { try toUnicodeFail("xn--0ug7719f.xn--ss-je6eq954cp25j"); } // [B1, B2, B3, C1, V7]
13546test { try toAsciiFail("xn--0ug7719f.xn--ss-je6eq954cp25j", false); } // [B1, B2, B3, C1, V7]
13547test { try toAsciiFail("xn--0ug7719f.xn--ss-je6eq954cp25j", true); } // [B1, B2, B3, C1, V7]
13548test { try toUnicodeFail("xn--0ug7719f.xn--zca2289c550e0iwi"); } // [B1, B2, B3, C1, V7]
13549test { try toAsciiFail("xn--0ug7719f.xn--zca2289c550e0iwi", false); } // [B1, B2, B3, C1, V7]
13550test { try toAsciiFail("xn--0ug7719f.xn--zca2289c550e0iwi", true); } // [B1, B2, B3, C1, V7]
13551test { try toUnicodeFail("\xef\xb8\x92\xe1\x82\xb6\xcd\xa6\xef\xbc\x8e\xe2\x80\x8c"); } // [C1, V7]
13552test { try toAsciiFail("\xef\xb8\x92\xe1\x82\xb6\xcd\xa6\xef\xbc\x8e\xe2\x80\x8c", false); } // [C1, V7]
13553test { try toAsciiFail("\xef\xb8\x92\xe1\x82\xb6\xcd\xa6\xef\xbc\x8e\xe2\x80\x8c", true); } // [V7, A4_2]
13554test { try toUnicodeFail("\xe3\x80\x82\xe1\x82\xb6\xcd\xa6.\xe2\x80\x8c"); } // [C1, X4_2]
13555test { try toAsciiFail("\xe3\x80\x82\xe1\x82\xb6\xcd\xa6.\xe2\x80\x8c", false); } // [C1, A4_2]
13556test { try toAsciiFail("\xe3\x80\x82\xe1\x82\xb6\xcd\xa6.\xe2\x80\x8c", true); } // [A4_2]
13557test { try toUnicodeFail("\xe3\x80\x82\xe2\xb4\x96\xcd\xa6.\xe2\x80\x8c"); } // [C1, X4_2]
13558test { try toAsciiFail("\xe3\x80\x82\xe2\xb4\x96\xcd\xa6.\xe2\x80\x8c", false); } // [C1, A4_2]
13559test { try toAsciiFail("\xe3\x80\x82\xe2\xb4\x96\xcd\xa6.\xe2\x80\x8c", true); } // [A4_2]
13560test { try toAsciiFail(".xn--hva754s.", false); } // [A4_2]
13561test { try toAsciiFail(".xn--hva754s.", true); } // [A4_2]
13562test { try toUnicodeFail(".xn--hva754s.xn--0ug"); } // [C1, X4_2]
13563test { try toAsciiFail(".xn--hva754s.xn--0ug", false); } // [C1, A4_2]
13564test { try toAsciiFail(".xn--hva754s.xn--0ug", true); } // [C1, A4_2]
13565test { try toUnicodeFail("\xef\xb8\x92\xe2\xb4\x96\xcd\xa6\xef\xbc\x8e\xe2\x80\x8c"); } // [C1, V7]
13566test { try toAsciiFail("\xef\xb8\x92\xe2\xb4\x96\xcd\xa6\xef\xbc\x8e\xe2\x80\x8c", false); } // [C1, V7]
13567test { try toAsciiFail("\xef\xb8\x92\xe2\xb4\x96\xcd\xa6\xef\xbc\x8e\xe2\x80\x8c", true); } // [V7, A4_2]
13568test { try toUnicodeFail("xn--hva754sy94k."); } // [V7]
13569test { try toAsciiFail("xn--hva754sy94k.", false); } // [V7, A4_2]
13570test { try toAsciiFail("xn--hva754sy94k.", true); } // [V7, A4_2]
13571test { try toUnicodeFail("xn--hva754sy94k.xn--0ug"); } // [C1, V7]
13572test { try toAsciiFail("xn--hva754sy94k.xn--0ug", false); } // [C1, V7]
13573test { try toAsciiFail("xn--hva754sy94k.xn--0ug", true); } // [C1, V7]
13574test { try toUnicodeFail(".xn--hva929d."); } // [V7, X4_2]
13575test { try toAsciiFail(".xn--hva929d.", false); } // [V7, A4_2]
13576test { try toAsciiFail(".xn--hva929d.", true); } // [V7, A4_2]
13577test { try toUnicodeFail(".xn--hva929d.xn--0ug"); } // [C1, V7, X4_2]
13578test { try toAsciiFail(".xn--hva929d.xn--0ug", false); } // [C1, V7, A4_2]
13579test { try toAsciiFail(".xn--hva929d.xn--0ug", true); } // [C1, V7, A4_2]
13580test { try toUnicodeFail("xn--hva929dl29p."); } // [V7]
13581test { try toAsciiFail("xn--hva929dl29p.", false); } // [V7, A4_2]
13582test { try toAsciiFail("xn--hva929dl29p.", true); } // [V7, A4_2]
13583test { try toUnicodeFail("xn--hva929dl29p.xn--0ug"); } // [C1, V7]
13584test { try toAsciiFail("xn--hva929dl29p.xn--0ug", false); } // [C1, V7]
13585test { try toAsciiFail("xn--hva929dl29p.xn--0ug", true); } // [C1, V7]
13586test { try toUnicodePass("xn--hva754s.", "\xe2\xb4\x96\xcd\xa6."); }
13587test { try toAsciiFail("xn--hva754s.", false); } // [A4_2]
13588test { try toAsciiFail("xn--hva754s.", true); } // [A4_2]
13589test { try toUnicodePass("\xe2\xb4\x96\xcd\xa6.", "\xe2\xb4\x96\xcd\xa6."); }
13590test { try toAsciiFail("\xe2\xb4\x96\xcd\xa6.", false); } // [A4_2]
13591test { try toAsciiFail("\xe2\xb4\x96\xcd\xa6.", true); } // [A4_2]
13592test { try toUnicodePass("\xe1\x82\xb6\xcd\xa6.", "\xe2\xb4\x96\xcd\xa6."); }
13593test { try toAsciiFail("\xe1\x82\xb6\xcd\xa6.", false); } // [A4_2]
13594test { try toAsciiFail("\xe1\x82\xb6\xcd\xa6.", true); } // [A4_2]
13595test { try toUnicodeFail("xn--hva929d."); } // [V7]
13596test { try toAsciiFail("xn--hva929d.", false); } // [V7, A4_2]
13597test { try toAsciiFail("xn--hva929d.", true); } // [V7, A4_2]
13598test { try toAsciiPass("\xe0\xa2\xbb\xef\xbc\x8e\xe2\x80\x8c\xe1\x82\xa3\xf0\x9e\x80\x92", "xn--hzb.xn--ukj4430l", true); }
13599test { try toUnicodeFail("\xe0\xa2\xbb\xef\xbc\x8e\xe2\x80\x8c\xe1\x82\xa3\xf0\x9e\x80\x92"); } // [B1, C1]
13600test { try toAsciiFail("\xe0\xa2\xbb\xef\xbc\x8e\xe2\x80\x8c\xe1\x82\xa3\xf0\x9e\x80\x92", false); } // [B1, C1]
13601test { try toAsciiPass("\xe0\xa2\xbb.\xe2\x80\x8c\xe1\x82\xa3\xf0\x9e\x80\x92", "xn--hzb.xn--ukj4430l", true); }
13602test { try toUnicodeFail("\xe0\xa2\xbb.\xe2\x80\x8c\xe1\x82\xa3\xf0\x9e\x80\x92"); } // [B1, C1]
13603test { try toAsciiFail("\xe0\xa2\xbb.\xe2\x80\x8c\xe1\x82\xa3\xf0\x9e\x80\x92", false); } // [B1, C1]
13604test { try toAsciiPass("\xe0\xa2\xbb.\xe2\x80\x8c\xe2\xb4\x83\xf0\x9e\x80\x92", "xn--hzb.xn--ukj4430l", true); }
13605test { try toUnicodeFail("\xe0\xa2\xbb.\xe2\x80\x8c\xe2\xb4\x83\xf0\x9e\x80\x92"); } // [B1, C1]
13606test { try toAsciiFail("\xe0\xa2\xbb.\xe2\x80\x8c\xe2\xb4\x83\xf0\x9e\x80\x92", false); } // [B1, C1]
13607test { try toUnicodePass("xn--hzb.xn--ukj4430l", "\xe0\xa2\xbb.\xe2\xb4\x83\xf0\x9e\x80\x92"); }
13608test { try toAsciiPass("xn--hzb.xn--ukj4430l", "xn--hzb.xn--ukj4430l", false); }
13609test { try toAsciiPass("xn--hzb.xn--ukj4430l", "xn--hzb.xn--ukj4430l", true); }
13610test { try toUnicodePass("\xe0\xa2\xbb.\xe2\xb4\x83\xf0\x9e\x80\x92", "\xe0\xa2\xbb.\xe2\xb4\x83\xf0\x9e\x80\x92"); }
13611test { try toAsciiPass("\xe0\xa2\xbb.\xe2\xb4\x83\xf0\x9e\x80\x92", "xn--hzb.xn--ukj4430l", false); }
13612test { try toAsciiPass("\xe0\xa2\xbb.\xe2\xb4\x83\xf0\x9e\x80\x92", "xn--hzb.xn--ukj4430l", true); }
13613test { try toUnicodePass("\xe0\xa2\xbb.\xe1\x82\xa3\xf0\x9e\x80\x92", "\xe0\xa2\xbb.\xe2\xb4\x83\xf0\x9e\x80\x92"); }
13614test { try toAsciiPass("\xe0\xa2\xbb.\xe1\x82\xa3\xf0\x9e\x80\x92", "xn--hzb.xn--ukj4430l", false); }
13615test { try toAsciiPass("\xe0\xa2\xbb.\xe1\x82\xa3\xf0\x9e\x80\x92", "xn--hzb.xn--ukj4430l", true); }
13616test { try toUnicodeFail("xn--hzb.xn--0ug822cp045a"); } // [B1, C1]
13617test { try toAsciiFail("xn--hzb.xn--0ug822cp045a", false); } // [B1, C1]
13618test { try toAsciiFail("xn--hzb.xn--0ug822cp045a", true); } // [B1, C1]
13619test { try toAsciiPass("\xe0\xa2\xbb\xef\xbc\x8e\xe2\x80\x8c\xe2\xb4\x83\xf0\x9e\x80\x92", "xn--hzb.xn--ukj4430l", true); }
13620test { try toUnicodeFail("\xe0\xa2\xbb\xef\xbc\x8e\xe2\x80\x8c\xe2\xb4\x83\xf0\x9e\x80\x92"); } // [B1, C1]
13621test { try toAsciiFail("\xe0\xa2\xbb\xef\xbc\x8e\xe2\x80\x8c\xe2\xb4\x83\xf0\x9e\x80\x92", false); } // [B1, C1]
13622test { try toUnicodeFail("xn--hzb.xn--bnd2938u"); } // [V7]
13623test { try toAsciiFail("xn--hzb.xn--bnd2938u", false); } // [V7]
13624test { try toAsciiFail("xn--hzb.xn--bnd2938u", true); } // [V7]
13625test { try toUnicodeFail("xn--hzb.xn--bnd300f7225a"); } // [B1, C1, V7]
13626test { try toAsciiFail("xn--hzb.xn--bnd300f7225a", false); } // [B1, C1, V7]
13627test { try toAsciiFail("xn--hzb.xn--bnd300f7225a", true); } // [B1, C1, V7]
13628test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82\xef\xbc\x92\xe4\xab\xb7\xf3\xa0\xa7\xb7"); } // [C1, C2, V7]
13629test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82\xef\xbc\x92\xe4\xab\xb7\xf3\xa0\xa7\xb7", false); } // [C1, C2, V7]
13630test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82\xef\xbc\x92\xe4\xab\xb7\xf3\xa0\xa7\xb7", true); } // [V7, A4_2]
13631test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x822\xe4\xab\xb7\xf3\xa0\xa7\xb7"); } // [C1, C2, V7]
13632test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x822\xe4\xab\xb7\xf3\xa0\xa7\xb7", false); } // [C1, C2, V7]
13633test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x822\xe4\xab\xb7\xf3\xa0\xa7\xb7", true); } // [V7, A4_2]
13634test { try toUnicodeFail(".xn--2-me5ay1273i"); } // [V7, X4_2]
13635test { try toAsciiFail(".xn--2-me5ay1273i", false); } // [V7, A4_2]
13636test { try toAsciiFail(".xn--2-me5ay1273i", true); } // [V7, A4_2]
13637test { try toUnicodeFail("xn--0ugb.xn--2-me5ay1273i"); } // [C1, C2, V7]
13638test { try toAsciiFail("xn--0ugb.xn--2-me5ay1273i", false); } // [C1, C2, V7]
13639test { try toAsciiFail("xn--0ugb.xn--2-me5ay1273i", true); } // [C1, C2, V7]
13640test { try toUnicodeFail("-\xf0\x9e\x80\xa4\xf3\x9c\xa0\x90\xe3\x80\x82\xf2\x88\xac\x96"); } // [V3, V7]
13641test { try toAsciiFail("-\xf0\x9e\x80\xa4\xf3\x9c\xa0\x90\xe3\x80\x82\xf2\x88\xac\x96", false); } // [V3, V7]
13642test { try toAsciiFail("-\xf0\x9e\x80\xa4\xf3\x9c\xa0\x90\xe3\x80\x82\xf2\x88\xac\x96", true); } // [V3, V7]
13643test { try toUnicodeFail("xn----rq4re4997d.xn--l707b"); } // [V3, V7]
13644test { try toAsciiFail("xn----rq4re4997d.xn--l707b", false); } // [V3, V7]
13645test { try toAsciiFail("xn----rq4re4997d.xn--l707b", true); } // [V3, V7]
13646test { try toUnicodeFail("\xf3\xb3\x9b\x82\xef\xb8\x92\xe2\x80\x8c\xe3\x9f\x80\xef\xbc\x8e\xd8\xa4\xe2\x92\x88"); } // [C1, V7]
13647test { try toAsciiFail("\xf3\xb3\x9b\x82\xef\xb8\x92\xe2\x80\x8c\xe3\x9f\x80\xef\xbc\x8e\xd8\xa4\xe2\x92\x88", false); } // [C1, V7]
13648test { try toAsciiFail("\xf3\xb3\x9b\x82\xef\xb8\x92\xe2\x80\x8c\xe3\x9f\x80\xef\xbc\x8e\xd8\xa4\xe2\x92\x88", true); } // [V7]
13649test { try toUnicodeFail("\xf3\xb3\x9b\x82\xef\xb8\x92\xe2\x80\x8c\xe3\x9f\x80\xef\xbc\x8e\xd9\x88\xd9\x94\xe2\x92\x88"); } // [C1, V7]
13650test { try toAsciiFail("\xf3\xb3\x9b\x82\xef\xb8\x92\xe2\x80\x8c\xe3\x9f\x80\xef\xbc\x8e\xd9\x88\xd9\x94\xe2\x92\x88", false); } // [C1, V7]
13651test { try toAsciiFail("\xf3\xb3\x9b\x82\xef\xb8\x92\xe2\x80\x8c\xe3\x9f\x80\xef\xbc\x8e\xd9\x88\xd9\x94\xe2\x92\x88", true); } // [V7]
13652test { try toUnicodeFail("\xf3\xb3\x9b\x82\xe3\x80\x82\xe2\x80\x8c\xe3\x9f\x80.\xd8\xa41."); } // [B1, C1, V7]
13653test { try toAsciiFail("\xf3\xb3\x9b\x82\xe3\x80\x82\xe2\x80\x8c\xe3\x9f\x80.\xd8\xa41.", false); } // [B1, C1, V7, A4_2]
13654test { try toAsciiFail("\xf3\xb3\x9b\x82\xe3\x80\x82\xe2\x80\x8c\xe3\x9f\x80.\xd8\xa41.", true); } // [V7, A4_2]
13655test { try toUnicodeFail("\xf3\xb3\x9b\x82\xe3\x80\x82\xe2\x80\x8c\xe3\x9f\x80.\xd9\x88\xd9\x941."); } // [B1, C1, V7]
13656test { try toAsciiFail("\xf3\xb3\x9b\x82\xe3\x80\x82\xe2\x80\x8c\xe3\x9f\x80.\xd9\x88\xd9\x941.", false); } // [B1, C1, V7, A4_2]
13657test { try toAsciiFail("\xf3\xb3\x9b\x82\xe3\x80\x82\xe2\x80\x8c\xe3\x9f\x80.\xd9\x88\xd9\x941.", true); } // [V7, A4_2]
13658test { try toUnicodeFail("xn--z272f.xn--etl.xn--1-smc."); } // [V7]
13659test { try toAsciiFail("xn--z272f.xn--etl.xn--1-smc.", false); } // [V7, A4_2]
13660test { try toAsciiFail("xn--z272f.xn--etl.xn--1-smc.", true); } // [V7, A4_2]
13661test { try toUnicodeFail("xn--z272f.xn--0ug754g.xn--1-smc."); } // [B1, C1, V7]
13662test { try toAsciiFail("xn--z272f.xn--0ug754g.xn--1-smc.", false); } // [B1, C1, V7, A4_2]
13663test { try toAsciiFail("xn--z272f.xn--0ug754g.xn--1-smc.", true); } // [B1, C1, V7, A4_2]
13664test { try toUnicodeFail("xn--etlt457ccrq7h.xn--jgb476m"); } // [V7]
13665test { try toAsciiFail("xn--etlt457ccrq7h.xn--jgb476m", false); } // [V7]
13666test { try toAsciiFail("xn--etlt457ccrq7h.xn--jgb476m", true); } // [V7]
13667test { try toUnicodeFail("xn--0ug754gxl4ldlt0k.xn--jgb476m"); } // [C1, V7]
13668test { try toAsciiFail("xn--0ug754gxl4ldlt0k.xn--jgb476m", false); } // [C1, V7]
13669test { try toAsciiFail("xn--0ug754gxl4ldlt0k.xn--jgb476m", true); } // [C1, V7]
13670test { try toUnicodeFail("\xf0\x91\xb2\x9c\xdf\x8a\xf0\x9d\x85\xbc\xe3\x80\x82-\xe2\x80\x8d"); } // [B1, C2, V3, V6]
13671test { try toAsciiFail("\xf0\x91\xb2\x9c\xdf\x8a\xf0\x9d\x85\xbc\xe3\x80\x82-\xe2\x80\x8d", false); } // [B1, C2, V3, V6]
13672test { try toAsciiFail("\xf0\x91\xb2\x9c\xdf\x8a\xf0\x9d\x85\xbc\xe3\x80\x82-\xe2\x80\x8d", true); } // [B1, V3, V6]
13673test { try toUnicodeFail("xn--lsb5482l7nre.-"); } // [B1, V3, V6]
13674test { try toAsciiFail("xn--lsb5482l7nre.-", false); } // [B1, V3, V6]
13675test { try toAsciiFail("xn--lsb5482l7nre.-", true); } // [B1, V3, V6]
13676test { try toUnicodeFail("xn--lsb5482l7nre.xn----ugn"); } // [B1, C2, V3, V6]
13677test { try toAsciiFail("xn--lsb5482l7nre.xn----ugn", false); } // [B1, C2, V3, V6]
13678test { try toAsciiFail("xn--lsb5482l7nre.xn----ugn", true); } // [B1, C2, V3, V6]
13679test { try toUnicodeFail("\xe2\x80\x8c\xef\xbc\x8e\xe1\x82\xa9\xe2\x89\xa0\xf0\x90\xab\xb6"); } // [B1, B5, B6, C1]
13680test { try toAsciiFail("\xe2\x80\x8c\xef\xbc\x8e\xe1\x82\xa9\xe2\x89\xa0\xf0\x90\xab\xb6", false); } // [B1, B5, B6, C1]
13681test { try toAsciiFail("\xe2\x80\x8c\xef\xbc\x8e\xe1\x82\xa9\xe2\x89\xa0\xf0\x90\xab\xb6", true); } // [B5, B6, A4_2]
13682test { try toUnicodeFail("\xe2\x80\x8c\xef\xbc\x8e\xe1\x82\xa9=\xcc\xb8\xf0\x90\xab\xb6"); } // [B1, B5, B6, C1]
13683test { try toAsciiFail("\xe2\x80\x8c\xef\xbc\x8e\xe1\x82\xa9=\xcc\xb8\xf0\x90\xab\xb6", false); } // [B1, B5, B6, C1]
13684test { try toAsciiFail("\xe2\x80\x8c\xef\xbc\x8e\xe1\x82\xa9=\xcc\xb8\xf0\x90\xab\xb6", true); } // [B5, B6, A4_2]
13685test { try toUnicodeFail("\xe2\x80\x8c.\xe1\x82\xa9\xe2\x89\xa0\xf0\x90\xab\xb6"); } // [B1, B5, B6, C1]
13686test { try toAsciiFail("\xe2\x80\x8c.\xe1\x82\xa9\xe2\x89\xa0\xf0\x90\xab\xb6", false); } // [B1, B5, B6, C1]
13687test { try toAsciiFail("\xe2\x80\x8c.\xe1\x82\xa9\xe2\x89\xa0\xf0\x90\xab\xb6", true); } // [B5, B6, A4_2]
13688test { try toUnicodeFail("\xe2\x80\x8c.\xe1\x82\xa9=\xcc\xb8\xf0\x90\xab\xb6"); } // [B1, B5, B6, C1]
13689test { try toAsciiFail("\xe2\x80\x8c.\xe1\x82\xa9=\xcc\xb8\xf0\x90\xab\xb6", false); } // [B1, B5, B6, C1]
13690test { try toAsciiFail("\xe2\x80\x8c.\xe1\x82\xa9=\xcc\xb8\xf0\x90\xab\xb6", true); } // [B5, B6, A4_2]
13691test { try toUnicodeFail("\xe2\x80\x8c.\xe2\xb4\x89=\xcc\xb8\xf0\x90\xab\xb6"); } // [B1, B5, B6, C1]
13692test { try toAsciiFail("\xe2\x80\x8c.\xe2\xb4\x89=\xcc\xb8\xf0\x90\xab\xb6", false); } // [B1, B5, B6, C1]
13693test { try toAsciiFail("\xe2\x80\x8c.\xe2\xb4\x89=\xcc\xb8\xf0\x90\xab\xb6", true); } // [B5, B6, A4_2]
13694test { try toUnicodeFail("\xe2\x80\x8c.\xe2\xb4\x89\xe2\x89\xa0\xf0\x90\xab\xb6"); } // [B1, B5, B6, C1]
13695test { try toAsciiFail("\xe2\x80\x8c.\xe2\xb4\x89\xe2\x89\xa0\xf0\x90\xab\xb6", false); } // [B1, B5, B6, C1]
13696test { try toAsciiFail("\xe2\x80\x8c.\xe2\xb4\x89\xe2\x89\xa0\xf0\x90\xab\xb6", true); } // [B5, B6, A4_2]
13697test { try toUnicodeFail(".xn--1chx23bzj4p"); } // [B5, B6, X4_2]
13698test { try toAsciiFail(".xn--1chx23bzj4p", false); } // [B5, B6, A4_2]
13699test { try toAsciiFail(".xn--1chx23bzj4p", true); } // [B5, B6, A4_2]
13700test { try toUnicodeFail("xn--0ug.xn--1chx23bzj4p"); } // [B1, B5, B6, C1]
13701test { try toAsciiFail("xn--0ug.xn--1chx23bzj4p", false); } // [B1, B5, B6, C1]
13702test { try toAsciiFail("xn--0ug.xn--1chx23bzj4p", true); } // [B1, B5, B6, C1]
13703test { try toUnicodeFail("\xe2\x80\x8c\xef\xbc\x8e\xe2\xb4\x89=\xcc\xb8\xf0\x90\xab\xb6"); } // [B1, B5, B6, C1]
13704test { try toAsciiFail("\xe2\x80\x8c\xef\xbc\x8e\xe2\xb4\x89=\xcc\xb8\xf0\x90\xab\xb6", false); } // [B1, B5, B6, C1]
13705test { try toAsciiFail("\xe2\x80\x8c\xef\xbc\x8e\xe2\xb4\x89=\xcc\xb8\xf0\x90\xab\xb6", true); } // [B5, B6, A4_2]
13706test { try toUnicodeFail("\xe2\x80\x8c\xef\xbc\x8e\xe2\xb4\x89\xe2\x89\xa0\xf0\x90\xab\xb6"); } // [B1, B5, B6, C1]
13707test { try toAsciiFail("\xe2\x80\x8c\xef\xbc\x8e\xe2\xb4\x89\xe2\x89\xa0\xf0\x90\xab\xb6", false); } // [B1, B5, B6, C1]
13708test { try toAsciiFail("\xe2\x80\x8c\xef\xbc\x8e\xe2\xb4\x89\xe2\x89\xa0\xf0\x90\xab\xb6", true); } // [B5, B6, A4_2]
13709test { try toUnicodeFail(".xn--hnd481gv73o"); } // [B5, B6, V7, X4_2]
13710test { try toAsciiFail(".xn--hnd481gv73o", false); } // [B5, B6, V7, A4_2]
13711test { try toAsciiFail(".xn--hnd481gv73o", true); } // [B5, B6, V7, A4_2]
13712test { try toUnicodeFail("xn--0ug.xn--hnd481gv73o"); } // [B1, B5, B6, C1, V7]
13713test { try toAsciiFail("xn--0ug.xn--hnd481gv73o", false); } // [B1, B5, B6, C1, V7]
13714test { try toAsciiFail("xn--0ug.xn--hnd481gv73o", true); } // [B1, B5, B6, C1, V7]
13715test { try toUnicodeFail("\xdd\x90\xe3\x80\x82\xe2\x89\xaf\xcf\x82"); } // [B1]
13716test { try toAsciiFail("\xdd\x90\xe3\x80\x82\xe2\x89\xaf\xcf\x82", false); } // [B1]
13717test { try toAsciiFail("\xdd\x90\xe3\x80\x82\xe2\x89\xaf\xcf\x82", true); } // [B1]
13718test { try toUnicodeFail("\xdd\x90\xe3\x80\x82>\xcc\xb8\xcf\x82"); } // [B1]
13719test { try toAsciiFail("\xdd\x90\xe3\x80\x82>\xcc\xb8\xcf\x82", false); } // [B1]
13720test { try toAsciiFail("\xdd\x90\xe3\x80\x82>\xcc\xb8\xcf\x82", true); } // [B1]
13721test { try toUnicodeFail("\xdd\x90\xe3\x80\x82>\xcc\xb8\xce\xa3"); } // [B1]
13722test { try toAsciiFail("\xdd\x90\xe3\x80\x82>\xcc\xb8\xce\xa3", false); } // [B1]
13723test { try toAsciiFail("\xdd\x90\xe3\x80\x82>\xcc\xb8\xce\xa3", true); } // [B1]
13724test { try toUnicodeFail("\xdd\x90\xe3\x80\x82\xe2\x89\xaf\xce\xa3"); } // [B1]
13725test { try toAsciiFail("\xdd\x90\xe3\x80\x82\xe2\x89\xaf\xce\xa3", false); } // [B1]
13726test { try toAsciiFail("\xdd\x90\xe3\x80\x82\xe2\x89\xaf\xce\xa3", true); } // [B1]
13727test { try toUnicodeFail("\xdd\x90\xe3\x80\x82\xe2\x89\xaf\xcf\x83"); } // [B1]
13728test { try toAsciiFail("\xdd\x90\xe3\x80\x82\xe2\x89\xaf\xcf\x83", false); } // [B1]
13729test { try toAsciiFail("\xdd\x90\xe3\x80\x82\xe2\x89\xaf\xcf\x83", true); } // [B1]
13730test { try toUnicodeFail("\xdd\x90\xe3\x80\x82>\xcc\xb8\xcf\x83"); } // [B1]
13731test { try toAsciiFail("\xdd\x90\xe3\x80\x82>\xcc\xb8\xcf\x83", false); } // [B1]
13732test { try toAsciiFail("\xdd\x90\xe3\x80\x82>\xcc\xb8\xcf\x83", true); } // [B1]
13733test { try toUnicodeFail("xn--3ob.xn--4xa718m"); } // [B1]
13734test { try toAsciiFail("xn--3ob.xn--4xa718m", false); } // [B1]
13735test { try toAsciiFail("xn--3ob.xn--4xa718m", true); } // [B1]
13736test { try toUnicodeFail("xn--3ob.xn--3xa918m"); } // [B1]
13737test { try toAsciiFail("xn--3ob.xn--3xa918m", false); } // [B1]
13738test { try toAsciiFail("xn--3ob.xn--3xa918m", true); } // [B1]
13739test { try toUnicodeFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xef\xb8\x92\xf1\x8a\xa8\xa9\xe1\x82\xb0"); } // [V7]
13740test { try toAsciiFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xef\xb8\x92\xf1\x8a\xa8\xa9\xe1\x82\xb0", false); } // [V7]
13741test { try toAsciiFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xef\xb8\x92\xf1\x8a\xa8\xa9\xe1\x82\xb0", true); } // [V7]
13742test { try toUnicodeFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xe3\x80\x82\xf1\x8a\xa8\xa9\xe1\x82\xb0"); } // [V7]
13743test { try toAsciiFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xe3\x80\x82\xf1\x8a\xa8\xa9\xe1\x82\xb0", false); } // [V7]
13744test { try toAsciiFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xe3\x80\x82\xf1\x8a\xa8\xa9\xe1\x82\xb0", true); } // [V7]
13745test { try toUnicodeFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xe3\x80\x82\xf1\x8a\xa8\xa9\xe2\xb4\x90"); } // [V7]
13746test { try toAsciiFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xe3\x80\x82\xf1\x8a\xa8\xa9\xe2\xb4\x90", false); } // [V7]
13747test { try toAsciiFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xe3\x80\x82\xf1\x8a\xa8\xa9\xe2\xb4\x90", true); } // [V7]
13748test { try toUnicodeFail("xn--0tb8725k.xn--tu8d.xn--7kj73887a"); } // [V7]
13749test { try toAsciiFail("xn--0tb8725k.xn--tu8d.xn--7kj73887a", false); } // [V7]
13750test { try toAsciiFail("xn--0tb8725k.xn--tu8d.xn--7kj73887a", true); } // [V7]
13751test { try toUnicodeFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xef\xb8\x92\xf1\x8a\xa8\xa9\xe2\xb4\x90"); } // [V7]
13752test { try toAsciiFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xef\xb8\x92\xf1\x8a\xa8\xa9\xe2\xb4\x90", false); } // [V7]
13753test { try toAsciiFail("\xdf\xbc\xf0\x90\xb8\x86.\xf0\x93\x96\x8f\xef\xb8\x92\xf1\x8a\xa8\xa9\xe2\xb4\x90", true); } // [V7]
13754test { try toUnicodeFail("xn--0tb8725k.xn--7kj9008dt18a7py9c"); } // [V7]
13755test { try toAsciiFail("xn--0tb8725k.xn--7kj9008dt18a7py9c", false); } // [V7]
13756test { try toAsciiFail("xn--0tb8725k.xn--7kj9008dt18a7py9c", true); } // [V7]
13757test { try toUnicodeFail("xn--0tb8725k.xn--tu8d.xn--ond97931d"); } // [V7]
13758test { try toAsciiFail("xn--0tb8725k.xn--tu8d.xn--ond97931d", false); } // [V7]
13759test { try toAsciiFail("xn--0tb8725k.xn--tu8d.xn--ond97931d", true); } // [V7]
13760test { try toUnicodeFail("xn--0tb8725k.xn--ond3562jt18a7py9c"); } // [V7]
13761test { try toAsciiFail("xn--0tb8725k.xn--ond3562jt18a7py9c", false); } // [V7]
13762test { try toAsciiFail("xn--0tb8725k.xn--ond3562jt18a7py9c", true); } // [V7]
13763test { try toUnicodeFail("\xe1\x83\x85\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xef\xbd\xa1\xf0\x91\x8c\xbc"); } // [V6, V7]
13764test { try toAsciiFail("\xe1\x83\x85\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xef\xbd\xa1\xf0\x91\x8c\xbc", false); } // [V6, V7]
13765test { try toAsciiFail("\xe1\x83\x85\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xef\xbd\xa1\xf0\x91\x8c\xbc", true); } // [V6, V7]
13766test { try toUnicodeFail("\xe1\x83\x85\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xe3\x80\x82\xf0\x91\x8c\xbc"); } // [V6, V7]
13767test { try toAsciiFail("\xe1\x83\x85\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xe3\x80\x82\xf0\x91\x8c\xbc", false); } // [V6, V7]
13768test { try toAsciiFail("\xe1\x83\x85\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xe3\x80\x82\xf0\x91\x8c\xbc", true); } // [V6, V7]
13769test { try toUnicodeFail("\xe2\xb4\xa5\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xe3\x80\x82\xf0\x91\x8c\xbc"); } // [V6, V7]
13770test { try toAsciiFail("\xe2\xb4\xa5\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xe3\x80\x82\xf0\x91\x8c\xbc", false); } // [V6, V7]
13771test { try toAsciiFail("\xe2\xb4\xa5\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xe3\x80\x82\xf0\x91\x8c\xbc", true); } // [V6, V7]
13772test { try toUnicodeFail("xn--vfh16m67gx1162b.xn--ro1d"); } // [V6, V7]
13773test { try toAsciiFail("xn--vfh16m67gx1162b.xn--ro1d", false); } // [V6, V7]
13774test { try toAsciiFail("xn--vfh16m67gx1162b.xn--ro1d", true); } // [V6, V7]
13775test { try toUnicodeFail("\xe2\xb4\xa5\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xef\xbd\xa1\xf0\x91\x8c\xbc"); } // [V6, V7]
13776test { try toAsciiFail("\xe2\xb4\xa5\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xef\xbd\xa1\xf0\x91\x8c\xbc", false); } // [V6, V7]
13777test { try toAsciiFail("\xe2\xb4\xa5\xe2\x9a\xad\xf3\xa0\x96\xab\xe2\x8b\x83\xef\xbd\xa1\xf0\x91\x8c\xbc", true); } // [V6, V7]
13778test { try toUnicodeFail("xn--9nd623g4zc5z060c.xn--ro1d"); } // [V6, V7]
13779test { try toAsciiFail("xn--9nd623g4zc5z060c.xn--ro1d", false); } // [V6, V7]
13780test { try toAsciiFail("xn--9nd623g4zc5z060c.xn--ro1d", true); } // [V6, V7]
13781test { try toUnicodeFail("\xf0\x9f\x84\x88\xe3\x80\x82\xf3\xa0\xb7\xb3\xe0\xa1\x84"); } // [B1, V7, U1]
13782test { try toAsciiFail("\xf0\x9f\x84\x88\xe3\x80\x82\xf3\xa0\xb7\xb3\xe0\xa1\x84", false); } // [B1, V7, U1]
13783test { try toAsciiFail("\xf0\x9f\x84\x88\xe3\x80\x82\xf3\xa0\xb7\xb3\xe0\xa1\x84", true); } // [B1, V7, U1]
13784test { try toUnicodeFail("7,\xe3\x80\x82\xf3\xa0\xb7\xb3\xe0\xa1\x84"); } // [B1, V7, U1]
13785test { try toAsciiFail("7,\xe3\x80\x82\xf3\xa0\xb7\xb3\xe0\xa1\x84", false); } // [B1, V7, U1]
13786test { try toAsciiFail("7,\xe3\x80\x82\xf3\xa0\xb7\xb3\xe0\xa1\x84", true); } // [B1, V7, U1]
13787test { try toUnicodeFail("7,.xn--2vb13094p"); } // [B1, V7, U1]
13788test { try toAsciiFail("7,.xn--2vb13094p", false); } // [B1, V7, U1]
13789test { try toAsciiFail("7,.xn--2vb13094p", true); } // [B1, V7, U1]
13790test { try toUnicodeFail("xn--107h.xn--2vb13094p"); } // [B1, V7]
13791test { try toAsciiFail("xn--107h.xn--2vb13094p", false); } // [B1, V7]
13792test { try toAsciiFail("xn--107h.xn--2vb13094p", true); } // [B1, V7]
13793test { try toUnicodeFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96\xc3\x9f"); } // [B1]
13794test { try toAsciiFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96\xc3\x9f", false); } // [B1]
13795test { try toAsciiFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96\xc3\x9f", true); } // [B1]
13796test { try toUnicodeFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbd\xc3\x9f"); } // [B1]
13797test { try toAsciiFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbd\xc3\x9f", false); } // [B1]
13798test { try toAsciiFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbd\xc3\x9f", true); } // [B1]
13799test { try toUnicodeFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbdSS"); } // [B1]
13800test { try toAsciiFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbdSS", false); } // [B1]
13801test { try toAsciiFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbdSS", true); } // [B1]
13802test { try toUnicodeFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96SS"); } // [B1]
13803test { try toAsciiFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96SS", false); } // [B1]
13804test { try toAsciiFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96SS", true); } // [B1]
13805test { try toUnicodeFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96ss"); } // [B1]
13806test { try toAsciiFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96ss", false); } // [B1]
13807test { try toAsciiFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96ss", true); } // [B1]
13808test { try toUnicodeFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbdss"); } // [B1]
13809test { try toAsciiFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbdss", false); } // [B1]
13810test { try toAsciiFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbdss", true); } // [B1]
13811test { try toUnicodeFail("xn--4vb505k.xn--ss-5z4j006a"); } // [B1]
13812test { try toAsciiFail("xn--4vb505k.xn--ss-5z4j006a", false); } // [B1]
13813test { try toAsciiFail("xn--4vb505k.xn--ss-5z4j006a", true); } // [B1]
13814test { try toUnicodeFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96Ss"); } // [B1]
13815test { try toAsciiFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96Ss", false); } // [B1]
13816test { try toAsciiFail("\xe2\x89\xae\xe0\xa1\x86\xe3\x80\x82\xec\x84\x96\xec\xae\x96Ss", true); } // [B1]
13817test { try toUnicodeFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbdSs"); } // [B1]
13818test { try toAsciiFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbdSs", false); } // [B1]
13819test { try toAsciiFail("<\xcc\xb8\xe0\xa1\x86\xe3\x80\x82\xe1\x84\x89\xe1\x85\xa4\xe1\x86\xbd\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xbdSs", true); } // [B1]
13820test { try toUnicodeFail("xn--4vb505k.xn--zca7259goug"); } // [B1]
13821test { try toAsciiFail("xn--4vb505k.xn--zca7259goug", false); } // [B1]
13822test { try toAsciiFail("xn--4vb505k.xn--zca7259goug", true); } // [B1]
13823test { try toUnicodeFail("\xf3\xa0\x86\x93\xe2\x9b\x8f-\xe3\x80\x82\xea\xa1\x92"); } // [V3]
13824test { try toAsciiFail("\xf3\xa0\x86\x93\xe2\x9b\x8f-\xe3\x80\x82\xea\xa1\x92", false); } // [V3]
13825test { try toAsciiFail("\xf3\xa0\x86\x93\xe2\x9b\x8f-\xe3\x80\x82\xea\xa1\x92", true); } // [V3]
13826test { try toUnicodeFail("xn----o9p.xn--rc9a"); } // [V3]
13827test { try toAsciiFail("xn----o9p.xn--rc9a", false); } // [V3]
13828test { try toAsciiFail("xn----o9p.xn--rc9a", true); } // [V3]
13829test { try toUnicodeFail("\xde\xbb\xf0\x90\xb9\xb3\xd8\xa6\xf0\x91\x81\x86\xe3\x80\x82\xe0\xa2\xa7\xda\xb0\xe2\x80\x8c\xe1\xa2\x92"); } // [B2, B3, V7]
13830test { try toAsciiFail("\xde\xbb\xf0\x90\xb9\xb3\xd8\xa6\xf0\x91\x81\x86\xe3\x80\x82\xe0\xa2\xa7\xda\xb0\xe2\x80\x8c\xe1\xa2\x92", false); } // [B2, B3, V7]
13831test { try toAsciiFail("\xde\xbb\xf0\x90\xb9\xb3\xd8\xa6\xf0\x91\x81\x86\xe3\x80\x82\xe0\xa2\xa7\xda\xb0\xe2\x80\x8c\xe1\xa2\x92", true); } // [B2, B3, V7]
13832test { try toUnicodeFail("\xde\xbb\xf0\x90\xb9\xb3\xd9\x8a\xf0\x91\x81\x86\xd9\x94\xe3\x80\x82\xe0\xa2\xa7\xda\xb0\xe2\x80\x8c\xe1\xa2\x92"); } // [B2, B3, V7]
13833test { try toAsciiFail("\xde\xbb\xf0\x90\xb9\xb3\xd9\x8a\xf0\x91\x81\x86\xd9\x94\xe3\x80\x82\xe0\xa2\xa7\xda\xb0\xe2\x80\x8c\xe1\xa2\x92", false); } // [B2, B3, V7]
13834test { try toAsciiFail("\xde\xbb\xf0\x90\xb9\xb3\xd9\x8a\xf0\x91\x81\x86\xd9\x94\xe3\x80\x82\xe0\xa2\xa7\xda\xb0\xe2\x80\x8c\xe1\xa2\x92", true); } // [B2, B3, V7]
13835test { try toUnicodeFail("xn--lgb32f2753cosb.xn--jkb91hlz1a"); } // [B2, B3, V7]
13836test { try toAsciiFail("xn--lgb32f2753cosb.xn--jkb91hlz1a", false); } // [B2, B3, V7]
13837test { try toAsciiFail("xn--lgb32f2753cosb.xn--jkb91hlz1a", true); } // [B2, B3, V7]
13838test { try toUnicodeFail("xn--lgb32f2753cosb.xn--jkb91hlz1azih"); } // [B2, B3, V7]
13839test { try toAsciiFail("xn--lgb32f2753cosb.xn--jkb91hlz1azih", false); } // [B2, B3, V7]
13840test { try toAsciiFail("xn--lgb32f2753cosb.xn--jkb91hlz1azih", true); } // [B2, B3, V7]
13841test { try toUnicodeFail("\xe0\xa0\x96.\xf0\x90\xa8\x95\xf0\x9a\x9a\x95"); } // [B1, B2, B3, V6, V7]
13842test { try toAsciiFail("\xe0\xa0\x96.\xf0\x90\xa8\x95\xf0\x9a\x9a\x95", false); } // [B1, B2, B3, V6, V7]
13843test { try toAsciiFail("\xe0\xa0\x96.\xf0\x90\xa8\x95\xf0\x9a\x9a\x95", true); } // [B1, B2, B3, V6, V7]
13844test { try toUnicodeFail("xn--rub.xn--tr9c248x"); } // [B1, B2, B3, V6, V7]
13845test { try toAsciiFail("xn--rub.xn--tr9c248x", false); } // [B1, B2, B3, V6, V7]
13846test { try toAsciiFail("xn--rub.xn--tr9c248x", true); } // [B1, B2, B3, V6, V7]
13847test { try toUnicodeFail("--\xe3\x80\x82\xf0\xbd\x8a\x86\xdd\xa7\xf0\x90\xbd\x8b\xf0\x9e\xa0\xac"); } // [B1, B5, B6, V3, V7]
13848test { try toAsciiFail("--\xe3\x80\x82\xf0\xbd\x8a\x86\xdd\xa7\xf0\x90\xbd\x8b\xf0\x9e\xa0\xac", false); } // [B1, B5, B6, V3, V7]
13849test { try toAsciiFail("--\xe3\x80\x82\xf0\xbd\x8a\x86\xdd\xa7\xf0\x90\xbd\x8b\xf0\x9e\xa0\xac", true); } // [B1, B5, B6, V3, V7]
13850test { try toUnicodeFail("--.xn--rpb6226k77pfh58p"); } // [B1, B5, B6, V3, V7]
13851test { try toAsciiFail("--.xn--rpb6226k77pfh58p", false); } // [B1, B5, B6, V3, V7]
13852test { try toAsciiFail("--.xn--rpb6226k77pfh58p", true); } // [B1, B5, B6, V3, V7]
13853test { try toUnicodeFail("\xf2\x9b\xad\xa6\xf0\x90\x8b\xa5\xf0\xb9\xb8\x90.\xe2\x89\xaf\xe0\xa2\xb0\xe0\xa2\xa6\xf3\x94\x9b\xa3"); } // [B1, V7]
13854test { try toAsciiFail("\xf2\x9b\xad\xa6\xf0\x90\x8b\xa5\xf0\xb9\xb8\x90.\xe2\x89\xaf\xe0\xa2\xb0\xe0\xa2\xa6\xf3\x94\x9b\xa3", false); } // [B1, V7]
13855test { try toAsciiFail("\xf2\x9b\xad\xa6\xf0\x90\x8b\xa5\xf0\xb9\xb8\x90.\xe2\x89\xaf\xe0\xa2\xb0\xe0\xa2\xa6\xf3\x94\x9b\xa3", true); } // [B1, V7]
13856test { try toUnicodeFail("\xf2\x9b\xad\xa6\xf0\x90\x8b\xa5\xf0\xb9\xb8\x90.>\xcc\xb8\xe0\xa2\xb0\xe0\xa2\xa6\xf3\x94\x9b\xa3"); } // [B1, V7]
13857test { try toAsciiFail("\xf2\x9b\xad\xa6\xf0\x90\x8b\xa5\xf0\xb9\xb8\x90.>\xcc\xb8\xe0\xa2\xb0\xe0\xa2\xa6\xf3\x94\x9b\xa3", false); } // [B1, V7]
13858test { try toAsciiFail("\xf2\x9b\xad\xa6\xf0\x90\x8b\xa5\xf0\xb9\xb8\x90.>\xcc\xb8\xe0\xa2\xb0\xe0\xa2\xa6\xf3\x94\x9b\xa3", true); } // [B1, V7]
13859test { try toUnicodeFail("xn--887c2298i5mv6a.xn--vybt688qm8981a"); } // [B1, V7]
13860test { try toAsciiFail("xn--887c2298i5mv6a.xn--vybt688qm8981a", false); } // [B1, V7]
13861test { try toAsciiFail("xn--887c2298i5mv6a.xn--vybt688qm8981a", true); } // [B1, V7]
13862test { try toUnicodeFail("\xe4\x94\x9b\xf3\xa0\x87\x92\xf2\xa4\xb8\x9e\xf0\x90\xb9\xa7\xef\xbc\x8e-\xe4\xa4\xb7"); } // [B1, B5, B6, V3, V7]
13863test { try toAsciiFail("\xe4\x94\x9b\xf3\xa0\x87\x92\xf2\xa4\xb8\x9e\xf0\x90\xb9\xa7\xef\xbc\x8e-\xe4\xa4\xb7", false); } // [B1, B5, B6, V3, V7]
13864test { try toAsciiFail("\xe4\x94\x9b\xf3\xa0\x87\x92\xf2\xa4\xb8\x9e\xf0\x90\xb9\xa7\xef\xbc\x8e-\xe4\xa4\xb7", true); } // [B1, B5, B6, V3, V7]
13865test { try toUnicodeFail("\xe4\x94\x9b\xf3\xa0\x87\x92\xf2\xa4\xb8\x9e\xf0\x90\xb9\xa7.-\xe4\xa4\xb7"); } // [B1, B5, B6, V3, V7]
13866test { try toAsciiFail("\xe4\x94\x9b\xf3\xa0\x87\x92\xf2\xa4\xb8\x9e\xf0\x90\xb9\xa7.-\xe4\xa4\xb7", false); } // [B1, B5, B6, V3, V7]
13867test { try toAsciiFail("\xe4\x94\x9b\xf3\xa0\x87\x92\xf2\xa4\xb8\x9e\xf0\x90\xb9\xa7.-\xe4\xa4\xb7", true); } // [B1, B5, B6, V3, V7]
13868test { try toUnicodeFail("xn--2loy662coo60e.xn----0n4a"); } // [B1, B5, B6, V3, V7]
13869test { try toAsciiFail("xn--2loy662coo60e.xn----0n4a", false); } // [B1, B5, B6, V3, V7]
13870test { try toAsciiFail("xn--2loy662coo60e.xn----0n4a", true); } // [B1, B5, B6, V3, V7]
13871test { try toUnicodeFail("\xf0\x90\xb9\xa9\xef\xbc\x8e\xe2\x80\x8d-"); } // [B1, C2, V3]
13872test { try toAsciiFail("\xf0\x90\xb9\xa9\xef\xbc\x8e\xe2\x80\x8d-", false); } // [B1, C2, V3]
13873test { try toAsciiFail("\xf0\x90\xb9\xa9\xef\xbc\x8e\xe2\x80\x8d-", true); } // [B1, V3]
13874test { try toUnicodeFail("\xf0\x90\xb9\xa9.\xe2\x80\x8d-"); } // [B1, C2, V3]
13875test { try toAsciiFail("\xf0\x90\xb9\xa9.\xe2\x80\x8d-", false); } // [B1, C2, V3]
13876test { try toAsciiFail("\xf0\x90\xb9\xa9.\xe2\x80\x8d-", true); } // [B1, V3]
13877test { try toUnicodeFail("xn--ho0d.-"); } // [B1, V3]
13878test { try toAsciiFail("xn--ho0d.-", false); } // [B1, V3]
13879test { try toAsciiFail("xn--ho0d.-", true); } // [B1, V3]
13880test { try toUnicodeFail("xn--ho0d.xn----tgn"); } // [B1, C2, V3]
13881test { try toAsciiFail("xn--ho0d.xn----tgn", false); } // [B1, C2, V3]
13882test { try toAsciiFail("xn--ho0d.xn----tgn", true); } // [B1, C2, V3]
13883test { try toUnicodeFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xef\xbd\xa1\xe2\x89\xaf\xe8\x90\xba\xe1\xb7\x88-"); } // [V3, V7]
13884test { try toAsciiFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xef\xbd\xa1\xe2\x89\xaf\xe8\x90\xba\xe1\xb7\x88-", false); } // [V3, V7]
13885test { try toAsciiFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xef\xbd\xa1\xe2\x89\xaf\xe8\x90\xba\xe1\xb7\x88-", true); } // [V3, V7]
13886test { try toUnicodeFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xef\xbd\xa1>\xcc\xb8\xe8\x90\xba\xe1\xb7\x88-"); } // [V3, V7]
13887test { try toAsciiFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xef\xbd\xa1>\xcc\xb8\xe8\x90\xba\xe1\xb7\x88-", false); } // [V3, V7]
13888test { try toAsciiFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xef\xbd\xa1>\xcc\xb8\xe8\x90\xba\xe1\xb7\x88-", true); } // [V3, V7]
13889test { try toUnicodeFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xe3\x80\x82\xe2\x89\xaf\xe8\x90\xba\xe1\xb7\x88-"); } // [V3, V7]
13890test { try toAsciiFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xe3\x80\x82\xe2\x89\xaf\xe8\x90\xba\xe1\xb7\x88-", false); } // [V3, V7]
13891test { try toAsciiFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xe3\x80\x82\xe2\x89\xaf\xe8\x90\xba\xe1\xb7\x88-", true); } // [V3, V7]
13892test { try toUnicodeFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xe3\x80\x82>\xcc\xb8\xe8\x90\xba\xe1\xb7\x88-"); } // [V3, V7]
13893test { try toAsciiFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xe3\x80\x82>\xcc\xb8\xe8\x90\xba\xe1\xb7\x88-", false); } // [V3, V7]
13894test { try toAsciiFail("\xf1\x82\x88\xa6\xe5\xb8\xb7\xe3\x80\x82>\xcc\xb8\xe8\x90\xba\xe1\xb7\x88-", true); } // [V3, V7]
13895test { try toUnicodeFail("xn--qutw175s.xn----mimu6tf67j"); } // [V3, V7]
13896test { try toAsciiFail("xn--qutw175s.xn----mimu6tf67j", false); } // [V3, V7]
13897test { try toAsciiFail("xn--qutw175s.xn----mimu6tf67j", true); } // [V3, V7]
13898test { try toAsciiPass("\xe2\x80\x8d\xe6\x94\x8c\xea\xaf\xad\xe3\x80\x82\xe1\xa2\x96-\xe1\x82\xb8", "xn--p9ut19m.xn----mck373i", true); }
13899test { try toUnicodeFail("\xe2\x80\x8d\xe6\x94\x8c\xea\xaf\xad\xe3\x80\x82\xe1\xa2\x96-\xe1\x82\xb8"); } // [C2]
13900test { try toAsciiFail("\xe2\x80\x8d\xe6\x94\x8c\xea\xaf\xad\xe3\x80\x82\xe1\xa2\x96-\xe1\x82\xb8", false); } // [C2]
13901test { try toAsciiPass("\xe2\x80\x8d\xe6\x94\x8c\xea\xaf\xad\xe3\x80\x82\xe1\xa2\x96-\xe2\xb4\x98", "xn--p9ut19m.xn----mck373i", true); }
13902test { try toUnicodeFail("\xe2\x80\x8d\xe6\x94\x8c\xea\xaf\xad\xe3\x80\x82\xe1\xa2\x96-\xe2\xb4\x98"); } // [C2]
13903test { try toAsciiFail("\xe2\x80\x8d\xe6\x94\x8c\xea\xaf\xad\xe3\x80\x82\xe1\xa2\x96-\xe2\xb4\x98", false); } // [C2]
13904test { try toUnicodePass("xn--p9ut19m.xn----mck373i", "\xe6\x94\x8c\xea\xaf\xad.\xe1\xa2\x96-\xe2\xb4\x98"); }
13905test { try toAsciiPass("xn--p9ut19m.xn----mck373i", "xn--p9ut19m.xn----mck373i", false); }
13906test { try toAsciiPass("xn--p9ut19m.xn----mck373i", "xn--p9ut19m.xn----mck373i", true); }
13907test { try toUnicodePass("\xe6\x94\x8c\xea\xaf\xad.\xe1\xa2\x96-\xe2\xb4\x98", "\xe6\x94\x8c\xea\xaf\xad.\xe1\xa2\x96-\xe2\xb4\x98"); }
13908test { try toAsciiPass("\xe6\x94\x8c\xea\xaf\xad.\xe1\xa2\x96-\xe2\xb4\x98", "xn--p9ut19m.xn----mck373i", false); }
13909test { try toAsciiPass("\xe6\x94\x8c\xea\xaf\xad.\xe1\xa2\x96-\xe2\xb4\x98", "xn--p9ut19m.xn----mck373i", true); }
13910test { try toUnicodePass("\xe6\x94\x8c\xea\xaf\xad.\xe1\xa2\x96-\xe1\x82\xb8", "\xe6\x94\x8c\xea\xaf\xad.\xe1\xa2\x96-\xe2\xb4\x98"); }
13911test { try toAsciiPass("\xe6\x94\x8c\xea\xaf\xad.\xe1\xa2\x96-\xe1\x82\xb8", "xn--p9ut19m.xn----mck373i", false); }
13912test { try toAsciiPass("\xe6\x94\x8c\xea\xaf\xad.\xe1\xa2\x96-\xe1\x82\xb8", "xn--p9ut19m.xn----mck373i", true); }
13913test { try toUnicodeFail("xn--1ug592ykp6b.xn----mck373i"); } // [C2]
13914test { try toAsciiFail("xn--1ug592ykp6b.xn----mck373i", false); } // [C2]
13915test { try toAsciiFail("xn--1ug592ykp6b.xn----mck373i", true); } // [C2]
13916test { try toUnicodeFail("xn--p9ut19m.xn----k1g451d"); } // [V7]
13917test { try toAsciiFail("xn--p9ut19m.xn----k1g451d", false); } // [V7]
13918test { try toAsciiFail("xn--p9ut19m.xn----k1g451d", true); } // [V7]
13919test { try toUnicodeFail("xn--1ug592ykp6b.xn----k1g451d"); } // [C2, V7]
13920test { try toAsciiFail("xn--1ug592ykp6b.xn----k1g451d", false); } // [C2, V7]
13921test { try toAsciiFail("xn--1ug592ykp6b.xn----k1g451d", true); } // [C2, V7]
13922test { try toUnicodeFail("\xe2\x80\x8c\xea\x96\xa8\xef\xbc\x8e\xe2\x92\x97\xef\xbc\x93\xed\x88\x92\xdb\xb3"); } // [C1, V7]
13923test { try toAsciiFail("\xe2\x80\x8c\xea\x96\xa8\xef\xbc\x8e\xe2\x92\x97\xef\xbc\x93\xed\x88\x92\xdb\xb3", false); } // [C1, V7]
13924test { try toAsciiFail("\xe2\x80\x8c\xea\x96\xa8\xef\xbc\x8e\xe2\x92\x97\xef\xbc\x93\xed\x88\x92\xdb\xb3", true); } // [V7]
13925test { try toUnicodeFail("\xe2\x80\x8c\xea\x96\xa8\xef\xbc\x8e\xe2\x92\x97\xef\xbc\x93\xe1\x84\x90\xe1\x85\xad\xe1\x86\xa9\xdb\xb3"); } // [C1, V7]
13926test { try toAsciiFail("\xe2\x80\x8c\xea\x96\xa8\xef\xbc\x8e\xe2\x92\x97\xef\xbc\x93\xe1\x84\x90\xe1\x85\xad\xe1\x86\xa9\xdb\xb3", false); } // [C1, V7]
13927test { try toAsciiFail("\xe2\x80\x8c\xea\x96\xa8\xef\xbc\x8e\xe2\x92\x97\xef\xbc\x93\xe1\x84\x90\xe1\x85\xad\xe1\x86\xa9\xdb\xb3", true); } // [V7]
13928test { try toAsciiPass("\xe2\x80\x8c\xea\x96\xa8.16.3\xed\x88\x92\xdb\xb3", "xn--9r8a.16.xn--3-nyc0117m", true); }
13929test { try toUnicodeFail("\xe2\x80\x8c\xea\x96\xa8.16.3\xed\x88\x92\xdb\xb3"); } // [C1]
13930test { try toAsciiFail("\xe2\x80\x8c\xea\x96\xa8.16.3\xed\x88\x92\xdb\xb3", false); } // [C1]
13931test { try toAsciiPass("\xe2\x80\x8c\xea\x96\xa8.16.3\xe1\x84\x90\xe1\x85\xad\xe1\x86\xa9\xdb\xb3", "xn--9r8a.16.xn--3-nyc0117m", true); }
13932test { try toUnicodeFail("\xe2\x80\x8c\xea\x96\xa8.16.3\xe1\x84\x90\xe1\x85\xad\xe1\x86\xa9\xdb\xb3"); } // [C1]
13933test { try toAsciiFail("\xe2\x80\x8c\xea\x96\xa8.16.3\xe1\x84\x90\xe1\x85\xad\xe1\x86\xa9\xdb\xb3", false); } // [C1]
13934test { try toUnicodePass("xn--9r8a.16.xn--3-nyc0117m", "\xea\x96\xa8.16.3\xed\x88\x92\xdb\xb3"); }
13935test { try toAsciiPass("xn--9r8a.16.xn--3-nyc0117m", "xn--9r8a.16.xn--3-nyc0117m", false); }
13936test { try toAsciiPass("xn--9r8a.16.xn--3-nyc0117m", "xn--9r8a.16.xn--3-nyc0117m", true); }
13937test { try toUnicodePass("\xea\x96\xa8.16.3\xed\x88\x92\xdb\xb3", "\xea\x96\xa8.16.3\xed\x88\x92\xdb\xb3"); }
13938test { try toAsciiPass("\xea\x96\xa8.16.3\xed\x88\x92\xdb\xb3", "xn--9r8a.16.xn--3-nyc0117m", false); }
13939test { try toAsciiPass("\xea\x96\xa8.16.3\xed\x88\x92\xdb\xb3", "xn--9r8a.16.xn--3-nyc0117m", true); }
13940test { try toUnicodePass("\xea\x96\xa8.16.3\xe1\x84\x90\xe1\x85\xad\xe1\x86\xa9\xdb\xb3", "\xea\x96\xa8.16.3\xed\x88\x92\xdb\xb3"); }
13941test { try toAsciiPass("\xea\x96\xa8.16.3\xe1\x84\x90\xe1\x85\xad\xe1\x86\xa9\xdb\xb3", "xn--9r8a.16.xn--3-nyc0117m", false); }
13942test { try toAsciiPass("\xea\x96\xa8.16.3\xe1\x84\x90\xe1\x85\xad\xe1\x86\xa9\xdb\xb3", "xn--9r8a.16.xn--3-nyc0117m", true); }
13943test { try toUnicodeFail("xn--0ug2473c.16.xn--3-nyc0117m"); } // [C1]
13944test { try toAsciiFail("xn--0ug2473c.16.xn--3-nyc0117m", false); } // [C1]
13945test { try toAsciiFail("xn--0ug2473c.16.xn--3-nyc0117m", true); } // [C1]
13946test { try toUnicodeFail("xn--9r8a.xn--3-nyc678tu07m"); } // [V7]
13947test { try toAsciiFail("xn--9r8a.xn--3-nyc678tu07m", false); } // [V7]
13948test { try toAsciiFail("xn--9r8a.xn--3-nyc678tu07m", true); } // [V7]
13949test { try toUnicodeFail("xn--0ug2473c.xn--3-nyc678tu07m"); } // [C1, V7]
13950test { try toAsciiFail("xn--0ug2473c.xn--3-nyc678tu07m", false); } // [C1, V7]
13951test { try toAsciiFail("xn--0ug2473c.xn--3-nyc678tu07m", true); } // [C1, V7]
13952test { try toUnicodeFail("\xe2\x92\x88\xea\xb1\xbe6.\xf0\x90\xb1\x81\xdb\x90"); } // [B1, V7]
13953test { try toAsciiFail("\xe2\x92\x88\xea\xb1\xbe6.\xf0\x90\xb1\x81\xdb\x90", false); } // [B1, V7]
13954test { try toAsciiFail("\xe2\x92\x88\xea\xb1\xbe6.\xf0\x90\xb1\x81\xdb\x90", true); } // [B1, V7]
13955test { try toUnicodeFail("\xe2\x92\x88\xe1\x84\x80\xe1\x85\xa5\xe1\x86\xb56.\xf0\x90\xb1\x81\xdb\x90"); } // [B1, V7]
13956test { try toAsciiFail("\xe2\x92\x88\xe1\x84\x80\xe1\x85\xa5\xe1\x86\xb56.\xf0\x90\xb1\x81\xdb\x90", false); } // [B1, V7]
13957test { try toAsciiFail("\xe2\x92\x88\xe1\x84\x80\xe1\x85\xa5\xe1\x86\xb56.\xf0\x90\xb1\x81\xdb\x90", true); } // [B1, V7]
13958test { try toUnicodeFail("1.\xea\xb1\xbe6.\xf0\x90\xb1\x81\xdb\x90"); } // [B1]
13959test { try toAsciiFail("1.\xea\xb1\xbe6.\xf0\x90\xb1\x81\xdb\x90", false); } // [B1]
13960test { try toAsciiFail("1.\xea\xb1\xbe6.\xf0\x90\xb1\x81\xdb\x90", true); } // [B1]
13961test { try toUnicodeFail("1.\xe1\x84\x80\xe1\x85\xa5\xe1\x86\xb56.\xf0\x90\xb1\x81\xdb\x90"); } // [B1]
13962test { try toAsciiFail("1.\xe1\x84\x80\xe1\x85\xa5\xe1\x86\xb56.\xf0\x90\xb1\x81\xdb\x90", false); } // [B1]
13963test { try toAsciiFail("1.\xe1\x84\x80\xe1\x85\xa5\xe1\x86\xb56.\xf0\x90\xb1\x81\xdb\x90", true); } // [B1]
13964test { try toUnicodeFail("1.xn--6-945e.xn--glb1794k"); } // [B1]
13965test { try toAsciiFail("1.xn--6-945e.xn--glb1794k", false); } // [B1]
13966test { try toAsciiFail("1.xn--6-945e.xn--glb1794k", true); } // [B1]
13967test { try toUnicodeFail("xn--6-dcps419c.xn--glb1794k"); } // [B1, V7]
13968test { try toAsciiFail("xn--6-dcps419c.xn--glb1794k", false); } // [B1, V7]
13969test { try toAsciiFail("xn--6-dcps419c.xn--glb1794k", true); } // [B1, V7]
13970test { try toUnicodeFail("\xf0\x90\xb2\x9e\xf0\x9d\x9f\xb6\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9"); } // [B1, B3, V7]
13971test { try toAsciiFail("\xf0\x90\xb2\x9e\xf0\x9d\x9f\xb6\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9", false); } // [B1, B3, V7]
13972test { try toAsciiFail("\xf0\x90\xb2\x9e\xf0\x9d\x9f\xb6\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9", true); } // [B1, B3, V7]
13973test { try toUnicodeFail("\xf0\x90\xb2\x9e\xf0\x9d\x9f\xb6<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9"); } // [B1, B3, V7]
13974test { try toAsciiFail("\xf0\x90\xb2\x9e\xf0\x9d\x9f\xb6<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9", false); } // [B1, B3, V7]
13975test { try toAsciiFail("\xf0\x90\xb2\x9e\xf0\x9d\x9f\xb6<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9", true); } // [B1, B3, V7]
13976test { try toUnicodeFail("\xf0\x90\xb2\x9e0\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9"); } // [B1, B3, V7]
13977test { try toAsciiFail("\xf0\x90\xb2\x9e0\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9", false); } // [B1, B3, V7]
13978test { try toAsciiFail("\xf0\x90\xb2\x9e0\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9", true); } // [B1, B3, V7]
13979test { try toUnicodeFail("\xf0\x90\xb2\x9e0<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9"); } // [B1, B3, V7]
13980test { try toAsciiFail("\xf0\x90\xb2\x9e0<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9", false); } // [B1, B3, V7]
13981test { try toAsciiFail("\xf0\x90\xb2\x9e0<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9", true); } // [B1, B3, V7]
13982test { try toUnicodeFail("\xf0\x90\xb3\x9e0<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9"); } // [B1, B3, V7]
13983test { try toAsciiFail("\xf0\x90\xb3\x9e0<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9", false); } // [B1, B3, V7]
13984test { try toAsciiFail("\xf0\x90\xb3\x9e0<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9", true); } // [B1, B3, V7]
13985test { try toUnicodeFail("\xf0\x90\xb3\x9e0\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9"); } // [B1, B3, V7]
13986test { try toAsciiFail("\xf0\x90\xb3\x9e0\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9", false); } // [B1, B3, V7]
13987test { try toAsciiFail("\xf0\x90\xb3\x9e0\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9", true); } // [B1, B3, V7]
13988test { try toUnicodeFail("xn--0-ngoa5711v.xn--4gb31034p"); } // [B1, B3, V7]
13989test { try toAsciiFail("xn--0-ngoa5711v.xn--4gb31034p", false); } // [B1, B3, V7]
13990test { try toAsciiFail("xn--0-ngoa5711v.xn--4gb31034p", true); } // [B1, B3, V7]
13991test { try toUnicodeFail("\xf0\x90\xb3\x9e\xf0\x9d\x9f\xb6<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9"); } // [B1, B3, V7]
13992test { try toAsciiFail("\xf0\x90\xb3\x9e\xf0\x9d\x9f\xb6<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9", false); } // [B1, B3, V7]
13993test { try toAsciiFail("\xf0\x90\xb3\x9e\xf0\x9d\x9f\xb6<\xcc\xb8<\xcc\xb8.\xf3\xa0\x80\xa7\xd8\xb9", true); } // [B1, B3, V7]
13994test { try toUnicodeFail("\xf0\x90\xb3\x9e\xf0\x9d\x9f\xb6\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9"); } // [B1, B3, V7]
13995test { try toAsciiFail("\xf0\x90\xb3\x9e\xf0\x9d\x9f\xb6\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9", false); } // [B1, B3, V7]
13996test { try toAsciiFail("\xf0\x90\xb3\x9e\xf0\x9d\x9f\xb6\xe2\x89\xae\xe2\x89\xae.\xf3\xa0\x80\xa7\xd8\xb9", true); } // [B1, B3, V7]
13997test { try toUnicodeFail("\xe0\xab\xa3.\xf0\x90\xb9\xba\xe1\x85\x9f"); } // [B1, V6]
13998test { try toAsciiFail("\xe0\xab\xa3.\xf0\x90\xb9\xba\xe1\x85\x9f", false); } // [B1, V6]
13999test { try toAsciiFail("\xe0\xab\xa3.\xf0\x90\xb9\xba\xe1\x85\x9f", true); } // [B1, V6]
14000test { try toUnicodeFail("xn--8fc.xn--yo0d"); } // [B1, V6]
14001test { try toAsciiFail("xn--8fc.xn--yo0d", false); } // [B1, V6]
14002test { try toAsciiFail("xn--8fc.xn--yo0d", true); } // [B1, V6]
14003test { try toUnicodeFail("xn--8fc.xn--osd3070k"); } // [B1, V6, V7]
14004test { try toAsciiFail("xn--8fc.xn--osd3070k", false); } // [B1, V6, V7]
14005test { try toAsciiFail("xn--8fc.xn--osd3070k", true); } // [B1, V6, V7]
14006test { try toUnicodeFail("\xf0\x9d\x9f\x8f\xf0\x9d\xa8\x99\xe2\xb8\x96.\xe2\x80\x8d"); } // [C2]
14007test { try toAsciiFail("\xf0\x9d\x9f\x8f\xf0\x9d\xa8\x99\xe2\xb8\x96.\xe2\x80\x8d", false); } // [C2]
14008test { try toAsciiFail("\xf0\x9d\x9f\x8f\xf0\x9d\xa8\x99\xe2\xb8\x96.\xe2\x80\x8d", true); } // [A4_2]
14009test { try toUnicodeFail("1\xf0\x9d\xa8\x99\xe2\xb8\x96.\xe2\x80\x8d"); } // [C2]
14010test { try toAsciiFail("1\xf0\x9d\xa8\x99\xe2\xb8\x96.\xe2\x80\x8d", false); } // [C2]
14011test { try toAsciiFail("1\xf0\x9d\xa8\x99\xe2\xb8\x96.\xe2\x80\x8d", true); } // [A4_2]
14012test { try toUnicodePass("xn--1-5bt6845n.", "1\xf0\x9d\xa8\x99\xe2\xb8\x96."); }
14013test { try toAsciiFail("xn--1-5bt6845n.", false); } // [A4_2]
14014test { try toAsciiFail("xn--1-5bt6845n.", true); } // [A4_2]
14015test { try toUnicodePass("1\xf0\x9d\xa8\x99\xe2\xb8\x96.", "1\xf0\x9d\xa8\x99\xe2\xb8\x96."); }
14016test { try toAsciiFail("1\xf0\x9d\xa8\x99\xe2\xb8\x96.", false); } // [A4_2]
14017test { try toAsciiFail("1\xf0\x9d\xa8\x99\xe2\xb8\x96.", true); } // [A4_2]
14018test { try toUnicodeFail("xn--1-5bt6845n.xn--1ug"); } // [C2]
14019test { try toAsciiFail("xn--1-5bt6845n.xn--1ug", false); } // [C2]
14020test { try toAsciiFail("xn--1-5bt6845n.xn--1ug", true); } // [C2]
14021test { try toUnicodeFail("\xf0\x9e\xa4\x90\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95"); } // [B1, C1, V3]
14022test { try toAsciiFail("\xf0\x9e\xa4\x90\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95", false); } // [B1, C1, V3]
14023test { try toAsciiFail("\xf0\x9e\xa4\x90\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95", true); } // [B1, V3]
14024test { try toUnicodeFail("\xf0\x9e\xa4\x90=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95"); } // [B1, C1, V3]
14025test { try toAsciiFail("\xf0\x9e\xa4\x90=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95", false); } // [B1, C1, V3]
14026test { try toAsciiFail("\xf0\x9e\xa4\x90=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95", true); } // [B1, V3]
14027test { try toUnicodeFail("\xf0\x9e\xa4\x90\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95"); } // [B1, C1, V3]
14028test { try toAsciiFail("\xf0\x9e\xa4\x90\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95", false); } // [B1, C1, V3]
14029test { try toAsciiFail("\xf0\x9e\xa4\x90\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95", true); } // [B1, V3]
14030test { try toUnicodeFail("\xf0\x9e\xa4\x90=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95"); } // [B1, C1, V3]
14031test { try toAsciiFail("\xf0\x9e\xa4\x90=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95", false); } // [B1, C1, V3]
14032test { try toAsciiFail("\xf0\x9e\xa4\x90=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95", true); } // [B1, V3]
14033test { try toUnicodeFail("\xf0\x9e\xa4\xb2=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95"); } // [B1, C1, V3]
14034test { try toAsciiFail("\xf0\x9e\xa4\xb2=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95", false); } // [B1, C1, V3]
14035test { try toAsciiFail("\xf0\x9e\xa4\xb2=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95", true); } // [B1, V3]
14036test { try toUnicodeFail("\xf0\x9e\xa4\xb2\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95"); } // [B1, C1, V3]
14037test { try toAsciiFail("\xf0\x9e\xa4\xb2\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95", false); } // [B1, C1, V3]
14038test { try toAsciiFail("\xf0\x9e\xa4\xb2\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xe3\x80\x82-\xe2\x80\x8c\xdf\x95", true); } // [B1, V3]
14039test { try toUnicodeFail("xn--wnb859grzfzw60c.xn----kcd"); } // [B1, V3]
14040test { try toAsciiFail("xn--wnb859grzfzw60c.xn----kcd", false); } // [B1, V3]
14041test { try toAsciiFail("xn--wnb859grzfzw60c.xn----kcd", true); } // [B1, V3]
14042test { try toUnicodeFail("xn--wnb859grzfzw60c.xn----kcd017p"); } // [B1, C1, V3]
14043test { try toAsciiFail("xn--wnb859grzfzw60c.xn----kcd017p", false); } // [B1, C1, V3]
14044test { try toAsciiFail("xn--wnb859grzfzw60c.xn----kcd017p", true); } // [B1, C1, V3]
14045test { try toUnicodeFail("\xf0\x9e\xa4\xb2=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95"); } // [B1, C1, V3]
14046test { try toAsciiFail("\xf0\x9e\xa4\xb2=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95", false); } // [B1, C1, V3]
14047test { try toAsciiFail("\xf0\x9e\xa4\xb2=\xcc\xb8\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95", true); } // [B1, V3]
14048test { try toUnicodeFail("\xf0\x9e\xa4\xb2\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95"); } // [B1, C1, V3]
14049test { try toAsciiFail("\xf0\x9e\xa4\xb2\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95", false); } // [B1, C1, V3]
14050test { try toAsciiFail("\xf0\x9e\xa4\xb2\xe2\x89\xa0\xdc\xa6\xe1\xa9\xa0\xef\xbd\xa1-\xe2\x80\x8c\xdf\x95", true); } // [B1, V3]
14051test { try toUnicodeFail("\xf0\x90\xb9\xb0\xcd\xa8-\xea\xa1\xa7\xef\xbd\xa1\xd9\xb5"); } // [B1]
14052test { try toAsciiFail("\xf0\x90\xb9\xb0\xcd\xa8-\xea\xa1\xa7\xef\xbd\xa1\xd9\xb5", false); } // [B1]
14053test { try toAsciiFail("\xf0\x90\xb9\xb0\xcd\xa8-\xea\xa1\xa7\xef\xbd\xa1\xd9\xb5", true); } // [B1]
14054test { try toUnicodeFail("\xf0\x90\xb9\xb0\xcd\xa8-\xea\xa1\xa7\xe3\x80\x82\xd8\xa7\xd9\xb4"); } // [B1]
14055test { try toAsciiFail("\xf0\x90\xb9\xb0\xcd\xa8-\xea\xa1\xa7\xe3\x80\x82\xd8\xa7\xd9\xb4", false); } // [B1]
14056test { try toAsciiFail("\xf0\x90\xb9\xb0\xcd\xa8-\xea\xa1\xa7\xe3\x80\x82\xd8\xa7\xd9\xb4", true); } // [B1]
14057test { try toUnicodeFail("xn----shb2387jgkqd.xn--mgb8m"); } // [B1]
14058test { try toAsciiFail("xn----shb2387jgkqd.xn--mgb8m", false); } // [B1]
14059test { try toAsciiFail("xn----shb2387jgkqd.xn--mgb8m", true); } // [B1]
14060test { try toUnicodeFail("F\xf3\xa0\x85\x9f\xef\xbd\xa1\xf2\x8f\x97\x85\xe2\x99\x9a"); } // [V7]
14061test { try toAsciiFail("F\xf3\xa0\x85\x9f\xef\xbd\xa1\xf2\x8f\x97\x85\xe2\x99\x9a", false); } // [V7]
14062test { try toAsciiFail("F\xf3\xa0\x85\x9f\xef\xbd\xa1\xf2\x8f\x97\x85\xe2\x99\x9a", true); } // [V7]
14063test { try toUnicodeFail("F\xf3\xa0\x85\x9f\xe3\x80\x82\xf2\x8f\x97\x85\xe2\x99\x9a"); } // [V7]
14064test { try toAsciiFail("F\xf3\xa0\x85\x9f\xe3\x80\x82\xf2\x8f\x97\x85\xe2\x99\x9a", false); } // [V7]
14065test { try toAsciiFail("F\xf3\xa0\x85\x9f\xe3\x80\x82\xf2\x8f\x97\x85\xe2\x99\x9a", true); } // [V7]
14066test { try toUnicodeFail("f\xf3\xa0\x85\x9f\xe3\x80\x82\xf2\x8f\x97\x85\xe2\x99\x9a"); } // [V7]
14067test { try toAsciiFail("f\xf3\xa0\x85\x9f\xe3\x80\x82\xf2\x8f\x97\x85\xe2\x99\x9a", false); } // [V7]
14068test { try toAsciiFail("f\xf3\xa0\x85\x9f\xe3\x80\x82\xf2\x8f\x97\x85\xe2\x99\x9a", true); } // [V7]
14069test { try toUnicodeFail("f.xn--45hz6953f"); } // [V7]
14070test { try toAsciiFail("f.xn--45hz6953f", false); } // [V7]
14071test { try toAsciiFail("f.xn--45hz6953f", true); } // [V7]
14072test { try toUnicodeFail("f\xf3\xa0\x85\x9f\xef\xbd\xa1\xf2\x8f\x97\x85\xe2\x99\x9a"); } // [V7]
14073test { try toAsciiFail("f\xf3\xa0\x85\x9f\xef\xbd\xa1\xf2\x8f\x97\x85\xe2\x99\x9a", false); } // [V7]
14074test { try toAsciiFail("f\xf3\xa0\x85\x9f\xef\xbd\xa1\xf2\x8f\x97\x85\xe2\x99\x9a", true); } // [V7]
14075test { try toUnicodeFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x82\xf0\x9d\x9f\xae\xe1\x82\xb8\xf0\x9e\x80\xa8\xf1\x83\xa5\x87"); } // [V6, V7]
14076test { try toAsciiFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x82\xf0\x9d\x9f\xae\xe1\x82\xb8\xf0\x9e\x80\xa8\xf1\x83\xa5\x87", false); } // [V6, V7]
14077test { try toAsciiFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x82\xf0\x9d\x9f\xae\xe1\x82\xb8\xf0\x9e\x80\xa8\xf1\x83\xa5\x87", true); } // [V6, V7]
14078test { try toUnicodeFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x822\xe1\x82\xb8\xf0\x9e\x80\xa8\xf1\x83\xa5\x87"); } // [V6, V7]
14079test { try toAsciiFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x822\xe1\x82\xb8\xf0\x9e\x80\xa8\xf1\x83\xa5\x87", false); } // [V6, V7]
14080test { try toAsciiFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x822\xe1\x82\xb8\xf0\x9e\x80\xa8\xf1\x83\xa5\x87", true); } // [V6, V7]
14081test { try toUnicodeFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x822\xe2\xb4\x98\xf0\x9e\x80\xa8\xf1\x83\xa5\x87"); } // [V6, V7]
14082test { try toAsciiFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x822\xe2\xb4\x98\xf0\x9e\x80\xa8\xf1\x83\xa5\x87", false); } // [V6, V7]
14083test { try toAsciiFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x822\xe2\xb4\x98\xf0\x9e\x80\xa8\xf1\x83\xa5\x87", true); } // [V6, V7]
14084test { try toUnicodeFail("xn--9ic246gs21p.xn--2-nws2918ndrjr"); } // [V6, V7]
14085test { try toAsciiFail("xn--9ic246gs21p.xn--2-nws2918ndrjr", false); } // [V6, V7]
14086test { try toAsciiFail("xn--9ic246gs21p.xn--2-nws2918ndrjr", true); } // [V6, V7]
14087test { try toUnicodeFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x82\xf0\x9d\x9f\xae\xe2\xb4\x98\xf0\x9e\x80\xa8\xf1\x83\xa5\x87"); } // [V6, V7]
14088test { try toAsciiFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x82\xf0\x9d\x9f\xae\xe2\xb4\x98\xf0\x9e\x80\xa8\xf1\x83\xa5\x87", false); } // [V6, V7]
14089test { try toAsciiFail("\xe0\xad\x8d\xf0\x91\x84\xb4\xe1\xb7\xa9\xe3\x80\x82\xf0\x9d\x9f\xae\xe2\xb4\x98\xf0\x9e\x80\xa8\xf1\x83\xa5\x87", true); } // [V6, V7]
14090test { try toUnicodeFail("xn--9ic246gs21p.xn--2-k1g43076adrwq"); } // [V6, V7]
14091test { try toAsciiFail("xn--9ic246gs21p.xn--2-k1g43076adrwq", false); } // [V6, V7]
14092test { try toAsciiFail("xn--9ic246gs21p.xn--2-k1g43076adrwq", true); } // [V6, V7]
14093test { try toUnicodeFail("\xf2\x93\xa0\xad\xe2\x80\x8c\xe2\x80\x8c\xe2\x92\x88\xe3\x80\x82\xe5\x8b\x89\xf0\x91\x81\x85"); } // [C1, V7]
14094test { try toAsciiFail("\xf2\x93\xa0\xad\xe2\x80\x8c\xe2\x80\x8c\xe2\x92\x88\xe3\x80\x82\xe5\x8b\x89\xf0\x91\x81\x85", false); } // [C1, V7]
14095test { try toAsciiFail("\xf2\x93\xa0\xad\xe2\x80\x8c\xe2\x80\x8c\xe2\x92\x88\xe3\x80\x82\xe5\x8b\x89\xf0\x91\x81\x85", true); } // [V7]
14096test { try toUnicodeFail("\xf2\x93\xa0\xad\xe2\x80\x8c\xe2\x80\x8c1.\xe3\x80\x82\xe5\x8b\x89\xf0\x91\x81\x85"); } // [C1, V7, X4_2]
14097test { try toAsciiFail("\xf2\x93\xa0\xad\xe2\x80\x8c\xe2\x80\x8c1.\xe3\x80\x82\xe5\x8b\x89\xf0\x91\x81\x85", false); } // [C1, V7, A4_2]
14098test { try toAsciiFail("\xf2\x93\xa0\xad\xe2\x80\x8c\xe2\x80\x8c1.\xe3\x80\x82\xe5\x8b\x89\xf0\x91\x81\x85", true); } // [V7, A4_2]
14099test { try toUnicodeFail("xn--1-yi00h..xn--4grs325b"); } // [V7, X4_2]
14100test { try toAsciiFail("xn--1-yi00h..xn--4grs325b", false); } // [V7, A4_2]
14101test { try toAsciiFail("xn--1-yi00h..xn--4grs325b", true); } // [V7, A4_2]
14102test { try toUnicodeFail("xn--1-rgna61159u..xn--4grs325b"); } // [C1, V7, X4_2]
14103test { try toAsciiFail("xn--1-rgna61159u..xn--4grs325b", false); } // [C1, V7, A4_2]
14104test { try toAsciiFail("xn--1-rgna61159u..xn--4grs325b", true); } // [C1, V7, A4_2]
14105test { try toUnicodeFail("xn--tsh11906f.xn--4grs325b"); } // [V7]
14106test { try toAsciiFail("xn--tsh11906f.xn--4grs325b", false); } // [V7]
14107test { try toAsciiFail("xn--tsh11906f.xn--4grs325b", true); } // [V7]
14108test { try toUnicodeFail("xn--0uga855aez302a.xn--4grs325b"); } // [C1, V7]
14109test { try toAsciiFail("xn--0uga855aez302a.xn--4grs325b", false); } // [C1, V7]
14110test { try toAsciiFail("xn--0uga855aez302a.xn--4grs325b", true); } // [C1, V7]
14111test { try toUnicodeFail("\xe1\xa1\x83.\xe7\x8e\xbf\xf1\xab\x88\x9c\xf3\x95\x9e\x90"); } // [V7]
14112test { try toAsciiFail("\xe1\xa1\x83.\xe7\x8e\xbf\xf1\xab\x88\x9c\xf3\x95\x9e\x90", false); } // [V7]
14113test { try toAsciiFail("\xe1\xa1\x83.\xe7\x8e\xbf\xf1\xab\x88\x9c\xf3\x95\x9e\x90", true); } // [V7]
14114test { try toUnicodeFail("xn--27e.xn--7cy81125a0yq4a"); } // [V7]
14115test { try toAsciiFail("xn--27e.xn--7cy81125a0yq4a", false); } // [V7]
14116test { try toAsciiFail("xn--27e.xn--7cy81125a0yq4a", true); } // [V7]
14117test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8c\xef\xbd\xa1\xe2\x92\x88\xe2\x89\xaf\xf0\x9d\x9f\xb5"); } // [C1, V7]
14118test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xef\xbd\xa1\xe2\x92\x88\xe2\x89\xaf\xf0\x9d\x9f\xb5", false); } // [C1, V7]
14119test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xef\xbd\xa1\xe2\x92\x88\xe2\x89\xaf\xf0\x9d\x9f\xb5", true); } // [V7, A4_2]
14120test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8c\xef\xbd\xa1\xe2\x92\x88>\xcc\xb8\xf0\x9d\x9f\xb5"); } // [C1, V7]
14121test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xef\xbd\xa1\xe2\x92\x88>\xcc\xb8\xf0\x9d\x9f\xb5", false); } // [C1, V7]
14122test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xef\xbd\xa1\xe2\x92\x88>\xcc\xb8\xf0\x9d\x9f\xb5", true); } // [V7, A4_2]
14123test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x80\x821.\xe2\x89\xaf9"); } // [C1]
14124test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x80\x821.\xe2\x89\xaf9", false); } // [C1]
14125test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x80\x821.\xe2\x89\xaf9", true); } // [A4_2]
14126test { try toUnicodeFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x80\x821.>\xcc\xb89"); } // [C1]
14127test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x80\x821.>\xcc\xb89", false); } // [C1]
14128test { try toAsciiFail("\xe2\x80\x8c\xe2\x80\x8c\xe3\x80\x821.>\xcc\xb89", true); } // [A4_2]
14129test { try toAsciiFail(".1.xn--9-ogo", false); } // [A4_2]
14130test { try toAsciiFail(".1.xn--9-ogo", true); } // [A4_2]
14131test { try toUnicodeFail("xn--0uga.1.xn--9-ogo"); } // [C1]
14132test { try toAsciiFail("xn--0uga.1.xn--9-ogo", false); } // [C1]
14133test { try toAsciiFail("xn--0uga.1.xn--9-ogo", true); } // [C1]
14134test { try toUnicodeFail(".xn--9-ogo37g"); } // [V7, X4_2]
14135test { try toAsciiFail(".xn--9-ogo37g", false); } // [V7, A4_2]
14136test { try toAsciiFail(".xn--9-ogo37g", true); } // [V7, A4_2]
14137test { try toUnicodeFail("xn--0uga.xn--9-ogo37g"); } // [C1, V7]
14138test { try toAsciiFail("xn--0uga.xn--9-ogo37g", false); } // [C1, V7]
14139test { try toAsciiFail("xn--0uga.xn--9-ogo37g", true); } // [C1, V7]
14140test { try toUnicodeFail("\xe1\x85\x9f\xe1\xb7\xa0\xf2\x90\x80\x81.\xf0\xba\xbb\x86\xe2\x89\xaf\xf0\x90\xae\x81"); } // [B1, B5, B6, V6, V7]
14141test { try toAsciiFail("\xe1\x85\x9f\xe1\xb7\xa0\xf2\x90\x80\x81.\xf0\xba\xbb\x86\xe2\x89\xaf\xf0\x90\xae\x81", false); } // [B1, B5, B6, V6, V7]
14142test { try toAsciiFail("\xe1\x85\x9f\xe1\xb7\xa0\xf2\x90\x80\x81.\xf0\xba\xbb\x86\xe2\x89\xaf\xf0\x90\xae\x81", true); } // [B1, B5, B6, V6, V7]
14143test { try toUnicodeFail("\xe1\x85\x9f\xe1\xb7\xa0\xf2\x90\x80\x81.\xf0\xba\xbb\x86>\xcc\xb8\xf0\x90\xae\x81"); } // [B1, B5, B6, V6, V7]
14144test { try toAsciiFail("\xe1\x85\x9f\xe1\xb7\xa0\xf2\x90\x80\x81.\xf0\xba\xbb\x86>\xcc\xb8\xf0\x90\xae\x81", false); } // [B1, B5, B6, V6, V7]
14145test { try toAsciiFail("\xe1\x85\x9f\xe1\xb7\xa0\xf2\x90\x80\x81.\xf0\xba\xbb\x86>\xcc\xb8\xf0\x90\xae\x81", true); } // [B1, B5, B6, V6, V7]
14146test { try toUnicodeFail("xn--4eg41418g.xn--hdh5192gkm6r"); } // [B1, B5, B6, V6, V7]
14147test { try toAsciiFail("xn--4eg41418g.xn--hdh5192gkm6r", false); } // [B1, B5, B6, V6, V7]
14148test { try toAsciiFail("xn--4eg41418g.xn--hdh5192gkm6r", true); } // [B1, B5, B6, V6, V7]
14149test { try toUnicodeFail("xn--osd615d5659o.xn--hdh5192gkm6r"); } // [B5, B6, V7]
14150test { try toAsciiFail("xn--osd615d5659o.xn--hdh5192gkm6r", false); } // [B5, B6, V7]
14151test { try toAsciiFail("xn--osd615d5659o.xn--hdh5192gkm6r", true); } // [B5, B6, V7]
14152test { try toUnicodeFail("\xf3\xa0\x84\xab\xf0\x9d\xa9\xa4\xe2\x80\x8d\xd8\xbe.\xf0\x9d\xa9\xa9-\xe0\xa0\x9e\xf3\x91\xbc\xa9"); } // [B1, C2, V6, V7]
14153test { try toAsciiFail("\xf3\xa0\x84\xab\xf0\x9d\xa9\xa4\xe2\x80\x8d\xd8\xbe.\xf0\x9d\xa9\xa9-\xe0\xa0\x9e\xf3\x91\xbc\xa9", false); } // [B1, C2, V6, V7]
14154test { try toAsciiFail("\xf3\xa0\x84\xab\xf0\x9d\xa9\xa4\xe2\x80\x8d\xd8\xbe.\xf0\x9d\xa9\xa9-\xe0\xa0\x9e\xf3\x91\xbc\xa9", true); } // [B1, V6, V7]
14155test { try toUnicodeFail("xn--9gb5080v.xn----qgd52296avol4f"); } // [B1, V6, V7]
14156test { try toAsciiFail("xn--9gb5080v.xn----qgd52296avol4f", false); } // [B1, V6, V7]
14157test { try toAsciiFail("xn--9gb5080v.xn----qgd52296avol4f", true); } // [B1, V6, V7]
14158test { try toUnicodeFail("xn--9gb723kg862a.xn----qgd52296avol4f"); } // [B1, C2, V6, V7]
14159test { try toAsciiFail("xn--9gb723kg862a.xn----qgd52296avol4f", false); } // [B1, C2, V6, V7]
14160test { try toAsciiFail("xn--9gb723kg862a.xn----qgd52296avol4f", true); } // [B1, C2, V6, V7]
14161test { try toUnicodeFail("\xe2\x83\x9a\xef\xbc\x8e\xf0\x91\x98\xbf-"); } // [V3, V6]
14162test { try toAsciiFail("\xe2\x83\x9a\xef\xbc\x8e\xf0\x91\x98\xbf-", false); } // [V3, V6]
14163test { try toAsciiFail("\xe2\x83\x9a\xef\xbc\x8e\xf0\x91\x98\xbf-", true); } // [V3, V6]
14164test { try toUnicodeFail("\xe2\x83\x9a.\xf0\x91\x98\xbf-"); } // [V3, V6]
14165test { try toAsciiFail("\xe2\x83\x9a.\xf0\x91\x98\xbf-", false); } // [V3, V6]
14166test { try toAsciiFail("\xe2\x83\x9a.\xf0\x91\x98\xbf-", true); } // [V3, V6]
14167test { try toUnicodeFail("xn--w0g.xn----bd0j"); } // [V3, V6]
14168test { try toAsciiFail("xn--w0g.xn----bd0j", false); } // [V3, V6]
14169test { try toAsciiFail("xn--w0g.xn----bd0j", true); } // [V3, V6]
14170test { try toUnicodeFail("\xe4\xae\xb8\xc3\x9f.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8"); } // [B1, V7]
14171test { try toAsciiFail("\xe4\xae\xb8\xc3\x9f.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8", false); } // [B1, V7]
14172test { try toAsciiFail("\xe4\xae\xb8\xc3\x9f.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8", true); } // [B1, V7]
14173test { try toUnicodeFail("\xe4\xae\xb8SS.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8"); } // [B1, V7]
14174test { try toAsciiFail("\xe4\xae\xb8SS.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8", false); } // [B1, V7]
14175test { try toAsciiFail("\xe4\xae\xb8SS.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8", true); } // [B1, V7]
14176test { try toUnicodeFail("\xe4\xae\xb8ss.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8"); } // [B1, V7]
14177test { try toAsciiFail("\xe4\xae\xb8ss.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8", false); } // [B1, V7]
14178test { try toAsciiFail("\xe4\xae\xb8ss.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8", true); } // [B1, V7]
14179test { try toUnicodeFail("\xe4\xae\xb8Ss.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8"); } // [B1, V7]
14180test { try toAsciiFail("\xe4\xae\xb8Ss.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8", false); } // [B1, V7]
14181test { try toAsciiFail("\xe4\xae\xb8Ss.\xf3\xa0\xb5\x9f\xf3\xa0\xad\x8e\xe7\xb4\x99\xe0\xa2\xa8", true); } // [B1, V7]
14182test { try toUnicodeFail("xn--ss-sf1c.xn--xyb1370div70kpzba"); } // [B1, V7]
14183test { try toAsciiFail("xn--ss-sf1c.xn--xyb1370div70kpzba", false); } // [B1, V7]
14184test { try toAsciiFail("xn--ss-sf1c.xn--xyb1370div70kpzba", true); } // [B1, V7]
14185test { try toUnicodeFail("xn--zca5349a.xn--xyb1370div70kpzba"); } // [B1, V7]
14186test { try toAsciiFail("xn--zca5349a.xn--xyb1370div70kpzba", false); } // [B1, V7]
14187test { try toAsciiFail("xn--zca5349a.xn--xyb1370div70kpzba", true); } // [B1, V7]
14188test { try toUnicodeFail("-\xe1\x82\xbe.-\xf0\x9d\xa9\xa8\xe2\x85\x94\xf0\x90\xa6\x95"); } // [B1, V3]
14189test { try toAsciiFail("-\xe1\x82\xbe.-\xf0\x9d\xa9\xa8\xe2\x85\x94\xf0\x90\xa6\x95", false); } // [B1, V3]
14190test { try toAsciiFail("-\xe1\x82\xbe.-\xf0\x9d\xa9\xa8\xe2\x85\x94\xf0\x90\xa6\x95", true); } // [B1, V3]
14191test { try toUnicodeFail("-\xe1\x82\xbe.-\xf0\x9d\xa9\xa82\xe2\x81\x843\xf0\x90\xa6\x95"); } // [B1, V3]
14192test { try toAsciiFail("-\xe1\x82\xbe.-\xf0\x9d\xa9\xa82\xe2\x81\x843\xf0\x90\xa6\x95", false); } // [B1, V3]
14193test { try toAsciiFail("-\xe1\x82\xbe.-\xf0\x9d\xa9\xa82\xe2\x81\x843\xf0\x90\xa6\x95", true); } // [B1, V3]
14194test { try toUnicodeFail("-\xe2\xb4\x9e.-\xf0\x9d\xa9\xa82\xe2\x81\x843\xf0\x90\xa6\x95"); } // [B1, V3]
14195test { try toAsciiFail("-\xe2\xb4\x9e.-\xf0\x9d\xa9\xa82\xe2\x81\x843\xf0\x90\xa6\x95", false); } // [B1, V3]
14196test { try toAsciiFail("-\xe2\xb4\x9e.-\xf0\x9d\xa9\xa82\xe2\x81\x843\xf0\x90\xa6\x95", true); } // [B1, V3]
14197test { try toUnicodeFail("xn----zws.xn---23-pt0a0433lk3jj"); } // [B1, V3]
14198test { try toAsciiFail("xn----zws.xn---23-pt0a0433lk3jj", false); } // [B1, V3]
14199test { try toAsciiFail("xn----zws.xn---23-pt0a0433lk3jj", true); } // [B1, V3]
14200test { try toUnicodeFail("-\xe2\xb4\x9e.-\xf0\x9d\xa9\xa8\xe2\x85\x94\xf0\x90\xa6\x95"); } // [B1, V3]
14201test { try toAsciiFail("-\xe2\xb4\x9e.-\xf0\x9d\xa9\xa8\xe2\x85\x94\xf0\x90\xa6\x95", false); } // [B1, V3]
14202test { try toAsciiFail("-\xe2\xb4\x9e.-\xf0\x9d\xa9\xa8\xe2\x85\x94\xf0\x90\xa6\x95", true); } // [B1, V3]
14203test { try toUnicodeFail("xn----w1g.xn---23-pt0a0433lk3jj"); } // [B1, V3, V7]
14204test { try toAsciiFail("xn----w1g.xn---23-pt0a0433lk3jj", false); } // [B1, V3, V7]
14205test { try toAsciiFail("xn----w1g.xn---23-pt0a0433lk3jj", true); } // [B1, V3, V7]
14206test { try toUnicodeFail("\xf3\xa7\x88\xaf\xf0\x90\xb9\xaf\xe0\xab\x82\xef\xbd\xa1\xf2\x96\xa2\xa8\xf0\x90\xae\x81\xf1\x87\xbc\x96\xe1\xa1\x82"); } // [B5, B6, V7]
14207test { try toAsciiFail("\xf3\xa7\x88\xaf\xf0\x90\xb9\xaf\xe0\xab\x82\xef\xbd\xa1\xf2\x96\xa2\xa8\xf0\x90\xae\x81\xf1\x87\xbc\x96\xe1\xa1\x82", false); } // [B5, B6, V7]
14208test { try toAsciiFail("\xf3\xa7\x88\xaf\xf0\x90\xb9\xaf\xe0\xab\x82\xef\xbd\xa1\xf2\x96\xa2\xa8\xf0\x90\xae\x81\xf1\x87\xbc\x96\xe1\xa1\x82", true); } // [B5, B6, V7]
14209test { try toUnicodeFail("\xf3\xa7\x88\xaf\xf0\x90\xb9\xaf\xe0\xab\x82\xe3\x80\x82\xf2\x96\xa2\xa8\xf0\x90\xae\x81\xf1\x87\xbc\x96\xe1\xa1\x82"); } // [B5, B6, V7]
14210test { try toAsciiFail("\xf3\xa7\x88\xaf\xf0\x90\xb9\xaf\xe0\xab\x82\xe3\x80\x82\xf2\x96\xa2\xa8\xf0\x90\xae\x81\xf1\x87\xbc\x96\xe1\xa1\x82", false); } // [B5, B6, V7]
14211test { try toAsciiFail("\xf3\xa7\x88\xaf\xf0\x90\xb9\xaf\xe0\xab\x82\xe3\x80\x82\xf2\x96\xa2\xa8\xf0\x90\xae\x81\xf1\x87\xbc\x96\xe1\xa1\x82", true); } // [B5, B6, V7]
14212test { try toUnicodeFail("xn--bfc7604kv8m3g.xn--17e5565jl7zw4h16a"); } // [B5, B6, V7]
14213test { try toAsciiFail("xn--bfc7604kv8m3g.xn--17e5565jl7zw4h16a", false); } // [B5, B6, V7]
14214test { try toAsciiFail("xn--bfc7604kv8m3g.xn--17e5565jl7zw4h16a", true); } // [B5, B6, V7]
14215test { try toUnicodeFail("\xe1\x82\x82-\xe2\x80\x8d\xea\xa3\xaa\xef\xbc\x8e\xea\xa1\x8a\xe2\x80\x8d\xf1\xbc\xb8\xb3"); } // [C2, V6, V7]
14216test { try toAsciiFail("\xe1\x82\x82-\xe2\x80\x8d\xea\xa3\xaa\xef\xbc\x8e\xea\xa1\x8a\xe2\x80\x8d\xf1\xbc\xb8\xb3", false); } // [C2, V6, V7]
14217test { try toAsciiFail("\xe1\x82\x82-\xe2\x80\x8d\xea\xa3\xaa\xef\xbc\x8e\xea\xa1\x8a\xe2\x80\x8d\xf1\xbc\xb8\xb3", true); } // [V6, V7]
14218test { try toUnicodeFail("\xe1\x82\x82-\xe2\x80\x8d\xea\xa3\xaa.\xea\xa1\x8a\xe2\x80\x8d\xf1\xbc\xb8\xb3"); } // [C2, V6, V7]
14219test { try toAsciiFail("\xe1\x82\x82-\xe2\x80\x8d\xea\xa3\xaa.\xea\xa1\x8a\xe2\x80\x8d\xf1\xbc\xb8\xb3", false); } // [C2, V6, V7]
14220test { try toAsciiFail("\xe1\x82\x82-\xe2\x80\x8d\xea\xa3\xaa.\xea\xa1\x8a\xe2\x80\x8d\xf1\xbc\xb8\xb3", true); } // [V6, V7]
14221test { try toUnicodeFail("xn----gyg3618i.xn--jc9ao4185a"); } // [V6, V7]
14222test { try toAsciiFail("xn----gyg3618i.xn--jc9ao4185a", false); } // [V6, V7]
14223test { try toAsciiFail("xn----gyg3618i.xn--jc9ao4185a", true); } // [V6, V7]
14224test { try toUnicodeFail("xn----gyg250jio7k.xn--1ug8774cri56d"); } // [C2, V6, V7]
14225test { try toAsciiFail("xn----gyg250jio7k.xn--1ug8774cri56d", false); } // [C2, V6, V7]
14226test { try toAsciiFail("xn----gyg250jio7k.xn--1ug8774cri56d", true); } // [C2, V6, V7]
14227test { try toUnicodeFail("\xdb\xb1\xe3\x80\x82\xe2\x89\xa0\xd9\xa8"); } // [B1]
14228test { try toAsciiFail("\xdb\xb1\xe3\x80\x82\xe2\x89\xa0\xd9\xa8", false); } // [B1]
14229test { try toAsciiFail("\xdb\xb1\xe3\x80\x82\xe2\x89\xa0\xd9\xa8", true); } // [B1]
14230test { try toUnicodeFail("\xdb\xb1\xe3\x80\x82=\xcc\xb8\xd9\xa8"); } // [B1]
14231test { try toAsciiFail("\xdb\xb1\xe3\x80\x82=\xcc\xb8\xd9\xa8", false); } // [B1]
14232test { try toAsciiFail("\xdb\xb1\xe3\x80\x82=\xcc\xb8\xd9\xa8", true); } // [B1]
14233test { try toUnicodeFail("xn--emb.xn--hib334l"); } // [B1]
14234test { try toAsciiFail("xn--emb.xn--hib334l", false); } // [B1]
14235test { try toAsciiFail("xn--emb.xn--hib334l", true); } // [B1]
14236test { try toUnicodeFail("\xf0\x91\x88\xb5\xe5\xbb\x8a.\xf0\x90\xa0\x8d"); } // [V6]
14237test { try toAsciiFail("\xf0\x91\x88\xb5\xe5\xbb\x8a.\xf0\x90\xa0\x8d", false); } // [V6]
14238test { try toAsciiFail("\xf0\x91\x88\xb5\xe5\xbb\x8a.\xf0\x90\xa0\x8d", true); } // [V6]
14239test { try toUnicodeFail("xn--xytw701b.xn--yc9c"); } // [V6]
14240test { try toAsciiFail("xn--xytw701b.xn--yc9c", false); } // [V6]
14241test { try toAsciiFail("xn--xytw701b.xn--yc9c", true); } // [V6]
14242test { try toUnicodeFail("\xe2\x80\x8d\xcd\x96-\xef\xbc\x8e-\xe1\x82\xb0\xd9\xa1"); } // [B1, C2, V3]
14243test { try toAsciiFail("\xe2\x80\x8d\xcd\x96-\xef\xbc\x8e-\xe1\x82\xb0\xd9\xa1", false); } // [B1, C2, V3]
14244test { try toAsciiFail("\xe2\x80\x8d\xcd\x96-\xef\xbc\x8e-\xe1\x82\xb0\xd9\xa1", true); } // [B1, V3, V6]
14245test { try toUnicodeFail("\xe2\x80\x8d\xcd\x96-.-\xe1\x82\xb0\xd9\xa1"); } // [B1, C2, V3]
14246test { try toAsciiFail("\xe2\x80\x8d\xcd\x96-.-\xe1\x82\xb0\xd9\xa1", false); } // [B1, C2, V3]
14247test { try toAsciiFail("\xe2\x80\x8d\xcd\x96-.-\xe1\x82\xb0\xd9\xa1", true); } // [B1, V3, V6]
14248test { try toUnicodeFail("\xe2\x80\x8d\xcd\x96-.-\xe2\xb4\x90\xd9\xa1"); } // [B1, C2, V3]
14249test { try toAsciiFail("\xe2\x80\x8d\xcd\x96-.-\xe2\xb4\x90\xd9\xa1", false); } // [B1, C2, V3]
14250test { try toAsciiFail("\xe2\x80\x8d\xcd\x96-.-\xe2\xb4\x90\xd9\xa1", true); } // [B1, V3, V6]
14251test { try toUnicodeFail("xn----rgb.xn----bqc2280a"); } // [B1, V3, V6]
14252test { try toAsciiFail("xn----rgb.xn----bqc2280a", false); } // [B1, V3, V6]
14253test { try toAsciiFail("xn----rgb.xn----bqc2280a", true); } // [B1, V3, V6]
14254test { try toUnicodeFail("xn----rgb661t.xn----bqc2280a"); } // [B1, C2, V3]
14255test { try toAsciiFail("xn----rgb661t.xn----bqc2280a", false); } // [B1, C2, V3]
14256test { try toAsciiFail("xn----rgb661t.xn----bqc2280a", true); } // [B1, C2, V3]
14257test { try toUnicodeFail("\xe2\x80\x8d\xcd\x96-\xef\xbc\x8e-\xe2\xb4\x90\xd9\xa1"); } // [B1, C2, V3]
14258test { try toAsciiFail("\xe2\x80\x8d\xcd\x96-\xef\xbc\x8e-\xe2\xb4\x90\xd9\xa1", false); } // [B1, C2, V3]
14259test { try toAsciiFail("\xe2\x80\x8d\xcd\x96-\xef\xbc\x8e-\xe2\xb4\x90\xd9\xa1", true); } // [B1, V3, V6]
14260test { try toUnicodeFail("xn----rgb.xn----bqc030f"); } // [B1, V3, V6, V7]
14261test { try toAsciiFail("xn----rgb.xn----bqc030f", false); } // [B1, V3, V6, V7]
14262test { try toAsciiFail("xn----rgb.xn----bqc030f", true); } // [B1, V3, V6, V7]
14263test { try toUnicodeFail("xn----rgb661t.xn----bqc030f"); } // [B1, C2, V3, V7]
14264test { try toAsciiFail("xn----rgb661t.xn----bqc030f", false); } // [B1, C2, V3, V7]
14265test { try toAsciiFail("xn----rgb661t.xn----bqc030f", true); } // [B1, C2, V3, V7]
14266test { try toUnicodeFail("\xd8\xba\xd9\xa1\xe6\x8c\x8f\xf3\xbe\xaf\x90.-"); } // [B1, B2, B3, V3, V7]
14267test { try toAsciiFail("\xd8\xba\xd9\xa1\xe6\x8c\x8f\xf3\xbe\xaf\x90.-", false); } // [B1, B2, B3, V3, V7]
14268test { try toAsciiFail("\xd8\xba\xd9\xa1\xe6\x8c\x8f\xf3\xbe\xaf\x90.-", true); } // [B1, B2, B3, V3, V7]
14269test { try toUnicodeFail("xn--5gb2f4205aqi47p.-"); } // [B1, B2, B3, V3, V7]
14270test { try toAsciiFail("xn--5gb2f4205aqi47p.-", false); } // [B1, B2, B3, V3, V7]
14271test { try toAsciiFail("xn--5gb2f4205aqi47p.-", true); } // [B1, B2, B3, V3, V7]
14272test { try toUnicodeFail("\xdb\xaf\xef\xbd\xa1\xf0\x90\xb9\xa7\xf0\x9e\xa4\xbd"); } // [B1]
14273test { try toAsciiFail("\xdb\xaf\xef\xbd\xa1\xf0\x90\xb9\xa7\xf0\x9e\xa4\xbd", false); } // [B1]
14274test { try toAsciiFail("\xdb\xaf\xef\xbd\xa1\xf0\x90\xb9\xa7\xf0\x9e\xa4\xbd", true); } // [B1]
14275test { try toUnicodeFail("\xdb\xaf\xe3\x80\x82\xf0\x90\xb9\xa7\xf0\x9e\xa4\xbd"); } // [B1]
14276test { try toAsciiFail("\xdb\xaf\xe3\x80\x82\xf0\x90\xb9\xa7\xf0\x9e\xa4\xbd", false); } // [B1]
14277test { try toAsciiFail("\xdb\xaf\xe3\x80\x82\xf0\x90\xb9\xa7\xf0\x9e\xa4\xbd", true); } // [B1]
14278test { try toUnicodeFail("\xdb\xaf\xe3\x80\x82\xf0\x90\xb9\xa7\xf0\x9e\xa4\x9b"); } // [B1]
14279test { try toAsciiFail("\xdb\xaf\xe3\x80\x82\xf0\x90\xb9\xa7\xf0\x9e\xa4\x9b", false); } // [B1]
14280test { try toAsciiFail("\xdb\xaf\xe3\x80\x82\xf0\x90\xb9\xa7\xf0\x9e\xa4\x9b", true); } // [B1]
14281test { try toUnicodeFail("xn--cmb.xn--fo0dy848a"); } // [B1]
14282test { try toAsciiFail("xn--cmb.xn--fo0dy848a", false); } // [B1]
14283test { try toAsciiFail("xn--cmb.xn--fo0dy848a", true); } // [B1]
14284test { try toUnicodeFail("\xdb\xaf\xef\xbd\xa1\xf0\x90\xb9\xa7\xf0\x9e\xa4\x9b"); } // [B1]
14285test { try toAsciiFail("\xdb\xaf\xef\xbd\xa1\xf0\x90\xb9\xa7\xf0\x9e\xa4\x9b", false); } // [B1]
14286test { try toAsciiFail("\xdb\xaf\xef\xbd\xa1\xf0\x90\xb9\xa7\xf0\x9e\xa4\x9b", true); } // [B1]
14287test { try toUnicodeFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xeb\xa6\xab"); } // [V7]
14288test { try toAsciiFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xeb\xa6\xab", false); } // [V7]
14289test { try toAsciiFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xeb\xa6\xab", true); } // [V7]
14290test { try toUnicodeFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82"); } // [V7]
14291test { try toAsciiFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82", false); } // [V7]
14292test { try toAsciiFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82", true); } // [V7]
14293test { try toUnicodeFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xeb\xa6\xab"); } // [V7]
14294test { try toAsciiFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xeb\xa6\xab", false); } // [V7]
14295test { try toAsciiFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xeb\xa6\xab", true); } // [V7]
14296test { try toUnicodeFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82"); } // [V7]
14297test { try toAsciiFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82", false); } // [V7]
14298test { try toAsciiFail("\xe1\x82\xbe\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82", true); } // [V7]
14299test { try toUnicodeFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82"); } // [V7]
14300test { try toAsciiFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82", false); } // [V7]
14301test { try toAsciiFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82", true); } // [V7]
14302test { try toUnicodeFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xeb\xa6\xab"); } // [V7]
14303test { try toAsciiFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xeb\xa6\xab", false); } // [V7]
14304test { try toAsciiFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb.\xe1\xa2\x97\xeb\xa6\xab", true); } // [V7]
14305test { try toUnicodeFail("xn--mlj0486jgl2j.xn--hbf6853f"); } // [V7]
14306test { try toAsciiFail("xn--mlj0486jgl2j.xn--hbf6853f", false); } // [V7]
14307test { try toAsciiFail("xn--mlj0486jgl2j.xn--hbf6853f", true); } // [V7]
14308test { try toUnicodeFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82"); } // [V7]
14309test { try toAsciiFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82", false); } // [V7]
14310test { try toAsciiFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xe1\x84\x85\xe1\x85\xb4\xe1\x87\x82", true); } // [V7]
14311test { try toUnicodeFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xeb\xa6\xab"); } // [V7]
14312test { try toAsciiFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xeb\xa6\xab", false); } // [V7]
14313test { try toAsciiFail("\xe2\xb4\x9e\xf0\xb6\x9b\x80\xf0\x9b\x97\xbb\xef\xbc\x8e\xe1\xa2\x97\xeb\xa6\xab", true); } // [V7]
14314test { try toUnicodeFail("xn--2nd8876sgl2j.xn--hbf6853f"); } // [V7]
14315test { try toAsciiFail("xn--2nd8876sgl2j.xn--hbf6853f", false); } // [V7]
14316test { try toAsciiFail("xn--2nd8876sgl2j.xn--hbf6853f", true); } // [V7]
14317test { try toUnicodeFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xef\xbd\xa1\xe2\x89\xaf\xe2\x80\x8c\xe1\xb7\xbe"); } // [B1, C1, V7]
14318test { try toAsciiFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xef\xbd\xa1\xe2\x89\xaf\xe2\x80\x8c\xe1\xb7\xbe", false); } // [B1, C1, V7]
14319test { try toAsciiFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xef\xbd\xa1\xe2\x89\xaf\xe2\x80\x8c\xe1\xb7\xbe", true); } // [B1, V7]
14320test { try toUnicodeFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xef\xbd\xa1>\xcc\xb8\xe2\x80\x8c\xe1\xb7\xbe"); } // [B1, C1, V7]
14321test { try toAsciiFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xef\xbd\xa1>\xcc\xb8\xe2\x80\x8c\xe1\xb7\xbe", false); } // [B1, C1, V7]
14322test { try toAsciiFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xef\xbd\xa1>\xcc\xb8\xe2\x80\x8c\xe1\xb7\xbe", true); } // [B1, V7]
14323test { try toUnicodeFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xe3\x80\x82\xe2\x89\xaf\xe2\x80\x8c\xe1\xb7\xbe"); } // [B1, C1, V7]
14324test { try toAsciiFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xe3\x80\x82\xe2\x89\xaf\xe2\x80\x8c\xe1\xb7\xbe", false); } // [B1, C1, V7]
14325test { try toAsciiFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xe3\x80\x82\xe2\x89\xaf\xe2\x80\x8c\xe1\xb7\xbe", true); } // [B1, V7]
14326test { try toUnicodeFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xe3\x80\x82>\xcc\xb8\xe2\x80\x8c\xe1\xb7\xbe"); } // [B1, C1, V7]
14327test { try toAsciiFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xe3\x80\x82>\xcc\xb8\xe2\x80\x8c\xe1\xb7\xbe", false); } // [B1, C1, V7]
14328test { try toAsciiFail("\xf3\xa0\x8e\x83\xf3\x97\xad\x9e\xda\xb7\xf0\x90\xb9\xb7\xe3\x80\x82>\xcc\xb8\xe2\x80\x8c\xe1\xb7\xbe", true); } // [B1, V7]
14329test { try toUnicodeFail("xn--qkb4516kbi06fg2id.xn--zfg31q"); } // [B1, V7]
14330test { try toAsciiFail("xn--qkb4516kbi06fg2id.xn--zfg31q", false); } // [B1, V7]
14331test { try toAsciiFail("xn--qkb4516kbi06fg2id.xn--zfg31q", true); } // [B1, V7]
14332test { try toUnicodeFail("xn--qkb4516kbi06fg2id.xn--zfg59fm0c"); } // [B1, C1, V7]
14333test { try toAsciiFail("xn--qkb4516kbi06fg2id.xn--zfg59fm0c", false); } // [B1, C1, V7]
14334test { try toAsciiFail("xn--qkb4516kbi06fg2id.xn--zfg59fm0c", true); } // [B1, C1, V7]
14335test { try toUnicodeFail("\xe1\x9b\x8e\xf3\xa0\x85\x8d\xf3\xa0\x90\x95\xe2\x80\x8d\xef\xbd\xa1\xf0\x90\xb9\xbe\xf0\x90\xb9\xaa\xf0\x90\xbb\x9d-"); } // [B1, B6, C2, V3, V7]
14336test { try toAsciiFail("\xe1\x9b\x8e\xf3\xa0\x85\x8d\xf3\xa0\x90\x95\xe2\x80\x8d\xef\xbd\xa1\xf0\x90\xb9\xbe\xf0\x90\xb9\xaa\xf0\x90\xbb\x9d-", false); } // [B1, B6, C2, V3, V7]
14337test { try toAsciiFail("\xe1\x9b\x8e\xf3\xa0\x85\x8d\xf3\xa0\x90\x95\xe2\x80\x8d\xef\xbd\xa1\xf0\x90\xb9\xbe\xf0\x90\xb9\xaa\xf0\x90\xbb\x9d-", true); } // [B1, B6, V3, V7]
14338test { try toUnicodeFail("\xe1\x9b\x8e\xf3\xa0\x85\x8d\xf3\xa0\x90\x95\xe2\x80\x8d\xe3\x80\x82\xf0\x90\xb9\xbe\xf0\x90\xb9\xaa\xf0\x90\xbb\x9d-"); } // [B1, B6, C2, V3, V7]
14339test { try toAsciiFail("\xe1\x9b\x8e\xf3\xa0\x85\x8d\xf3\xa0\x90\x95\xe2\x80\x8d\xe3\x80\x82\xf0\x90\xb9\xbe\xf0\x90\xb9\xaa\xf0\x90\xbb\x9d-", false); } // [B1, B6, C2, V3, V7]
14340test { try toAsciiFail("\xe1\x9b\x8e\xf3\xa0\x85\x8d\xf3\xa0\x90\x95\xe2\x80\x8d\xe3\x80\x82\xf0\x90\xb9\xbe\xf0\x90\xb9\xaa\xf0\x90\xbb\x9d-", true); } // [B1, B6, V3, V7]
14341test { try toUnicodeFail("xn--fxe63563p.xn----q26i2bvu"); } // [B1, B6, V3, V7]
14342test { try toAsciiFail("xn--fxe63563p.xn----q26i2bvu", false); } // [B1, B6, V3, V7]
14343test { try toAsciiFail("xn--fxe63563p.xn----q26i2bvu", true); } // [B1, B6, V3, V7]
14344test { try toUnicodeFail("xn--fxe848bq3411a.xn----q26i2bvu"); } // [B1, B6, C2, V3, V7]
14345test { try toAsciiFail("xn--fxe848bq3411a.xn----q26i2bvu", false); } // [B1, B6, C2, V3, V7]
14346test { try toAsciiFail("xn--fxe848bq3411a.xn----q26i2bvu", true); } // [B1, B6, C2, V3, V7]
14347test { try toUnicodeFail("\xf0\x90\xb9\xb6.\xf0\x90\xab\x82"); } // [B1]
14348test { try toAsciiFail("\xf0\x90\xb9\xb6.\xf0\x90\xab\x82", false); } // [B1]
14349test { try toAsciiFail("\xf0\x90\xb9\xb6.\xf0\x90\xab\x82", true); } // [B1]
14350test { try toUnicodeFail("xn--uo0d.xn--rw9c"); } // [B1]
14351test { try toAsciiFail("xn--uo0d.xn--rw9c", false); } // [B1]
14352test { try toAsciiFail("xn--uo0d.xn--rw9c", true); } // [B1]
14353test { try toUnicodeFail("\xc3\x9f\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88"); } // [C2, V7]
14354test { try toAsciiFail("\xc3\x9f\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88", false); } // [C2, V7]
14355test { try toAsciiFail("\xc3\x9f\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88", true); } // [V7]
14356test { try toUnicodeFail("\xc3\x9f\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821."); } // [C2]
14357test { try toAsciiFail("\xc3\x9f\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821.", false); } // [C2, A4_2]
14358test { try toAsciiFail("\xc3\x9f\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821.", true); } // [A4_2]
14359test { try toUnicodeFail("SS\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821."); } // [C2]
14360test { try toAsciiFail("SS\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821.", false); } // [C2, A4_2]
14361test { try toAsciiFail("SS\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821.", true); } // [A4_2]
14362test { try toUnicodeFail("ss\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821."); } // [C2]
14363test { try toAsciiFail("ss\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821.", false); } // [C2, A4_2]
14364test { try toAsciiFail("ss\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821.", true); } // [A4_2]
14365test { try toUnicodeFail("Ss\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821."); } // [C2]
14366test { try toAsciiFail("Ss\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821.", false); } // [C2, A4_2]
14367test { try toAsciiFail("Ss\xe2\x80\x8d\xe1\x80\xba\xe3\x80\x821.", true); } // [A4_2]
14368test { try toUnicodePass("xn--ss-f4j.b.", "ss\xe1\x80\xba.b."); }
14369test { try toAsciiFail("xn--ss-f4j.b.", false); } // [A4_2]
14370test { try toAsciiFail("xn--ss-f4j.b.", true); } // [A4_2]
14371test { try toUnicodePass("ss\xe1\x80\xba.b.", "ss\xe1\x80\xba.b."); }
14372test { try toAsciiFail("ss\xe1\x80\xba.b.", false); } // [A4_2]
14373test { try toAsciiFail("ss\xe1\x80\xba.b.", true); } // [A4_2]
14374test { try toUnicodePass("SS\xe1\x80\xba.B.", "ss\xe1\x80\xba.b."); }
14375test { try toAsciiFail("SS\xe1\x80\xba.B.", false); } // [A4_2]
14376test { try toAsciiFail("SS\xe1\x80\xba.B.", true); } // [A4_2]
14377test { try toUnicodePass("Ss\xe1\x80\xba.b.", "ss\xe1\x80\xba.b."); }
14378test { try toAsciiFail("Ss\xe1\x80\xba.b.", false); } // [A4_2]
14379test { try toAsciiFail("Ss\xe1\x80\xba.b.", true); } // [A4_2]
14380test { try toUnicodeFail("xn--ss-f4j585j.b."); } // [C2]
14381test { try toAsciiFail("xn--ss-f4j585j.b.", false); } // [C2, A4_2]
14382test { try toAsciiFail("xn--ss-f4j585j.b.", true); } // [C2, A4_2]
14383test { try toUnicodeFail("xn--zca679eh2l.b."); } // [C2]
14384test { try toAsciiFail("xn--zca679eh2l.b.", false); } // [C2, A4_2]
14385test { try toAsciiFail("xn--zca679eh2l.b.", true); } // [C2, A4_2]
14386test { try toUnicodeFail("SS\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88"); } // [C2, V7]
14387test { try toAsciiFail("SS\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88", false); } // [C2, V7]
14388test { try toAsciiFail("SS\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88", true); } // [V7]
14389test { try toUnicodeFail("ss\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88"); } // [C2, V7]
14390test { try toAsciiFail("ss\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88", false); } // [C2, V7]
14391test { try toAsciiFail("ss\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88", true); } // [V7]
14392test { try toUnicodeFail("Ss\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88"); } // [C2, V7]
14393test { try toAsciiFail("Ss\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88", false); } // [C2, V7]
14394test { try toAsciiFail("Ss\xe2\x80\x8d\xe1\x80\xba\xef\xbd\xa1\xe2\x92\x88", true); } // [V7]
14395test { try toUnicodeFail("xn--ss-f4j.xn--tsh"); } // [V7]
14396test { try toAsciiFail("xn--ss-f4j.xn--tsh", false); } // [V7]
14397test { try toAsciiFail("xn--ss-f4j.xn--tsh", true); } // [V7]
14398test { try toUnicodeFail("xn--ss-f4j585j.xn--tsh"); } // [C2, V7]
14399test { try toAsciiFail("xn--ss-f4j585j.xn--tsh", false); } // [C2, V7]
14400test { try toAsciiFail("xn--ss-f4j585j.xn--tsh", true); } // [C2, V7]
14401test { try toUnicodeFail("xn--zca679eh2l.xn--tsh"); } // [C2, V7]
14402test { try toAsciiFail("xn--zca679eh2l.xn--tsh", false); } // [C2, V7]
14403test { try toAsciiFail("xn--zca679eh2l.xn--tsh", true); } // [C2, V7]
14404test { try toUnicodePass("SS\xe1\x80\xba.b.", "ss\xe1\x80\xba.b."); }
14405test { try toAsciiFail("SS\xe1\x80\xba.b.", false); } // [A4_2]
14406test { try toAsciiFail("SS\xe1\x80\xba.b.", true); } // [A4_2]
14407test { try toUnicodeFail("\xe0\xad\x8d\xe2\x80\x8c\xf0\x99\xb6\xb5\xf0\x9e\xbb\x98\xe3\x80\x82\xe2\x80\x8d"); } // [B1, C2, V6, V7]
14408test { try toAsciiFail("\xe0\xad\x8d\xe2\x80\x8c\xf0\x99\xb6\xb5\xf0\x9e\xbb\x98\xe3\x80\x82\xe2\x80\x8d", false); } // [B1, C2, V6, V7]
14409test { try toAsciiFail("\xe0\xad\x8d\xe2\x80\x8c\xf0\x99\xb6\xb5\xf0\x9e\xbb\x98\xe3\x80\x82\xe2\x80\x8d", true); } // [B1, V6, V7, A4_2]
14410test { try toUnicodeFail("xn--9ic6417rn4xb."); } // [B1, V6, V7]
14411test { try toAsciiFail("xn--9ic6417rn4xb.", false); } // [B1, V6, V7, A4_2]
14412test { try toAsciiFail("xn--9ic6417rn4xb.", true); } // [B1, V6, V7, A4_2]
14413test { try toUnicodeFail("xn--9ic637hz82z32jc.xn--1ug"); } // [B1, C2, V6, V7]
14414test { try toAsciiFail("xn--9ic637hz82z32jc.xn--1ug", false); } // [B1, C2, V6, V7]
14415test { try toAsciiFail("xn--9ic637hz82z32jc.xn--1ug", true); } // [B1, C2, V6, V7]
14416test { try toUnicodeFail("\xf0\x90\xae\x85\xef\xbd\xa1\xda\xbc\xf0\x9f\x81\x95"); } // [B3]
14417test { try toAsciiFail("\xf0\x90\xae\x85\xef\xbd\xa1\xda\xbc\xf0\x9f\x81\x95", false); } // [B3]
14418test { try toAsciiFail("\xf0\x90\xae\x85\xef\xbd\xa1\xda\xbc\xf0\x9f\x81\x95", true); } // [B3]
14419test { try toUnicodeFail("\xf0\x90\xae\x85\xe3\x80\x82\xda\xbc\xf0\x9f\x81\x95"); } // [B3]
14420test { try toAsciiFail("\xf0\x90\xae\x85\xe3\x80\x82\xda\xbc\xf0\x9f\x81\x95", false); } // [B3]
14421test { try toAsciiFail("\xf0\x90\xae\x85\xe3\x80\x82\xda\xbc\xf0\x9f\x81\x95", true); } // [B3]
14422test { try toUnicodeFail("xn--c29c.xn--vkb8871w"); } // [B3]
14423test { try toAsciiFail("xn--c29c.xn--vkb8871w", false); } // [B3]
14424test { try toAsciiFail("xn--c29c.xn--vkb8871w", true); } // [B3]
14425test { try toUnicodeFail("\xd8\xa0\xe1\x9f\x92\xe3\x80\x82\xf0\x90\xab\x94\xf3\xa0\x80\xa7\xe2\x80\x8c\xf0\x91\x88\xb5"); } // [B2, B3, C1, V7]
14426test { try toAsciiFail("\xd8\xa0\xe1\x9f\x92\xe3\x80\x82\xf0\x90\xab\x94\xf3\xa0\x80\xa7\xe2\x80\x8c\xf0\x91\x88\xb5", false); } // [B2, B3, C1, V7]
14427test { try toAsciiFail("\xd8\xa0\xe1\x9f\x92\xe3\x80\x82\xf0\x90\xab\x94\xf3\xa0\x80\xa7\xe2\x80\x8c\xf0\x91\x88\xb5", true); } // [B2, B3, V7]
14428test { try toUnicodeFail("xn--fgb471g.xn--9w9c29jw3931a"); } // [B2, B3, V7]
14429test { try toAsciiFail("xn--fgb471g.xn--9w9c29jw3931a", false); } // [B2, B3, V7]
14430test { try toAsciiFail("xn--fgb471g.xn--9w9c29jw3931a", true); } // [B2, B3, V7]
14431test { try toUnicodeFail("xn--fgb471g.xn--0ug9853g7verp838a"); } // [B2, B3, C1, V7]
14432test { try toAsciiFail("xn--fgb471g.xn--0ug9853g7verp838a", false); } // [B2, B3, C1, V7]
14433test { try toAsciiFail("xn--fgb471g.xn--0ug9853g7verp838a", true); } // [B2, B3, C1, V7]
14434test { try toUnicodeFail("\xf1\x8b\x89\x95.\xf0\x9e\xa3\x95\xf0\x9e\xa4\x8a"); } // [B1, V6, V7]
14435test { try toAsciiFail("\xf1\x8b\x89\x95.\xf0\x9e\xa3\x95\xf0\x9e\xa4\x8a", false); } // [B1, V6, V7]
14436test { try toAsciiFail("\xf1\x8b\x89\x95.\xf0\x9e\xa3\x95\xf0\x9e\xa4\x8a", true); } // [B1, V6, V7]
14437test { try toUnicodeFail("\xf1\x8b\x89\x95.\xf0\x9e\xa3\x95\xf0\x9e\xa4\xac"); } // [B1, V6, V7]
14438test { try toAsciiFail("\xf1\x8b\x89\x95.\xf0\x9e\xa3\x95\xf0\x9e\xa4\xac", false); } // [B1, V6, V7]
14439test { try toAsciiFail("\xf1\x8b\x89\x95.\xf0\x9e\xa3\x95\xf0\x9e\xa4\xac", true); } // [B1, V6, V7]
14440test { try toUnicodeFail("xn--tf5w.xn--2b6hof"); } // [B1, V6, V7]
14441test { try toAsciiFail("xn--tf5w.xn--2b6hof", false); } // [B1, V6, V7]
14442test { try toAsciiFail("xn--tf5w.xn--2b6hof", true); } // [B1, V6, V7]
14443test { try toUnicodePass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8e\xc3\x9f\xe0\xbe\x84\xf0\x91\x8d\xac", "\xdb\x8c\xf0\x90\xa8\xbf.\xc3\x9f\xe0\xbe\x84\xf0\x91\x8d\xac"); }
14444test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8e\xc3\x9f\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--zca216edt0r", false); }
14445test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8e\xc3\x9f\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", true); }
14446test { try toUnicodePass("\xdb\x8c\xf0\x90\xa8\xbf.\xc3\x9f\xe0\xbe\x84\xf0\x91\x8d\xac", "\xdb\x8c\xf0\x90\xa8\xbf.\xc3\x9f\xe0\xbe\x84\xf0\x91\x8d\xac"); }
14447test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf.\xc3\x9f\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--zca216edt0r", false); }
14448test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf.\xc3\x9f\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", true); }
14449test { try toUnicodePass("\xdb\x8c\xf0\x90\xa8\xbf.SS\xe0\xbe\x84\xf0\x91\x8d\xac", "\xdb\x8c\xf0\x90\xa8\xbf.ss\xe0\xbe\x84\xf0\x91\x8d\xac"); }
14450test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf.SS\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", false); }
14451test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf.SS\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", true); }
14452test { try toUnicodePass("\xdb\x8c\xf0\x90\xa8\xbf.ss\xe0\xbe\x84\xf0\x91\x8d\xac", "\xdb\x8c\xf0\x90\xa8\xbf.ss\xe0\xbe\x84\xf0\x91\x8d\xac"); }
14453test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf.ss\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", false); }
14454test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf.ss\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", true); }
14455test { try toUnicodePass("xn--clb2593k.xn--ss-toj6092t", "\xdb\x8c\xf0\x90\xa8\xbf.ss\xe0\xbe\x84\xf0\x91\x8d\xac"); }
14456test { try toAsciiPass("xn--clb2593k.xn--ss-toj6092t", "xn--clb2593k.xn--ss-toj6092t", false); }
14457test { try toAsciiPass("xn--clb2593k.xn--ss-toj6092t", "xn--clb2593k.xn--ss-toj6092t", true); }
14458test { try toUnicodePass("xn--clb2593k.xn--zca216edt0r", "\xdb\x8c\xf0\x90\xa8\xbf.\xc3\x9f\xe0\xbe\x84\xf0\x91\x8d\xac"); }
14459test { try toAsciiPass("xn--clb2593k.xn--zca216edt0r", "xn--clb2593k.xn--zca216edt0r", false); }
14460test { try toAsciiPass("xn--clb2593k.xn--zca216edt0r", "xn--clb2593k.xn--zca216edt0r", true); }
14461test { try toUnicodePass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8eSS\xe0\xbe\x84\xf0\x91\x8d\xac", "\xdb\x8c\xf0\x90\xa8\xbf.ss\xe0\xbe\x84\xf0\x91\x8d\xac"); }
14462test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8eSS\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", false); }
14463test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8eSS\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", true); }
14464test { try toUnicodePass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8ess\xe0\xbe\x84\xf0\x91\x8d\xac", "\xdb\x8c\xf0\x90\xa8\xbf.ss\xe0\xbe\x84\xf0\x91\x8d\xac"); }
14465test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8ess\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", false); }
14466test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8ess\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", true); }
14467test { try toUnicodePass("\xdb\x8c\xf0\x90\xa8\xbf.Ss\xe0\xbe\x84\xf0\x91\x8d\xac", "\xdb\x8c\xf0\x90\xa8\xbf.ss\xe0\xbe\x84\xf0\x91\x8d\xac"); }
14468test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf.Ss\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", false); }
14469test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf.Ss\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", true); }
14470test { try toUnicodePass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8eSs\xe0\xbe\x84\xf0\x91\x8d\xac", "\xdb\x8c\xf0\x90\xa8\xbf.ss\xe0\xbe\x84\xf0\x91\x8d\xac"); }
14471test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8eSs\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", false); }
14472test { try toAsciiPass("\xdb\x8c\xf0\x90\xa8\xbf\xef\xbc\x8eSs\xe0\xbe\x84\xf0\x91\x8d\xac", "xn--clb2593k.xn--ss-toj6092t", true); }
14473test { try toUnicodeFail("\xf0\x9d\x9f\xa0\xe2\x89\xae\xe2\x80\x8c\xef\xbd\xa1\xf3\xa0\x85\xb1\xe1\x9e\xb4"); } // [C1]
14474test { try toAsciiFail("\xf0\x9d\x9f\xa0\xe2\x89\xae\xe2\x80\x8c\xef\xbd\xa1\xf3\xa0\x85\xb1\xe1\x9e\xb4", false); } // [C1, A4_2]
14475test { try toAsciiFail("\xf0\x9d\x9f\xa0\xe2\x89\xae\xe2\x80\x8c\xef\xbd\xa1\xf3\xa0\x85\xb1\xe1\x9e\xb4", true); } // [A4_2]
14476test { try toUnicodeFail("\xf0\x9d\x9f\xa0<\xcc\xb8\xe2\x80\x8c\xef\xbd\xa1\xf3\xa0\x85\xb1\xe1\x9e\xb4"); } // [C1]
14477test { try toAsciiFail("\xf0\x9d\x9f\xa0<\xcc\xb8\xe2\x80\x8c\xef\xbd\xa1\xf3\xa0\x85\xb1\xe1\x9e\xb4", false); } // [C1, A4_2]
14478test { try toAsciiFail("\xf0\x9d\x9f\xa0<\xcc\xb8\xe2\x80\x8c\xef\xbd\xa1\xf3\xa0\x85\xb1\xe1\x9e\xb4", true); } // [A4_2]
14479test { try toUnicodeFail("8\xe2\x89\xae\xe2\x80\x8c\xe3\x80\x82\xf3\xa0\x85\xb1\xe1\x9e\xb4"); } // [C1]
14480test { try toAsciiFail("8\xe2\x89\xae\xe2\x80\x8c\xe3\x80\x82\xf3\xa0\x85\xb1\xe1\x9e\xb4", false); } // [C1, A4_2]
14481test { try toAsciiFail("8\xe2\x89\xae\xe2\x80\x8c\xe3\x80\x82\xf3\xa0\x85\xb1\xe1\x9e\xb4", true); } // [A4_2]
14482test { try toUnicodeFail("8<\xcc\xb8\xe2\x80\x8c\xe3\x80\x82\xf3\xa0\x85\xb1\xe1\x9e\xb4"); } // [C1]
14483test { try toAsciiFail("8<\xcc\xb8\xe2\x80\x8c\xe3\x80\x82\xf3\xa0\x85\xb1\xe1\x9e\xb4", false); } // [C1, A4_2]
14484test { try toAsciiFail("8<\xcc\xb8\xe2\x80\x8c\xe3\x80\x82\xf3\xa0\x85\xb1\xe1\x9e\xb4", true); } // [A4_2]
14485test { try toUnicodePass("xn--8-ngo.", "8\xe2\x89\xae."); }
14486test { try toAsciiFail("xn--8-ngo.", false); } // [A4_2]
14487test { try toAsciiFail("xn--8-ngo.", true); } // [A4_2]
14488test { try toUnicodePass("8\xe2\x89\xae.", "8\xe2\x89\xae."); }
14489test { try toAsciiFail("8\xe2\x89\xae.", false); } // [A4_2]
14490test { try toAsciiFail("8\xe2\x89\xae.", true); } // [A4_2]
14491test { try toUnicodePass("8<\xcc\xb8.", "8\xe2\x89\xae."); }
14492test { try toAsciiFail("8<\xcc\xb8.", false); } // [A4_2]
14493test { try toAsciiFail("8<\xcc\xb8.", true); } // [A4_2]
14494test { try toUnicodeFail("xn--8-sgn10i."); } // [C1]
14495test { try toAsciiFail("xn--8-sgn10i.", false); } // [C1, A4_2]
14496test { try toAsciiFail("xn--8-sgn10i.", true); } // [C1, A4_2]
14497test { try toUnicodeFail("xn--8-ngo.xn--z3e"); } // [V6, V7]
14498test { try toAsciiFail("xn--8-ngo.xn--z3e", false); } // [V6, V7]
14499test { try toAsciiFail("xn--8-ngo.xn--z3e", true); } // [V6, V7]
14500test { try toUnicodeFail("xn--8-sgn10i.xn--z3e"); } // [C1, V6, V7]
14501test { try toAsciiFail("xn--8-sgn10i.xn--z3e", false); } // [C1, V6, V7]
14502test { try toAsciiFail("xn--8-sgn10i.xn--z3e", true); } // [C1, V6, V7]
14503test { try toUnicodeFail("\xe1\xa2\x95\xe2\x89\xaf\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe1\x82\xa0"); } // [V7]
14504test { try toAsciiFail("\xe1\xa2\x95\xe2\x89\xaf\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe1\x82\xa0", false); } // [V7]
14505test { try toAsciiFail("\xe1\xa2\x95\xe2\x89\xaf\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe1\x82\xa0", true); } // [V7]
14506test { try toUnicodeFail("\xe1\xa2\x95>\xcc\xb8\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe1\x82\xa0"); } // [V7]
14507test { try toAsciiFail("\xe1\xa2\x95>\xcc\xb8\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe1\x82\xa0", false); } // [V7]
14508test { try toAsciiFail("\xe1\xa2\x95>\xcc\xb8\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe1\x82\xa0", true); } // [V7]
14509test { try toUnicodeFail("\xe1\xa2\x95\xe2\x89\xaf\xe3\x80\x82\xf1\x84\x82\xaf.\xe1\x82\xa0"); } // [V7]
14510test { try toAsciiFail("\xe1\xa2\x95\xe2\x89\xaf\xe3\x80\x82\xf1\x84\x82\xaf.\xe1\x82\xa0", false); } // [V7]
14511test { try toAsciiFail("\xe1\xa2\x95\xe2\x89\xaf\xe3\x80\x82\xf1\x84\x82\xaf.\xe1\x82\xa0", true); } // [V7]
14512test { try toUnicodeFail("\xe1\xa2\x95>\xcc\xb8\xe3\x80\x82\xf1\x84\x82\xaf.\xe1\x82\xa0"); } // [V7]
14513test { try toAsciiFail("\xe1\xa2\x95>\xcc\xb8\xe3\x80\x82\xf1\x84\x82\xaf.\xe1\x82\xa0", false); } // [V7]
14514test { try toAsciiFail("\xe1\xa2\x95>\xcc\xb8\xe3\x80\x82\xf1\x84\x82\xaf.\xe1\x82\xa0", true); } // [V7]
14515test { try toUnicodeFail("\xe1\xa2\x95>\xcc\xb8\xe3\x80\x82\xf1\x84\x82\xaf.\xe2\xb4\x80"); } // [V7]
14516test { try toAsciiFail("\xe1\xa2\x95>\xcc\xb8\xe3\x80\x82\xf1\x84\x82\xaf.\xe2\xb4\x80", false); } // [V7]
14517test { try toAsciiFail("\xe1\xa2\x95>\xcc\xb8\xe3\x80\x82\xf1\x84\x82\xaf.\xe2\xb4\x80", true); } // [V7]
14518test { try toUnicodeFail("\xe1\xa2\x95\xe2\x89\xaf\xe3\x80\x82\xf1\x84\x82\xaf.\xe2\xb4\x80"); } // [V7]
14519test { try toAsciiFail("\xe1\xa2\x95\xe2\x89\xaf\xe3\x80\x82\xf1\x84\x82\xaf.\xe2\xb4\x80", false); } // [V7]
14520test { try toAsciiFail("\xe1\xa2\x95\xe2\x89\xaf\xe3\x80\x82\xf1\x84\x82\xaf.\xe2\xb4\x80", true); } // [V7]
14521test { try toUnicodeFail("xn--fbf851c.xn--ko1u.xn--rkj"); } // [V7]
14522test { try toAsciiFail("xn--fbf851c.xn--ko1u.xn--rkj", false); } // [V7]
14523test { try toAsciiFail("xn--fbf851c.xn--ko1u.xn--rkj", true); } // [V7]
14524test { try toUnicodeFail("\xe1\xa2\x95>\xcc\xb8\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe2\xb4\x80"); } // [V7]
14525test { try toAsciiFail("\xe1\xa2\x95>\xcc\xb8\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe2\xb4\x80", false); } // [V7]
14526test { try toAsciiFail("\xe1\xa2\x95>\xcc\xb8\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe2\xb4\x80", true); } // [V7]
14527test { try toUnicodeFail("\xe1\xa2\x95\xe2\x89\xaf\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe2\xb4\x80"); } // [V7]
14528test { try toAsciiFail("\xe1\xa2\x95\xe2\x89\xaf\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe2\xb4\x80", false); } // [V7]
14529test { try toAsciiFail("\xe1\xa2\x95\xe2\x89\xaf\xef\xb8\x92\xf1\x84\x82\xaf\xef\xbc\x8e\xe2\xb4\x80", true); } // [V7]
14530test { try toUnicodeFail("xn--fbf851cq98poxw1a.xn--rkj"); } // [V7]
14531test { try toAsciiFail("xn--fbf851cq98poxw1a.xn--rkj", false); } // [V7]
14532test { try toAsciiFail("xn--fbf851cq98poxw1a.xn--rkj", true); } // [V7]
14533test { try toUnicodeFail("xn--fbf851c.xn--ko1u.xn--7md"); } // [V7]
14534test { try toAsciiFail("xn--fbf851c.xn--ko1u.xn--7md", false); } // [V7]
14535test { try toAsciiFail("xn--fbf851c.xn--ko1u.xn--7md", true); } // [V7]
14536test { try toUnicodeFail("xn--fbf851cq98poxw1a.xn--7md"); } // [V7]
14537test { try toAsciiFail("xn--fbf851cq98poxw1a.xn--7md", false); } // [V7]
14538test { try toAsciiFail("xn--fbf851cq98poxw1a.xn--7md", true); } // [V7]
14539test { try toUnicodeFail("\xe0\xbe\x9f\xef\xbc\x8e-\xe0\xa0\xaa"); } // [V3, V6]
14540test { try toAsciiFail("\xe0\xbe\x9f\xef\xbc\x8e-\xe0\xa0\xaa", false); } // [V3, V6]
14541test { try toAsciiFail("\xe0\xbe\x9f\xef\xbc\x8e-\xe0\xa0\xaa", true); } // [V3, V6]
14542test { try toUnicodeFail("\xe0\xbe\x9f.-\xe0\xa0\xaa"); } // [V3, V6]
14543test { try toAsciiFail("\xe0\xbe\x9f.-\xe0\xa0\xaa", false); } // [V3, V6]
14544test { try toAsciiFail("\xe0\xbe\x9f.-\xe0\xa0\xaa", true); } // [V3, V6]
14545test { try toUnicodeFail("xn--vfd.xn----fhd"); } // [V3, V6]
14546test { try toAsciiFail("xn--vfd.xn----fhd", false); } // [V3, V6]
14547test { try toAsciiFail("xn--vfd.xn----fhd", true); } // [V3, V6]
14548test { try toUnicodeFail("\xe1\xb5\xac\xf3\xa0\x86\xa0\xef\xbc\x8e\xed\x95\x92\xe2\x92\x92\xe2\x92\x88\xf4\x88\x84\xa6"); } // [V7]
14549test { try toAsciiFail("\xe1\xb5\xac\xf3\xa0\x86\xa0\xef\xbc\x8e\xed\x95\x92\xe2\x92\x92\xe2\x92\x88\xf4\x88\x84\xa6", false); } // [V7]
14550test { try toAsciiFail("\xe1\xb5\xac\xf3\xa0\x86\xa0\xef\xbc\x8e\xed\x95\x92\xe2\x92\x92\xe2\x92\x88\xf4\x88\x84\xa6", true); } // [V7]
14551test { try toUnicodeFail("\xe1\xb5\xac\xf3\xa0\x86\xa0\xef\xbc\x8e\xe1\x84\x91\xe1\x85\xb5\xe1\x86\xbd\xe2\x92\x92\xe2\x92\x88\xf4\x88\x84\xa6"); } // [V7]
14552test { try toAsciiFail("\xe1\xb5\xac\xf3\xa0\x86\xa0\xef\xbc\x8e\xe1\x84\x91\xe1\x85\xb5\xe1\x86\xbd\xe2\x92\x92\xe2\x92\x88\xf4\x88\x84\xa6", false); } // [V7]
14553test { try toAsciiFail("\xe1\xb5\xac\xf3\xa0\x86\xa0\xef\xbc\x8e\xe1\x84\x91\xe1\x85\xb5\xe1\x86\xbd\xe2\x92\x92\xe2\x92\x88\xf4\x88\x84\xa6", true); } // [V7]
14554test { try toUnicodeFail("\xe1\xb5\xac\xf3\xa0\x86\xa0.\xed\x95\x9211.1.\xf4\x88\x84\xa6"); } // [V7]
14555test { try toAsciiFail("\xe1\xb5\xac\xf3\xa0\x86\xa0.\xed\x95\x9211.1.\xf4\x88\x84\xa6", false); } // [V7]
14556test { try toAsciiFail("\xe1\xb5\xac\xf3\xa0\x86\xa0.\xed\x95\x9211.1.\xf4\x88\x84\xa6", true); } // [V7]
14557test { try toUnicodeFail("\xe1\xb5\xac\xf3\xa0\x86\xa0.\xe1\x84\x91\xe1\x85\xb5\xe1\x86\xbd11.1.\xf4\x88\x84\xa6"); } // [V7]
14558test { try toAsciiFail("\xe1\xb5\xac\xf3\xa0\x86\xa0.\xe1\x84\x91\xe1\x85\xb5\xe1\x86\xbd11.1.\xf4\x88\x84\xa6", false); } // [V7]
14559test { try toAsciiFail("\xe1\xb5\xac\xf3\xa0\x86\xa0.\xe1\x84\x91\xe1\x85\xb5\xe1\x86\xbd11.1.\xf4\x88\x84\xa6", true); } // [V7]
14560test { try toUnicodeFail("xn--tbg.xn--11-5o7k.1.xn--k469f"); } // [V7]
14561test { try toAsciiFail("xn--tbg.xn--11-5o7k.1.xn--k469f", false); } // [V7]
14562test { try toAsciiFail("xn--tbg.xn--11-5o7k.1.xn--k469f", true); } // [V7]
14563test { try toUnicodeFail("xn--tbg.xn--tsht7586kyts9l"); } // [V7]
14564test { try toAsciiFail("xn--tbg.xn--tsht7586kyts9l", false); } // [V7]
14565test { try toAsciiFail("xn--tbg.xn--tsht7586kyts9l", true); } // [V7]
14566test { try toUnicodeFail("\xcf\x82\xf0\x91\x93\x82\xf0\x90\x8b\xa2\xef\xbc\x8e\xd9\xa8"); } // [B1]
14567test { try toAsciiFail("\xcf\x82\xf0\x91\x93\x82\xf0\x90\x8b\xa2\xef\xbc\x8e\xd9\xa8", false); } // [B1]
14568test { try toAsciiFail("\xcf\x82\xf0\x91\x93\x82\xf0\x90\x8b\xa2\xef\xbc\x8e\xd9\xa8", true); } // [B1]
14569test { try toUnicodeFail("\xcf\x82\xf0\x91\x93\x82\xf0\x90\x8b\xa2.\xd9\xa8"); } // [B1]
14570test { try toAsciiFail("\xcf\x82\xf0\x91\x93\x82\xf0\x90\x8b\xa2.\xd9\xa8", false); } // [B1]
14571test { try toAsciiFail("\xcf\x82\xf0\x91\x93\x82\xf0\x90\x8b\xa2.\xd9\xa8", true); } // [B1]
14572test { try toUnicodeFail("\xce\xa3\xf0\x91\x93\x82\xf0\x90\x8b\xa2.\xd9\xa8"); } // [B1]
14573test { try toAsciiFail("\xce\xa3\xf0\x91\x93\x82\xf0\x90\x8b\xa2.\xd9\xa8", false); } // [B1]
14574test { try toAsciiFail("\xce\xa3\xf0\x91\x93\x82\xf0\x90\x8b\xa2.\xd9\xa8", true); } // [B1]
14575test { try toUnicodeFail("\xcf\x83\xf0\x91\x93\x82\xf0\x90\x8b\xa2.\xd9\xa8"); } // [B1]
14576test { try toAsciiFail("\xcf\x83\xf0\x91\x93\x82\xf0\x90\x8b\xa2.\xd9\xa8", false); } // [B1]
14577test { try toAsciiFail("\xcf\x83\xf0\x91\x93\x82\xf0\x90\x8b\xa2.\xd9\xa8", true); } // [B1]
14578test { try toUnicodeFail("xn--4xa6371khhl.xn--hib"); } // [B1]
14579test { try toAsciiFail("xn--4xa6371khhl.xn--hib", false); } // [B1]
14580test { try toAsciiFail("xn--4xa6371khhl.xn--hib", true); } // [B1]
14581test { try toUnicodeFail("xn--3xa8371khhl.xn--hib"); } // [B1]
14582test { try toAsciiFail("xn--3xa8371khhl.xn--hib", false); } // [B1]
14583test { try toAsciiFail("xn--3xa8371khhl.xn--hib", true); } // [B1]
14584test { try toUnicodeFail("\xce\xa3\xf0\x91\x93\x82\xf0\x90\x8b\xa2\xef\xbc\x8e\xd9\xa8"); } // [B1]
14585test { try toAsciiFail("\xce\xa3\xf0\x91\x93\x82\xf0\x90\x8b\xa2\xef\xbc\x8e\xd9\xa8", false); } // [B1]
14586test { try toAsciiFail("\xce\xa3\xf0\x91\x93\x82\xf0\x90\x8b\xa2\xef\xbc\x8e\xd9\xa8", true); } // [B1]
14587test { try toUnicodeFail("\xcf\x83\xf0\x91\x93\x82\xf0\x90\x8b\xa2\xef\xbc\x8e\xd9\xa8"); } // [B1]
14588test { try toAsciiFail("\xcf\x83\xf0\x91\x93\x82\xf0\x90\x8b\xa2\xef\xbc\x8e\xd9\xa8", false); } // [B1]
14589test { try toAsciiFail("\xcf\x83\xf0\x91\x93\x82\xf0\x90\x8b\xa2\xef\xbc\x8e\xd9\xa8", true); } // [B1]
14590test { try toUnicodeFail("\xea\xa5\x93\xe2\x80\x8c\xf0\x90\x8b\xbb\xe2\x80\x8d.\xe2\xb7\xb8\xf0\x9e\xbf\x84\xf0\x90\xb9\xb2"); } // [B1, B6, C2, V6, V7]
14591test { try toAsciiFail("\xea\xa5\x93\xe2\x80\x8c\xf0\x90\x8b\xbb\xe2\x80\x8d.\xe2\xb7\xb8\xf0\x9e\xbf\x84\xf0\x90\xb9\xb2", false); } // [B1, B6, C2, V6, V7]
14592test { try toAsciiFail("\xea\xa5\x93\xe2\x80\x8c\xf0\x90\x8b\xbb\xe2\x80\x8d.\xe2\xb7\xb8\xf0\x9e\xbf\x84\xf0\x90\xb9\xb2", true); } // [B1, V6, V7]
14593test { try toUnicodeFail("xn--3j9a531o.xn--urju692efj0f"); } // [B1, V6, V7]
14594test { try toAsciiFail("xn--3j9a531o.xn--urju692efj0f", false); } // [B1, V6, V7]
14595test { try toAsciiFail("xn--3j9a531o.xn--urju692efj0f", true); } // [B1, V6, V7]
14596test { try toUnicodeFail("xn--0ugc8356he76c.xn--urju692efj0f"); } // [B1, B6, C2, V6, V7]
14597test { try toAsciiFail("xn--0ugc8356he76c.xn--urju692efj0f", false); } // [B1, B6, C2, V6, V7]
14598test { try toAsciiFail("xn--0ugc8356he76c.xn--urju692efj0f", true); } // [B1, B6, C2, V6, V7]
14599test { try toUnicodeFail("\xe2\x8a\xbc\xe3\x80\x82\xf1\xaa\xa7\x96\xda\x95"); } // [B1, B5, B6, V7]
14600test { try toAsciiFail("\xe2\x8a\xbc\xe3\x80\x82\xf1\xaa\xa7\x96\xda\x95", false); } // [B1, B5, B6, V7]
14601test { try toAsciiFail("\xe2\x8a\xbc\xe3\x80\x82\xf1\xaa\xa7\x96\xda\x95", true); } // [B1, B5, B6, V7]
14602test { try toUnicodeFail("xn--ofh.xn--rjb13118f"); } // [B1, B5, B6, V7]
14603test { try toAsciiFail("xn--ofh.xn--rjb13118f", false); } // [B1, B5, B6, V7]
14604test { try toAsciiFail("xn--ofh.xn--rjb13118f", true); } // [B1, B5, B6, V7]
14605test { try toUnicodeFail("\xf0\x90\xaf\xac\xf1\x96\x8b\x94\xe3\x80\x82\xf3\x9c\xb3\xa5"); } // [B2, B3, V7]
14606test { try toAsciiFail("\xf0\x90\xaf\xac\xf1\x96\x8b\x94\xe3\x80\x82\xf3\x9c\xb3\xa5", false); } // [B2, B3, V7]
14607test { try toAsciiFail("\xf0\x90\xaf\xac\xf1\x96\x8b\x94\xe3\x80\x82\xf3\x9c\xb3\xa5", true); } // [B2, B3, V7]
14608test { try toUnicodeFail("xn--949co370q.xn--7g25e"); } // [B2, B3, V7]
14609test { try toAsciiFail("xn--949co370q.xn--7g25e", false); } // [B2, B3, V7]
14610test { try toAsciiFail("xn--949co370q.xn--7g25e", true); } // [B2, B3, V7]
14611test { try toUnicodeFail("\xd8\x81\xf0\x91\x8d\xa7\xdf\x9d\xe3\x80\x82\xcf\x82\xf2\xac\x8d\x98\xf0\x9f\x80\x9e\xe1\x9e\xb5"); } // [B1, B6, V7]
14612test { try toAsciiFail("\xd8\x81\xf0\x91\x8d\xa7\xdf\x9d\xe3\x80\x82\xcf\x82\xf2\xac\x8d\x98\xf0\x9f\x80\x9e\xe1\x9e\xb5", false); } // [B1, B6, V7]
14613test { try toAsciiFail("\xd8\x81\xf0\x91\x8d\xa7\xdf\x9d\xe3\x80\x82\xcf\x82\xf2\xac\x8d\x98\xf0\x9f\x80\x9e\xe1\x9e\xb5", true); } // [B1, B6, V7]
14614test { try toUnicodeFail("\xd8\x81\xf0\x91\x8d\xa7\xdf\x9d\xe3\x80\x82\xce\xa3\xf2\xac\x8d\x98\xf0\x9f\x80\x9e\xe1\x9e\xb5"); } // [B1, B6, V7]
14615test { try toAsciiFail("\xd8\x81\xf0\x91\x8d\xa7\xdf\x9d\xe3\x80\x82\xce\xa3\xf2\xac\x8d\x98\xf0\x9f\x80\x9e\xe1\x9e\xb5", false); } // [B1, B6, V7]
14616test { try toAsciiFail("\xd8\x81\xf0\x91\x8d\xa7\xdf\x9d\xe3\x80\x82\xce\xa3\xf2\xac\x8d\x98\xf0\x9f\x80\x9e\xe1\x9e\xb5", true); } // [B1, B6, V7]
14617test { try toUnicodeFail("\xd8\x81\xf0\x91\x8d\xa7\xdf\x9d\xe3\x80\x82\xcf\x83\xf2\xac\x8d\x98\xf0\x9f\x80\x9e\xe1\x9e\xb5"); } // [B1, B6, V7]
14618test { try toAsciiFail("\xd8\x81\xf0\x91\x8d\xa7\xdf\x9d\xe3\x80\x82\xcf\x83\xf2\xac\x8d\x98\xf0\x9f\x80\x9e\xe1\x9e\xb5", false); } // [B1, B6, V7]
14619test { try toAsciiFail("\xd8\x81\xf0\x91\x8d\xa7\xdf\x9d\xe3\x80\x82\xcf\x83\xf2\xac\x8d\x98\xf0\x9f\x80\x9e\xe1\x9e\xb5", true); } // [B1, B6, V7]
14620test { try toUnicodeFail("xn--jfb66gt010c.xn--4xa0023w4nq4c"); } // [B1, B6, V7]
14621test { try toAsciiFail("xn--jfb66gt010c.xn--4xa0023w4nq4c", false); } // [B1, B6, V7]
14622test { try toAsciiFail("xn--jfb66gt010c.xn--4xa0023w4nq4c", true); } // [B1, B6, V7]
14623test { try toUnicodeFail("xn--jfb66gt010c.xn--3xa2023w4nq4c"); } // [B1, B6, V7]
14624test { try toAsciiFail("xn--jfb66gt010c.xn--3xa2023w4nq4c", false); } // [B1, B6, V7]
14625test { try toAsciiFail("xn--jfb66gt010c.xn--3xa2023w4nq4c", true); } // [B1, B6, V7]
14626test { try toUnicodeFail("xn--jfb66gt010c.xn--4xa623h9p95ars26d"); } // [B1, B6, V7]
14627test { try toAsciiFail("xn--jfb66gt010c.xn--4xa623h9p95ars26d", false); } // [B1, B6, V7]
14628test { try toAsciiFail("xn--jfb66gt010c.xn--4xa623h9p95ars26d", true); } // [B1, B6, V7]
14629test { try toUnicodeFail("xn--jfb66gt010c.xn--3xa823h9p95ars26d"); } // [B1, B6, V7]
14630test { try toAsciiFail("xn--jfb66gt010c.xn--3xa823h9p95ars26d", false); } // [B1, B6, V7]
14631test { try toAsciiFail("xn--jfb66gt010c.xn--3xa823h9p95ars26d", true); } // [B1, B6, V7]
14632test { try toUnicodeFail("-\xf0\x90\xb3\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad\xf0\x9d\x9f\xa5"); } // [B1, V3, V6, V7]
14633test { try toAsciiFail("-\xf0\x90\xb3\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad\xf0\x9d\x9f\xa5", false); } // [B1, V3, V6, V7]
14634test { try toAsciiFail("-\xf0\x90\xb3\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad\xf0\x9d\x9f\xa5", true); } // [B1, V3, V6, V7]
14635test { try toUnicodeFail("-\xf0\x90\xb3\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad3"); } // [B1, V3, V6, V7]
14636test { try toAsciiFail("-\xf0\x90\xb3\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad3", false); } // [B1, V3, V6, V7]
14637test { try toAsciiFail("-\xf0\x90\xb3\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad3", true); } // [B1, V3, V6, V7]
14638test { try toUnicodeFail("-\xf0\x90\xb2\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad3"); } // [B1, V3, V6, V7]
14639test { try toAsciiFail("-\xf0\x90\xb2\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad3", false); } // [B1, V3, V6, V7]
14640test { try toAsciiFail("-\xf0\x90\xb2\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad3", true); } // [B1, V3, V6, V7]
14641test { try toUnicodeFail("xn----roc5482rek10i.xn--3-zw5e"); } // [B1, V3, V6, V7]
14642test { try toAsciiFail("xn----roc5482rek10i.xn--3-zw5e", false); } // [B1, V3, V6, V7]
14643test { try toAsciiFail("xn----roc5482rek10i.xn--3-zw5e", true); } // [B1, V3, V6, V7]
14644test { try toUnicodeFail("-\xf0\x90\xb2\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad\xf0\x9d\x9f\xa5"); } // [B1, V3, V6, V7]
14645test { try toAsciiFail("-\xf0\x90\xb2\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad\xf0\x9d\x9f\xa5", false); } // [B1, V3, V6, V7]
14646test { try toAsciiFail("-\xf0\x90\xb2\xb2\xd9\x86\xf3\xa0\xba\x90\xe3\x80\x82\xea\xaf\xad\xf0\x9d\x9f\xa5", true); } // [B1, V3, V6, V7]
14647test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xef\xbd\xa1\xf1\xb2\xa8\x95\xe2\x89\xae\xf0\x90\xa6\x9c"); } // [B1, B5, B6, C1, V7]
14648test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xef\xbd\xa1\xf1\xb2\xa8\x95\xe2\x89\xae\xf0\x90\xa6\x9c", false); } // [B1, B5, B6, C1, V7]
14649test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xef\xbd\xa1\xf1\xb2\xa8\x95\xe2\x89\xae\xf0\x90\xa6\x9c", true); } // [B1, B5, B6, V7]
14650test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xef\xbd\xa1\xf1\xb2\xa8\x95<\xcc\xb8\xf0\x90\xa6\x9c"); } // [B1, B5, B6, C1, V7]
14651test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xef\xbd\xa1\xf1\xb2\xa8\x95<\xcc\xb8\xf0\x90\xa6\x9c", false); } // [B1, B5, B6, C1, V7]
14652test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xef\xbd\xa1\xf1\xb2\xa8\x95<\xcc\xb8\xf0\x90\xa6\x9c", true); } // [B1, B5, B6, V7]
14653test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xe3\x80\x82\xf1\xb2\xa8\x95\xe2\x89\xae\xf0\x90\xa6\x9c"); } // [B1, B5, B6, C1, V7]
14654test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xe3\x80\x82\xf1\xb2\xa8\x95\xe2\x89\xae\xf0\x90\xa6\x9c", false); } // [B1, B5, B6, C1, V7]
14655test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xe3\x80\x82\xf1\xb2\xa8\x95\xe2\x89\xae\xf0\x90\xa6\x9c", true); } // [B1, B5, B6, V7]
14656test { try toUnicodeFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xe3\x80\x82\xf1\xb2\xa8\x95<\xcc\xb8\xf0\x90\xa6\x9c"); } // [B1, B5, B6, C1, V7]
14657test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xe3\x80\x82\xf1\xb2\xa8\x95<\xcc\xb8\xf0\x90\xa6\x9c", false); } // [B1, B5, B6, C1, V7]
14658test { try toAsciiFail("\xe2\x80\x8c\xf3\xa0\xb4\xa6\xe3\x80\x82\xf1\xb2\xa8\x95<\xcc\xb8\xf0\x90\xa6\x9c", true); } // [B1, B5, B6, V7]
14659test { try toUnicodeFail("xn--6v56e.xn--gdhz712gzlr6b"); } // [B1, B5, B6, V7]
14660test { try toAsciiFail("xn--6v56e.xn--gdhz712gzlr6b", false); } // [B1, B5, B6, V7]
14661test { try toAsciiFail("xn--6v56e.xn--gdhz712gzlr6b", true); } // [B1, B5, B6, V7]
14662test { try toUnicodeFail("xn--0ug22251l.xn--gdhz712gzlr6b"); } // [B1, B5, B6, C1, V7]
14663test { try toAsciiFail("xn--0ug22251l.xn--gdhz712gzlr6b", false); } // [B1, B5, B6, C1, V7]
14664test { try toAsciiFail("xn--0ug22251l.xn--gdhz712gzlr6b", true); } // [B1, B5, B6, C1, V7]
14665test { try toUnicodeFail("\xe2\x92\x88\xe2\x9c\x8c\xf2\x9f\xac\x9f\xef\xbc\x8e\xf0\x9d\x9f\xa1\xf1\xa0\xb1\xa3"); } // [V7]
14666test { try toAsciiFail("\xe2\x92\x88\xe2\x9c\x8c\xf2\x9f\xac\x9f\xef\xbc\x8e\xf0\x9d\x9f\xa1\xf1\xa0\xb1\xa3", false); } // [V7]
14667test { try toAsciiFail("\xe2\x92\x88\xe2\x9c\x8c\xf2\x9f\xac\x9f\xef\xbc\x8e\xf0\x9d\x9f\xa1\xf1\xa0\xb1\xa3", true); } // [V7]
14668test { try toUnicodeFail("1.\xe2\x9c\x8c\xf2\x9f\xac\x9f.9\xf1\xa0\xb1\xa3"); } // [V7]
14669test { try toAsciiFail("1.\xe2\x9c\x8c\xf2\x9f\xac\x9f.9\xf1\xa0\xb1\xa3", false); } // [V7]
14670test { try toAsciiFail("1.\xe2\x9c\x8c\xf2\x9f\xac\x9f.9\xf1\xa0\xb1\xa3", true); } // [V7]
14671test { try toUnicodeFail("1.xn--7bi44996f.xn--9-o706d"); } // [V7]
14672test { try toAsciiFail("1.xn--7bi44996f.xn--9-o706d", false); } // [V7]
14673test { try toAsciiFail("1.xn--7bi44996f.xn--9-o706d", true); } // [V7]
14674test { try toUnicodeFail("xn--tsh24g49550b.xn--9-o706d"); } // [V7]
14675test { try toAsciiFail("xn--tsh24g49550b.xn--9-o706d", false); } // [V7]
14676test { try toAsciiFail("xn--tsh24g49550b.xn--9-o706d", true); } // [V7]
14677test { try toUnicodeFail("\xf0\x91\x86\xbe\xf0\x9e\xa4\xac\xf0\x90\xae\x86.\xd9\xa6\xe1\xb7\x94"); } // [B1, V6]
14678test { try toAsciiFail("\xf0\x91\x86\xbe\xf0\x9e\xa4\xac\xf0\x90\xae\x86.\xd9\xa6\xe1\xb7\x94", false); } // [B1, V6]
14679test { try toAsciiFail("\xf0\x91\x86\xbe\xf0\x9e\xa4\xac\xf0\x90\xae\x86.\xd9\xa6\xe1\xb7\x94", true); } // [B1, V6]
14680test { try toUnicodeFail("\xf0\x91\x86\xbe\xf0\x9e\xa4\x8a\xf0\x90\xae\x86.\xd9\xa6\xe1\xb7\x94"); } // [B1, V6]
14681test { try toAsciiFail("\xf0\x91\x86\xbe\xf0\x9e\xa4\x8a\xf0\x90\xae\x86.\xd9\xa6\xe1\xb7\x94", false); } // [B1, V6]
14682test { try toAsciiFail("\xf0\x91\x86\xbe\xf0\x9e\xa4\x8a\xf0\x90\xae\x86.\xd9\xa6\xe1\xb7\x94", true); } // [B1, V6]
14683test { try toUnicodeFail("xn--d29c79hf98r.xn--fib011j"); } // [B1, V6]
14684test { try toAsciiFail("xn--d29c79hf98r.xn--fib011j", false); } // [B1, V6]
14685test { try toAsciiFail("xn--d29c79hf98r.xn--fib011j", true); } // [B1, V6]
14686test { try toUnicodeFail("\xcf\x82\xef\xbc\x8e\xea\xa7\x80\xea\xa3\x84"); } // [V6]
14687test { try toAsciiFail("\xcf\x82\xef\xbc\x8e\xea\xa7\x80\xea\xa3\x84", false); } // [V6]
14688test { try toAsciiFail("\xcf\x82\xef\xbc\x8e\xea\xa7\x80\xea\xa3\x84", true); } // [V6]
14689test { try toUnicodeFail("\xcf\x82.\xea\xa7\x80\xea\xa3\x84"); } // [V6]
14690test { try toAsciiFail("\xcf\x82.\xea\xa7\x80\xea\xa3\x84", false); } // [V6]
14691test { try toAsciiFail("\xcf\x82.\xea\xa7\x80\xea\xa3\x84", true); } // [V6]
14692test { try toUnicodeFail("\xce\xa3.\xea\xa7\x80\xea\xa3\x84"); } // [V6]
14693test { try toAsciiFail("\xce\xa3.\xea\xa7\x80\xea\xa3\x84", false); } // [V6]
14694test { try toAsciiFail("\xce\xa3.\xea\xa7\x80\xea\xa3\x84", true); } // [V6]
14695test { try toUnicodeFail("\xcf\x83.\xea\xa7\x80\xea\xa3\x84"); } // [V6]
14696test { try toAsciiFail("\xcf\x83.\xea\xa7\x80\xea\xa3\x84", false); } // [V6]
14697test { try toAsciiFail("\xcf\x83.\xea\xa7\x80\xea\xa3\x84", true); } // [V6]
14698test { try toUnicodeFail("xn--4xa.xn--0f9ars"); } // [V6]
14699test { try toAsciiFail("xn--4xa.xn--0f9ars", false); } // [V6]
14700test { try toAsciiFail("xn--4xa.xn--0f9ars", true); } // [V6]
14701test { try toUnicodeFail("xn--3xa.xn--0f9ars"); } // [V6]
14702test { try toAsciiFail("xn--3xa.xn--0f9ars", false); } // [V6]
14703test { try toAsciiFail("xn--3xa.xn--0f9ars", true); } // [V6]
14704test { try toUnicodeFail("\xce\xa3\xef\xbc\x8e\xea\xa7\x80\xea\xa3\x84"); } // [V6]
14705test { try toAsciiFail("\xce\xa3\xef\xbc\x8e\xea\xa7\x80\xea\xa3\x84", false); } // [V6]
14706test { try toAsciiFail("\xce\xa3\xef\xbc\x8e\xea\xa7\x80\xea\xa3\x84", true); } // [V6]
14707test { try toUnicodeFail("\xcf\x83\xef\xbc\x8e\xea\xa7\x80\xea\xa3\x84"); } // [V6]
14708test { try toAsciiFail("\xcf\x83\xef\xbc\x8e\xea\xa7\x80\xea\xa3\x84", false); } // [V6]
14709test { try toAsciiFail("\xcf\x83\xef\xbc\x8e\xea\xa7\x80\xea\xa3\x84", true); } // [V6]
14710test { try toUnicodeFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb3\x90\xef\xbc\x8e\xe0\xa1\x9b"); } // [B1, C1, V6]
14711test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb3\x90\xef\xbc\x8e\xe0\xa1\x9b", false); } // [B1, C1, V6]
14712test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb3\x90\xef\xbc\x8e\xe0\xa1\x9b", true); } // [B1, V6]
14713test { try toUnicodeFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb3\x90\xef\xbc\x8e\xe0\xa1\x9b"); } // [B1, C1, V6]
14714test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb3\x90\xef\xbc\x8e\xe0\xa1\x9b", false); } // [B1, C1, V6]
14715test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb3\x90\xef\xbc\x8e\xe0\xa1\x9b", true); } // [B1, V6]
14716test { try toUnicodeFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb3\x90.\xe0\xa1\x9b"); } // [B1, C1, V6]
14717test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb3\x90.\xe0\xa1\x9b", false); } // [B1, C1, V6]
14718test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb3\x90.\xe0\xa1\x9b", true); } // [B1, V6]
14719test { try toUnicodeFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb3\x90.\xe0\xa1\x9b"); } // [B1, C1, V6]
14720test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb3\x90.\xe0\xa1\x9b", false); } // [B1, C1, V6]
14721test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb3\x90.\xe0\xa1\x9b", true); } // [B1, V6]
14722test { try toUnicodeFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb2\x90.\xe0\xa1\x9b"); } // [B1, C1, V6]
14723test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb2\x90.\xe0\xa1\x9b", false); } // [B1, C1, V6]
14724test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb2\x90.\xe0\xa1\x9b", true); } // [B1, V6]
14725test { try toUnicodeFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb2\x90.\xe0\xa1\x9b"); } // [B1, C1, V6]
14726test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb2\x90.\xe0\xa1\x9b", false); } // [B1, C1, V6]
14727test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb2\x90.\xe0\xa1\x9b", true); } // [B1, V6]
14728test { try toUnicodeFail("xn--hdhz343g3wj.xn--qwb"); } // [B1, V6]
14729test { try toAsciiFail("xn--hdhz343g3wj.xn--qwb", false); } // [B1, V6]
14730test { try toAsciiFail("xn--hdhz343g3wj.xn--qwb", true); } // [B1, V6]
14731test { try toUnicodeFail("xn--0ug06g7697ap4ma.xn--qwb"); } // [B1, C1, V6]
14732test { try toAsciiFail("xn--0ug06g7697ap4ma.xn--qwb", false); } // [B1, C1, V6]
14733test { try toAsciiFail("xn--0ug06g7697ap4ma.xn--qwb", true); } // [B1, C1, V6]
14734test { try toUnicodeFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb2\x90\xef\xbc\x8e\xe0\xa1\x9b"); } // [B1, C1, V6]
14735test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb2\x90\xef\xbc\x8e\xe0\xa1\x9b", false); } // [B1, C1, V6]
14736test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c>\xcc\xb8\xf0\x90\xb2\x90\xef\xbc\x8e\xe0\xa1\x9b", true); } // [B1, V6]
14737test { try toUnicodeFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb2\x90\xef\xbc\x8e\xe0\xa1\x9b"); } // [B1, C1, V6]
14738test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb2\x90\xef\xbc\x8e\xe0\xa1\x9b", false); } // [B1, C1, V6]
14739test { try toAsciiFail("\xf0\x91\xb0\xb6\xe2\x80\x8c\xe2\x89\xaf\xf0\x90\xb2\x90\xef\xbc\x8e\xe0\xa1\x9b", true); } // [B1, V6]
14740test { try toUnicodePass("\xe7\xbe\x9a\xef\xbd\xa1\xe2\x89\xaf", "\xe7\xbe\x9a.\xe2\x89\xaf"); }
14741test { try toAsciiPass("\xe7\xbe\x9a\xef\xbd\xa1\xe2\x89\xaf", "xn--xt0a.xn--hdh", false); }
14742test { try toAsciiPass("\xe7\xbe\x9a\xef\xbd\xa1\xe2\x89\xaf", "xn--xt0a.xn--hdh", true); }
14743test { try toUnicodePass("\xe7\xbe\x9a\xef\xbd\xa1>\xcc\xb8", "\xe7\xbe\x9a.\xe2\x89\xaf"); }
14744test { try toAsciiPass("\xe7\xbe\x9a\xef\xbd\xa1>\xcc\xb8", "xn--xt0a.xn--hdh", false); }
14745test { try toAsciiPass("\xe7\xbe\x9a\xef\xbd\xa1>\xcc\xb8", "xn--xt0a.xn--hdh", true); }
14746test { try toUnicodePass("\xe7\xbe\x9a\xe3\x80\x82\xe2\x89\xaf", "\xe7\xbe\x9a.\xe2\x89\xaf"); }
14747test { try toAsciiPass("\xe7\xbe\x9a\xe3\x80\x82\xe2\x89\xaf", "xn--xt0a.xn--hdh", false); }
14748test { try toAsciiPass("\xe7\xbe\x9a\xe3\x80\x82\xe2\x89\xaf", "xn--xt0a.xn--hdh", true); }
14749test { try toUnicodePass("\xe7\xbe\x9a\xe3\x80\x82>\xcc\xb8", "\xe7\xbe\x9a.\xe2\x89\xaf"); }
14750test { try toAsciiPass("\xe7\xbe\x9a\xe3\x80\x82>\xcc\xb8", "xn--xt0a.xn--hdh", false); }
14751test { try toAsciiPass("\xe7\xbe\x9a\xe3\x80\x82>\xcc\xb8", "xn--xt0a.xn--hdh", true); }
14752test { try toUnicodePass("xn--xt0a.xn--hdh", "\xe7\xbe\x9a.\xe2\x89\xaf"); }
14753test { try toAsciiPass("xn--xt0a.xn--hdh", "xn--xt0a.xn--hdh", false); }
14754test { try toAsciiPass("xn--xt0a.xn--hdh", "xn--xt0a.xn--hdh", true); }
14755test { try toUnicodePass("\xe7\xbe\x9a.\xe2\x89\xaf", "\xe7\xbe\x9a.\xe2\x89\xaf"); }
14756test { try toAsciiPass("\xe7\xbe\x9a.\xe2\x89\xaf", "xn--xt0a.xn--hdh", false); }
14757test { try toAsciiPass("\xe7\xbe\x9a.\xe2\x89\xaf", "xn--xt0a.xn--hdh", true); }
14758test { try toUnicodePass("\xe7\xbe\x9a.>\xcc\xb8", "\xe7\xbe\x9a.\xe2\x89\xaf"); }
14759test { try toAsciiPass("\xe7\xbe\x9a.>\xcc\xb8", "xn--xt0a.xn--hdh", false); }
14760test { try toAsciiPass("\xe7\xbe\x9a.>\xcc\xb8", "xn--xt0a.xn--hdh", true); }
14761test { try toUnicodeFail("\xf0\x91\x93\x82\xe1\x9d\x99\xef\xbc\x8e\xe0\xa2\xa8"); } // [B1, V6, V7]
14762test { try toAsciiFail("\xf0\x91\x93\x82\xe1\x9d\x99\xef\xbc\x8e\xe0\xa2\xa8", false); } // [B1, V6, V7]
14763test { try toAsciiFail("\xf0\x91\x93\x82\xe1\x9d\x99\xef\xbc\x8e\xe0\xa2\xa8", true); } // [B1, V6, V7]
14764test { try toUnicodeFail("\xf0\x91\x93\x82\xe1\x9d\x99.\xe0\xa2\xa8"); } // [B1, V6, V7]
14765test { try toAsciiFail("\xf0\x91\x93\x82\xe1\x9d\x99.\xe0\xa2\xa8", false); } // [B1, V6, V7]
14766test { try toAsciiFail("\xf0\x91\x93\x82\xe1\x9d\x99.\xe0\xa2\xa8", true); } // [B1, V6, V7]
14767test { try toUnicodeFail("xn--e1e9580k.xn--xyb"); } // [B1, V6, V7]
14768test { try toAsciiFail("xn--e1e9580k.xn--xyb", false); } // [B1, V6, V7]
14769test { try toAsciiFail("xn--e1e9580k.xn--xyb", true); } // [B1, V6, V7]
14770test { try toUnicodeFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xef\xbd\xa1\xd9\xa3\xd2\xa0\xe1\x83\x80\xf0\x9d\x9f\x91"); } // [B1, B6, C2, V7]
14771test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xef\xbd\xa1\xd9\xa3\xd2\xa0\xe1\x83\x80\xf0\x9d\x9f\x91", false); } // [B1, B6, C2, V7]
14772test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xef\xbd\xa1\xd9\xa3\xd2\xa0\xe1\x83\x80\xf0\x9d\x9f\x91", true); } // [B1, V7]
14773test { try toUnicodeFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xe3\x80\x82\xd9\xa3\xd2\xa0\xe1\x83\x803"); } // [B1, B6, C2, V7]
14774test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xe3\x80\x82\xd9\xa3\xd2\xa0\xe1\x83\x803", false); } // [B1, B6, C2, V7]
14775test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xe3\x80\x82\xd9\xa3\xd2\xa0\xe1\x83\x803", true); } // [B1, V7]
14776test { try toUnicodeFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xe3\x80\x82\xd9\xa3\xd2\xa1\xe2\xb4\xa03"); } // [B1, B6, C2, V7]
14777test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xe3\x80\x82\xd9\xa3\xd2\xa1\xe2\xb4\xa03", false); } // [B1, B6, C2, V7]
14778test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xe3\x80\x82\xd9\xa3\xd2\xa1\xe2\xb4\xa03", true); } // [B1, V7]
14779test { try toUnicodeFail("xn--1r19e.xn--3-ozb36ko13f"); } // [B1, V7]
14780test { try toAsciiFail("xn--1r19e.xn--3-ozb36ko13f", false); } // [B1, V7]
14781test { try toAsciiFail("xn--1r19e.xn--3-ozb36ko13f", true); } // [B1, V7]
14782test { try toUnicodeFail("xn--1ug89936l.xn--3-ozb36ko13f"); } // [B1, B6, C2, V7]
14783test { try toAsciiFail("xn--1ug89936l.xn--3-ozb36ko13f", false); } // [B1, B6, C2, V7]
14784test { try toAsciiFail("xn--1ug89936l.xn--3-ozb36ko13f", true); } // [B1, B6, C2, V7]
14785test { try toUnicodeFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xef\xbd\xa1\xd9\xa3\xd2\xa1\xe2\xb4\xa0\xf0\x9d\x9f\x91"); } // [B1, B6, C2, V7]
14786test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xef\xbd\xa1\xd9\xa3\xd2\xa1\xe2\xb4\xa0\xf0\x9d\x9f\x91", false); } // [B1, B6, C2, V7]
14787test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xef\xbd\xa1\xd9\xa3\xd2\xa1\xe2\xb4\xa0\xf0\x9d\x9f\x91", true); } // [B1, V7]
14788test { try toUnicodeFail("xn--1r19e.xn--3-ozb36kixu"); } // [B1, V7]
14789test { try toAsciiFail("xn--1r19e.xn--3-ozb36kixu", false); } // [B1, V7]
14790test { try toAsciiFail("xn--1r19e.xn--3-ozb36kixu", true); } // [B1, V7]
14791test { try toUnicodeFail("xn--1ug89936l.xn--3-ozb36kixu"); } // [B1, B6, C2, V7]
14792test { try toAsciiFail("xn--1ug89936l.xn--3-ozb36kixu", false); } // [B1, B6, C2, V7]
14793test { try toAsciiFail("xn--1ug89936l.xn--3-ozb36kixu", true); } // [B1, B6, C2, V7]
14794test { try toUnicodeFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xe3\x80\x82\xd9\xa3\xd2\xa0\xe2\xb4\xa03"); } // [B1, B6, C2, V7]
14795test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xe3\x80\x82\xd9\xa3\xd2\xa0\xe2\xb4\xa03", false); } // [B1, B6, C2, V7]
14796test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xe3\x80\x82\xd9\xa3\xd2\xa0\xe2\xb4\xa03", true); } // [B1, V7]
14797test { try toUnicodeFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xef\xbd\xa1\xd9\xa3\xd2\xa0\xe2\xb4\xa0\xf0\x9d\x9f\x91"); } // [B1, B6, C2, V7]
14798test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xef\xbd\xa1\xd9\xa3\xd2\xa0\xe2\xb4\xa0\xf0\x9d\x9f\x91", false); } // [B1, B6, C2, V7]
14799test { try toAsciiFail("\xf3\xa8\xa3\xbf\xf3\xa0\x87\x80\xe2\x80\x8d\xef\xbd\xa1\xd9\xa3\xd2\xa0\xe2\xb4\xa0\xf0\x9d\x9f\x91", true); } // [B1, V7]
14800test { try toUnicodeFail("\xe1\xa1\xb7\xe3\x80\x82\xf0\x90\xb9\xa2\xe0\xa3\xa0"); } // [B1]
14801test { try toAsciiFail("\xe1\xa1\xb7\xe3\x80\x82\xf0\x90\xb9\xa2\xe0\xa3\xa0", false); } // [B1]
14802test { try toAsciiFail("\xe1\xa1\xb7\xe3\x80\x82\xf0\x90\xb9\xa2\xe0\xa3\xa0", true); } // [B1]
14803test { try toUnicodeFail("xn--k9e.xn--j0b5005k"); } // [B1]
14804test { try toAsciiFail("xn--k9e.xn--j0b5005k", false); } // [B1]
14805test { try toAsciiFail("xn--k9e.xn--j0b5005k", true); } // [B1]
14806test { try toUnicodeFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92\xc3\x9f"); } // [B1, V7]
14807test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92\xc3\x9f", false); } // [B1, V7]
14808test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92\xc3\x9f", true); } // [B1, V7]
14809test { try toUnicodeFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92\xc3\x9f"); } // [B1, V7]
14810test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92\xc3\x9f", false); } // [B1, V7]
14811test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92\xc3\x9f", true); } // [B1, V7]
14812test { try toUnicodeFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92SS"); } // [B1, V7]
14813test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92SS", false); } // [B1, V7]
14814test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92SS", true); } // [B1, V7]
14815test { try toUnicodeFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92ss"); } // [B1, V7]
14816test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92ss", false); } // [B1, V7]
14817test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92ss", true); } // [B1, V7]
14818test { try toUnicodeFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92Ss"); } // [B1, V7]
14819test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92Ss", false); } // [B1, V7]
14820test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xe3\x80\x82\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92Ss", true); } // [B1, V7]
14821test { try toUnicodeFail("xn--1zf58212h.xn--ss-pyd459o3258m"); } // [B1, V7]
14822test { try toAsciiFail("xn--1zf58212h.xn--ss-pyd459o3258m", false); } // [B1, V7]
14823test { try toAsciiFail("xn--1zf58212h.xn--ss-pyd459o3258m", true); } // [B1, V7]
14824test { try toUnicodeFail("xn--1zf58212h.xn--zca34zk4qx711k"); } // [B1, V7]
14825test { try toAsciiFail("xn--1zf58212h.xn--zca34zk4qx711k", false); } // [B1, V7]
14826test { try toAsciiFail("xn--1zf58212h.xn--zca34zk4qx711k", true); } // [B1, V7]
14827test { try toUnicodeFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92SS"); } // [B1, V7]
14828test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92SS", false); } // [B1, V7]
14829test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92SS", true); } // [B1, V7]
14830test { try toUnicodeFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92ss"); } // [B1, V7]
14831test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92ss", false); } // [B1, V7]
14832test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92ss", true); } // [B1, V7]
14833test { try toUnicodeFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92Ss"); } // [B1, V7]
14834test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92Ss", false); } // [B1, V7]
14835test { try toAsciiFail("\xf2\x95\xae\x87\xe1\xaf\xb3\xef\xbd\xa1\xd9\xa6\xf1\x97\x9c\xbc\xe1\x9f\x92Ss", true); } // [B1, V7]
14836test { try toUnicodeFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xef\xb8\x92\xe2\x89\xa0"); } // [B1, V7]
14837test { try toAsciiFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xef\xb8\x92\xe2\x89\xa0", false); } // [B1, V7]
14838test { try toAsciiFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xef\xb8\x92\xe2\x89\xa0", true); } // [B1, V7]
14839test { try toUnicodeFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xef\xb8\x92=\xcc\xb8"); } // [B1, V7]
14840test { try toAsciiFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xef\xb8\x92=\xcc\xb8", false); } // [B1, V7]
14841test { try toAsciiFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xef\xb8\x92=\xcc\xb8", true); } // [B1, V7]
14842test { try toUnicodeFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xe3\x80\x82\xe2\x89\xa0"); } // [B1, V7]
14843test { try toAsciiFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xe3\x80\x82\xe2\x89\xa0", false); } // [B1, V7]
14844test { try toAsciiFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xe3\x80\x82\xe2\x89\xa0", true); } // [B1, V7]
14845test { try toUnicodeFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xe3\x80\x82=\xcc\xb8"); } // [B1, V7]
14846test { try toAsciiFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xe3\x80\x82=\xcc\xb8", false); } // [B1, V7]
14847test { try toAsciiFail("\xd9\xa4\xf2\xa4\xbd\x8e\xf0\x91\xb2\x9b.\xf3\xa0\x94\xa2\xe3\x80\x82=\xcc\xb8", true); } // [B1, V7]
14848test { try toUnicodeFail("xn--dib0653l2i02d.xn--k736e.xn--1ch"); } // [B1, V7]
14849test { try toAsciiFail("xn--dib0653l2i02d.xn--k736e.xn--1ch", false); } // [B1, V7]
14850test { try toAsciiFail("xn--dib0653l2i02d.xn--k736e.xn--1ch", true); } // [B1, V7]
14851test { try toUnicodeFail("xn--dib0653l2i02d.xn--1ch7467f14u4g"); } // [B1, V7]
14852test { try toAsciiFail("xn--dib0653l2i02d.xn--1ch7467f14u4g", false); } // [B1, V7]
14853test { try toAsciiFail("xn--dib0653l2i02d.xn--1ch7467f14u4g", true); } // [B1, V7]
14854test { try toUnicodeFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x97\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab"); } // [V7]
14855test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x97\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab", false); } // [V7]
14856test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x97\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab", true); } // [V7]
14857test { try toUnicodeFail("\xe2\x9e\x86\xf1\xb7\xa7\x95o\xcc\x82\xcc\x83\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab"); } // [V7]
14858test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95o\xcc\x82\xcc\x83\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab", false); } // [V7]
14859test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95o\xcc\x82\xcc\x83\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab", true); } // [V7]
14860test { try toUnicodeFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x971..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9"); } // [V7, X4_2]
14861test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x971..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9", false); } // [V7, A4_2]
14862test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x971..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9", true); } // [V7, A4_2]
14863test { try toUnicodeFail("\xe2\x9e\x86\xf1\xb7\xa7\x95o\xcc\x82\xcc\x831..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9"); } // [V7, X4_2]
14864test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95o\xcc\x82\xcc\x831..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9", false); } // [V7, A4_2]
14865test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95o\xcc\x82\xcc\x831..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9", true); } // [V7, A4_2]
14866test { try toUnicodeFail("\xe2\x9e\x86\xf1\xb7\xa7\x95O\xcc\x82\xcc\x831..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9"); } // [V7, X4_2]
14867test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95O\xcc\x82\xcc\x831..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9", false); } // [V7, A4_2]
14868test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95O\xcc\x82\xcc\x831..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9", true); } // [V7, A4_2]
14869test { try toUnicodeFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x961..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9"); } // [V7, X4_2]
14870test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x961..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9", false); } // [V7, A4_2]
14871test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x961..\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b9", true); } // [V7, A4_2]
14872test { try toUnicodeFail("xn--1-3xm292b6044r..xn--9-6jd87310jtcqs"); } // [V7, X4_2]
14873test { try toAsciiFail("xn--1-3xm292b6044r..xn--9-6jd87310jtcqs", false); } // [V7, A4_2]
14874test { try toAsciiFail("xn--1-3xm292b6044r..xn--9-6jd87310jtcqs", true); } // [V7, A4_2]
14875test { try toUnicodeFail("\xe2\x9e\x86\xf1\xb7\xa7\x95O\xcc\x82\xcc\x83\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab"); } // [V7]
14876test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95O\xcc\x82\xcc\x83\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab", false); } // [V7]
14877test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95O\xcc\x82\xcc\x83\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab", true); } // [V7]
14878test { try toUnicodeFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x96\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab"); } // [V7]
14879test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x96\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab", false); } // [V7]
14880test { try toAsciiFail("\xe2\x9e\x86\xf1\xb7\xa7\x95\xe1\xbb\x96\xe2\x92\x88\xef\xbc\x8e\xf2\x91\xac\x92\xf1\xa1\x98\xae\xe0\xa1\x9b\xf0\x9d\x9f\xab", true); } // [V7]
14881test { try toUnicodeFail("xn--6lg26tvvc6v99z.xn--9-6jd87310jtcqs"); } // [V7]
14882test { try toAsciiFail("xn--6lg26tvvc6v99z.xn--9-6jd87310jtcqs", false); } // [V7]
14883test { try toAsciiFail("xn--6lg26tvvc6v99z.xn--9-6jd87310jtcqs", true); } // [V7]
14884test { try toUnicodeFail("\xe2\x80\x8d\xef\xbd\xa1\xf0\x9e\xa4\x98"); } // [B1, C2]
14885test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf0\x9e\xa4\x98", false); } // [B1, C2]
14886test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf0\x9e\xa4\x98", true); } // [A4_2]
14887test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\x98"); } // [B1, C2]
14888test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\x98", false); } // [B1, C2]
14889test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\x98", true); } // [A4_2]
14890test { try toUnicodeFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\xba"); } // [B1, C2]
14891test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\xba", false); } // [B1, C2]
14892test { try toAsciiFail("\xe2\x80\x8d\xe3\x80\x82\xf0\x9e\xa4\xba", true); } // [A4_2]
14893test { try toAsciiFail(".xn--ye6h", false); } // [A4_2]
14894test { try toAsciiFail(".xn--ye6h", true); } // [A4_2]
14895test { try toUnicodeFail("xn--1ug.xn--ye6h"); } // [B1, C2]
14896test { try toAsciiFail("xn--1ug.xn--ye6h", false); } // [B1, C2]
14897test { try toAsciiFail("xn--1ug.xn--ye6h", true); } // [B1, C2]
14898test { try toUnicodeFail("\xe2\x80\x8d\xef\xbd\xa1\xf0\x9e\xa4\xba"); } // [B1, C2]
14899test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf0\x9e\xa4\xba", false); } // [B1, C2]
14900test { try toAsciiFail("\xe2\x80\x8d\xef\xbd\xa1\xf0\x9e\xa4\xba", true); } // [A4_2]
14901test { try toUnicodePass("xn--ye6h", "\xf0\x9e\xa4\xba"); }
14902test { try toAsciiPass("xn--ye6h", "xn--ye6h", false); }
14903test { try toAsciiPass("xn--ye6h", "xn--ye6h", true); }
14904test { try toUnicodePass("\xf0\x9e\xa4\xba", "\xf0\x9e\xa4\xba"); }
14905test { try toAsciiPass("\xf0\x9e\xa4\xba", "xn--ye6h", false); }
14906test { try toAsciiPass("\xf0\x9e\xa4\xba", "xn--ye6h", true); }
14907test { try toUnicodePass("\xf0\x9e\xa4\x98", "\xf0\x9e\xa4\xba"); }
14908test { try toAsciiPass("\xf0\x9e\xa4\x98", "xn--ye6h", false); }
14909test { try toAsciiPass("\xf0\x9e\xa4\x98", "xn--ye6h", true); }
14910test { try toUnicodeFail("\xe0\xa0\xa9\xdc\xa4.\xe1\xa2\xa3"); } // [B1, V6]
14911test { try toAsciiFail("\xe0\xa0\xa9\xdc\xa4.\xe1\xa2\xa3", false); } // [B1, V6]
14912test { try toAsciiFail("\xe0\xa0\xa9\xdc\xa4.\xe1\xa2\xa3", true); } // [B1, V6]
14913test { try toUnicodeFail("xn--unb53c.xn--tbf"); } // [B1, V6]
14914test { try toAsciiFail("xn--unb53c.xn--tbf", false); } // [B1, V6]
14915test { try toAsciiFail("xn--unb53c.xn--tbf", true); } // [B1, V6]
14916test { try toUnicodeFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbe\xc3\x9f"); } // [C1, V3, V6, V7]
14917test { try toAsciiFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbe\xc3\x9f", false); } // [C1, V3, V6, V7]
14918test { try toAsciiFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbe\xc3\x9f", true); } // [V3, V6, V7]
14919test { try toUnicodeFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbeSS"); } // [C1, V3, V6, V7]
14920test { try toAsciiFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbeSS", false); } // [C1, V3, V6, V7]
14921test { try toAsciiFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbeSS", true); } // [V3, V6, V7]
14922test { try toUnicodeFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbess"); } // [C1, V3, V6, V7]
14923test { try toAsciiFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbess", false); } // [C1, V3, V6, V7]
14924test { try toAsciiFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbess", true); } // [V3, V6, V7]
14925test { try toUnicodeFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbeSs"); } // [C1, V3, V6, V7]
14926test { try toAsciiFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbeSs", false); } // [C1, V3, V6, V7]
14927test { try toAsciiFail("\xdc\xbc\xe2\x80\x8c-\xe3\x80\x82\xf0\x93\x90\xbeSs", true); } // [V3, V6, V7]
14928test { try toUnicodeFail("xn----s2c.xn--ss-066q"); } // [V3, V6, V7]
14929test { try toAsciiFail("xn----s2c.xn--ss-066q", false); } // [V3, V6, V7]
14930test { try toAsciiFail("xn----s2c.xn--ss-066q", true); } // [V3, V6, V7]
14931test { try toUnicodeFail("xn----s2c071q.xn--ss-066q"); } // [C1, V3, V6, V7]
14932test { try toAsciiFail("xn----s2c071q.xn--ss-066q", false); } // [C1, V3, V6, V7]
14933test { try toAsciiFail("xn----s2c071q.xn--ss-066q", true); } // [C1, V3, V6, V7]
14934test { try toUnicodeFail("xn----s2c071q.xn--zca7848m"); } // [C1, V3, V6, V7]
14935test { try toAsciiFail("xn----s2c071q.xn--zca7848m", false); } // [C1, V3, V6, V7]
14936test { try toAsciiFail("xn----s2c071q.xn--zca7848m", true); } // [C1, V3, V6, V7]
14937test { try toUnicodeFail("\xe2\x80\x8c\xcf\x82\xf0\x9f\x83\xa1\xe2\x92\x97.\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96"); } // [B1, B5, B6, C1, V6, V7]
14938test { try toAsciiFail("\xe2\x80\x8c\xcf\x82\xf0\x9f\x83\xa1\xe2\x92\x97.\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", false); } // [B1, B5, B6, C1, V6, V7]
14939test { try toAsciiFail("\xe2\x80\x8c\xcf\x82\xf0\x9f\x83\xa1\xe2\x92\x97.\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", true); } // [B5, B6, V6, V7]
14940test { try toUnicodeFail("\xe2\x80\x8c\xcf\x82\xf0\x9f\x83\xa116..\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96"); } // [B1, B5, B6, C1, V6, X4_2]
14941test { try toAsciiFail("\xe2\x80\x8c\xcf\x82\xf0\x9f\x83\xa116..\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", false); } // [B1, B5, B6, C1, V6, A4_2]
14942test { try toAsciiFail("\xe2\x80\x8c\xcf\x82\xf0\x9f\x83\xa116..\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", true); } // [B5, B6, V6, A4_2]
14943test { try toUnicodeFail("\xe2\x80\x8c\xce\xa3\xf0\x9f\x83\xa116..\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96"); } // [B1, B5, B6, C1, V6, X4_2]
14944test { try toAsciiFail("\xe2\x80\x8c\xce\xa3\xf0\x9f\x83\xa116..\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", false); } // [B1, B5, B6, C1, V6, A4_2]
14945test { try toAsciiFail("\xe2\x80\x8c\xce\xa3\xf0\x9f\x83\xa116..\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", true); } // [B5, B6, V6, A4_2]
14946test { try toUnicodeFail("\xe2\x80\x8c\xcf\x83\xf0\x9f\x83\xa116..\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96"); } // [B1, B5, B6, C1, V6, X4_2]
14947test { try toAsciiFail("\xe2\x80\x8c\xcf\x83\xf0\x9f\x83\xa116..\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", false); } // [B1, B5, B6, C1, V6, A4_2]
14948test { try toAsciiFail("\xe2\x80\x8c\xcf\x83\xf0\x9f\x83\xa116..\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", true); } // [B5, B6, V6, A4_2]
14949test { try toUnicodeFail("xn--16-ubc66061c..xn--9ob79ycx2e"); } // [B5, B6, V6, X4_2]
14950test { try toAsciiFail("xn--16-ubc66061c..xn--9ob79ycx2e", false); } // [B5, B6, V6, A4_2]
14951test { try toAsciiFail("xn--16-ubc66061c..xn--9ob79ycx2e", true); } // [B5, B6, V6, A4_2]
14952test { try toUnicodeFail("xn--16-ubc7700avy99b..xn--9ob79ycx2e"); } // [B1, B5, B6, C1, V6, X4_2]
14953test { try toAsciiFail("xn--16-ubc7700avy99b..xn--9ob79ycx2e", false); } // [B1, B5, B6, C1, V6, A4_2]
14954test { try toAsciiFail("xn--16-ubc7700avy99b..xn--9ob79ycx2e", true); } // [B1, B5, B6, C1, V6, A4_2]
14955test { try toUnicodeFail("xn--16-rbc1800avy99b..xn--9ob79ycx2e"); } // [B1, B5, B6, C1, V6, X4_2]
14956test { try toAsciiFail("xn--16-rbc1800avy99b..xn--9ob79ycx2e", false); } // [B1, B5, B6, C1, V6, A4_2]
14957test { try toAsciiFail("xn--16-rbc1800avy99b..xn--9ob79ycx2e", true); } // [B1, B5, B6, C1, V6, A4_2]
14958test { try toUnicodeFail("\xe2\x80\x8c\xce\xa3\xf0\x9f\x83\xa1\xe2\x92\x97.\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96"); } // [B1, B5, B6, C1, V6, V7]
14959test { try toAsciiFail("\xe2\x80\x8c\xce\xa3\xf0\x9f\x83\xa1\xe2\x92\x97.\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", false); } // [B1, B5, B6, C1, V6, V7]
14960test { try toAsciiFail("\xe2\x80\x8c\xce\xa3\xf0\x9f\x83\xa1\xe2\x92\x97.\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", true); } // [B5, B6, V6, V7]
14961test { try toUnicodeFail("\xe2\x80\x8c\xcf\x83\xf0\x9f\x83\xa1\xe2\x92\x97.\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96"); } // [B1, B5, B6, C1, V6, V7]
14962test { try toAsciiFail("\xe2\x80\x8c\xcf\x83\xf0\x9f\x83\xa1\xe2\x92\x97.\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", false); } // [B1, B5, B6, C1, V6, V7]
14963test { try toAsciiFail("\xe2\x80\x8c\xcf\x83\xf0\x9f\x83\xa1\xe2\x92\x97.\xe0\xb3\x86\xe4\xbb\xa7\xdd\x96", true); } // [B5, B6, V6, V7]
14964test { try toUnicodeFail("xn--4xa229nbu92a.xn--9ob79ycx2e"); } // [B5, B6, V6, V7]
14965test { try toAsciiFail("xn--4xa229nbu92a.xn--9ob79ycx2e", false); } // [B5, B6, V6, V7]
14966test { try toAsciiFail("xn--4xa229nbu92a.xn--9ob79ycx2e", true); } // [B5, B6, V6, V7]
14967test { try toUnicodeFail("xn--4xa595lz9czy52d.xn--9ob79ycx2e"); } // [B1, B5, B6, C1, V6, V7]
14968test { try toAsciiFail("xn--4xa595lz9czy52d.xn--9ob79ycx2e", false); } // [B1, B5, B6, C1, V6, V7]
14969test { try toAsciiFail("xn--4xa595lz9czy52d.xn--9ob79ycx2e", true); } // [B1, B5, B6, C1, V6, V7]
14970test { try toUnicodeFail("xn--3xa795lz9czy52d.xn--9ob79ycx2e"); } // [B1, B5, B6, C1, V6, V7]
14971test { try toAsciiFail("xn--3xa795lz9czy52d.xn--9ob79ycx2e", false); } // [B1, B5, B6, C1, V6, V7]
14972test { try toAsciiFail("xn--3xa795lz9czy52d.xn--9ob79ycx2e", true); } // [B1, B5, B6, C1, V6, V7]
14973test { try toUnicodeFail("-.\xf0\x9e\xb8\x9a"); } // [B1, V3]
14974test { try toAsciiFail("-.\xf0\x9e\xb8\x9a", false); } // [B1, V3]
14975test { try toAsciiFail("-.\xf0\x9e\xb8\x9a", true); } // [B1, V3]
14976test { try toUnicodeFail("-.\xd8\xb8"); } // [B1, V3]
14977test { try toAsciiFail("-.\xd8\xb8", false); } // [B1, V3]
14978test { try toAsciiFail("-.\xd8\xb8", true); } // [B1, V3]
14979test { try toUnicodeFail("-.xn--3gb"); } // [B1, V3]
14980test { try toAsciiFail("-.xn--3gb", false); } // [B1, V3]
14981test { try toAsciiFail("-.xn--3gb", true); } // [B1, V3]
14982test { try toUnicodeFail("\xf2\x8f\x9b\x93\xda\x83.\xe0\xbd\xbe\xd8\xb4"); } // [B1, B5, B6, V6, V7]
14983test { try toAsciiFail("\xf2\x8f\x9b\x93\xda\x83.\xe0\xbd\xbe\xd8\xb4", false); } // [B1, B5, B6, V6, V7]
14984test { try toAsciiFail("\xf2\x8f\x9b\x93\xda\x83.\xe0\xbd\xbe\xd8\xb4", true); } // [B1, B5, B6, V6, V7]
14985test { try toUnicodeFail("xn--8ib92728i.xn--zgb968b"); } // [B1, B5, B6, V6, V7]
14986test { try toAsciiFail("xn--8ib92728i.xn--zgb968b", false); } // [B1, B5, B6, V6, V7]
14987test { try toAsciiFail("xn--8ib92728i.xn--zgb968b", true); } // [B1, B5, B6, V6, V7]
14988test { try toUnicodeFail("\xe0\xbf\xa6\xe0\xa1\x83\xf1\xbd\xb6\xac.\xf0\x90\xae\x8f"); } // [B5, V7]
14989test { try toAsciiFail("\xe0\xbf\xa6\xe0\xa1\x83\xf1\xbd\xb6\xac.\xf0\x90\xae\x8f", false); } // [B5, V7]
14990test { try toAsciiFail("\xe0\xbf\xa6\xe0\xa1\x83\xf1\xbd\xb6\xac.\xf0\x90\xae\x8f", true); } // [B5, V7]
14991test { try toUnicodeFail("xn--1vb320b5m04p.xn--m29c"); } // [B5, V7]
14992test { try toAsciiFail("xn--1vb320b5m04p.xn--m29c", false); } // [B5, V7]
14993test { try toAsciiFail("xn--1vb320b5m04p.xn--m29c", true); } // [B5, V7]
14994test { try toUnicodeFail("2\xf1\x8e\xa8\xa0\xdf\x8b\xc3\x9f\xe3\x80\x82\xe1\xa0\xbd"); } // [B1, V7]
14995test { try toAsciiFail("2\xf1\x8e\xa8\xa0\xdf\x8b\xc3\x9f\xe3\x80\x82\xe1\xa0\xbd", false); } // [B1, V7]
14996test { try toAsciiFail("2\xf1\x8e\xa8\xa0\xdf\x8b\xc3\x9f\xe3\x80\x82\xe1\xa0\xbd", true); } // [B1, V7]
14997test { try toUnicodeFail("2\xf1\x8e\xa8\xa0\xdf\x8bSS\xe3\x80\x82\xe1\xa0\xbd"); } // [B1, V7]
14998test { try toAsciiFail("2\xf1\x8e\xa8\xa0\xdf\x8bSS\xe3\x80\x82\xe1\xa0\xbd", false); } // [B1, V7]
14999test { try toAsciiFail("2\xf1\x8e\xa8\xa0\xdf\x8bSS\xe3\x80\x82\xe1\xa0\xbd", true); } // [B1, V7]
15000test { try toUnicodeFail("2\xf1\x8e\xa8\xa0\xdf\x8bss\xe3\x80\x82\xe1\xa0\xbd"); } // [B1, V7]
15001test { try toAsciiFail("2\xf1\x8e\xa8\xa0\xdf\x8bss\xe3\x80\x82\xe1\xa0\xbd", false); } // [B1, V7]
15002test { try toAsciiFail("2\xf1\x8e\xa8\xa0\xdf\x8bss\xe3\x80\x82\xe1\xa0\xbd", true); } // [B1, V7]
15003test { try toUnicodeFail("xn--2ss-odg83511n.xn--w7e"); } // [B1, V7]
15004test { try toAsciiFail("xn--2ss-odg83511n.xn--w7e", false); } // [B1, V7]
15005test { try toAsciiFail("xn--2ss-odg83511n.xn--w7e", true); } // [B1, V7]
15006test { try toUnicodeFail("xn--2-qfa924cez02l.xn--w7e"); } // [B1, V7]
15007test { try toAsciiFail("xn--2-qfa924cez02l.xn--w7e", false); } // [B1, V7]
15008test { try toAsciiFail("xn--2-qfa924cez02l.xn--w7e", true); } // [B1, V7]
15009test { try toUnicodeFail("2\xf1\x8e\xa8\xa0\xdf\x8bSs\xe3\x80\x82\xe1\xa0\xbd"); } // [B1, V7]
15010test { try toAsciiFail("2\xf1\x8e\xa8\xa0\xdf\x8bSs\xe3\x80\x82\xe1\xa0\xbd", false); } // [B1, V7]
15011test { try toAsciiFail("2\xf1\x8e\xa8\xa0\xdf\x8bSs\xe3\x80\x82\xe1\xa0\xbd", true); } // [B1, V7]
15012test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8e\xc3\x9f-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15013test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8e\xc3\x9f-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15014test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8e\xc3\x9f-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15015test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8e\xc3\x9f-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15016test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8e\xc3\x9f-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15017test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8e\xc3\x9f-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15018test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8e\xc3\x9f-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15019test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8e\xc3\x9f-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15020test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8e\xc3\x9f-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15021test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8e\xc3\x9f-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15022test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8e\xc3\x9f-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15023test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8e\xc3\x9f-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15024test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8eSS-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15025test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8eSS-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15026test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8eSS-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15027test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8eSS-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15028test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8eSS-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15029test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8eSS-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15030test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8ess-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15031test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8ess-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15032test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8ess-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15033test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8ess-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15034test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8ess-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15035test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8ess-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15036test { try toUnicodeFail("xn--lsb457kkut.xn--ss--qjf"); } // [B2, B3, B5, B6, V3]
15037test { try toAsciiFail("xn--lsb457kkut.xn--ss--qjf", false); } // [B2, B3, B5, B6, V3]
15038test { try toAsciiFail("xn--lsb457kkut.xn--ss--qjf", true); } // [B2, B3, B5, B6, V3]
15039test { try toUnicodeFail("xn--lsb457kkut.xn--ss--qjf2343a"); } // [B2, B3, B5, B6, C2]
15040test { try toAsciiFail("xn--lsb457kkut.xn--ss--qjf2343a", false); } // [B2, B3, B5, B6, C2]
15041test { try toAsciiFail("xn--lsb457kkut.xn--ss--qjf2343a", true); } // [B2, B3, B5, B6, C2]
15042test { try toUnicodeFail("xn--lsb457kkut.xn----pfa076bys4a"); } // [B2, B3, B5, B6, C2]
15043test { try toAsciiFail("xn--lsb457kkut.xn----pfa076bys4a", false); } // [B2, B3, B5, B6, C2]
15044test { try toAsciiFail("xn--lsb457kkut.xn----pfa076bys4a", true); } // [B2, B3, B5, B6, C2]
15045test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8eSS-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15046test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8eSS-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15047test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8eSS-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15048test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8eSS-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15049test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8eSS-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15050test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8eSS-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15051test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8ess-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15052test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8ess-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15053test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8ess-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15054test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8ess-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15055test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8ess-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15056test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8ess-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15057test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8eSs-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15058test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8eSs-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15059test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8.\xdb\x8eSs-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15060test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8eSs-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15061test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8eSs-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15062test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae.\xdb\x8eSs-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15063test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8eSs-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15064test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8eSs-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15065test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a<\xcc\xb8\xef\xbc\x8e\xdb\x8eSs-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15066test { try toUnicodeFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8eSs-\xe2\x80\x8d"); } // [B2, B3, B5, B6, C2]
15067test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8eSs-\xe2\x80\x8d", false); } // [B2, B3, B5, B6, C2]
15068test { try toAsciiFail("\xe3\xb8\xb3\xdf\x8a\xe2\x89\xae\xef\xbc\x8e\xdb\x8eSs-\xe2\x80\x8d", true); } // [B2, B3, B5, B6, V3]
15069test { try toUnicodeFail("-\xf2\xb7\x9d\xac\xe1\x8d\x9e\xf0\x91\x9c\xa7.\xe1\xb7\xab-\xef\xb8\x92"); } // [V3, V6, V7]
15070test { try toAsciiFail("-\xf2\xb7\x9d\xac\xe1\x8d\x9e\xf0\x91\x9c\xa7.\xe1\xb7\xab-\xef\xb8\x92", false); } // [V3, V6, V7]
15071test { try toAsciiFail("-\xf2\xb7\x9d\xac\xe1\x8d\x9e\xf0\x91\x9c\xa7.\xe1\xb7\xab-\xef\xb8\x92", true); } // [V3, V6, V7]
15072test { try toUnicodeFail("-\xf2\xb7\x9d\xac\xe1\x8d\x9e\xf0\x91\x9c\xa7.\xe1\xb7\xab-\xe3\x80\x82"); } // [V3, V6, V7]
15073test { try toAsciiFail("-\xf2\xb7\x9d\xac\xe1\x8d\x9e\xf0\x91\x9c\xa7.\xe1\xb7\xab-\xe3\x80\x82", false); } // [V3, V6, V7, A4_2]
15074test { try toAsciiFail("-\xf2\xb7\x9d\xac\xe1\x8d\x9e\xf0\x91\x9c\xa7.\xe1\xb7\xab-\xe3\x80\x82", true); } // [V3, V6, V7, A4_2]
15075test { try toUnicodeFail("xn----b5h1837n2ok9f.xn----mkm."); } // [V3, V6, V7]
15076test { try toAsciiFail("xn----b5h1837n2ok9f.xn----mkm.", false); } // [V3, V6, V7, A4_2]
15077test { try toAsciiFail("xn----b5h1837n2ok9f.xn----mkm.", true); } // [V3, V6, V7, A4_2]
15078test { try toUnicodeFail("xn----b5h1837n2ok9f.xn----mkmw278h"); } // [V3, V6, V7]
15079test { try toAsciiFail("xn----b5h1837n2ok9f.xn----mkmw278h", false); } // [V3, V6, V7]
15080test { try toAsciiFail("xn----b5h1837n2ok9f.xn----mkmw278h", true); } // [V3, V6, V7]
15081test { try toUnicodeFail("\xef\xb8\x92.\xf2\x9a\xa0\xa1\xe1\xa9\x99"); } // [V7]
15082test { try toAsciiFail("\xef\xb8\x92.\xf2\x9a\xa0\xa1\xe1\xa9\x99", false); } // [V7]
15083test { try toAsciiFail("\xef\xb8\x92.\xf2\x9a\xa0\xa1\xe1\xa9\x99", true); } // [V7]
15084test { try toUnicodeFail("\xe3\x80\x82.\xf2\x9a\xa0\xa1\xe1\xa9\x99"); } // [V7, X4_2]
15085test { try toAsciiFail("\xe3\x80\x82.\xf2\x9a\xa0\xa1\xe1\xa9\x99", false); } // [V7, A4_2]
15086test { try toAsciiFail("\xe3\x80\x82.\xf2\x9a\xa0\xa1\xe1\xa9\x99", true); } // [V7, A4_2]
15087test { try toUnicodeFail("..xn--cof61594i"); } // [V7, X4_2]
15088test { try toAsciiFail("..xn--cof61594i", false); } // [V7, A4_2]
15089test { try toAsciiFail("..xn--cof61594i", true); } // [V7, A4_2]
15090test { try toUnicodeFail("xn--y86c.xn--cof61594i"); } // [V7]
15091test { try toAsciiFail("xn--y86c.xn--cof61594i", false); } // [V7]
15092test { try toAsciiFail("xn--y86c.xn--cof61594i", true); } // [V7]
15093test { try toUnicodeFail("\xcc\xa3\xe2\xb7\xa1\xe3\x80\x82\xe2\x80\x8c\xe2\x93\xbe\xe2\x80\x8c\xda\xb9"); } // [B1, C1, V6]
15094test { try toAsciiFail("\xcc\xa3\xe2\xb7\xa1\xe3\x80\x82\xe2\x80\x8c\xe2\x93\xbe\xe2\x80\x8c\xda\xb9", false); } // [B1, C1, V6]
15095test { try toAsciiFail("\xcc\xa3\xe2\xb7\xa1\xe3\x80\x82\xe2\x80\x8c\xe2\x93\xbe\xe2\x80\x8c\xda\xb9", true); } // [B1, V6]
15096test { try toUnicodeFail("xn--kta899s.xn--skb116m"); } // [B1, V6]
15097test { try toAsciiFail("xn--kta899s.xn--skb116m", false); } // [B1, V6]
15098test { try toAsciiFail("xn--kta899s.xn--skb116m", true); } // [B1, V6]
15099test { try toUnicodeFail("xn--kta899s.xn--skb970ka771c"); } // [B1, C1, V6]
15100test { try toAsciiFail("xn--kta899s.xn--skb970ka771c", false); } // [B1, C1, V6]
15101test { try toAsciiFail("xn--kta899s.xn--skb970ka771c", true); } // [B1, C1, V6]
15102test { try toUnicodeFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xef\xbd\xa1\xe1\x81\xb4\xf0\x9e\xa4\xb5\xf3\xa0\x85\xa6"); } // [B1, B2, V6, V7]
15103test { try toAsciiFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xef\xbd\xa1\xe1\x81\xb4\xf0\x9e\xa4\xb5\xf3\xa0\x85\xa6", false); } // [B1, B2, V6, V7]
15104test { try toAsciiFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xef\xbd\xa1\xe1\x81\xb4\xf0\x9e\xa4\xb5\xf3\xa0\x85\xa6", true); } // [B1, B2, V6, V7]
15105test { try toUnicodeFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xe3\x80\x82\xe1\x81\xb4\xf0\x9e\xa4\xb5\xf3\xa0\x85\xa6"); } // [B1, B2, V6, V7]
15106test { try toAsciiFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xe3\x80\x82\xe1\x81\xb4\xf0\x9e\xa4\xb5\xf3\xa0\x85\xa6", false); } // [B1, B2, V6, V7]
15107test { try toAsciiFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xe3\x80\x82\xe1\x81\xb4\xf0\x9e\xa4\xb5\xf3\xa0\x85\xa6", true); } // [B1, B2, V6, V7]
15108test { try toUnicodeFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xe3\x80\x82\xe1\x81\xb4\xf0\x9e\xa4\x93\xf3\xa0\x85\xa6"); } // [B1, B2, V6, V7]
15109test { try toAsciiFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xe3\x80\x82\xe1\x81\xb4\xf0\x9e\xa4\x93\xf3\xa0\x85\xa6", false); } // [B1, B2, V6, V7]
15110test { try toAsciiFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xe3\x80\x82\xe1\x81\xb4\xf0\x9e\xa4\x93\xf3\xa0\x85\xa6", true); } // [B1, B2, V6, V7]
15111test { try toUnicodeFail("xn--tlb199fwl35a.xn--yld4613v"); } // [B1, B2, V6, V7]
15112test { try toAsciiFail("xn--tlb199fwl35a.xn--yld4613v", false); } // [B1, B2, V6, V7]
15113test { try toAsciiFail("xn--tlb199fwl35a.xn--yld4613v", true); } // [B1, B2, V6, V7]
15114test { try toUnicodeFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xef\xbd\xa1\xe1\x81\xb4\xf0\x9e\xa4\x93\xf3\xa0\x85\xa6"); } // [B1, B2, V6, V7]
15115test { try toAsciiFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xef\xbd\xa1\xe1\x81\xb4\xf0\x9e\xa4\x93\xf3\xa0\x85\xa6", false); } // [B1, B2, V6, V7]
15116test { try toAsciiFail("\xf0\x9e\xa0\xb6\xe1\xa0\xb4\xdb\x9d\xef\xbd\xa1\xe1\x81\xb4\xf0\x9e\xa4\x93\xf3\xa0\x85\xa6", true); } // [B1, B2, V6, V7]
15117test { try toUnicodeFail("\xf0\x91\xb0\xba.-\xf2\x91\x9f\x8f"); } // [V3, V6, V7]
15118test { try toAsciiFail("\xf0\x91\xb0\xba.-\xf2\x91\x9f\x8f", false); } // [V3, V6, V7]
15119test { try toAsciiFail("\xf0\x91\xb0\xba.-\xf2\x91\x9f\x8f", true); } // [V3, V6, V7]
15120test { try toUnicodeFail("xn--jk3d.xn----iz68g"); } // [V3, V6, V7]
15121test { try toAsciiFail("xn--jk3d.xn----iz68g", false); } // [V3, V6, V7]
15122test { try toAsciiFail("xn--jk3d.xn----iz68g", true); } // [V3, V6, V7]
15123test { try toUnicodeFail("\xf3\xa0\xbb\xa9\xef\xbc\x8e\xe8\xb5\x8f"); } // [V7]
15124test { try toAsciiFail("\xf3\xa0\xbb\xa9\xef\xbc\x8e\xe8\xb5\x8f", false); } // [V7]
15125test { try toAsciiFail("\xf3\xa0\xbb\xa9\xef\xbc\x8e\xe8\xb5\x8f", true); } // [V7]
15126test { try toUnicodeFail("\xf3\xa0\xbb\xa9.\xe8\xb5\x8f"); } // [V7]
15127test { try toAsciiFail("\xf3\xa0\xbb\xa9.\xe8\xb5\x8f", false); } // [V7]
15128test { try toAsciiFail("\xf3\xa0\xbb\xa9.\xe8\xb5\x8f", true); } // [V7]
15129test { try toUnicodeFail("xn--2856e.xn--6o3a"); } // [V7]
15130test { try toAsciiFail("xn--2856e.xn--6o3a", false); } // [V7]
15131test { try toAsciiFail("xn--2856e.xn--6o3a", true); } // [V7]
15132test { try toUnicodeFail("\xda\xb0\xe1\xa0\xa1\xef\xbd\xa1\xe1\x82\xa1"); } // [B2, B3]
15133test { try toAsciiFail("\xda\xb0\xe1\xa0\xa1\xef\xbd\xa1\xe1\x82\xa1", false); } // [B2, B3]
15134test { try toAsciiFail("\xda\xb0\xe1\xa0\xa1\xef\xbd\xa1\xe1\x82\xa1", true); } // [B2, B3]
15135test { try toUnicodeFail("\xda\xb0\xe1\xa0\xa1\xe3\x80\x82\xe1\x82\xa1"); } // [B2, B3]
15136test { try toAsciiFail("\xda\xb0\xe1\xa0\xa1\xe3\x80\x82\xe1\x82\xa1", false); } // [B2, B3]
15137test { try toAsciiFail("\xda\xb0\xe1\xa0\xa1\xe3\x80\x82\xe1\x82\xa1", true); } // [B2, B3]
15138test { try toUnicodeFail("\xda\xb0\xe1\xa0\xa1\xe3\x80\x82\xe2\xb4\x81"); } // [B2, B3]
15139test { try toAsciiFail("\xda\xb0\xe1\xa0\xa1\xe3\x80\x82\xe2\xb4\x81", false); } // [B2, B3]
15140test { try toAsciiFail("\xda\xb0\xe1\xa0\xa1\xe3\x80\x82\xe2\xb4\x81", true); } // [B2, B3]
15141test { try toUnicodeFail("xn--jkb440g.xn--skj"); } // [B2, B3]
15142test { try toAsciiFail("xn--jkb440g.xn--skj", false); } // [B2, B3]
15143test { try toAsciiFail("xn--jkb440g.xn--skj", true); } // [B2, B3]
15144test { try toUnicodeFail("\xda\xb0\xe1\xa0\xa1\xef\xbd\xa1\xe2\xb4\x81"); } // [B2, B3]
15145test { try toAsciiFail("\xda\xb0\xe1\xa0\xa1\xef\xbd\xa1\xe2\xb4\x81", false); } // [B2, B3]
15146test { try toAsciiFail("\xda\xb0\xe1\xa0\xa1\xef\xbd\xa1\xe2\xb4\x81", true); } // [B2, B3]
15147test { try toUnicodeFail("xn--jkb440g.xn--8md"); } // [B2, B3, V7]
15148test { try toAsciiFail("xn--jkb440g.xn--8md", false); } // [B2, B3, V7]
15149test { try toAsciiFail("xn--jkb440g.xn--8md", true); } // [B2, B3, V7]
15150test { try toUnicodeFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x82\xef\xbd\xa1-"); } // [B1, V3, V6]
15151test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x82\xef\xbd\xa1-", false); } // [B1, V3, V6]
15152test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x82\xef\xbd\xa1-", true); } // [B1, V3, V6]
15153test { try toUnicodeFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x82\xe3\x80\x82-"); } // [B1, V3, V6]
15154test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x82\xe3\x80\x82-", false); } // [B1, V3, V6]
15155test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x82\xe3\x80\x82-", true); } // [B1, V3, V6]
15156test { try toUnicodeFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x82\xe3\x80\x82-"); } // [B1, V3, V6]
15157test { try toAsciiFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x82\xe3\x80\x82-", false); } // [B1, V3, V6]
15158test { try toAsciiFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x82\xe3\x80\x82-", true); } // [B1, V3, V6]
15159test { try toUnicodeFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xce\xa3\xe3\x80\x82-"); } // [B1, V3, V6]
15160test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xce\xa3\xe3\x80\x82-", false); } // [B1, V3, V6]
15161test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xce\xa3\xe3\x80\x82-", true); } // [B1, V3, V6]
15162test { try toUnicodeFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x83\xe3\x80\x82-"); } // [B1, V3, V6]
15163test { try toAsciiFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x83\xe3\x80\x82-", false); } // [B1, V3, V6]
15164test { try toAsciiFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x83\xe3\x80\x82-", true); } // [B1, V3, V6]
15165test { try toUnicodeFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x83\xe3\x80\x82-"); } // [B1, V3, V6]
15166test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x83\xe3\x80\x82-", false); } // [B1, V3, V6]
15167test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x83\xe3\x80\x82-", true); } // [B1, V3, V6]
15168test { try toUnicodeFail("xn--4xa33mr38aeel.-"); } // [B1, V3, V6]
15169test { try toAsciiFail("xn--4xa33mr38aeel.-", false); } // [B1, V3, V6]
15170test { try toAsciiFail("xn--4xa33mr38aeel.-", true); } // [B1, V3, V6]
15171test { try toUnicodeFail("xn--3xa53mr38aeel.-"); } // [B1, V3, V6]
15172test { try toAsciiFail("xn--3xa53mr38aeel.-", false); } // [B1, V3, V6]
15173test { try toAsciiFail("xn--3xa53mr38aeel.-", true); } // [B1, V3, V6]
15174test { try toUnicodeFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x82\xef\xbd\xa1-"); } // [B1, V3, V6]
15175test { try toAsciiFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x82\xef\xbd\xa1-", false); } // [B1, V3, V6]
15176test { try toAsciiFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x82\xef\xbd\xa1-", true); } // [B1, V3, V6]
15177test { try toUnicodeFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xce\xa3\xef\xbd\xa1-"); } // [B1, V3, V6]
15178test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xce\xa3\xef\xbd\xa1-", false); } // [B1, V3, V6]
15179test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xce\xa3\xef\xbd\xa1-", true); } // [B1, V3, V6]
15180test { try toUnicodeFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x83\xef\xbd\xa1-"); } // [B1, V3, V6]
15181test { try toAsciiFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x83\xef\xbd\xa1-", false); } // [B1, V3, V6]
15182test { try toAsciiFail("\xe2\x83\x9e\xe2\xb4\x8a\xda\xbb\xcf\x83\xef\xbd\xa1-", true); } // [B1, V3, V6]
15183test { try toUnicodeFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x83\xef\xbd\xa1-"); } // [B1, V3, V6]
15184test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x83\xef\xbd\xa1-", false); } // [B1, V3, V6]
15185test { try toAsciiFail("\xe2\x83\x9e\xe1\x82\xaa\xda\xbb\xcf\x83\xef\xbd\xa1-", true); } // [B1, V3, V6]
15186test { try toUnicodeFail("xn--4xa33m7zmb0q.-"); } // [B1, V3, V6, V7]
15187test { try toAsciiFail("xn--4xa33m7zmb0q.-", false); } // [B1, V3, V6, V7]
15188test { try toAsciiFail("xn--4xa33m7zmb0q.-", true); } // [B1, V3, V6, V7]
15189test { try toUnicodeFail("xn--3xa53m7zmb0q.-"); } // [B1, V3, V6, V7]
15190test { try toAsciiFail("xn--3xa53m7zmb0q.-", false); } // [B1, V3, V6, V7]
15191test { try toAsciiFail("xn--3xa53m7zmb0q.-", true); } // [B1, V3, V6, V7]
15192test { try toUnicodeFail("\xe1\x82\xad\xef\xbc\x8e\xf1\x8d\x87\xa6\xe2\x80\x8c"); } // [C1, V7]
15193test { try toAsciiFail("\xe1\x82\xad\xef\xbc\x8e\xf1\x8d\x87\xa6\xe2\x80\x8c", false); } // [C1, V7]
15194test { try toAsciiFail("\xe1\x82\xad\xef\xbc\x8e\xf1\x8d\x87\xa6\xe2\x80\x8c", true); } // [V7]
15195test { try toUnicodeFail("\xe1\x82\xad.\xf1\x8d\x87\xa6\xe2\x80\x8c"); } // [C1, V7]
15196test { try toAsciiFail("\xe1\x82\xad.\xf1\x8d\x87\xa6\xe2\x80\x8c", false); } // [C1, V7]
15197test { try toAsciiFail("\xe1\x82\xad.\xf1\x8d\x87\xa6\xe2\x80\x8c", true); } // [V7]
15198test { try toUnicodeFail("\xe2\xb4\x8d.\xf1\x8d\x87\xa6\xe2\x80\x8c"); } // [C1, V7]
15199test { try toAsciiFail("\xe2\xb4\x8d.\xf1\x8d\x87\xa6\xe2\x80\x8c", false); } // [C1, V7]
15200test { try toAsciiFail("\xe2\xb4\x8d.\xf1\x8d\x87\xa6\xe2\x80\x8c", true); } // [V7]
15201test { try toUnicodeFail("xn--4kj.xn--p01x"); } // [V7]
15202test { try toAsciiFail("xn--4kj.xn--p01x", false); } // [V7]
15203test { try toAsciiFail("xn--4kj.xn--p01x", true); } // [V7]
15204test { try toUnicodeFail("xn--4kj.xn--0ug56448b"); } // [C1, V7]
15205test { try toAsciiFail("xn--4kj.xn--0ug56448b", false); } // [C1, V7]
15206test { try toAsciiFail("xn--4kj.xn--0ug56448b", true); } // [C1, V7]
15207test { try toUnicodeFail("\xe2\xb4\x8d\xef\xbc\x8e\xf1\x8d\x87\xa6\xe2\x80\x8c"); } // [C1, V7]
15208test { try toAsciiFail("\xe2\xb4\x8d\xef\xbc\x8e\xf1\x8d\x87\xa6\xe2\x80\x8c", false); } // [C1, V7]
15209test { try toAsciiFail("\xe2\xb4\x8d\xef\xbc\x8e\xf1\x8d\x87\xa6\xe2\x80\x8c", true); } // [V7]
15210test { try toUnicodeFail("xn--lnd.xn--p01x"); } // [V7]
15211test { try toAsciiFail("xn--lnd.xn--p01x", false); } // [V7]
15212test { try toAsciiFail("xn--lnd.xn--p01x", true); } // [V7]
15213test { try toUnicodeFail("xn--lnd.xn--0ug56448b"); } // [C1, V7]
15214test { try toAsciiFail("xn--lnd.xn--0ug56448b", false); } // [C1, V7]
15215test { try toAsciiFail("xn--lnd.xn--0ug56448b", true); } // [C1, V7]
15216test { try toUnicodeFail("\xf2\x89\x9f\x82\xf3\xa0\xb5\xa3.\xf0\x90\xab\xab\xe1\xa9\xa0\xf3\xb4\xba\x96\xe1\xad\x84"); } // [B2, B3, B6, V7]
15217test { try toAsciiFail("\xf2\x89\x9f\x82\xf3\xa0\xb5\xa3.\xf0\x90\xab\xab\xe1\xa9\xa0\xf3\xb4\xba\x96\xe1\xad\x84", false); } // [B2, B3, B6, V7]
15218test { try toAsciiFail("\xf2\x89\x9f\x82\xf3\xa0\xb5\xa3.\xf0\x90\xab\xab\xe1\xa9\xa0\xf3\xb4\xba\x96\xe1\xad\x84", true); } // [B2, B3, B6, V7]
15219test { try toUnicodeFail("xn--9u37blu98h.xn--jof13bt568cork1j"); } // [B2, B3, B6, V7]
15220test { try toAsciiFail("xn--9u37blu98h.xn--jof13bt568cork1j", false); } // [B2, B3, B6, V7]
15221test { try toAsciiFail("xn--9u37blu98h.xn--jof13bt568cork1j", true); } // [B2, B3, B6, V7]
15222test { try toUnicodeFail("\xe2\x89\xaf\xe2\x9d\x8a\xe1\xa0\xaf\xef\xbd\xa1\xf0\x90\xb9\xb1\xe2\xba\xa8"); } // [B1]
15223test { try toAsciiFail("\xe2\x89\xaf\xe2\x9d\x8a\xe1\xa0\xaf\xef\xbd\xa1\xf0\x90\xb9\xb1\xe2\xba\xa8", false); } // [B1]
15224test { try toAsciiFail("\xe2\x89\xaf\xe2\x9d\x8a\xe1\xa0\xaf\xef\xbd\xa1\xf0\x90\xb9\xb1\xe2\xba\xa8", true); } // [B1]
15225test { try toUnicodeFail(">\xcc\xb8\xe2\x9d\x8a\xe1\xa0\xaf\xef\xbd\xa1\xf0\x90\xb9\xb1\xe2\xba\xa8"); } // [B1]
15226test { try toAsciiFail(">\xcc\xb8\xe2\x9d\x8a\xe1\xa0\xaf\xef\xbd\xa1\xf0\x90\xb9\xb1\xe2\xba\xa8", false); } // [B1]
15227test { try toAsciiFail(">\xcc\xb8\xe2\x9d\x8a\xe1\xa0\xaf\xef\xbd\xa1\xf0\x90\xb9\xb1\xe2\xba\xa8", true); } // [B1]
15228test { try toUnicodeFail("\xe2\x89\xaf\xe2\x9d\x8a\xe1\xa0\xaf\xe3\x80\x82\xf0\x90\xb9\xb1\xe2\xba\xa8"); } // [B1]
15229test { try toAsciiFail("\xe2\x89\xaf\xe2\x9d\x8a\xe1\xa0\xaf\xe3\x80\x82\xf0\x90\xb9\xb1\xe2\xba\xa8", false); } // [B1]
15230test { try toAsciiFail("\xe2\x89\xaf\xe2\x9d\x8a\xe1\xa0\xaf\xe3\x80\x82\xf0\x90\xb9\xb1\xe2\xba\xa8", true); } // [B1]
15231test { try toUnicodeFail(">\xcc\xb8\xe2\x9d\x8a\xe1\xa0\xaf\xe3\x80\x82\xf0\x90\xb9\xb1\xe2\xba\xa8"); } // [B1]
15232test { try toAsciiFail(">\xcc\xb8\xe2\x9d\x8a\xe1\xa0\xaf\xe3\x80\x82\xf0\x90\xb9\xb1\xe2\xba\xa8", false); } // [B1]
15233test { try toAsciiFail(">\xcc\xb8\xe2\x9d\x8a\xe1\xa0\xaf\xe3\x80\x82\xf0\x90\xb9\xb1\xe2\xba\xa8", true); } // [B1]
15234test { try toUnicodeFail("xn--i7e163ct2d.xn--vwj7372e"); } // [B1]
15235test { try toAsciiFail("xn--i7e163ct2d.xn--vwj7372e", false); } // [B1]
15236test { try toAsciiFail("xn--i7e163ct2d.xn--vwj7372e", true); } // [B1]
15237test { try toUnicodeFail("\xf4\x81\x95\x9c\xf0\x90\xb9\xa7\xf0\x9e\xad\x81\xf0\x90\xb9\xa9\xe3\x80\x82\xe1\x82\xa8\xf0\x90\xab\xae\xe1\x82\xaf"); } // [B5, B6, V7]
15238test { try toAsciiFail("\xf4\x81\x95\x9c\xf0\x90\xb9\xa7\xf0\x9e\xad\x81\xf0\x90\xb9\xa9\xe3\x80\x82\xe1\x82\xa8\xf0\x90\xab\xae\xe1\x82\xaf", false); } // [B5, B6, V7]
15239test { try toAsciiFail("\xf4\x81\x95\x9c\xf0\x90\xb9\xa7\xf0\x9e\xad\x81\xf0\x90\xb9\xa9\xe3\x80\x82\xe1\x82\xa8\xf0\x90\xab\xae\xe1\x82\xaf", true); } // [B5, B6, V7]
15240test { try toUnicodeFail("\xf4\x81\x95\x9c\xf0\x90\xb9\xa7\xf0\x9e\xad\x81\xf0\x90\xb9\xa9\xe3\x80\x82\xe2\xb4\x88\xf0\x90\xab\xae\xe2\xb4\x8f"); } // [B5, B6, V7]
15241test { try toAsciiFail("\xf4\x81\x95\x9c\xf0\x90\xb9\xa7\xf0\x9e\xad\x81\xf0\x90\xb9\xa9\xe3\x80\x82\xe2\xb4\x88\xf0\x90\xab\xae\xe2\xb4\x8f", false); } // [B5, B6, V7]
15242test { try toAsciiFail("\xf4\x81\x95\x9c\xf0\x90\xb9\xa7\xf0\x9e\xad\x81\xf0\x90\xb9\xa9\xe3\x80\x82\xe2\xb4\x88\xf0\x90\xab\xae\xe2\xb4\x8f", true); } // [B5, B6, V7]
15243test { try toUnicodeFail("xn--fo0de1270ope54j.xn--zkjo0151o"); } // [B5, B6, V7]
15244test { try toAsciiFail("xn--fo0de1270ope54j.xn--zkjo0151o", false); } // [B5, B6, V7]
15245test { try toAsciiFail("xn--fo0de1270ope54j.xn--zkjo0151o", true); } // [B5, B6, V7]
15246test { try toUnicodeFail("xn--fo0de1270ope54j.xn--gndo2033q"); } // [B5, B6, V7]
15247test { try toAsciiFail("xn--fo0de1270ope54j.xn--gndo2033q", false); } // [B5, B6, V7]
15248test { try toAsciiFail("xn--fo0de1270ope54j.xn--gndo2033q", true); } // [B5, B6, V7]
15249test { try toUnicodeFail("\xf0\x9e\xa0\x82\xe3\x80\x82\xea\xa4\xa6"); } // [B1, V6]
15250test { try toAsciiFail("\xf0\x9e\xa0\x82\xe3\x80\x82\xea\xa4\xa6", false); } // [B1, V6]
15251test { try toAsciiFail("\xf0\x9e\xa0\x82\xe3\x80\x82\xea\xa4\xa6", true); } // [B1, V6]
15252test { try toUnicodeFail("xn--145h.xn--ti9a"); } // [B1, V6]
15253test { try toAsciiFail("xn--145h.xn--ti9a", false); } // [B1, V6]
15254test { try toAsciiFail("xn--145h.xn--ti9a", true); } // [B1, V6]
15255test { try toUnicodeFail("\xf0\x9d\x9f\x94\xf0\x90\xb9\xab\xef\xbc\x8e\xdc\xb3\xe1\x80\xb7\xef\xbc\x99\xea\xa1\x87"); } // [B1, V6]
15256test { try toAsciiFail("\xf0\x9d\x9f\x94\xf0\x90\xb9\xab\xef\xbc\x8e\xdc\xb3\xe1\x80\xb7\xef\xbc\x99\xea\xa1\x87", false); } // [B1, V6]
15257test { try toAsciiFail("\xf0\x9d\x9f\x94\xf0\x90\xb9\xab\xef\xbc\x8e\xdc\xb3\xe1\x80\xb7\xef\xbc\x99\xea\xa1\x87", true); } // [B1, V6]
15258test { try toUnicodeFail("\xf0\x9d\x9f\x94\xf0\x90\xb9\xab\xef\xbc\x8e\xe1\x80\xb7\xdc\xb3\xef\xbc\x99\xea\xa1\x87"); } // [B1, V6]
15259test { try toAsciiFail("\xf0\x9d\x9f\x94\xf0\x90\xb9\xab\xef\xbc\x8e\xe1\x80\xb7\xdc\xb3\xef\xbc\x99\xea\xa1\x87", false); } // [B1, V6]
15260test { try toAsciiFail("\xf0\x9d\x9f\x94\xf0\x90\xb9\xab\xef\xbc\x8e\xe1\x80\xb7\xdc\xb3\xef\xbc\x99\xea\xa1\x87", true); } // [B1, V6]
15261test { try toUnicodeFail("6\xf0\x90\xb9\xab.\xe1\x80\xb7\xdc\xb39\xea\xa1\x87"); } // [B1, V6]
15262test { try toAsciiFail("6\xf0\x90\xb9\xab.\xe1\x80\xb7\xdc\xb39\xea\xa1\x87", false); } // [B1, V6]
15263test { try toAsciiFail("6\xf0\x90\xb9\xab.\xe1\x80\xb7\xdc\xb39\xea\xa1\x87", true); } // [B1, V6]
15264test { try toUnicodeFail("xn--6-t26i.xn--9-91c730e8u8n"); } // [B1, V6]
15265test { try toAsciiFail("xn--6-t26i.xn--9-91c730e8u8n", false); } // [B1, V6]
15266test { try toAsciiFail("xn--6-t26i.xn--9-91c730e8u8n", true); } // [B1, V6]
15267test { try toUnicodeFail("\xdc\xa4\xd8\x83\xf0\x9e\xb2\xb6\xef\xbc\x8e\xdb\x98"); } // [B1, V6, V7]
15268test { try toAsciiFail("\xdc\xa4\xd8\x83\xf0\x9e\xb2\xb6\xef\xbc\x8e\xdb\x98", false); } // [B1, V6, V7]
15269test { try toAsciiFail("\xdc\xa4\xd8\x83\xf0\x9e\xb2\xb6\xef\xbc\x8e\xdb\x98", true); } // [B1, V6, V7]
15270test { try toUnicodeFail("\xdc\xa4\xd8\x83\xf0\x9e\xb2\xb6.\xdb\x98"); } // [B1, V6, V7]
15271test { try toAsciiFail("\xdc\xa4\xd8\x83\xf0\x9e\xb2\xb6.\xdb\x98", false); } // [B1, V6, V7]
15272test { try toAsciiFail("\xdc\xa4\xd8\x83\xf0\x9e\xb2\xb6.\xdb\x98", true); } // [B1, V6, V7]
15273test { try toUnicodeFail("xn--lfb19ct414i.xn--olb"); } // [B1, V6, V7]
15274test { try toAsciiFail("xn--lfb19ct414i.xn--olb", false); } // [B1, V6, V7]
15275test { try toAsciiFail("xn--lfb19ct414i.xn--olb", true); } // [B1, V6, V7]
15276test { try toUnicodeFail("\xe2\x9c\x86\xf1\xb1\x94\xa9\xea\xa1\x8b\xef\xbc\x8e\xd8\xb2\xe2\x80\x8d\xf0\x9e\xa3\xb4"); } // [B1, C2, V7]
15277test { try toAsciiFail("\xe2\x9c\x86\xf1\xb1\x94\xa9\xea\xa1\x8b\xef\xbc\x8e\xd8\xb2\xe2\x80\x8d\xf0\x9e\xa3\xb4", false); } // [B1, C2, V7]
15278test { try toAsciiFail("\xe2\x9c\x86\xf1\xb1\x94\xa9\xea\xa1\x8b\xef\xbc\x8e\xd8\xb2\xe2\x80\x8d\xf0\x9e\xa3\xb4", true); } // [B1, V7]
15279test { try toUnicodeFail("\xe2\x9c\x86\xf1\xb1\x94\xa9\xea\xa1\x8b.\xd8\xb2\xe2\x80\x8d\xf0\x9e\xa3\xb4"); } // [B1, C2, V7]
15280test { try toAsciiFail("\xe2\x9c\x86\xf1\xb1\x94\xa9\xea\xa1\x8b.\xd8\xb2\xe2\x80\x8d\xf0\x9e\xa3\xb4", false); } // [B1, C2, V7]
15281test { try toAsciiFail("\xe2\x9c\x86\xf1\xb1\x94\xa9\xea\xa1\x8b.\xd8\xb2\xe2\x80\x8d\xf0\x9e\xa3\xb4", true); } // [B1, V7]
15282test { try toUnicodeFail("xn--1biv525bcix0d.xn--xgb6828v"); } // [B1, V7]
15283test { try toAsciiFail("xn--1biv525bcix0d.xn--xgb6828v", false); } // [B1, V7]
15284test { try toAsciiFail("xn--1biv525bcix0d.xn--xgb6828v", true); } // [B1, V7]
15285test { try toUnicodeFail("xn--1biv525bcix0d.xn--xgb253k0m73a"); } // [B1, C2, V7]
15286test { try toAsciiFail("xn--1biv525bcix0d.xn--xgb253k0m73a", false); } // [B1, C2, V7]
15287test { try toAsciiFail("xn--1biv525bcix0d.xn--xgb253k0m73a", true); } // [B1, C2, V7]
15288test { try toUnicodeFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xf0\x9e\xb8\x8d-\xef\xbc\x8e\xe2\x89\xa0\xf2\x83\x81\x9f\xf0\x91\x8b\xaa"); } // [B1, B2, B3, V3, V7]
15289test { try toAsciiFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xf0\x9e\xb8\x8d-\xef\xbc\x8e\xe2\x89\xa0\xf2\x83\x81\x9f\xf0\x91\x8b\xaa", false); } // [B1, B2, B3, V3, V7]
15290test { try toAsciiFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xf0\x9e\xb8\x8d-\xef\xbc\x8e\xe2\x89\xa0\xf2\x83\x81\x9f\xf0\x91\x8b\xaa", true); } // [B1, B2, B3, V3, V7]
15291test { try toUnicodeFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xf0\x9e\xb8\x8d-\xef\xbc\x8e=\xcc\xb8\xf2\x83\x81\x9f\xf0\x91\x8b\xaa"); } // [B1, B2, B3, V3, V7]
15292test { try toAsciiFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xf0\x9e\xb8\x8d-\xef\xbc\x8e=\xcc\xb8\xf2\x83\x81\x9f\xf0\x91\x8b\xaa", false); } // [B1, B2, B3, V3, V7]
15293test { try toAsciiFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xf0\x9e\xb8\x8d-\xef\xbc\x8e=\xcc\xb8\xf2\x83\x81\x9f\xf0\x91\x8b\xaa", true); } // [B1, B2, B3, V3, V7]
15294test { try toUnicodeFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xd9\x86-.\xe2\x89\xa0\xf2\x83\x81\x9f\xf0\x91\x8b\xaa"); } // [B1, B2, B3, V3, V7]
15295test { try toAsciiFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xd9\x86-.\xe2\x89\xa0\xf2\x83\x81\x9f\xf0\x91\x8b\xaa", false); } // [B1, B2, B3, V3, V7]
15296test { try toAsciiFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xd9\x86-.\xe2\x89\xa0\xf2\x83\x81\x9f\xf0\x91\x8b\xaa", true); } // [B1, B2, B3, V3, V7]
15297test { try toUnicodeFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xd9\x86-.=\xcc\xb8\xf2\x83\x81\x9f\xf0\x91\x8b\xaa"); } // [B1, B2, B3, V3, V7]
15298test { try toAsciiFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xd9\x86-.=\xcc\xb8\xf2\x83\x81\x9f\xf0\x91\x8b\xaa", false); } // [B1, B2, B3, V3, V7]
15299test { try toAsciiFail("\xe0\xa1\x85\xf1\x83\xbe\xb0\xd9\x86-.=\xcc\xb8\xf2\x83\x81\x9f\xf0\x91\x8b\xaa", true); } // [B1, B2, B3, V3, V7]
15300test { try toUnicodeFail("xn----qoc64my971s.xn--1ch7585g76o3c"); } // [B1, B2, B3, V3, V7]
15301test { try toAsciiFail("xn----qoc64my971s.xn--1ch7585g76o3c", false); } // [B1, B2, B3, V3, V7]
15302test { try toAsciiFail("xn----qoc64my971s.xn--1ch7585g76o3c", true); } // [B1, B2, B3, V3, V7]
15303test { try toUnicodePass("\xf0\x9d\x9f\x9b\xef\xbc\x8e\xef\xa7\xb8", "3.\xe7\xac\xa0"); }
15304test { try toAsciiPass("\xf0\x9d\x9f\x9b\xef\xbc\x8e\xef\xa7\xb8", "3.xn--6vz", false); }
15305test { try toAsciiPass("\xf0\x9d\x9f\x9b\xef\xbc\x8e\xef\xa7\xb8", "3.xn--6vz", true); }
15306test { try toUnicodePass("\xf0\x9d\x9f\x9b\xef\xbc\x8e\xe7\xac\xa0", "3.\xe7\xac\xa0"); }
15307test { try toAsciiPass("\xf0\x9d\x9f\x9b\xef\xbc\x8e\xe7\xac\xa0", "3.xn--6vz", false); }
15308test { try toAsciiPass("\xf0\x9d\x9f\x9b\xef\xbc\x8e\xe7\xac\xa0", "3.xn--6vz", true); }
15309test { try toUnicodePass("3.\xe7\xac\xa0", "3.\xe7\xac\xa0"); }
15310test { try toAsciiPass("3.\xe7\xac\xa0", "3.xn--6vz", false); }
15311test { try toAsciiPass("3.\xe7\xac\xa0", "3.xn--6vz", true); }
15312test { try toUnicodePass("3.xn--6vz", "3.\xe7\xac\xa0"); }
15313test { try toAsciiPass("3.xn--6vz", "3.xn--6vz", false); }
15314test { try toAsciiPass("3.xn--6vz", "3.xn--6vz", true); }
15315test { try toUnicodeFail("-\xe2\x80\x8d.\xe1\x82\xbe\xf0\x90\x8b\xb7"); } // [C2, V3]
15316test { try toAsciiFail("-\xe2\x80\x8d.\xe1\x82\xbe\xf0\x90\x8b\xb7", false); } // [C2, V3]
15317test { try toAsciiFail("-\xe2\x80\x8d.\xe1\x82\xbe\xf0\x90\x8b\xb7", true); } // [V3]
15318test { try toUnicodeFail("-\xe2\x80\x8d.\xe2\xb4\x9e\xf0\x90\x8b\xb7"); } // [C2, V3]
15319test { try toAsciiFail("-\xe2\x80\x8d.\xe2\xb4\x9e\xf0\x90\x8b\xb7", false); } // [C2, V3]
15320test { try toAsciiFail("-\xe2\x80\x8d.\xe2\xb4\x9e\xf0\x90\x8b\xb7", true); } // [V3]
15321test { try toUnicodeFail("-.xn--mlj8559d"); } // [V3]
15322test { try toAsciiFail("-.xn--mlj8559d", false); } // [V3]
15323test { try toAsciiFail("-.xn--mlj8559d", true); } // [V3]
15324test { try toUnicodeFail("xn----ugn.xn--mlj8559d"); } // [C2, V3]
15325test { try toAsciiFail("xn----ugn.xn--mlj8559d", false); } // [C2, V3]
15326test { try toAsciiFail("xn----ugn.xn--mlj8559d", true); } // [C2, V3]
15327test { try toUnicodeFail("-.xn--2nd2315j"); } // [V3, V7]
15328test { try toAsciiFail("-.xn--2nd2315j", false); } // [V3, V7]
15329test { try toAsciiFail("-.xn--2nd2315j", true); } // [V3, V7]
15330test { try toUnicodeFail("xn----ugn.xn--2nd2315j"); } // [C2, V3, V7]
15331test { try toAsciiFail("xn----ugn.xn--2nd2315j", false); } // [C2, V3, V7]
15332test { try toAsciiFail("xn----ugn.xn--2nd2315j", true); } // [C2, V3, V7]
15333test { try toUnicodeFail("\xe2\x80\x8d\xcf\x82\xc3\x9f\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d"); } // [C2, V6]
15334test { try toAsciiFail("\xe2\x80\x8d\xcf\x82\xc3\x9f\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", false); } // [C2, V6]
15335test { try toAsciiFail("\xe2\x80\x8d\xcf\x82\xc3\x9f\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", true); } // [V6]
15336test { try toUnicodeFail("\xe2\x80\x8d\xcf\x82\xc3\x9f\xdc\xb1.\xe0\xaf\x8d"); } // [C2, V6]
15337test { try toAsciiFail("\xe2\x80\x8d\xcf\x82\xc3\x9f\xdc\xb1.\xe0\xaf\x8d", false); } // [C2, V6]
15338test { try toAsciiFail("\xe2\x80\x8d\xcf\x82\xc3\x9f\xdc\xb1.\xe0\xaf\x8d", true); } // [V6]
15339test { try toUnicodeFail("\xe2\x80\x8d\xce\xa3SS\xdc\xb1.\xe0\xaf\x8d"); } // [C2, V6]
15340test { try toAsciiFail("\xe2\x80\x8d\xce\xa3SS\xdc\xb1.\xe0\xaf\x8d", false); } // [C2, V6]
15341test { try toAsciiFail("\xe2\x80\x8d\xce\xa3SS\xdc\xb1.\xe0\xaf\x8d", true); } // [V6]
15342test { try toUnicodeFail("\xe2\x80\x8d\xcf\x83ss\xdc\xb1.\xe0\xaf\x8d"); } // [C2, V6]
15343test { try toAsciiFail("\xe2\x80\x8d\xcf\x83ss\xdc\xb1.\xe0\xaf\x8d", false); } // [C2, V6]
15344test { try toAsciiFail("\xe2\x80\x8d\xcf\x83ss\xdc\xb1.\xe0\xaf\x8d", true); } // [V6]
15345test { try toUnicodeFail("\xe2\x80\x8d\xce\xa3ss\xdc\xb1.\xe0\xaf\x8d"); } // [C2, V6]
15346test { try toAsciiFail("\xe2\x80\x8d\xce\xa3ss\xdc\xb1.\xe0\xaf\x8d", false); } // [C2, V6]
15347test { try toAsciiFail("\xe2\x80\x8d\xce\xa3ss\xdc\xb1.\xe0\xaf\x8d", true); } // [V6]
15348test { try toUnicodeFail("xn--ss-ubc826a.xn--xmc"); } // [V6]
15349test { try toAsciiFail("xn--ss-ubc826a.xn--xmc", false); } // [V6]
15350test { try toAsciiFail("xn--ss-ubc826a.xn--xmc", true); } // [V6]
15351test { try toUnicodeFail("xn--ss-ubc826ab34b.xn--xmc"); } // [C2, V6]
15352test { try toAsciiFail("xn--ss-ubc826ab34b.xn--xmc", false); } // [C2, V6]
15353test { try toAsciiFail("xn--ss-ubc826ab34b.xn--xmc", true); } // [C2, V6]
15354test { try toUnicodeFail("\xe2\x80\x8d\xce\xa3\xc3\x9f\xdc\xb1.\xe0\xaf\x8d"); } // [C2, V6]
15355test { try toAsciiFail("\xe2\x80\x8d\xce\xa3\xc3\x9f\xdc\xb1.\xe0\xaf\x8d", false); } // [C2, V6]
15356test { try toAsciiFail("\xe2\x80\x8d\xce\xa3\xc3\x9f\xdc\xb1.\xe0\xaf\x8d", true); } // [V6]
15357test { try toUnicodeFail("\xe2\x80\x8d\xcf\x83\xc3\x9f\xdc\xb1.\xe0\xaf\x8d"); } // [C2, V6]
15358test { try toAsciiFail("\xe2\x80\x8d\xcf\x83\xc3\x9f\xdc\xb1.\xe0\xaf\x8d", false); } // [C2, V6]
15359test { try toAsciiFail("\xe2\x80\x8d\xcf\x83\xc3\x9f\xdc\xb1.\xe0\xaf\x8d", true); } // [V6]
15360test { try toUnicodeFail("xn--zca39lk1di19a.xn--xmc"); } // [C2, V6]
15361test { try toAsciiFail("xn--zca39lk1di19a.xn--xmc", false); } // [C2, V6]
15362test { try toAsciiFail("xn--zca39lk1di19a.xn--xmc", true); } // [C2, V6]
15363test { try toUnicodeFail("xn--zca19ln1di19a.xn--xmc"); } // [C2, V6]
15364test { try toAsciiFail("xn--zca19ln1di19a.xn--xmc", false); } // [C2, V6]
15365test { try toAsciiFail("xn--zca19ln1di19a.xn--xmc", true); } // [C2, V6]
15366test { try toUnicodeFail("\xe2\x80\x8d\xce\xa3SS\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d"); } // [C2, V6]
15367test { try toAsciiFail("\xe2\x80\x8d\xce\xa3SS\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", false); } // [C2, V6]
15368test { try toAsciiFail("\xe2\x80\x8d\xce\xa3SS\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", true); } // [V6]
15369test { try toUnicodeFail("\xe2\x80\x8d\xcf\x83ss\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d"); } // [C2, V6]
15370test { try toAsciiFail("\xe2\x80\x8d\xcf\x83ss\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", false); } // [C2, V6]
15371test { try toAsciiFail("\xe2\x80\x8d\xcf\x83ss\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", true); } // [V6]
15372test { try toUnicodeFail("\xe2\x80\x8d\xce\xa3ss\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d"); } // [C2, V6]
15373test { try toAsciiFail("\xe2\x80\x8d\xce\xa3ss\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", false); } // [C2, V6]
15374test { try toAsciiFail("\xe2\x80\x8d\xce\xa3ss\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", true); } // [V6]
15375test { try toUnicodeFail("\xe2\x80\x8d\xce\xa3\xc3\x9f\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d"); } // [C2, V6]
15376test { try toAsciiFail("\xe2\x80\x8d\xce\xa3\xc3\x9f\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", false); } // [C2, V6]
15377test { try toAsciiFail("\xe2\x80\x8d\xce\xa3\xc3\x9f\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", true); } // [V6]
15378test { try toUnicodeFail("\xe2\x80\x8d\xcf\x83\xc3\x9f\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d"); } // [C2, V6]
15379test { try toAsciiFail("\xe2\x80\x8d\xcf\x83\xc3\x9f\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", false); } // [C2, V6]
15380test { try toAsciiFail("\xe2\x80\x8d\xcf\x83\xc3\x9f\xdc\xb1\xef\xbc\x8e\xe0\xaf\x8d", true); } // [V6]
15381test { try toUnicodeFail("\xe2\x89\xa0\xef\xbc\x8e\xe2\x80\x8d"); } // [C2]
15382test { try toAsciiFail("\xe2\x89\xa0\xef\xbc\x8e\xe2\x80\x8d", false); } // [C2]
15383test { try toAsciiFail("\xe2\x89\xa0\xef\xbc\x8e\xe2\x80\x8d", true); } // [A4_2]
15384test { try toUnicodeFail("=\xcc\xb8\xef\xbc\x8e\xe2\x80\x8d"); } // [C2]
15385test { try toAsciiFail("=\xcc\xb8\xef\xbc\x8e\xe2\x80\x8d", false); } // [C2]
15386test { try toAsciiFail("=\xcc\xb8\xef\xbc\x8e\xe2\x80\x8d", true); } // [A4_2]
15387test { try toUnicodeFail("\xe2\x89\xa0.\xe2\x80\x8d"); } // [C2]
15388test { try toAsciiFail("\xe2\x89\xa0.\xe2\x80\x8d", false); } // [C2]
15389test { try toAsciiFail("\xe2\x89\xa0.\xe2\x80\x8d", true); } // [A4_2]
15390test { try toUnicodeFail("=\xcc\xb8.\xe2\x80\x8d"); } // [C2]
15391test { try toAsciiFail("=\xcc\xb8.\xe2\x80\x8d", false); } // [C2]
15392test { try toAsciiFail("=\xcc\xb8.\xe2\x80\x8d", true); } // [A4_2]
15393test { try toUnicodePass("xn--1ch.", "\xe2\x89\xa0."); }
15394test { try toAsciiFail("xn--1ch.", false); } // [A4_2]
15395test { try toAsciiFail("xn--1ch.", true); } // [A4_2]
15396test { try toUnicodePass("\xe2\x89\xa0.", "\xe2\x89\xa0."); }
15397test { try toAsciiFail("\xe2\x89\xa0.", false); } // [A4_2]
15398test { try toAsciiFail("\xe2\x89\xa0.", true); } // [A4_2]
15399test { try toUnicodePass("=\xcc\xb8.", "\xe2\x89\xa0."); }
15400test { try toAsciiFail("=\xcc\xb8.", false); } // [A4_2]
15401test { try toAsciiFail("=\xcc\xb8.", true); } // [A4_2]
15402test { try toUnicodeFail("xn--1ch.xn--1ug"); } // [C2]
15403test { try toAsciiFail("xn--1ch.xn--1ug", false); } // [C2]
15404test { try toAsciiFail("xn--1ch.xn--1ug", true); } // [C2]
15405test { try toUnicodeFail("\xef\xb0\x81\xef\xbd\xa1\xe0\xb2\x81\xe1\xa0\xbc\xe2\x96\x97\xf2\x92\x81\x8b"); } // [B1, V6, V7]
15406test { try toAsciiFail("\xef\xb0\x81\xef\xbd\xa1\xe0\xb2\x81\xe1\xa0\xbc\xe2\x96\x97\xf2\x92\x81\x8b", false); } // [B1, V6, V7]
15407test { try toAsciiFail("\xef\xb0\x81\xef\xbd\xa1\xe0\xb2\x81\xe1\xa0\xbc\xe2\x96\x97\xf2\x92\x81\x8b", true); } // [B1, V6, V7]
15408test { try toUnicodeFail("\xd8\xa6\xd8\xad\xe3\x80\x82\xe0\xb2\x81\xe1\xa0\xbc\xe2\x96\x97\xf2\x92\x81\x8b"); } // [B1, V6, V7]
15409test { try toAsciiFail("\xd8\xa6\xd8\xad\xe3\x80\x82\xe0\xb2\x81\xe1\xa0\xbc\xe2\x96\x97\xf2\x92\x81\x8b", false); } // [B1, V6, V7]
15410test { try toAsciiFail("\xd8\xa6\xd8\xad\xe3\x80\x82\xe0\xb2\x81\xe1\xa0\xbc\xe2\x96\x97\xf2\x92\x81\x8b", true); } // [B1, V6, V7]
15411test { try toUnicodeFail("\xd9\x8a\xd9\x94\xd8\xad\xe3\x80\x82\xe0\xb2\x81\xe1\xa0\xbc\xe2\x96\x97\xf2\x92\x81\x8b"); } // [B1, V6, V7]
15412test { try toAsciiFail("\xd9\x8a\xd9\x94\xd8\xad\xe3\x80\x82\xe0\xb2\x81\xe1\xa0\xbc\xe2\x96\x97\xf2\x92\x81\x8b", false); } // [B1, V6, V7]
15413test { try toAsciiFail("\xd9\x8a\xd9\x94\xd8\xad\xe3\x80\x82\xe0\xb2\x81\xe1\xa0\xbc\xe2\x96\x97\xf2\x92\x81\x8b", true); } // [B1, V6, V7]
15414test { try toUnicodeFail("xn--lgbo.xn--2rc021dcxkrx55t"); } // [B1, V6, V7]
15415test { try toAsciiFail("xn--lgbo.xn--2rc021dcxkrx55t", false); } // [B1, V6, V7]
15416test { try toAsciiFail("xn--lgbo.xn--2rc021dcxkrx55t", true); } // [B1, V6, V7]
15417test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x82\xef\xbc\x8e\xcf\x82\xf0\x90\xa8\xbf"); } // [V7]
15418test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x82\xef\xbc\x8e\xcf\x82\xf0\x90\xa8\xbf", false); } // [V7]
15419test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x82\xef\xbc\x8e\xcf\x82\xf0\x90\xa8\xbf", true); } // [V7]
15420test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x82.\xcf\x82\xf0\x90\xa8\xbf"); } // [V7]
15421test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x82.\xcf\x82\xf0\x90\xa8\xbf", false); } // [V7]
15422test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x82.\xcf\x82\xf0\x90\xa8\xbf", true); } // [V7]
15423test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3.\xce\xa3\xf0\x90\xa8\xbf"); } // [V7]
15424test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3.\xce\xa3\xf0\x90\xa8\xbf", false); } // [V7]
15425test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3.\xce\xa3\xf0\x90\xa8\xbf", true); } // [V7]
15426test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83.\xcf\x82\xf0\x90\xa8\xbf"); } // [V7]
15427test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83.\xcf\x82\xf0\x90\xa8\xbf", false); } // [V7]
15428test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83.\xcf\x82\xf0\x90\xa8\xbf", true); } // [V7]
15429test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83.\xcf\x83\xf0\x90\xa8\xbf"); } // [V7]
15430test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83.\xcf\x83\xf0\x90\xa8\xbf", false); } // [V7]
15431test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83.\xcf\x83\xf0\x90\xa8\xbf", true); } // [V7]
15432test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3.\xcf\x83\xf0\x90\xa8\xbf"); } // [V7]
15433test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3.\xcf\x83\xf0\x90\xa8\xbf", false); } // [V7]
15434test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3.\xcf\x83\xf0\x90\xa8\xbf", true); } // [V7]
15435test { try toUnicodeFail("xn--4xa502av8297a.xn--4xa6055k"); } // [V7]
15436test { try toAsciiFail("xn--4xa502av8297a.xn--4xa6055k", false); } // [V7]
15437test { try toAsciiFail("xn--4xa502av8297a.xn--4xa6055k", true); } // [V7]
15438test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3.\xcf\x82\xf0\x90\xa8\xbf"); } // [V7]
15439test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3.\xcf\x82\xf0\x90\xa8\xbf", false); } // [V7]
15440test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3.\xcf\x82\xf0\x90\xa8\xbf", true); } // [V7]
15441test { try toUnicodeFail("xn--4xa502av8297a.xn--3xa8055k"); } // [V7]
15442test { try toAsciiFail("xn--4xa502av8297a.xn--3xa8055k", false); } // [V7]
15443test { try toAsciiFail("xn--4xa502av8297a.xn--3xa8055k", true); } // [V7]
15444test { try toUnicodeFail("xn--3xa702av8297a.xn--3xa8055k"); } // [V7]
15445test { try toAsciiFail("xn--3xa702av8297a.xn--3xa8055k", false); } // [V7]
15446test { try toAsciiFail("xn--3xa702av8297a.xn--3xa8055k", true); } // [V7]
15447test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3\xef\xbc\x8e\xce\xa3\xf0\x90\xa8\xbf"); } // [V7]
15448test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3\xef\xbc\x8e\xce\xa3\xf0\x90\xa8\xbf", false); } // [V7]
15449test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3\xef\xbc\x8e\xce\xa3\xf0\x90\xa8\xbf", true); } // [V7]
15450test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83\xef\xbc\x8e\xcf\x82\xf0\x90\xa8\xbf"); } // [V7]
15451test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83\xef\xbc\x8e\xcf\x82\xf0\x90\xa8\xbf", false); } // [V7]
15452test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83\xef\xbc\x8e\xcf\x82\xf0\x90\xa8\xbf", true); } // [V7]
15453test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83\xef\xbc\x8e\xcf\x83\xf0\x90\xa8\xbf"); } // [V7]
15454test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83\xef\xbc\x8e\xcf\x83\xf0\x90\xa8\xbf", false); } // [V7]
15455test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xcf\x83\xef\xbc\x8e\xcf\x83\xf0\x90\xa8\xbf", true); } // [V7]
15456test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3\xef\xbc\x8e\xcf\x83\xf0\x90\xa8\xbf"); } // [V7]
15457test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3\xef\xbc\x8e\xcf\x83\xf0\x90\xa8\xbf", false); } // [V7]
15458test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3\xef\xbc\x8e\xcf\x83\xf0\x90\xa8\xbf", true); } // [V7]
15459test { try toUnicodeFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3\xef\xbc\x8e\xcf\x82\xf0\x90\xa8\xbf"); } // [V7]
15460test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3\xef\xbc\x8e\xcf\x82\xf0\x90\xa8\xbf", false); } // [V7]
15461test { try toAsciiFail("\xf3\xa7\x8b\xb5\xe0\xa7\x8d\xce\xa3\xef\xbc\x8e\xcf\x82\xf0\x90\xa8\xbf", true); } // [V7]
15462test { try toUnicodeFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xef\xbd\xa1\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe1\x82\xb9"); } // [B2, B3, V7]
15463test { try toAsciiFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xef\xbd\xa1\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe1\x82\xb9", false); } // [B2, B3, V7]
15464test { try toAsciiFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xef\xbd\xa1\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe1\x82\xb9", true); } // [B2, B3, V7]
15465test { try toUnicodeFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xe3\x80\x82\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe1\x82\xb9"); } // [B2, B3, V7]
15466test { try toAsciiFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xe3\x80\x82\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe1\x82\xb9", false); } // [B2, B3, V7]
15467test { try toAsciiFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xe3\x80\x82\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe1\x82\xb9", true); } // [B2, B3, V7]
15468test { try toUnicodeFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xe3\x80\x82\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe2\xb4\x99"); } // [B2, B3, V7]
15469test { try toAsciiFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xe3\x80\x82\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe2\xb4\x99", false); } // [B2, B3, V7]
15470test { try toAsciiFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xe3\x80\x82\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe2\xb4\x99", true); } // [B2, B3, V7]
15471test { try toUnicodeFail("xn--zsb09cu46vjs6f.xn--gmf469fr883am5r1e"); } // [B2, B3, V7]
15472test { try toAsciiFail("xn--zsb09cu46vjs6f.xn--gmf469fr883am5r1e", false); } // [B2, B3, V7]
15473test { try toAsciiFail("xn--zsb09cu46vjs6f.xn--gmf469fr883am5r1e", true); } // [B2, B3, V7]
15474test { try toUnicodeFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xef\xbd\xa1\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe2\xb4\x99"); } // [B2, B3, V7]
15475test { try toAsciiFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xef\xbd\xa1\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe2\xb4\x99", false); } // [B2, B3, V7]
15476test { try toAsciiFail("\xf0\x90\xab\x93\xdf\x98\xe7\x89\x85\xe0\xa3\xb8\xef\xbd\xa1\xf0\x9e\xa6\xa4\xe1\xa8\x97\xf2\xb1\x8d\xb0\xe2\xb4\x99", true); } // [B2, B3, V7]
15477test { try toUnicodeFail("xn--zsb09cu46vjs6f.xn--xnd909bv540bm5k9d"); } // [B2, B3, V7]
15478test { try toAsciiFail("xn--zsb09cu46vjs6f.xn--xnd909bv540bm5k9d", false); } // [B2, B3, V7]
15479test { try toAsciiFail("xn--zsb09cu46vjs6f.xn--xnd909bv540bm5k9d", true); } // [B2, B3, V7]
15480test { try toUnicodeFail("\xf1\xa3\xa4\x92\xef\xbd\xa1\xeb\xa5\xa7"); } // [V7]
15481test { try toAsciiFail("\xf1\xa3\xa4\x92\xef\xbd\xa1\xeb\xa5\xa7", false); } // [V7]
15482test { try toAsciiFail("\xf1\xa3\xa4\x92\xef\xbd\xa1\xeb\xa5\xa7", true); } // [V7]
15483test { try toUnicodeFail("\xf1\xa3\xa4\x92\xef\xbd\xa1\xe1\x84\x85\xe1\x85\xb2\xe1\x86\xb6"); } // [V7]
15484test { try toAsciiFail("\xf1\xa3\xa4\x92\xef\xbd\xa1\xe1\x84\x85\xe1\x85\xb2\xe1\x86\xb6", false); } // [V7]
15485test { try toAsciiFail("\xf1\xa3\xa4\x92\xef\xbd\xa1\xe1\x84\x85\xe1\x85\xb2\xe1\x86\xb6", true); } // [V7]
15486test { try toUnicodeFail("\xf1\xa3\xa4\x92\xe3\x80\x82\xeb\xa5\xa7"); } // [V7]
15487test { try toAsciiFail("\xf1\xa3\xa4\x92\xe3\x80\x82\xeb\xa5\xa7", false); } // [V7]
15488test { try toAsciiFail("\xf1\xa3\xa4\x92\xe3\x80\x82\xeb\xa5\xa7", true); } // [V7]
15489test { try toUnicodeFail("\xf1\xa3\xa4\x92\xe3\x80\x82\xe1\x84\x85\xe1\x85\xb2\xe1\x86\xb6"); } // [V7]
15490test { try toAsciiFail("\xf1\xa3\xa4\x92\xe3\x80\x82\xe1\x84\x85\xe1\x85\xb2\xe1\x86\xb6", false); } // [V7]
15491test { try toAsciiFail("\xf1\xa3\xa4\x92\xe3\x80\x82\xe1\x84\x85\xe1\x85\xb2\xe1\x86\xb6", true); } // [V7]
15492test { try toUnicodeFail("xn--s264a.xn--pw2b"); } // [V7]
15493test { try toAsciiFail("xn--s264a.xn--pw2b", false); } // [V7]
15494test { try toAsciiFail("xn--s264a.xn--pw2b", true); } // [V7]
15495test { try toUnicodeFail("\xf0\x90\xb9\xb7\xe2\x80\x8d\xe3\x80\x82\xf3\x89\xb5\xa2"); } // [B1, C2, V7]
15496test { try toAsciiFail("\xf0\x90\xb9\xb7\xe2\x80\x8d\xe3\x80\x82\xf3\x89\xb5\xa2", false); } // [B1, C2, V7]
15497test { try toAsciiFail("\xf0\x90\xb9\xb7\xe2\x80\x8d\xe3\x80\x82\xf3\x89\xb5\xa2", true); } // [B1, V7]
15498test { try toUnicodeFail("xn--vo0d.xn--8088d"); } // [B1, V7]
15499test { try toAsciiFail("xn--vo0d.xn--8088d", false); } // [B1, V7]
15500test { try toAsciiFail("xn--vo0d.xn--8088d", true); } // [B1, V7]
15501test { try toUnicodeFail("xn--1ugx205g.xn--8088d"); } // [B1, C2, V7]
15502test { try toAsciiFail("xn--1ugx205g.xn--8088d", false); } // [B1, C2, V7]
15503test { try toAsciiFail("xn--1ugx205g.xn--8088d", true); } // [B1, C2, V7]
15504test { try toUnicodeFail("\xe1\x82\xb8\xdb\x82\xf0\x91\xb2\xad\xef\xbd\xa1-"); } // [B1, B5, B6, V3]
15505test { try toAsciiFail("\xe1\x82\xb8\xdb\x82\xf0\x91\xb2\xad\xef\xbd\xa1-", false); } // [B1, B5, B6, V3]
15506test { try toAsciiFail("\xe1\x82\xb8\xdb\x82\xf0\x91\xb2\xad\xef\xbd\xa1-", true); } // [B1, B5, B6, V3]
15507test { try toUnicodeFail("\xe1\x82\xb8\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xef\xbd\xa1-"); } // [B1, B5, B6, V3]
15508test { try toAsciiFail("\xe1\x82\xb8\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xef\xbd\xa1-", false); } // [B1, B5, B6, V3]
15509test { try toAsciiFail("\xe1\x82\xb8\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xef\xbd\xa1-", true); } // [B1, B5, B6, V3]
15510test { try toUnicodeFail("\xe1\x82\xb8\xdb\x82\xf0\x91\xb2\xad\xe3\x80\x82-"); } // [B1, B5, B6, V3]
15511test { try toAsciiFail("\xe1\x82\xb8\xdb\x82\xf0\x91\xb2\xad\xe3\x80\x82-", false); } // [B1, B5, B6, V3]
15512test { try toAsciiFail("\xe1\x82\xb8\xdb\x82\xf0\x91\xb2\xad\xe3\x80\x82-", true); } // [B1, B5, B6, V3]
15513test { try toUnicodeFail("\xe1\x82\xb8\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xe3\x80\x82-"); } // [B1, B5, B6, V3]
15514test { try toAsciiFail("\xe1\x82\xb8\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xe3\x80\x82-", false); } // [B1, B5, B6, V3]
15515test { try toAsciiFail("\xe1\x82\xb8\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xe3\x80\x82-", true); } // [B1, B5, B6, V3]
15516test { try toUnicodeFail("\xe2\xb4\x98\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xe3\x80\x82-"); } // [B1, B5, B6, V3]
15517test { try toAsciiFail("\xe2\xb4\x98\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xe3\x80\x82-", false); } // [B1, B5, B6, V3]
15518test { try toAsciiFail("\xe2\xb4\x98\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xe3\x80\x82-", true); } // [B1, B5, B6, V3]
15519test { try toUnicodeFail("\xe2\xb4\x98\xdb\x82\xf0\x91\xb2\xad\xe3\x80\x82-"); } // [B1, B5, B6, V3]
15520test { try toAsciiFail("\xe2\xb4\x98\xdb\x82\xf0\x91\xb2\xad\xe3\x80\x82-", false); } // [B1, B5, B6, V3]
15521test { try toAsciiFail("\xe2\xb4\x98\xdb\x82\xf0\x91\xb2\xad\xe3\x80\x82-", true); } // [B1, B5, B6, V3]
15522test { try toUnicodeFail("xn--1kb147qfk3n.-"); } // [B1, B5, B6, V3]
15523test { try toAsciiFail("xn--1kb147qfk3n.-", false); } // [B1, B5, B6, V3]
15524test { try toAsciiFail("xn--1kb147qfk3n.-", true); } // [B1, B5, B6, V3]
15525test { try toUnicodeFail("\xe2\xb4\x98\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xef\xbd\xa1-"); } // [B1, B5, B6, V3]
15526test { try toAsciiFail("\xe2\xb4\x98\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xef\xbd\xa1-", false); } // [B1, B5, B6, V3]
15527test { try toAsciiFail("\xe2\xb4\x98\xdb\x81\xd9\x94\xf0\x91\xb2\xad\xef\xbd\xa1-", true); } // [B1, B5, B6, V3]
15528test { try toUnicodeFail("\xe2\xb4\x98\xdb\x82\xf0\x91\xb2\xad\xef\xbd\xa1-"); } // [B1, B5, B6, V3]
15529test { try toAsciiFail("\xe2\xb4\x98\xdb\x82\xf0\x91\xb2\xad\xef\xbd\xa1-", false); } // [B1, B5, B6, V3]
15530test { try toAsciiFail("\xe2\xb4\x98\xdb\x82\xf0\x91\xb2\xad\xef\xbd\xa1-", true); } // [B1, B5, B6, V3]
15531test { try toUnicodeFail("xn--1kb312c139t.-"); } // [B1, B5, B6, V3, V7]
15532test { try toAsciiFail("xn--1kb312c139t.-", false); } // [B1, B5, B6, V3, V7]
15533test { try toAsciiFail("xn--1kb312c139t.-", true); } // [B1, B5, B6, V3, V7]
15534test { try toUnicodeFail("\xea\xa0\x86\xd9\xbb\xe2\x82\x86\xe1\xa1\x90\xe3\x80\x82\xf0\x9f\x9b\x87\xef\xb3\x9d"); } // [B1, V6]
15535test { try toAsciiFail("\xea\xa0\x86\xd9\xbb\xe2\x82\x86\xe1\xa1\x90\xe3\x80\x82\xf0\x9f\x9b\x87\xef\xb3\x9d", false); } // [B1, V6]
15536test { try toAsciiFail("\xea\xa0\x86\xd9\xbb\xe2\x82\x86\xe1\xa1\x90\xe3\x80\x82\xf0\x9f\x9b\x87\xef\xb3\x9d", true); } // [B1, V6]
15537test { try toUnicodeFail("\xea\xa0\x86\xd9\xbb6\xe1\xa1\x90\xe3\x80\x82\xf0\x9f\x9b\x87\xd9\x8a\xd9\x85"); } // [B1, V6]
15538test { try toAsciiFail("\xea\xa0\x86\xd9\xbb6\xe1\xa1\x90\xe3\x80\x82\xf0\x9f\x9b\x87\xd9\x8a\xd9\x85", false); } // [B1, V6]
15539test { try toAsciiFail("\xea\xa0\x86\xd9\xbb6\xe1\xa1\x90\xe3\x80\x82\xf0\x9f\x9b\x87\xd9\x8a\xd9\x85", true); } // [B1, V6]
15540test { try toUnicodeFail("xn--6-rrc018krt9k.xn--hhbj61429a"); } // [B1, V6]
15541test { try toAsciiFail("xn--6-rrc018krt9k.xn--hhbj61429a", false); } // [B1, V6]
15542test { try toAsciiFail("xn--6-rrc018krt9k.xn--hhbj61429a", true); } // [B1, V6]
15543test { try toUnicodeFail("\xf2\xb8\x8d\x82.\xe3\x87\x84\xe1\xa1\x9f\xf0\x90\xab\x82\xd8\xa2"); } // [B1, V7]
15544test { try toAsciiFail("\xf2\xb8\x8d\x82.\xe3\x87\x84\xe1\xa1\x9f\xf0\x90\xab\x82\xd8\xa2", false); } // [B1, V7]
15545test { try toAsciiFail("\xf2\xb8\x8d\x82.\xe3\x87\x84\xe1\xa1\x9f\xf0\x90\xab\x82\xd8\xa2", true); } // [B1, V7]
15546test { try toUnicodeFail("\xf2\xb8\x8d\x82.\xe3\x87\x84\xe1\xa1\x9f\xf0\x90\xab\x82\xd8\xa7\xd9\x93"); } // [B1, V7]
15547test { try toAsciiFail("\xf2\xb8\x8d\x82.\xe3\x87\x84\xe1\xa1\x9f\xf0\x90\xab\x82\xd8\xa7\xd9\x93", false); } // [B1, V7]
15548test { try toAsciiFail("\xf2\xb8\x8d\x82.\xe3\x87\x84\xe1\xa1\x9f\xf0\x90\xab\x82\xd8\xa7\xd9\x93", true); } // [B1, V7]
15549test { try toUnicodeFail("xn--p292d.xn--hgb154ghrsvm2r"); } // [B1, V7]
15550test { try toAsciiFail("xn--p292d.xn--hgb154ghrsvm2r", false); } // [B1, V7]
15551test { try toAsciiFail("xn--p292d.xn--hgb154ghrsvm2r", true); } // [B1, V7]
15552test { try toUnicodeFail("\xdf\x9f\xf2\xb5\x9a\x8c\xe3\x80\x82-\xdf\xa9"); } // [B1, B2, B3, V3, V7]
15553test { try toAsciiFail("\xdf\x9f\xf2\xb5\x9a\x8c\xe3\x80\x82-\xdf\xa9", false); } // [B1, B2, B3, V3, V7]
15554test { try toAsciiFail("\xdf\x9f\xf2\xb5\x9a\x8c\xe3\x80\x82-\xdf\xa9", true); } // [B1, B2, B3, V3, V7]
15555test { try toUnicodeFail("xn--6sb88139l.xn----pdd"); } // [B1, B2, B3, V3, V7]
15556test { try toAsciiFail("xn--6sb88139l.xn----pdd", false); } // [B1, B2, B3, V3, V7]
15557test { try toAsciiFail("xn--6sb88139l.xn----pdd", true); } // [B1, B2, B3, V3, V7]
15558test { try toUnicodeFail("\xcf\x82\xd9\x83\xe2\xbe\x91\xef\xbc\x8e\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c\xe2\x92\x88"); } // [B1, B5, C1, V7]
15559test { try toAsciiFail("\xcf\x82\xd9\x83\xe2\xbe\x91\xef\xbc\x8e\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c\xe2\x92\x88", false); } // [B1, B5, C1, V7]
15560test { try toAsciiFail("\xcf\x82\xd9\x83\xe2\xbe\x91\xef\xbc\x8e\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c\xe2\x92\x88", true); } // [B5, V7]
15561test { try toUnicodeFail("\xcf\x82\xd9\x83\xe8\xa5\xbe.\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c1."); } // [B1, B5, C1]
15562test { try toAsciiFail("\xcf\x82\xd9\x83\xe8\xa5\xbe.\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c1.", false); } // [B1, B5, C1, A4_2]
15563test { try toAsciiFail("\xcf\x82\xd9\x83\xe8\xa5\xbe.\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c1.", true); } // [B5, A4_2]
15564test { try toUnicodeFail("\xce\xa3\xd9\x83\xe8\xa5\xbe.\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c1."); } // [B1, B5, C1]
15565test { try toAsciiFail("\xce\xa3\xd9\x83\xe8\xa5\xbe.\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c1.", false); } // [B1, B5, C1, A4_2]
15566test { try toAsciiFail("\xce\xa3\xd9\x83\xe8\xa5\xbe.\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c1.", true); } // [B5, A4_2]
15567test { try toUnicodeFail("\xcf\x83\xd9\x83\xe8\xa5\xbe.\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c1."); } // [B1, B5, C1]
15568test { try toAsciiFail("\xcf\x83\xd9\x83\xe8\xa5\xbe.\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c1.", false); } // [B1, B5, C1, A4_2]
15569test { try toAsciiFail("\xcf\x83\xd9\x83\xe8\xa5\xbe.\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c1.", true); } // [B5, A4_2]
15570test { try toUnicodeFail("xn--4xa49jux8r.xn--1-4ck."); } // [B5]
15571test { try toAsciiFail("xn--4xa49jux8r.xn--1-4ck.", false); } // [B5, A4_2]
15572test { try toAsciiFail("xn--4xa49jux8r.xn--1-4ck.", true); } // [B5, A4_2]
15573test { try toUnicodeFail("xn--4xa49jux8r.xn--1-4ck691bba."); } // [B1, B5, C1]
15574test { try toAsciiFail("xn--4xa49jux8r.xn--1-4ck691bba.", false); } // [B1, B5, C1, A4_2]
15575test { try toAsciiFail("xn--4xa49jux8r.xn--1-4ck691bba.", true); } // [B1, B5, C1, A4_2]
15576test { try toUnicodeFail("xn--3xa69jux8r.xn--1-4ck691bba."); } // [B1, B5, C1]
15577test { try toAsciiFail("xn--3xa69jux8r.xn--1-4ck691bba.", false); } // [B1, B5, C1, A4_2]
15578test { try toAsciiFail("xn--3xa69jux8r.xn--1-4ck691bba.", true); } // [B1, B5, C1, A4_2]
15579test { try toUnicodeFail("\xce\xa3\xd9\x83\xe2\xbe\x91\xef\xbc\x8e\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c\xe2\x92\x88"); } // [B1, B5, C1, V7]
15580test { try toAsciiFail("\xce\xa3\xd9\x83\xe2\xbe\x91\xef\xbc\x8e\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c\xe2\x92\x88", false); } // [B1, B5, C1, V7]
15581test { try toAsciiFail("\xce\xa3\xd9\x83\xe2\xbe\x91\xef\xbc\x8e\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c\xe2\x92\x88", true); } // [B5, V7]
15582test { try toUnicodeFail("\xcf\x83\xd9\x83\xe2\xbe\x91\xef\xbc\x8e\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c\xe2\x92\x88"); } // [B1, B5, C1, V7]
15583test { try toAsciiFail("\xcf\x83\xd9\x83\xe2\xbe\x91\xef\xbc\x8e\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c\xe2\x92\x88", false); } // [B1, B5, C1, V7]
15584test { try toAsciiFail("\xcf\x83\xd9\x83\xe2\xbe\x91\xef\xbc\x8e\xe2\x80\x8c\xe1\xa2\x9f\xe2\x80\x8c\xe2\x92\x88", true); } // [B5, V7]
15585test { try toUnicodeFail("xn--4xa49jux8r.xn--pbf212d"); } // [B5, V7]
15586test { try toAsciiFail("xn--4xa49jux8r.xn--pbf212d", false); } // [B5, V7]
15587test { try toAsciiFail("xn--4xa49jux8r.xn--pbf212d", true); } // [B5, V7]
15588test { try toUnicodeFail("xn--4xa49jux8r.xn--pbf519aba607b"); } // [B1, B5, C1, V7]
15589test { try toAsciiFail("xn--4xa49jux8r.xn--pbf519aba607b", false); } // [B1, B5, C1, V7]
15590test { try toAsciiFail("xn--4xa49jux8r.xn--pbf519aba607b", true); } // [B1, B5, C1, V7]
15591test { try toUnicodeFail("xn--3xa69jux8r.xn--pbf519aba607b"); } // [B1, B5, C1, V7]
15592test { try toAsciiFail("xn--3xa69jux8r.xn--pbf519aba607b", false); } // [B1, B5, C1, V7]
15593test { try toAsciiFail("xn--3xa69jux8r.xn--pbf519aba607b", true); } // [B1, B5, C1, V7]
15594test { try toUnicodeFail("\xe1\xa1\x86\xf0\x91\x93\x9d\xef\xbc\x8e\xf0\x9e\xb5\x86"); } // [V7]
15595test { try toAsciiFail("\xe1\xa1\x86\xf0\x91\x93\x9d\xef\xbc\x8e\xf0\x9e\xb5\x86", false); } // [V7]
15596test { try toAsciiFail("\xe1\xa1\x86\xf0\x91\x93\x9d\xef\xbc\x8e\xf0\x9e\xb5\x86", true); } // [V7]
15597test { try toUnicodeFail("\xe1\xa1\x86\xf0\x91\x93\x9d.\xf0\x9e\xb5\x86"); } // [V7]
15598test { try toAsciiFail("\xe1\xa1\x86\xf0\x91\x93\x9d.\xf0\x9e\xb5\x86", false); } // [V7]
15599test { try toAsciiFail("\xe1\xa1\x86\xf0\x91\x93\x9d.\xf0\x9e\xb5\x86", true); } // [V7]
15600test { try toUnicodeFail("xn--57e0440k.xn--k86h"); } // [V7]
15601test { try toAsciiFail("xn--57e0440k.xn--k86h", false); } // [V7]
15602test { try toAsciiFail("xn--57e0440k.xn--k86h", true); } // [V7]
15603test { try toUnicodeFail("\xe0\xa9\x8d\xf0\xa6\x8d\x93\xe1\xb7\xae\xef\xbd\xa1\xe2\x80\x8c\xe0\xa2\xbd\xf1\x9d\xb9\xb2"); } // [B1, C1, V6, V7]
15604test { try toAsciiFail("\xe0\xa9\x8d\xf0\xa6\x8d\x93\xe1\xb7\xae\xef\xbd\xa1\xe2\x80\x8c\xe0\xa2\xbd\xf1\x9d\xb9\xb2", false); } // [B1, C1, V6, V7]
15605test { try toAsciiFail("\xe0\xa9\x8d\xf0\xa6\x8d\x93\xe1\xb7\xae\xef\xbd\xa1\xe2\x80\x8c\xe0\xa2\xbd\xf1\x9d\xb9\xb2", true); } // [B1, B2, B3, V6, V7]
15606test { try toUnicodeFail("\xe0\xa9\x8d\xf0\xa6\x8d\x93\xe1\xb7\xae\xe3\x80\x82\xe2\x80\x8c\xe0\xa2\xbd\xf1\x9d\xb9\xb2"); } // [B1, C1, V6, V7]
15607test { try toAsciiFail("\xe0\xa9\x8d\xf0\xa6\x8d\x93\xe1\xb7\xae\xe3\x80\x82\xe2\x80\x8c\xe0\xa2\xbd\xf1\x9d\xb9\xb2", false); } // [B1, C1, V6, V7]
15608test { try toAsciiFail("\xe0\xa9\x8d\xf0\xa6\x8d\x93\xe1\xb7\xae\xe3\x80\x82\xe2\x80\x8c\xe0\xa2\xbd\xf1\x9d\xb9\xb2", true); } // [B1, B2, B3, V6, V7]
15609test { try toUnicodeFail("xn--ybc461hph93b.xn--jzb29857e"); } // [B1, B2, B3, V6, V7]
15610test { try toAsciiFail("xn--ybc461hph93b.xn--jzb29857e", false); } // [B1, B2, B3, V6, V7]
15611test { try toAsciiFail("xn--ybc461hph93b.xn--jzb29857e", true); } // [B1, B2, B3, V6, V7]
15612test { try toUnicodeFail("xn--ybc461hph93b.xn--jzb740j1y45h"); } // [B1, C1, V6, V7]
15613test { try toAsciiFail("xn--ybc461hph93b.xn--jzb740j1y45h", false); } // [B1, C1, V6, V7]
15614test { try toAsciiFail("xn--ybc461hph93b.xn--jzb740j1y45h", true); } // [B1, C1, V6, V7]
15615test { try toUnicodeFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-\xef\xbc\x8e\xe2\x80\x8c\xeb\xa8\xbf"); } // [B1, B2, B3, C1, V3, V7]
15616test { try toAsciiFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-\xef\xbc\x8e\xe2\x80\x8c\xeb\xa8\xbf", false); } // [B1, B2, B3, C1, V3, V7]
15617test { try toAsciiFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-\xef\xbc\x8e\xe2\x80\x8c\xeb\xa8\xbf", true); } // [B2, B3, V3, V7]
15618test { try toUnicodeFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-\xef\xbc\x8e\xe2\x80\x8c\xe1\x84\x86\xe1\x85\xa5\xe1\x86\xae"); } // [B1, B2, B3, C1, V3, V7]
15619test { try toAsciiFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-\xef\xbc\x8e\xe2\x80\x8c\xe1\x84\x86\xe1\x85\xa5\xe1\x86\xae", false); } // [B1, B2, B3, C1, V3, V7]
15620test { try toAsciiFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-\xef\xbc\x8e\xe2\x80\x8c\xe1\x84\x86\xe1\x85\xa5\xe1\x86\xae", true); } // [B2, B3, V3, V7]
15621test { try toUnicodeFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-.\xe2\x80\x8c\xeb\xa8\xbf"); } // [B1, B2, B3, C1, V3, V7]
15622test { try toAsciiFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-.\xe2\x80\x8c\xeb\xa8\xbf", false); } // [B1, B2, B3, C1, V3, V7]
15623test { try toAsciiFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-.\xe2\x80\x8c\xeb\xa8\xbf", true); } // [B2, B3, V3, V7]
15624test { try toUnicodeFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-.\xe2\x80\x8c\xe1\x84\x86\xe1\x85\xa5\xe1\x86\xae"); } // [B1, B2, B3, C1, V3, V7]
15625test { try toAsciiFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-.\xe2\x80\x8c\xe1\x84\x86\xe1\x85\xa5\xe1\x86\xae", false); } // [B1, B2, B3, C1, V3, V7]
15626test { try toAsciiFail("\xd8\xae\xdd\x88\xf1\x85\xaa\xaa-.\xe2\x80\x8c\xe1\x84\x86\xe1\x85\xa5\xe1\x86\xae", true); } // [B2, B3, V3, V7]
15627test { try toUnicodeFail("xn----dnc06f42153a.xn--v22b"); } // [B2, B3, V3, V7]
15628test { try toAsciiFail("xn----dnc06f42153a.xn--v22b", false); } // [B2, B3, V3, V7]
15629test { try toAsciiFail("xn----dnc06f42153a.xn--v22b", true); } // [B2, B3, V3, V7]
15630test { try toUnicodeFail("xn----dnc06f42153a.xn--0ug1581d"); } // [B1, B2, B3, C1, V3, V7]
15631test { try toAsciiFail("xn----dnc06f42153a.xn--0ug1581d", false); } // [B1, B2, B3, C1, V3, V7]
15632test { try toAsciiFail("xn----dnc06f42153a.xn--0ug1581d", true); } // [B1, B2, B3, C1, V3, V7]
15633test { try toUnicodeFail("\xf4\x8b\xbf\xa6\xef\xbd\xa1\xe1\xa0\xbd"); } // [V7]
15634test { try toAsciiFail("\xf4\x8b\xbf\xa6\xef\xbd\xa1\xe1\xa0\xbd", false); } // [V7]
15635test { try toAsciiFail("\xf4\x8b\xbf\xa6\xef\xbd\xa1\xe1\xa0\xbd", true); } // [V7]
15636test { try toUnicodeFail("\xf4\x8b\xbf\xa6\xe3\x80\x82\xe1\xa0\xbd"); } // [V7]
15637test { try toAsciiFail("\xf4\x8b\xbf\xa6\xe3\x80\x82\xe1\xa0\xbd", false); } // [V7]
15638test { try toAsciiFail("\xf4\x8b\xbf\xa6\xe3\x80\x82\xe1\xa0\xbd", true); } // [V7]
15639test { try toUnicodeFail("xn--j890g.xn--w7e"); } // [V7]
15640test { try toAsciiFail("xn--j890g.xn--w7e", false); } // [V7]
15641test { try toAsciiFail("xn--j890g.xn--w7e", true); } // [V7]
15642test { try toUnicodeFail("\xe5\xac\x83\xf0\x9d\x8d\x8c\xef\xbc\x8e\xe2\x80\x8d\xe0\xad\x84"); } // [C2]
15643test { try toAsciiFail("\xe5\xac\x83\xf0\x9d\x8d\x8c\xef\xbc\x8e\xe2\x80\x8d\xe0\xad\x84", false); } // [C2]
15644test { try toAsciiFail("\xe5\xac\x83\xf0\x9d\x8d\x8c\xef\xbc\x8e\xe2\x80\x8d\xe0\xad\x84", true); } // [V6]
15645test { try toUnicodeFail("\xe5\xac\x83\xf0\x9d\x8d\x8c.\xe2\x80\x8d\xe0\xad\x84"); } // [C2]
15646test { try toAsciiFail("\xe5\xac\x83\xf0\x9d\x8d\x8c.\xe2\x80\x8d\xe0\xad\x84", false); } // [C2]
15647test { try toAsciiFail("\xe5\xac\x83\xf0\x9d\x8d\x8c.\xe2\x80\x8d\xe0\xad\x84", true); } // [V6]
15648test { try toUnicodeFail("xn--b6s0078f.xn--0ic"); } // [V6]
15649test { try toAsciiFail("xn--b6s0078f.xn--0ic", false); } // [V6]
15650test { try toAsciiFail("xn--b6s0078f.xn--0ic", true); } // [V6]
15651test { try toUnicodeFail("xn--b6s0078f.xn--0ic557h"); } // [C2]
15652test { try toAsciiFail("xn--b6s0078f.xn--0ic557h", false); } // [C2]
15653test { try toAsciiFail("xn--b6s0078f.xn--0ic557h", true); } // [C2]
15654test { try toUnicodeFail("\xd8\x82\xf0\x9d\x8c\xaa\xe2\x89\xaf\xef\xbc\x8e\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8"); } // [B1, V7]
15655test { try toAsciiFail("\xd8\x82\xf0\x9d\x8c\xaa\xe2\x89\xaf\xef\xbc\x8e\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8", false); } // [B1, V7]
15656test { try toAsciiFail("\xd8\x82\xf0\x9d\x8c\xaa\xe2\x89\xaf\xef\xbc\x8e\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8", true); } // [B1, V7]
15657test { try toUnicodeFail("\xd8\x82\xf0\x9d\x8c\xaa>\xcc\xb8\xef\xbc\x8e\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8"); } // [B1, V7]
15658test { try toAsciiFail("\xd8\x82\xf0\x9d\x8c\xaa>\xcc\xb8\xef\xbc\x8e\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8", false); } // [B1, V7]
15659test { try toAsciiFail("\xd8\x82\xf0\x9d\x8c\xaa>\xcc\xb8\xef\xbc\x8e\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8", true); } // [B1, V7]
15660test { try toUnicodeFail("\xd8\x82\xf0\x9d\x8c\xaa\xe2\x89\xaf.\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8"); } // [B1, V7]
15661test { try toAsciiFail("\xd8\x82\xf0\x9d\x8c\xaa\xe2\x89\xaf.\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8", false); } // [B1, V7]
15662test { try toAsciiFail("\xd8\x82\xf0\x9d\x8c\xaa\xe2\x89\xaf.\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8", true); } // [B1, V7]
15663test { try toUnicodeFail("\xd8\x82\xf0\x9d\x8c\xaa>\xcc\xb8.\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8"); } // [B1, V7]
15664test { try toAsciiFail("\xd8\x82\xf0\x9d\x8c\xaa>\xcc\xb8.\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8", false); } // [B1, V7]
15665test { try toAsciiFail("\xd8\x82\xf0\x9d\x8c\xaa>\xcc\xb8.\xf0\x9a\x8b\xb2\xf2\xb5\x81\xa8", true); } // [B1, V7]
15666test { try toUnicodeFail("xn--kfb866llx01a.xn--wp1gm3570b"); } // [B1, V7]
15667test { try toAsciiFail("xn--kfb866llx01a.xn--wp1gm3570b", false); } // [B1, V7]
15668test { try toAsciiFail("xn--kfb866llx01a.xn--wp1gm3570b", true); } // [B1, V7]
15669test { try toUnicodeFail("\xf2\xab\xbe\xa5\xe0\xa2\xb7\xe1\x9f\x8c\xea\xa7\x80.\xf0\x9e\xbc\xa0"); } // [B5, V7]
15670test { try toAsciiFail("\xf2\xab\xbe\xa5\xe0\xa2\xb7\xe1\x9f\x8c\xea\xa7\x80.\xf0\x9e\xbc\xa0", false); } // [B5, V7]
15671test { try toAsciiFail("\xf2\xab\xbe\xa5\xe0\xa2\xb7\xe1\x9f\x8c\xea\xa7\x80.\xf0\x9e\xbc\xa0", true); } // [B5, V7]
15672test { try toUnicodeFail("xn--dzb638ewm4i1iy1h.xn--3m7h"); } // [B5, V7]
15673test { try toAsciiFail("xn--dzb638ewm4i1iy1h.xn--3m7h", false); } // [B5, V7]
15674test { try toAsciiFail("xn--dzb638ewm4i1iy1h.xn--3m7h", true); } // [B5, V7]
15675test { try toUnicodeFail("\xe2\x80\x8c.\xf1\x9f\x9b\xa4"); } // [C1, V7]
15676test { try toAsciiFail("\xe2\x80\x8c.\xf1\x9f\x9b\xa4", false); } // [C1, V7]
15677test { try toAsciiFail("\xe2\x80\x8c.\xf1\x9f\x9b\xa4", true); } // [V7, A4_2]
15678test { try toUnicodeFail(".xn--q823a"); } // [V7, X4_2]
15679test { try toAsciiFail(".xn--q823a", false); } // [V7, A4_2]
15680test { try toAsciiFail(".xn--q823a", true); } // [V7, A4_2]
15681test { try toUnicodeFail("xn--0ug.xn--q823a"); } // [C1, V7]
15682test { try toAsciiFail("xn--0ug.xn--q823a", false); } // [C1, V7]
15683test { try toAsciiFail("xn--0ug.xn--q823a", true); } // [C1, V7]
15684test { try toUnicodeFail("\xf2\xba\x9b\x95\xe1\x82\xa3\xe4\xa0\x85\xef\xbc\x8e\xf0\x90\xb8\x91"); } // [V7]
15685test { try toAsciiFail("\xf2\xba\x9b\x95\xe1\x82\xa3\xe4\xa0\x85\xef\xbc\x8e\xf0\x90\xb8\x91", false); } // [V7]
15686test { try toAsciiFail("\xf2\xba\x9b\x95\xe1\x82\xa3\xe4\xa0\x85\xef\xbc\x8e\xf0\x90\xb8\x91", true); } // [V7]
15687test { try toUnicodeFail("\xf2\xba\x9b\x95\xe1\x82\xa3\xe4\xa0\x85.\xf0\x90\xb8\x91"); } // [V7]
15688test { try toAsciiFail("\xf2\xba\x9b\x95\xe1\x82\xa3\xe4\xa0\x85.\xf0\x90\xb8\x91", false); } // [V7]
15689test { try toAsciiFail("\xf2\xba\x9b\x95\xe1\x82\xa3\xe4\xa0\x85.\xf0\x90\xb8\x91", true); } // [V7]
15690test { try toUnicodeFail("\xf2\xba\x9b\x95\xe2\xb4\x83\xe4\xa0\x85.\xf0\x90\xb8\x91"); } // [V7]
15691test { try toAsciiFail("\xf2\xba\x9b\x95\xe2\xb4\x83\xe4\xa0\x85.\xf0\x90\xb8\x91", false); } // [V7]
15692test { try toAsciiFail("\xf2\xba\x9b\x95\xe2\xb4\x83\xe4\xa0\x85.\xf0\x90\xb8\x91", true); } // [V7]
15693test { try toUnicodeFail("xn--ukju77frl47r.xn--yl0d"); } // [V7]
15694test { try toAsciiFail("xn--ukju77frl47r.xn--yl0d", false); } // [V7]
15695test { try toAsciiFail("xn--ukju77frl47r.xn--yl0d", true); } // [V7]
15696test { try toUnicodeFail("\xf2\xba\x9b\x95\xe2\xb4\x83\xe4\xa0\x85\xef\xbc\x8e\xf0\x90\xb8\x91"); } // [V7]
15697test { try toAsciiFail("\xf2\xba\x9b\x95\xe2\xb4\x83\xe4\xa0\x85\xef\xbc\x8e\xf0\x90\xb8\x91", false); } // [V7]
15698test { try toAsciiFail("\xf2\xba\x9b\x95\xe2\xb4\x83\xe4\xa0\x85\xef\xbc\x8e\xf0\x90\xb8\x91", true); } // [V7]
15699test { try toUnicodeFail("xn--bnd074zr557n.xn--yl0d"); } // [V7]
15700test { try toAsciiFail("xn--bnd074zr557n.xn--yl0d", false); } // [V7]
15701test { try toAsciiFail("xn--bnd074zr557n.xn--yl0d", true); } // [V7]
15702test { try toUnicodeFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xef\xbd\xa1\xf0\x9d\x9f\xa8\xe1\x82\xa5"); } // [B1, V6]
15703test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xef\xbd\xa1\xf0\x9d\x9f\xa8\xe1\x82\xa5", false); } // [B1, V6]
15704test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xef\xbd\xa1\xf0\x9d\x9f\xa8\xe1\x82\xa5", true); } // [B1, V6]
15705test { try toUnicodeFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xe3\x80\x826\xe1\x82\xa5"); } // [B1, V6]
15706test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xe3\x80\x826\xe1\x82\xa5", false); } // [B1, V6]
15707test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xe3\x80\x826\xe1\x82\xa5", true); } // [B1, V6]
15708test { try toUnicodeFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\xbc\xe3\x80\x826\xe2\xb4\x85"); } // [B1, V6]
15709test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\xbc\xe3\x80\x826\xe2\xb4\x85", false); } // [B1, V6]
15710test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\xbc\xe3\x80\x826\xe2\xb4\x85", true); } // [B1, V6]
15711test { try toUnicodeFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xe3\x80\x826\xe2\xb4\x85"); } // [B1, V6]
15712test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xe3\x80\x826\xe2\xb4\x85", false); } // [B1, V6]
15713test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xe3\x80\x826\xe2\xb4\x85", true); } // [B1, V6]
15714test { try toUnicodeFail("xn--zzfy954hga2415t.xn--6-kvs"); } // [B1, V6]
15715test { try toAsciiFail("xn--zzfy954hga2415t.xn--6-kvs", false); } // [B1, V6]
15716test { try toAsciiFail("xn--zzfy954hga2415t.xn--6-kvs", true); } // [B1, V6]
15717test { try toUnicodeFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\xbc\xef\xbd\xa1\xf0\x9d\x9f\xa8\xe2\xb4\x85"); } // [B1, V6]
15718test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\xbc\xef\xbd\xa1\xf0\x9d\x9f\xa8\xe2\xb4\x85", false); } // [B1, V6]
15719test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\xbc\xef\xbd\xa1\xf0\x9d\x9f\xa8\xe2\xb4\x85", true); } // [B1, V6]
15720test { try toUnicodeFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xef\xbd\xa1\xf0\x9d\x9f\xa8\xe2\xb4\x85"); } // [B1, V6]
15721test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xef\xbd\xa1\xf0\x9d\x9f\xa8\xe2\xb4\x85", false); } // [B1, V6]
15722test { try toAsciiFail("\xe1\xaf\xb1\xf0\x90\xb9\xb3\xf0\x90\xb9\xb5\xf0\x9e\xa4\x9a\xef\xbd\xa1\xf0\x9d\x9f\xa8\xe2\xb4\x85", true); } // [B1, V6]
15723test { try toUnicodeFail("xn--zzfy954hga2415t.xn--6-h0g"); } // [B1, V6, V7]
15724test { try toAsciiFail("xn--zzfy954hga2415t.xn--6-h0g", false); } // [B1, V6, V7]
15725test { try toAsciiFail("xn--zzfy954hga2415t.xn--6-h0g", true); } // [B1, V6, V7]
15726test { try toUnicodeFail("-\xef\xbd\xa1\xef\xb8\x92"); } // [V3, V7]
15727test { try toAsciiFail("-\xef\xbd\xa1\xef\xb8\x92", false); } // [V3, V7]
15728test { try toAsciiFail("-\xef\xbd\xa1\xef\xb8\x92", true); } // [V3, V7]
15729test { try toUnicodeFail("-\xe3\x80\x82\xe3\x80\x82"); } // [V3, X4_2]
15730test { try toAsciiFail("-\xe3\x80\x82\xe3\x80\x82", false); } // [V3, A4_2]
15731test { try toAsciiFail("-\xe3\x80\x82\xe3\x80\x82", true); } // [V3, A4_2]
15732test { try toUnicodeFail("-.."); } // [V3, X4_2]
15733test { try toAsciiFail("-..", false); } // [V3, A4_2]
15734test { try toAsciiFail("-..", true); } // [V3, A4_2]
15735test { try toUnicodeFail("-.xn--y86c"); } // [V3, V7]
15736test { try toAsciiFail("-.xn--y86c", false); } // [V3, V7]
15737test { try toAsciiFail("-.xn--y86c", true); } // [V3, V7]
15738test { try toUnicodeFail("\xdf\x9b\xe1\x83\x80\xef\xbd\xa1-\xe2\x81\xb5--"); } // [B1, B2, B3, V2, V3]
15739test { try toAsciiFail("\xdf\x9b\xe1\x83\x80\xef\xbd\xa1-\xe2\x81\xb5--", false); } // [B1, B2, B3, V2, V3]
15740test { try toAsciiFail("\xdf\x9b\xe1\x83\x80\xef\xbd\xa1-\xe2\x81\xb5--", true); } // [B1, B2, B3, V2, V3]
15741test { try toUnicodeFail("\xdf\x9b\xe1\x83\x80\xe3\x80\x82-5--"); } // [B1, B2, B3, V2, V3]
15742test { try toAsciiFail("\xdf\x9b\xe1\x83\x80\xe3\x80\x82-5--", false); } // [B1, B2, B3, V2, V3]
15743test { try toAsciiFail("\xdf\x9b\xe1\x83\x80\xe3\x80\x82-5--", true); } // [B1, B2, B3, V2, V3]
15744test { try toUnicodeFail("\xdf\x9b\xe2\xb4\xa0\xe3\x80\x82-5--"); } // [B1, B2, B3, V2, V3]
15745test { try toAsciiFail("\xdf\x9b\xe2\xb4\xa0\xe3\x80\x82-5--", false); } // [B1, B2, B3, V2, V3]
15746test { try toAsciiFail("\xdf\x9b\xe2\xb4\xa0\xe3\x80\x82-5--", true); } // [B1, B2, B3, V2, V3]
15747test { try toUnicodeFail("xn--2sb691q.-5--"); } // [B1, B2, B3, V2, V3]
15748test { try toAsciiFail("xn--2sb691q.-5--", false); } // [B1, B2, B3, V2, V3]
15749test { try toAsciiFail("xn--2sb691q.-5--", true); } // [B1, B2, B3, V2, V3]
15750test { try toUnicodeFail("\xdf\x9b\xe2\xb4\xa0\xef\xbd\xa1-\xe2\x81\xb5--"); } // [B1, B2, B3, V2, V3]
15751test { try toAsciiFail("\xdf\x9b\xe2\xb4\xa0\xef\xbd\xa1-\xe2\x81\xb5--", false); } // [B1, B2, B3, V2, V3]
15752test { try toAsciiFail("\xdf\x9b\xe2\xb4\xa0\xef\xbd\xa1-\xe2\x81\xb5--", true); } // [B1, B2, B3, V2, V3]
15753test { try toUnicodeFail("xn--2sb866b.-5--"); } // [B1, B2, B3, V2, V3, V7]
15754test { try toAsciiFail("xn--2sb866b.-5--", false); } // [B1, B2, B3, V2, V3, V7]
15755test { try toAsciiFail("xn--2sb866b.-5--", true); } // [B1, B2, B3, V2, V3, V7]
15756test { try toUnicodeFail("\xe2\x89\xaf?\xf3\xa0\x91\x95\xef\xbd\xa1\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb\xe2\x89\xaf\xf0\x90\xb7\x92"); } // [B1, V7, U1]
15757test { try toAsciiFail("\xe2\x89\xaf?\xf3\xa0\x91\x95\xef\xbd\xa1\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb\xe2\x89\xaf\xf0\x90\xb7\x92", false); } // [B1, V7, U1]
15758test { try toAsciiFail("\xe2\x89\xaf?\xf3\xa0\x91\x95\xef\xbd\xa1\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb\xe2\x89\xaf\xf0\x90\xb7\x92", true); } // [B1, V7, U1]
15759test { try toUnicodeFail(">\xcc\xb8?\xf3\xa0\x91\x95\xef\xbd\xa1\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb>\xcc\xb8\xf0\x90\xb7\x92"); } // [B1, V7, U1]
15760test { try toAsciiFail(">\xcc\xb8?\xf3\xa0\x91\x95\xef\xbd\xa1\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb>\xcc\xb8\xf0\x90\xb7\x92", false); } // [B1, V7, U1]
15761test { try toAsciiFail(">\xcc\xb8?\xf3\xa0\x91\x95\xef\xbd\xa1\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb>\xcc\xb8\xf0\x90\xb7\x92", true); } // [B1, V7, U1]
15762test { try toUnicodeFail("\xe2\x89\xaf?\xf3\xa0\x91\x95\xe3\x80\x82\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb\xe2\x89\xaf\xf0\x90\xb7\x92"); } // [B1, V7, U1]
15763test { try toAsciiFail("\xe2\x89\xaf?\xf3\xa0\x91\x95\xe3\x80\x82\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb\xe2\x89\xaf\xf0\x90\xb7\x92", false); } // [B1, V7, U1]
15764test { try toAsciiFail("\xe2\x89\xaf?\xf3\xa0\x91\x95\xe3\x80\x82\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb\xe2\x89\xaf\xf0\x90\xb7\x92", true); } // [B1, V7, U1]
15765test { try toUnicodeFail(">\xcc\xb8?\xf3\xa0\x91\x95\xe3\x80\x82\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb>\xcc\xb8\xf0\x90\xb7\x92"); } // [B1, V7, U1]
15766test { try toAsciiFail(">\xcc\xb8?\xf3\xa0\x91\x95\xe3\x80\x82\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb>\xcc\xb8\xf0\x90\xb7\x92", false); } // [B1, V7, U1]
15767test { try toAsciiFail(">\xcc\xb8?\xf3\xa0\x91\x95\xe3\x80\x82\xf0\x90\xb9\xb7\xf0\x90\xb9\xbb>\xcc\xb8\xf0\x90\xb7\x92", true); } // [B1, V7, U1]
15768test { try toUnicodeFail("xn--?-ogo25661n.xn--hdh8283gdoaqa"); } // [B1, V7, U1]
15769test { try toAsciiFail("xn--?-ogo25661n.xn--hdh8283gdoaqa", false); } // [B1, V7, U1]
15770test { try toAsciiFail("xn--?-ogo25661n.xn--hdh8283gdoaqa", true); } // [B1, V7, U1]
15771test { try toUnicodeFail("\xe2\x89\xaf?\xf3\xa0\x91\x95.xn--hdh8283gdoaqa"); } // [B1, V7, U1]
15772test { try toAsciiFail("\xe2\x89\xaf?\xf3\xa0\x91\x95.xn--hdh8283gdoaqa", false); } // [B1, V7, U1]
15773test { try toAsciiFail("\xe2\x89\xaf?\xf3\xa0\x91\x95.xn--hdh8283gdoaqa", true); } // [B1, V7, U1]
15774test { try toUnicodeFail(">\xcc\xb8?\xf3\xa0\x91\x95.xn--hdh8283gdoaqa"); } // [B1, V7, U1]
15775test { try toAsciiFail(">\xcc\xb8?\xf3\xa0\x91\x95.xn--hdh8283gdoaqa", false); } // [B1, V7, U1]
15776test { try toAsciiFail(">\xcc\xb8?\xf3\xa0\x91\x95.xn--hdh8283gdoaqa", true); } // [B1, V7, U1]
15777test { try toUnicodeFail(">\xcc\xb8?\xf3\xa0\x91\x95.XN--HDH8283GDOAQA"); } // [B1, V7, U1]
15778test { try toAsciiFail(">\xcc\xb8?\xf3\xa0\x91\x95.XN--HDH8283GDOAQA", false); } // [B1, V7, U1]
15779test { try toAsciiFail(">\xcc\xb8?\xf3\xa0\x91\x95.XN--HDH8283GDOAQA", true); } // [B1, V7, U1]
15780test { try toUnicodeFail("\xe2\x89\xaf?\xf3\xa0\x91\x95.XN--HDH8283GDOAQA"); } // [B1, V7, U1]
15781test { try toAsciiFail("\xe2\x89\xaf?\xf3\xa0\x91\x95.XN--HDH8283GDOAQA", false); } // [B1, V7, U1]
15782test { try toAsciiFail("\xe2\x89\xaf?\xf3\xa0\x91\x95.XN--HDH8283GDOAQA", true); } // [B1, V7, U1]
15783test { try toUnicodeFail("\xe2\x89\xaf?\xf3\xa0\x91\x95.Xn--Hdh8283gdoaqa"); } // [B1, V7, U1]
15784test { try toAsciiFail("\xe2\x89\xaf?\xf3\xa0\x91\x95.Xn--Hdh8283gdoaqa", false); } // [B1, V7, U1]
15785test { try toAsciiFail("\xe2\x89\xaf?\xf3\xa0\x91\x95.Xn--Hdh8283gdoaqa", true); } // [B1, V7, U1]
15786test { try toUnicodeFail(">\xcc\xb8?\xf3\xa0\x91\x95.Xn--Hdh8283gdoaqa"); } // [B1, V7, U1]
15787test { try toAsciiFail(">\xcc\xb8?\xf3\xa0\x91\x95.Xn--Hdh8283gdoaqa", false); } // [B1, V7, U1]
15788test { try toAsciiFail(">\xcc\xb8?\xf3\xa0\x91\x95.Xn--Hdh8283gdoaqa", true); } // [B1, V7, U1]
15789test { try toUnicodeFail("\xe3\x8d\x94\xe0\xa3\xa6\xdd\xbc\xe2\x80\x8d\xe3\x80\x82\xcd\x86\xf2\x81\xb3\x8a\xf0\x9d\x85\xb6\xd8\x84"); } // [B1, B5, B6, C2, V6, V7]
15790test { try toAsciiFail("\xe3\x8d\x94\xe0\xa3\xa6\xdd\xbc\xe2\x80\x8d\xe3\x80\x82\xcd\x86\xf2\x81\xb3\x8a\xf0\x9d\x85\xb6\xd8\x84", false); } // [B1, B5, B6, C2, V6, V7]
15791test { try toAsciiFail("\xe3\x8d\x94\xe0\xa3\xa6\xdd\xbc\xe2\x80\x8d\xe3\x80\x82\xcd\x86\xf2\x81\xb3\x8a\xf0\x9d\x85\xb6\xd8\x84", true); } // [B1, B5, B6, V6, V7]
15792test { try toUnicodeFail("\xe3\x83\xab\xe3\x83\xbc\xe3\x83\x96\xe3\x83\xab\xe0\xa3\xa6\xdd\xbc\xe2\x80\x8d\xe3\x80\x82\xcd\x86\xf2\x81\xb3\x8a\xf0\x9d\x85\xb6\xd8\x84"); } // [B1, B5, B6, C2, V6, V7]
15793test { try toAsciiFail("\xe3\x83\xab\xe3\x83\xbc\xe3\x83\x96\xe3\x83\xab\xe0\xa3\xa6\xdd\xbc\xe2\x80\x8d\xe3\x80\x82\xcd\x86\xf2\x81\xb3\x8a\xf0\x9d\x85\xb6\xd8\x84", false); } // [B1, B5, B6, C2, V6, V7]
15794test { try toAsciiFail("\xe3\x83\xab\xe3\x83\xbc\xe3\x83\x96\xe3\x83\xab\xe0\xa3\xa6\xdd\xbc\xe2\x80\x8d\xe3\x80\x82\xcd\x86\xf2\x81\xb3\x8a\xf0\x9d\x85\xb6\xd8\x84", true); } // [B1, B5, B6, V6, V7]
15795test { try toUnicodeFail("\xe3\x83\xab\xe3\x83\xbc\xe3\x83\x95\xe3\x82\x99\xe3\x83\xab\xe0\xa3\xa6\xdd\xbc\xe2\x80\x8d\xe3\x80\x82\xcd\x86\xf2\x81\xb3\x8a\xf0\x9d\x85\xb6\xd8\x84"); } // [B1, B5, B6, C2, V6, V7]
15796test { try toAsciiFail("\xe3\x83\xab\xe3\x83\xbc\xe3\x83\x95\xe3\x82\x99\xe3\x83\xab\xe0\xa3\xa6\xdd\xbc\xe2\x80\x8d\xe3\x80\x82\xcd\x86\xf2\x81\xb3\x8a\xf0\x9d\x85\xb6\xd8\x84", false); } // [B1, B5, B6, C2, V6, V7]
15797test { try toAsciiFail("\xe3\x83\xab\xe3\x83\xbc\xe3\x83\x95\xe3\x82\x99\xe3\x83\xab\xe0\xa3\xa6\xdd\xbc\xe2\x80\x8d\xe3\x80\x82\xcd\x86\xf2\x81\xb3\x8a\xf0\x9d\x85\xb6\xd8\x84", true); } // [B1, B5, B6, V6, V7]
15798test { try toUnicodeFail("xn--dqb73el09fncab4h.xn--kua81lx7141a"); } // [B1, B5, B6, V6, V7]
15799test { try toAsciiFail("xn--dqb73el09fncab4h.xn--kua81lx7141a", false); } // [B1, B5, B6, V6, V7]
15800test { try toAsciiFail("xn--dqb73el09fncab4h.xn--kua81lx7141a", true); } // [B1, B5, B6, V6, V7]
15801test { try toUnicodeFail("xn--dqb73ec22c9kp8cb1j.xn--kua81lx7141a"); } // [B1, B5, B6, C2, V6, V7]
15802test { try toAsciiFail("xn--dqb73ec22c9kp8cb1j.xn--kua81lx7141a", false); } // [B1, B5, B6, C2, V6, V7]
15803test { try toAsciiFail("xn--dqb73ec22c9kp8cb1j.xn--kua81lx7141a", true); } // [B1, B5, B6, C2, V6, V7]
15804test { try toUnicodeFail("xn--dqb73el09fncab4h.xn--kua81ls548d3608b"); } // [B1, B5, B6, V6, V7]
15805test { try toAsciiFail("xn--dqb73el09fncab4h.xn--kua81ls548d3608b", false); } // [B1, B5, B6, V6, V7]
15806test { try toAsciiFail("xn--dqb73el09fncab4h.xn--kua81ls548d3608b", true); } // [B1, B5, B6, V6, V7]
15807test { try toUnicodeFail("xn--dqb73ec22c9kp8cb1j.xn--kua81ls548d3608b"); } // [B1, B5, B6, C2, V6, V7]
15808test { try toAsciiFail("xn--dqb73ec22c9kp8cb1j.xn--kua81ls548d3608b", false); } // [B1, B5, B6, C2, V6, V7]
15809test { try toAsciiFail("xn--dqb73ec22c9kp8cb1j.xn--kua81ls548d3608b", true); } // [B1, B5, B6, C2, V6, V7]
15810test { try toUnicodeFail("\xe2\x80\x8d.F"); } // [C2]
15811test { try toAsciiFail("\xe2\x80\x8d.F", false); } // [C2]
15812test { try toAsciiFail("\xe2\x80\x8d.F", true); } // [A4_2]
15813test { try toUnicodeFail("\xe2\x80\x8d.f"); } // [C2]
15814test { try toAsciiFail("\xe2\x80\x8d.f", false); } // [C2]
15815test { try toAsciiFail("\xe2\x80\x8d.f", true); } // [A4_2]
15816test { try toAsciiFail(".f", false); } // [A4_2]
15817test { try toAsciiFail(".f", true); } // [A4_2]
15818test { try toUnicodeFail("xn--1ug.f"); } // [C2]
15819test { try toAsciiFail("xn--1ug.f", false); } // [C2]
15820test { try toAsciiFail("xn--1ug.f", true); } // [C2]
15821test { try toUnicodePass("f", "f"); }
15822test { try toAsciiPass("f", "f", false); }
15823test { try toAsciiPass("f", "f", true); }
15824test { try toAsciiPass("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1\xc3\x9f", "xn--9bm.ss", true); }
15825test { try toUnicodeFail("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1\xc3\x9f"); } // [C2]
15826test { try toAsciiFail("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1\xc3\x9f", false); } // [C2]
15827test { try toAsciiPass("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82\xc3\x9f", "xn--9bm.ss", true); }
15828test { try toUnicodeFail("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82\xc3\x9f"); } // [C2]
15829test { try toAsciiFail("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82\xc3\x9f", false); } // [C2]
15830test { try toAsciiPass("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82SS", "xn--9bm.ss", true); }
15831test { try toUnicodeFail("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82SS"); } // [C2]
15832test { try toAsciiFail("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82SS", false); } // [C2]
15833test { try toAsciiPass("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82ss", "xn--9bm.ss", true); }
15834test { try toUnicodeFail("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82ss"); } // [C2]
15835test { try toAsciiFail("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82ss", false); } // [C2]
15836test { try toAsciiPass("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82Ss", "xn--9bm.ss", true); }
15837test { try toUnicodeFail("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82Ss"); } // [C2]
15838test { try toAsciiFail("\xe2\x80\x8d\xe3\xa8\xb2\xe3\x80\x82Ss", false); } // [C2]
15839test { try toUnicodePass("xn--9bm.ss", "\xe3\xa8\xb2.ss"); }
15840test { try toAsciiPass("xn--9bm.ss", "xn--9bm.ss", false); }
15841test { try toAsciiPass("xn--9bm.ss", "xn--9bm.ss", true); }
15842test { try toUnicodePass("\xe3\xa8\xb2.ss", "\xe3\xa8\xb2.ss"); }
15843test { try toAsciiPass("\xe3\xa8\xb2.ss", "xn--9bm.ss", false); }
15844test { try toAsciiPass("\xe3\xa8\xb2.ss", "xn--9bm.ss", true); }
15845test { try toUnicodePass("\xe3\xa8\xb2.SS", "\xe3\xa8\xb2.ss"); }
15846test { try toAsciiPass("\xe3\xa8\xb2.SS", "xn--9bm.ss", false); }
15847test { try toAsciiPass("\xe3\xa8\xb2.SS", "xn--9bm.ss", true); }
15848test { try toUnicodePass("\xe3\xa8\xb2.Ss", "\xe3\xa8\xb2.ss"); }
15849test { try toAsciiPass("\xe3\xa8\xb2.Ss", "xn--9bm.ss", false); }
15850test { try toAsciiPass("\xe3\xa8\xb2.Ss", "xn--9bm.ss", true); }
15851test { try toUnicodeFail("xn--1ug914h.ss"); } // [C2]
15852test { try toAsciiFail("xn--1ug914h.ss", false); } // [C2]
15853test { try toAsciiFail("xn--1ug914h.ss", true); } // [C2]
15854test { try toUnicodeFail("xn--1ug914h.xn--zca"); } // [C2]
15855test { try toAsciiFail("xn--1ug914h.xn--zca", false); } // [C2]
15856test { try toAsciiFail("xn--1ug914h.xn--zca", true); } // [C2]
15857test { try toAsciiPass("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1SS", "xn--9bm.ss", true); }
15858test { try toUnicodeFail("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1SS"); } // [C2]
15859test { try toAsciiFail("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1SS", false); } // [C2]
15860test { try toAsciiPass("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1ss", "xn--9bm.ss", true); }
15861test { try toUnicodeFail("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1ss"); } // [C2]
15862test { try toAsciiFail("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1ss", false); } // [C2]
15863test { try toAsciiPass("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1Ss", "xn--9bm.ss", true); }
15864test { try toUnicodeFail("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1Ss"); } // [C2]
15865test { try toAsciiFail("\xe2\x80\x8d\xe3\xa8\xb2\xef\xbd\xa1Ss", false); } // [C2]
15866test { try toUnicodeFail("\xd8\x85\xd9\xbe\xef\xbd\xa1\xe0\xa2\xa8"); } // [B1, V7]
15867test { try toAsciiFail("\xd8\x85\xd9\xbe\xef\xbd\xa1\xe0\xa2\xa8", false); } // [B1, V7]
15868test { try toAsciiFail("\xd8\x85\xd9\xbe\xef\xbd\xa1\xe0\xa2\xa8", true); } // [B1, V7]
15869test { try toUnicodeFail("\xd8\x85\xd9\xbe\xe3\x80\x82\xe0\xa2\xa8"); } // [B1, V7]
15870test { try toAsciiFail("\xd8\x85\xd9\xbe\xe3\x80\x82\xe0\xa2\xa8", false); } // [B1, V7]
15871test { try toAsciiFail("\xd8\x85\xd9\xbe\xe3\x80\x82\xe0\xa2\xa8", true); } // [B1, V7]
15872test { try toUnicodeFail("xn--nfb6v.xn--xyb"); } // [B1, V7]
15873test { try toAsciiFail("xn--nfb6v.xn--xyb", false); } // [B1, V7]
15874test { try toAsciiFail("xn--nfb6v.xn--xyb", true); } // [B1, V7]
15875test { try toUnicodeFail("\xe2\xbe\x91\xdd\x93\xf0\x9e\xa4\x81\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82"); } // [B1, B5, B6]
15876test { try toAsciiFail("\xe2\xbe\x91\xdd\x93\xf0\x9e\xa4\x81\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82", false); } // [B1, B5, B6]
15877test { try toAsciiFail("\xe2\xbe\x91\xdd\x93\xf0\x9e\xa4\x81\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82", true); } // [B1, B5, B6]
15878test { try toUnicodeFail("\xe8\xa5\xbe\xdd\x93\xf0\x9e\xa4\x81\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82"); } // [B1, B5, B6]
15879test { try toAsciiFail("\xe8\xa5\xbe\xdd\x93\xf0\x9e\xa4\x81\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82", false); } // [B1, B5, B6]
15880test { try toAsciiFail("\xe8\xa5\xbe\xdd\x93\xf0\x9e\xa4\x81\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82", true); } // [B1, B5, B6]
15881test { try toUnicodeFail("\xe8\xa5\xbe\xdd\x93\xf0\x9e\xa4\xa3\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82"); } // [B1, B5, B6]
15882test { try toAsciiFail("\xe8\xa5\xbe\xdd\x93\xf0\x9e\xa4\xa3\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82", false); } // [B1, B5, B6]
15883test { try toAsciiFail("\xe8\xa5\xbe\xdd\x93\xf0\x9e\xa4\xa3\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82", true); } // [B1, B5, B6]
15884test { try toUnicodeFail("xn--6ob9577deqwl.xn--7ib5526k"); } // [B1, B5, B6]
15885test { try toAsciiFail("xn--6ob9577deqwl.xn--7ib5526k", false); } // [B1, B5, B6]
15886test { try toAsciiFail("xn--6ob9577deqwl.xn--7ib5526k", true); } // [B1, B5, B6]
15887test { try toUnicodeFail("\xe2\xbe\x91\xdd\x93\xf0\x9e\xa4\xa3\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82"); } // [B1, B5, B6]
15888test { try toAsciiFail("\xe2\xbe\x91\xdd\x93\xf0\x9e\xa4\xa3\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82", false); } // [B1, B5, B6]
15889test { try toAsciiFail("\xe2\xbe\x91\xdd\x93\xf0\x9e\xa4\xa3\xe3\x80\x82\xf0\x90\xb9\xb5\xda\x82", true); } // [B1, B5, B6]
15890test { try toUnicodeFail("\xf1\xa6\xb4\xbb\xcf\x82-\xe2\x83\xab\xef\xbd\xa1\xdd\x94-\xea\xa1\x9b"); } // [B2, B3, B6, V7]
15891test { try toAsciiFail("\xf1\xa6\xb4\xbb\xcf\x82-\xe2\x83\xab\xef\xbd\xa1\xdd\x94-\xea\xa1\x9b", false); } // [B2, B3, B6, V7]
15892test { try toAsciiFail("\xf1\xa6\xb4\xbb\xcf\x82-\xe2\x83\xab\xef\xbd\xa1\xdd\x94-\xea\xa1\x9b", true); } // [B2, B3, B6, V7]
15893test { try toUnicodeFail("\xf1\xa6\xb4\xbb\xcf\x82-\xe2\x83\xab\xe3\x80\x82\xdd\x94-\xea\xa1\x9b"); } // [B2, B3, B6, V7]
15894test { try toAsciiFail("\xf1\xa6\xb4\xbb\xcf\x82-\xe2\x83\xab\xe3\x80\x82\xdd\x94-\xea\xa1\x9b", false); } // [B2, B3, B6, V7]
15895test { try toAsciiFail("\xf1\xa6\xb4\xbb\xcf\x82-\xe2\x83\xab\xe3\x80\x82\xdd\x94-\xea\xa1\x9b", true); } // [B2, B3, B6, V7]
15896test { try toUnicodeFail("\xf1\xa6\xb4\xbb\xce\xa3-\xe2\x83\xab\xe3\x80\x82\xdd\x94-\xea\xa1\x9b"); } // [B2, B3, B6, V7]
15897test { try toAsciiFail("\xf1\xa6\xb4\xbb\xce\xa3-\xe2\x83\xab\xe3\x80\x82\xdd\x94-\xea\xa1\x9b", false); } // [B2, B3, B6, V7]
15898test { try toAsciiFail("\xf1\xa6\xb4\xbb\xce\xa3-\xe2\x83\xab\xe3\x80\x82\xdd\x94-\xea\xa1\x9b", true); } // [B2, B3, B6, V7]
15899test { try toUnicodeFail("\xf1\xa6\xb4\xbb\xcf\x83-\xe2\x83\xab\xe3\x80\x82\xdd\x94-\xea\xa1\x9b"); } // [B2, B3, B6, V7]
15900test { try toAsciiFail("\xf1\xa6\xb4\xbb\xcf\x83-\xe2\x83\xab\xe3\x80\x82\xdd\x94-\xea\xa1\x9b", false); } // [B2, B3, B6, V7]
15901test { try toAsciiFail("\xf1\xa6\xb4\xbb\xcf\x83-\xe2\x83\xab\xe3\x80\x82\xdd\x94-\xea\xa1\x9b", true); } // [B2, B3, B6, V7]
15902test { try toUnicodeFail("xn----zmb705tuo34l.xn----53c4874j"); } // [B2, B3, B6, V7]
15903test { try toAsciiFail("xn----zmb705tuo34l.xn----53c4874j", false); } // [B2, B3, B6, V7]
15904test { try toAsciiFail("xn----zmb705tuo34l.xn----53c4874j", true); } // [B2, B3, B6, V7]
15905test { try toUnicodeFail("xn----xmb015tuo34l.xn----53c4874j"); } // [B2, B3, B6, V7]
15906test { try toAsciiFail("xn----xmb015tuo34l.xn----53c4874j", false); } // [B2, B3, B6, V7]
15907test { try toAsciiFail("xn----xmb015tuo34l.xn----53c4874j", true); } // [B2, B3, B6, V7]
15908test { try toUnicodeFail("\xf1\xa6\xb4\xbb\xce\xa3-\xe2\x83\xab\xef\xbd\xa1\xdd\x94-\xea\xa1\x9b"); } // [B2, B3, B6, V7]
15909test { try toAsciiFail("\xf1\xa6\xb4\xbb\xce\xa3-\xe2\x83\xab\xef\xbd\xa1\xdd\x94-\xea\xa1\x9b", false); } // [B2, B3, B6, V7]
15910test { try toAsciiFail("\xf1\xa6\xb4\xbb\xce\xa3-\xe2\x83\xab\xef\xbd\xa1\xdd\x94-\xea\xa1\x9b", true); } // [B2, B3, B6, V7]
15911test { try toUnicodeFail("\xf1\xa6\xb4\xbb\xcf\x83-\xe2\x83\xab\xef\xbd\xa1\xdd\x94-\xea\xa1\x9b"); } // [B2, B3, B6, V7]
15912test { try toAsciiFail("\xf1\xa6\xb4\xbb\xcf\x83-\xe2\x83\xab\xef\xbd\xa1\xdd\x94-\xea\xa1\x9b", false); } // [B2, B3, B6, V7]
15913test { try toAsciiFail("\xf1\xa6\xb4\xbb\xcf\x83-\xe2\x83\xab\xef\xbd\xa1\xdd\x94-\xea\xa1\x9b", true); } // [B2, B3, B6, V7]
15914test { try toUnicodeFail("\xe2\x80\x8d\xef\xbc\x8e\xf4\x80\xb8\xa8"); } // [C2, V7]
15915test { try toAsciiFail("\xe2\x80\x8d\xef\xbc\x8e\xf4\x80\xb8\xa8", false); } // [C2, V7]
15916test { try toAsciiFail("\xe2\x80\x8d\xef\xbc\x8e\xf4\x80\xb8\xa8", true); } // [V7, A4_2]
15917test { try toUnicodeFail("\xe2\x80\x8d.\xf4\x80\xb8\xa8"); } // [C2, V7]
15918test { try toAsciiFail("\xe2\x80\x8d.\xf4\x80\xb8\xa8", false); } // [C2, V7]
15919test { try toAsciiFail("\xe2\x80\x8d.\xf4\x80\xb8\xa8", true); } // [V7, A4_2]
15920test { try toUnicodeFail(".xn--h327f"); } // [V7, X4_2]
15921test { try toAsciiFail(".xn--h327f", false); } // [V7, A4_2]
15922test { try toAsciiFail(".xn--h327f", true); } // [V7, A4_2]
15923test { try toUnicodeFail("xn--1ug.xn--h327f"); } // [C2, V7]
15924test { try toAsciiFail("xn--1ug.xn--h327f", false); } // [C2, V7]
15925test { try toAsciiFail("xn--1ug.xn--h327f", true); } // [C2, V7]
15926test { try toUnicodeFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xef\xbd\xa1\xe2\x89\xa0\xf0\x9d\x9f\xb2"); } // [V7]
15927test { try toAsciiFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xef\xbd\xa1\xe2\x89\xa0\xf0\x9d\x9f\xb2", false); } // [V7]
15928test { try toAsciiFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xef\xbd\xa1\xe2\x89\xa0\xf0\x9d\x9f\xb2", true); } // [V7]
15929test { try toUnicodeFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xef\xbd\xa1=\xcc\xb8\xf0\x9d\x9f\xb2"); } // [V7]
15930test { try toAsciiFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xef\xbd\xa1=\xcc\xb8\xf0\x9d\x9f\xb2", false); } // [V7]
15931test { try toAsciiFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xef\xbd\xa1=\xcc\xb8\xf0\x9d\x9f\xb2", true); } // [V7]
15932test { try toUnicodeFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xe3\x80\x82\xe2\x89\xa06"); } // [V7]
15933test { try toAsciiFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xe3\x80\x82\xe2\x89\xa06", false); } // [V7]
15934test { try toAsciiFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xe3\x80\x82\xe2\x89\xa06", true); } // [V7]
15935test { try toUnicodeFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xe3\x80\x82=\xcc\xb86"); } // [V7]
15936test { try toAsciiFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xe3\x80\x82=\xcc\xb86", false); } // [V7]
15937test { try toAsciiFail("\xf1\xa3\xad\xbb\xf1\x8c\xa5\x81\xe3\x80\x82=\xcc\xb86", true); } // [V7]
15938test { try toUnicodeFail("xn--h79w4z99a.xn--6-tfo"); } // [V7]
15939test { try toAsciiFail("xn--h79w4z99a.xn--6-tfo", false); } // [V7]
15940test { try toAsciiFail("xn--h79w4z99a.xn--6-tfo", true); } // [V7]
15941test { try toUnicodeFail("\xf3\xa0\x85\x8a\xe1\xa1\xad\xe2\x80\x8d.\xf0\x90\xa5\xa1"); } // [B6, C2, V7]
15942test { try toAsciiFail("\xf3\xa0\x85\x8a\xe1\xa1\xad\xe2\x80\x8d.\xf0\x90\xa5\xa1", false); } // [B6, C2, V7]
15943test { try toAsciiFail("\xf3\xa0\x85\x8a\xe1\xa1\xad\xe2\x80\x8d.\xf0\x90\xa5\xa1", true); } // [V7]
15944test { try toUnicodeFail("xn--98e.xn--om9c"); } // [V7]
15945test { try toAsciiFail("xn--98e.xn--om9c", false); } // [V7]
15946test { try toAsciiFail("xn--98e.xn--om9c", true); } // [V7]
15947test { try toUnicodeFail("xn--98e810b.xn--om9c"); } // [B6, C2, V7]
15948test { try toAsciiFail("xn--98e810b.xn--om9c", false); } // [B6, C2, V7]
15949test { try toAsciiFail("xn--98e810b.xn--om9c", true); } // [B6, C2, V7]
15950test { try toUnicodeFail("\xe0\xb1\x80\xe0\xa1\x95\xf0\x90\xa5\x9b\xf0\x91\x84\xb4\xef\xbc\x8e\xf3\xad\xb0\xb5"); } // [B1, V6, V7]
15951test { try toAsciiFail("\xe0\xb1\x80\xe0\xa1\x95\xf0\x90\xa5\x9b\xf0\x91\x84\xb4\xef\xbc\x8e\xf3\xad\xb0\xb5", false); } // [B1, V6, V7]
15952test { try toAsciiFail("\xe0\xb1\x80\xe0\xa1\x95\xf0\x90\xa5\x9b\xf0\x91\x84\xb4\xef\xbc\x8e\xf3\xad\xb0\xb5", true); } // [B1, V6, V7]
15953test { try toUnicodeFail("\xe0\xb1\x80\xe0\xa1\x95\xf0\x90\xa5\x9b\xf0\x91\x84\xb4.\xf3\xad\xb0\xb5"); } // [B1, V6, V7]
15954test { try toAsciiFail("\xe0\xb1\x80\xe0\xa1\x95\xf0\x90\xa5\x9b\xf0\x91\x84\xb4.\xf3\xad\xb0\xb5", false); } // [B1, V6, V7]
15955test { try toAsciiFail("\xe0\xb1\x80\xe0\xa1\x95\xf0\x90\xa5\x9b\xf0\x91\x84\xb4.\xf3\xad\xb0\xb5", true); } // [B1, V6, V7]
15956test { try toUnicodeFail("xn--kwb91r5112avtg.xn--o580f"); } // [B1, V6, V7]
15957test { try toAsciiFail("xn--kwb91r5112avtg.xn--o580f", false); } // [B1, V6, V7]
15958test { try toAsciiFail("xn--kwb91r5112avtg.xn--o580f", true); } // [B1, V6, V7]
15959test { try toUnicodeFail("\xf0\x9e\xa4\xae\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c\xe2\x89\xaf\xe1\xb3\xa6"); } // [B1, C1, V6]
15960test { try toAsciiFail("\xf0\x9e\xa4\xae\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c\xe2\x89\xaf\xe1\xb3\xa6", false); } // [B1, C1, V6]
15961test { try toAsciiFail("\xf0\x9e\xa4\xae\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c\xe2\x89\xaf\xe1\xb3\xa6", true); } // [B1, V6]
15962test { try toUnicodeFail("\xf0\x9e\xa4\xae\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c>\xcc\xb8\xe1\xb3\xa6"); } // [B1, C1, V6]
15963test { try toAsciiFail("\xf0\x9e\xa4\xae\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c>\xcc\xb8\xe1\xb3\xa6", false); } // [B1, C1, V6]
15964test { try toAsciiFail("\xf0\x9e\xa4\xae\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c>\xcc\xb8\xe1\xb3\xa6", true); } // [B1, V6]
15965test { try toUnicodeFail("\xf0\x9e\xa4\x8c\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c>\xcc\xb8\xe1\xb3\xa6"); } // [B1, C1, V6]
15966test { try toAsciiFail("\xf0\x9e\xa4\x8c\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c>\xcc\xb8\xe1\xb3\xa6", false); } // [B1, C1, V6]
15967test { try toAsciiFail("\xf0\x9e\xa4\x8c\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c>\xcc\xb8\xe1\xb3\xa6", true); } // [B1, V6]
15968test { try toUnicodeFail("\xf0\x9e\xa4\x8c\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c\xe2\x89\xaf\xe1\xb3\xa6"); } // [B1, C1, V6]
15969test { try toAsciiFail("\xf0\x9e\xa4\x8c\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c\xe2\x89\xaf\xe1\xb3\xa6", false); } // [B1, C1, V6]
15970test { try toAsciiFail("\xf0\x9e\xa4\x8c\xe3\x80\x82\xf0\x91\x87\x8a\xe2\x80\x8c\xe2\x89\xaf\xe1\xb3\xa6", true); } // [B1, V6]
15971test { try toUnicodeFail("xn--me6h.xn--z6fz8ueq2v"); } // [B1, V6]
15972test { try toAsciiFail("xn--me6h.xn--z6fz8ueq2v", false); } // [B1, V6]
15973test { try toAsciiFail("xn--me6h.xn--z6fz8ueq2v", true); } // [B1, V6]
15974test { try toUnicodeFail("xn--me6h.xn--z6f16kn9b2642b"); } // [B1, C1, V6]
15975test { try toAsciiFail("xn--me6h.xn--z6f16kn9b2642b", false); } // [B1, C1, V6]
15976test { try toAsciiFail("xn--me6h.xn--z6f16kn9b2642b", true); } // [B1, C1, V6]
15977test { try toUnicodeFail("\xf3\xa0\x84\x80\xf0\x9d\x9f\x95.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe1\x82\xa9"); } // [B1, B2, B3, V7]
15978test { try toAsciiFail("\xf3\xa0\x84\x80\xf0\x9d\x9f\x95.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe1\x82\xa9", false); } // [B1, B2, B3, V7]
15979test { try toAsciiFail("\xf3\xa0\x84\x80\xf0\x9d\x9f\x95.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe1\x82\xa9", true); } // [B1, B2, B3, V7]
15980test { try toUnicodeFail("\xf3\xa0\x84\x807.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe1\x82\xa9"); } // [B1, B2, B3, V7]
15981test { try toAsciiFail("\xf3\xa0\x84\x807.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe1\x82\xa9", false); } // [B1, B2, B3, V7]
15982test { try toAsciiFail("\xf3\xa0\x84\x807.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe1\x82\xa9", true); } // [B1, B2, B3, V7]
15983test { try toUnicodeFail("\xf3\xa0\x84\x807.\xf0\x9e\xa4\xae\xf1\x9b\x97\x93\xe2\xb4\x89"); } // [B1, B2, B3, V7]
15984test { try toAsciiFail("\xf3\xa0\x84\x807.\xf0\x9e\xa4\xae\xf1\x9b\x97\x93\xe2\xb4\x89", false); } // [B1, B2, B3, V7]
15985test { try toAsciiFail("\xf3\xa0\x84\x807.\xf0\x9e\xa4\xae\xf1\x9b\x97\x93\xe2\xb4\x89", true); } // [B1, B2, B3, V7]
15986test { try toUnicodeFail("7.xn--0kjz523lv1vv"); } // [B1, B2, B3, V7]
15987test { try toAsciiFail("7.xn--0kjz523lv1vv", false); } // [B1, B2, B3, V7]
15988test { try toAsciiFail("7.xn--0kjz523lv1vv", true); } // [B1, B2, B3, V7]
15989test { try toUnicodeFail("\xf3\xa0\x84\x80\xf0\x9d\x9f\x95.\xf0\x9e\xa4\xae\xf1\x9b\x97\x93\xe2\xb4\x89"); } // [B1, B2, B3, V7]
15990test { try toAsciiFail("\xf3\xa0\x84\x80\xf0\x9d\x9f\x95.\xf0\x9e\xa4\xae\xf1\x9b\x97\x93\xe2\xb4\x89", false); } // [B1, B2, B3, V7]
15991test { try toAsciiFail("\xf3\xa0\x84\x80\xf0\x9d\x9f\x95.\xf0\x9e\xa4\xae\xf1\x9b\x97\x93\xe2\xb4\x89", true); } // [B1, B2, B3, V7]
15992test { try toUnicodeFail("7.xn--hnd3403vv1vv"); } // [B1, B2, B3, V7]
15993test { try toAsciiFail("7.xn--hnd3403vv1vv", false); } // [B1, B2, B3, V7]
15994test { try toAsciiFail("7.xn--hnd3403vv1vv", true); } // [B1, B2, B3, V7]
15995test { try toUnicodeFail("\xf3\xa0\x84\x807.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe2\xb4\x89"); } // [B1, B2, B3, V7]
15996test { try toAsciiFail("\xf3\xa0\x84\x807.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe2\xb4\x89", false); } // [B1, B2, B3, V7]
15997test { try toAsciiFail("\xf3\xa0\x84\x807.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe2\xb4\x89", true); } // [B1, B2, B3, V7]
15998test { try toUnicodeFail("\xf3\xa0\x84\x80\xf0\x9d\x9f\x95.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe2\xb4\x89"); } // [B1, B2, B3, V7]
15999test { try toAsciiFail("\xf3\xa0\x84\x80\xf0\x9d\x9f\x95.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe2\xb4\x89", false); } // [B1, B2, B3, V7]
16000test { try toAsciiFail("\xf3\xa0\x84\x80\xf0\x9d\x9f\x95.\xf0\x9e\xa4\x8c\xf1\x9b\x97\x93\xe2\xb4\x89", true); } // [B1, B2, B3, V7]
16001test { try toUnicodeFail("\xe9\x96\x839\xf0\x9d\xa9\x8d\xe3\x80\x82\xe2\x86\x83\xd9\xa9\xe0\xa2\xb1\xe0\xad\x8d"); } // [B5, B6]
16002test { try toAsciiFail("\xe9\x96\x839\xf0\x9d\xa9\x8d\xe3\x80\x82\xe2\x86\x83\xd9\xa9\xe0\xa2\xb1\xe0\xad\x8d", false); } // [B5, B6]
16003test { try toAsciiFail("\xe9\x96\x839\xf0\x9d\xa9\x8d\xe3\x80\x82\xe2\x86\x83\xd9\xa9\xe0\xa2\xb1\xe0\xad\x8d", true); } // [B5, B6]
16004test { try toUnicodeFail("\xe9\x96\x839\xf0\x9d\xa9\x8d\xe3\x80\x82\xe2\x86\x84\xd9\xa9\xe0\xa2\xb1\xe0\xad\x8d"); } // [B5, B6]
16005test { try toAsciiFail("\xe9\x96\x839\xf0\x9d\xa9\x8d\xe3\x80\x82\xe2\x86\x84\xd9\xa9\xe0\xa2\xb1\xe0\xad\x8d", false); } // [B5, B6]
16006test { try toAsciiFail("\xe9\x96\x839\xf0\x9d\xa9\x8d\xe3\x80\x82\xe2\x86\x84\xd9\xa9\xe0\xa2\xb1\xe0\xad\x8d", true); } // [B5, B6]
16007test { try toUnicodeFail("xn--9-3j6dk517f.xn--iib28ij3c4t9a"); } // [B5, B6]
16008test { try toAsciiFail("xn--9-3j6dk517f.xn--iib28ij3c4t9a", false); } // [B5, B6]
16009test { try toAsciiFail("xn--9-3j6dk517f.xn--iib28ij3c4t9a", true); } // [B5, B6]
16010test { try toUnicodeFail("xn--9-3j6dk517f.xn--iib28ij3c0t9a"); } // [B5, B6, V7]
16011test { try toAsciiFail("xn--9-3j6dk517f.xn--iib28ij3c0t9a", false); } // [B5, B6, V7]
16012test { try toAsciiFail("xn--9-3j6dk517f.xn--iib28ij3c0t9a", true); } // [B5, B6, V7]
16013test { try toUnicodeFail("\xea\xab\xb6\xe1\xa2\x8f\xe0\xb8\xba\xef\xbc\x92.\xf0\x90\x8b\xa2\xdd\x85\xe0\xbe\x9f\xef\xb8\x92"); } // [V6, V7]
16014test { try toAsciiFail("\xea\xab\xb6\xe1\xa2\x8f\xe0\xb8\xba\xef\xbc\x92.\xf0\x90\x8b\xa2\xdd\x85\xe0\xbe\x9f\xef\xb8\x92", false); } // [V6, V7]
16015test { try toAsciiFail("\xea\xab\xb6\xe1\xa2\x8f\xe0\xb8\xba\xef\xbc\x92.\xf0\x90\x8b\xa2\xdd\x85\xe0\xbe\x9f\xef\xb8\x92", true); } // [V6, V7]
16016test { try toUnicodeFail("\xea\xab\xb6\xe1\xa2\x8f\xe0\xb8\xba2.\xf0\x90\x8b\xa2\xdd\x85\xe0\xbe\x9f\xe3\x80\x82"); } // [V6]
16017test { try toAsciiFail("\xea\xab\xb6\xe1\xa2\x8f\xe0\xb8\xba2.\xf0\x90\x8b\xa2\xdd\x85\xe0\xbe\x9f\xe3\x80\x82", false); } // [V6, A4_2]
16018test { try toAsciiFail("\xea\xab\xb6\xe1\xa2\x8f\xe0\xb8\xba2.\xf0\x90\x8b\xa2\xdd\x85\xe0\xbe\x9f\xe3\x80\x82", true); } // [V6, A4_2]
16019test { try toUnicodeFail("xn--2-2zf840fk16m.xn--sob093b2m7s."); } // [V6]
16020test { try toAsciiFail("xn--2-2zf840fk16m.xn--sob093b2m7s.", false); } // [V6, A4_2]
16021test { try toAsciiFail("xn--2-2zf840fk16m.xn--sob093b2m7s.", true); } // [V6, A4_2]
16022test { try toUnicodeFail("xn--2-2zf840fk16m.xn--sob093bj62sz9d"); } // [V6, V7]
16023test { try toAsciiFail("xn--2-2zf840fk16m.xn--sob093bj62sz9d", false); } // [V6, V7]
16024test { try toAsciiFail("xn--2-2zf840fk16m.xn--sob093bj62sz9d", true); } // [V6, V7]
16025test { try toUnicodeFail("\xf3\x85\xb4\xa7\xef\xbd\xa1\xe2\x89\xa0-\xf3\xa0\x99\x84\xe2\xbe\x9b"); } // [V7]
16026test { try toAsciiFail("\xf3\x85\xb4\xa7\xef\xbd\xa1\xe2\x89\xa0-\xf3\xa0\x99\x84\xe2\xbe\x9b", false); } // [V7]
16027test { try toAsciiFail("\xf3\x85\xb4\xa7\xef\xbd\xa1\xe2\x89\xa0-\xf3\xa0\x99\x84\xe2\xbe\x9b", true); } // [V7]
16028test { try toUnicodeFail("\xf3\x85\xb4\xa7\xef\xbd\xa1=\xcc\xb8-\xf3\xa0\x99\x84\xe2\xbe\x9b"); } // [V7]
16029test { try toAsciiFail("\xf3\x85\xb4\xa7\xef\xbd\xa1=\xcc\xb8-\xf3\xa0\x99\x84\xe2\xbe\x9b", false); } // [V7]
16030test { try toAsciiFail("\xf3\x85\xb4\xa7\xef\xbd\xa1=\xcc\xb8-\xf3\xa0\x99\x84\xe2\xbe\x9b", true); } // [V7]
16031test { try toUnicodeFail("\xf3\x85\xb4\xa7\xe3\x80\x82\xe2\x89\xa0-\xf3\xa0\x99\x84\xe8\xb5\xb0"); } // [V7]
16032test { try toAsciiFail("\xf3\x85\xb4\xa7\xe3\x80\x82\xe2\x89\xa0-\xf3\xa0\x99\x84\xe8\xb5\xb0", false); } // [V7]
16033test { try toAsciiFail("\xf3\x85\xb4\xa7\xe3\x80\x82\xe2\x89\xa0-\xf3\xa0\x99\x84\xe8\xb5\xb0", true); } // [V7]
16034test { try toUnicodeFail("\xf3\x85\xb4\xa7\xe3\x80\x82=\xcc\xb8-\xf3\xa0\x99\x84\xe8\xb5\xb0"); } // [V7]
16035test { try toAsciiFail("\xf3\x85\xb4\xa7\xe3\x80\x82=\xcc\xb8-\xf3\xa0\x99\x84\xe8\xb5\xb0", false); } // [V7]
16036test { try toAsciiFail("\xf3\x85\xb4\xa7\xe3\x80\x82=\xcc\xb8-\xf3\xa0\x99\x84\xe8\xb5\xb0", true); } // [V7]
16037test { try toUnicodeFail("xn--gm57d.xn----tfo4949b3664m"); } // [V7]
16038test { try toAsciiFail("xn--gm57d.xn----tfo4949b3664m", false); } // [V7]
16039test { try toAsciiFail("xn--gm57d.xn----tfo4949b3664m", true); } // [V7]
16040test { try toUnicodeFail("\xdd\xae\xd8\x84\xe1\x82\xaa\xe3\x80\x82-\xe2\x89\xa0\xe1\x85\xa0"); } // [B1, B2, B3, V3, V7]
16041test { try toAsciiFail("\xdd\xae\xd8\x84\xe1\x82\xaa\xe3\x80\x82-\xe2\x89\xa0\xe1\x85\xa0", false); } // [B1, B2, B3, V3, V7]
16042test { try toAsciiFail("\xdd\xae\xd8\x84\xe1\x82\xaa\xe3\x80\x82-\xe2\x89\xa0\xe1\x85\xa0", true); } // [B1, B2, B3, V3, V7]
16043test { try toUnicodeFail("\xdd\xae\xd8\x84\xe1\x82\xaa\xe3\x80\x82-=\xcc\xb8\xe1\x85\xa0"); } // [B1, B2, B3, V3, V7]
16044test { try toAsciiFail("\xdd\xae\xd8\x84\xe1\x82\xaa\xe3\x80\x82-=\xcc\xb8\xe1\x85\xa0", false); } // [B1, B2, B3, V3, V7]
16045test { try toAsciiFail("\xdd\xae\xd8\x84\xe1\x82\xaa\xe3\x80\x82-=\xcc\xb8\xe1\x85\xa0", true); } // [B1, B2, B3, V3, V7]
16046test { try toUnicodeFail("\xdd\xae\xd8\x84\xe2\xb4\x8a\xe3\x80\x82-=\xcc\xb8\xe1\x85\xa0"); } // [B1, B2, B3, V3, V7]
16047test { try toAsciiFail("\xdd\xae\xd8\x84\xe2\xb4\x8a\xe3\x80\x82-=\xcc\xb8\xe1\x85\xa0", false); } // [B1, B2, B3, V3, V7]
16048test { try toAsciiFail("\xdd\xae\xd8\x84\xe2\xb4\x8a\xe3\x80\x82-=\xcc\xb8\xe1\x85\xa0", true); } // [B1, B2, B3, V3, V7]
16049test { try toUnicodeFail("\xdd\xae\xd8\x84\xe2\xb4\x8a\xe3\x80\x82-\xe2\x89\xa0\xe1\x85\xa0"); } // [B1, B2, B3, V3, V7]
16050test { try toAsciiFail("\xdd\xae\xd8\x84\xe2\xb4\x8a\xe3\x80\x82-\xe2\x89\xa0\xe1\x85\xa0", false); } // [B1, B2, B3, V3, V7]
16051test { try toAsciiFail("\xdd\xae\xd8\x84\xe2\xb4\x8a\xe3\x80\x82-\xe2\x89\xa0\xe1\x85\xa0", true); } // [B1, B2, B3, V3, V7]
16052test { try toUnicodeFail("xn--mfb73ek93f.xn----ufo"); } // [B1, B2, B3, V3, V7]
16053test { try toAsciiFail("xn--mfb73ek93f.xn----ufo", false); } // [B1, B2, B3, V3, V7]
16054test { try toAsciiFail("xn--mfb73ek93f.xn----ufo", true); } // [B1, B2, B3, V3, V7]
16055test { try toUnicodeFail("xn--mfb73ek93f.xn----5bh589i"); } // [B1, B2, B3, V3, V7]
16056test { try toAsciiFail("xn--mfb73ek93f.xn----5bh589i", false); } // [B1, B2, B3, V3, V7]
16057test { try toAsciiFail("xn--mfb73ek93f.xn----5bh589i", true); } // [B1, B2, B3, V3, V7]
16058test { try toUnicodeFail("xn--mfb73ex6r.xn----5bh589i"); } // [B1, B2, B3, V3, V7]
16059test { try toAsciiFail("xn--mfb73ex6r.xn----5bh589i", false); } // [B1, B2, B3, V3, V7]
16060test { try toAsciiFail("xn--mfb73ex6r.xn----5bh589i", true); } // [B1, B2, B3, V3, V7]
16061test { try toUnicodeFail("\xef\xad\x8f\xf0\x90\xb9\xa7\xf0\x9d\x9f\x92\xe2\x89\xaf\xef\xbd\xa1\xe2\x80\x8c"); } // [B1, B3, B4, C1]
16062test { try toAsciiFail("\xef\xad\x8f\xf0\x90\xb9\xa7\xf0\x9d\x9f\x92\xe2\x89\xaf\xef\xbd\xa1\xe2\x80\x8c", false); } // [B1, B3, B4, C1]
16063test { try toAsciiFail("\xef\xad\x8f\xf0\x90\xb9\xa7\xf0\x9d\x9f\x92\xe2\x89\xaf\xef\xbd\xa1\xe2\x80\x8c", true); } // [B3, B4, A4_2]
16064test { try toUnicodeFail("\xef\xad\x8f\xf0\x90\xb9\xa7\xf0\x9d\x9f\x92>\xcc\xb8\xef\xbd\xa1\xe2\x80\x8c"); } // [B1, B3, B4, C1]
16065test { try toAsciiFail("\xef\xad\x8f\xf0\x90\xb9\xa7\xf0\x9d\x9f\x92>\xcc\xb8\xef\xbd\xa1\xe2\x80\x8c", false); } // [B1, B3, B4, C1]
16066test { try toAsciiFail("\xef\xad\x8f\xf0\x90\xb9\xa7\xf0\x9d\x9f\x92>\xcc\xb8\xef\xbd\xa1\xe2\x80\x8c", true); } // [B3, B4, A4_2]
16067test { try toUnicodeFail("\xd7\x90\xd7\x9c\xf0\x90\xb9\xa74\xe2\x89\xaf\xe3\x80\x82\xe2\x80\x8c"); } // [B1, B3, B4, C1]
16068test { try toAsciiFail("\xd7\x90\xd7\x9c\xf0\x90\xb9\xa74\xe2\x89\xaf\xe3\x80\x82\xe2\x80\x8c", false); } // [B1, B3, B4, C1]
16069test { try toAsciiFail("\xd7\x90\xd7\x9c\xf0\x90\xb9\xa74\xe2\x89\xaf\xe3\x80\x82\xe2\x80\x8c", true); } // [B3, B4, A4_2]
16070test { try toUnicodeFail("\xd7\x90\xd7\x9c\xf0\x90\xb9\xa74>\xcc\xb8\xe3\x80\x82\xe2\x80\x8c"); } // [B1, B3, B4, C1]
16071test { try toAsciiFail("\xd7\x90\xd7\x9c\xf0\x90\xb9\xa74>\xcc\xb8\xe3\x80\x82\xe2\x80\x8c", false); } // [B1, B3, B4, C1]
16072test { try toAsciiFail("\xd7\x90\xd7\x9c\xf0\x90\xb9\xa74>\xcc\xb8\xe3\x80\x82\xe2\x80\x8c", true); } // [B3, B4, A4_2]
16073test { try toUnicodeFail("xn--4-zhc0by36txt0w."); } // [B3, B4]
16074test { try toAsciiFail("xn--4-zhc0by36txt0w.", false); } // [B3, B4, A4_2]
16075test { try toAsciiFail("xn--4-zhc0by36txt0w.", true); } // [B3, B4, A4_2]
16076test { try toUnicodeFail("xn--4-zhc0by36txt0w.xn--0ug"); } // [B1, B3, B4, C1]
16077test { try toAsciiFail("xn--4-zhc0by36txt0w.xn--0ug", false); } // [B1, B3, B4, C1]
16078test { try toAsciiFail("xn--4-zhc0by36txt0w.xn--0ug", true); } // [B1, B3, B4, C1]
16079test { try toUnicodePass("\xf0\x9d\x9f\x8e\xe3\x80\x82\xe7\x94\xaf", "0.\xe7\x94\xaf"); }
16080test { try toAsciiPass("\xf0\x9d\x9f\x8e\xe3\x80\x82\xe7\x94\xaf", "0.xn--qny", false); }
16081test { try toAsciiPass("\xf0\x9d\x9f\x8e\xe3\x80\x82\xe7\x94\xaf", "0.xn--qny", true); }
16082test { try toUnicodePass("0\xe3\x80\x82\xe7\x94\xaf", "0.\xe7\x94\xaf"); }
16083test { try toAsciiPass("0\xe3\x80\x82\xe7\x94\xaf", "0.xn--qny", false); }
16084test { try toAsciiPass("0\xe3\x80\x82\xe7\x94\xaf", "0.xn--qny", true); }
16085test { try toUnicodePass("0.xn--qny", "0.\xe7\x94\xaf"); }
16086test { try toAsciiPass("0.xn--qny", "0.xn--qny", false); }
16087test { try toAsciiPass("0.xn--qny", "0.xn--qny", true); }
16088test { try toUnicodePass("0.\xe7\x94\xaf", "0.\xe7\x94\xaf"); }
16089test { try toAsciiPass("0.\xe7\x94\xaf", "0.xn--qny", false); }
16090test { try toAsciiPass("0.\xe7\x94\xaf", "0.xn--qny", true); }
16091test { try toUnicodeFail("-\xe2\xbe\x86\xef\xbc\x8e\xea\xab\xb6"); } // [V3, V6]
16092test { try toAsciiFail("-\xe2\xbe\x86\xef\xbc\x8e\xea\xab\xb6", false); } // [V3, V6]
16093test { try toAsciiFail("-\xe2\xbe\x86\xef\xbc\x8e\xea\xab\xb6", true); } // [V3, V6]
16094test { try toUnicodeFail("-\xe8\x88\x8c.\xea\xab\xb6"); } // [V3, V6]
16095test { try toAsciiFail("-\xe8\x88\x8c.\xea\xab\xb6", false); } // [V3, V6]
16096test { try toAsciiFail("-\xe8\x88\x8c.\xea\xab\xb6", true); } // [V3, V6]
16097test { try toUnicodeFail("xn----ef8c.xn--2v9a"); } // [V3, V6]
16098test { try toAsciiFail("xn----ef8c.xn--2v9a", false); } // [V3, V6]
16099test { try toAsciiFail("xn----ef8c.xn--2v9a", true); } // [V3, V6]
16100test { try toUnicodeFail("-\xef\xbd\xa1\xe1\xa2\x98"); } // [V3]
16101test { try toAsciiFail("-\xef\xbd\xa1\xe1\xa2\x98", false); } // [V3]
16102test { try toAsciiFail("-\xef\xbd\xa1\xe1\xa2\x98", true); } // [V3]
16103test { try toUnicodeFail("-\xe3\x80\x82\xe1\xa2\x98"); } // [V3]
16104test { try toAsciiFail("-\xe3\x80\x82\xe1\xa2\x98", false); } // [V3]
16105test { try toAsciiFail("-\xe3\x80\x82\xe1\xa2\x98", true); } // [V3]
16106test { try toUnicodeFail("-.xn--ibf"); } // [V3]
16107test { try toAsciiFail("-.xn--ibf", false); } // [V3]
16108test { try toAsciiFail("-.xn--ibf", true); } // [V3]
16109test { try toUnicodePass("\xf0\x9f\x82\xb4\xe1\x82\xab.\xe2\x89\xae", "\xf0\x9f\x82\xb4\xe2\xb4\x8b.\xe2\x89\xae"); }
16110test { try toAsciiPass("\xf0\x9f\x82\xb4\xe1\x82\xab.\xe2\x89\xae", "xn--2kj7565l.xn--gdh", false); }
16111test { try toAsciiPass("\xf0\x9f\x82\xb4\xe1\x82\xab.\xe2\x89\xae", "xn--2kj7565l.xn--gdh", true); }
16112test { try toUnicodePass("\xf0\x9f\x82\xb4\xe1\x82\xab.<\xcc\xb8", "\xf0\x9f\x82\xb4\xe2\xb4\x8b.\xe2\x89\xae"); }
16113test { try toAsciiPass("\xf0\x9f\x82\xb4\xe1\x82\xab.<\xcc\xb8", "xn--2kj7565l.xn--gdh", false); }
16114test { try toAsciiPass("\xf0\x9f\x82\xb4\xe1\x82\xab.<\xcc\xb8", "xn--2kj7565l.xn--gdh", true); }
16115test { try toUnicodePass("\xf0\x9f\x82\xb4\xe2\xb4\x8b.<\xcc\xb8", "\xf0\x9f\x82\xb4\xe2\xb4\x8b.\xe2\x89\xae"); }
16116test { try toAsciiPass("\xf0\x9f\x82\xb4\xe2\xb4\x8b.<\xcc\xb8", "xn--2kj7565l.xn--gdh", false); }
16117test { try toAsciiPass("\xf0\x9f\x82\xb4\xe2\xb4\x8b.<\xcc\xb8", "xn--2kj7565l.xn--gdh", true); }
16118test { try toUnicodePass("\xf0\x9f\x82\xb4\xe2\xb4\x8b.\xe2\x89\xae", "\xf0\x9f\x82\xb4\xe2\xb4\x8b.\xe2\x89\xae"); }
16119test { try toAsciiPass("\xf0\x9f\x82\xb4\xe2\xb4\x8b.\xe2\x89\xae", "xn--2kj7565l.xn--gdh", false); }
16120test { try toAsciiPass("\xf0\x9f\x82\xb4\xe2\xb4\x8b.\xe2\x89\xae", "xn--2kj7565l.xn--gdh", true); }
16121test { try toUnicodePass("xn--2kj7565l.xn--gdh", "\xf0\x9f\x82\xb4\xe2\xb4\x8b.\xe2\x89\xae"); }
16122test { try toAsciiPass("xn--2kj7565l.xn--gdh", "xn--2kj7565l.xn--gdh", false); }
16123test { try toAsciiPass("xn--2kj7565l.xn--gdh", "xn--2kj7565l.xn--gdh", true); }
16124test { try toUnicodeFail("xn--jnd1986v.xn--gdh"); } // [V7]
16125test { try toAsciiFail("xn--jnd1986v.xn--gdh", false); } // [V7]
16126test { try toAsciiFail("xn--jnd1986v.xn--gdh", true); } // [V7]
16127test { try toUnicodeFail("\xe7\x92\xbc\xf0\x9d\xa8\xad\xef\xbd\xa1\xe2\x80\x8c\xf3\xa0\x87\x9f"); } // [C1]
16128test { try toAsciiFail("\xe7\x92\xbc\xf0\x9d\xa8\xad\xef\xbd\xa1\xe2\x80\x8c\xf3\xa0\x87\x9f", false); } // [C1]
16129test { try toAsciiFail("\xe7\x92\xbc\xf0\x9d\xa8\xad\xef\xbd\xa1\xe2\x80\x8c\xf3\xa0\x87\x9f", true); } // [A4_2]
16130test { try toUnicodeFail("\xe7\x92\xbc\xf0\x9d\xa8\xad\xe3\x80\x82\xe2\x80\x8c\xf3\xa0\x87\x9f"); } // [C1]
16131test { try toAsciiFail("\xe7\x92\xbc\xf0\x9d\xa8\xad\xe3\x80\x82\xe2\x80\x8c\xf3\xa0\x87\x9f", false); } // [C1]
16132test { try toAsciiFail("\xe7\x92\xbc\xf0\x9d\xa8\xad\xe3\x80\x82\xe2\x80\x8c\xf3\xa0\x87\x9f", true); } // [A4_2]
16133test { try toUnicodePass("xn--gky8837e.", "\xe7\x92\xbc\xf0\x9d\xa8\xad."); }
16134test { try toAsciiFail("xn--gky8837e.", false); } // [A4_2]
16135test { try toAsciiFail("xn--gky8837e.", true); } // [A4_2]
16136test { try toUnicodePass("\xe7\x92\xbc\xf0\x9d\xa8\xad.", "\xe7\x92\xbc\xf0\x9d\xa8\xad."); }
16137test { try toAsciiFail("\xe7\x92\xbc\xf0\x9d\xa8\xad.", false); } // [A4_2]
16138test { try toAsciiFail("\xe7\x92\xbc\xf0\x9d\xa8\xad.", true); } // [A4_2]
16139test { try toUnicodeFail("xn--gky8837e.xn--0ug"); } // [C1]
16140test { try toAsciiFail("xn--gky8837e.xn--0ug", false); } // [C1]
16141test { try toAsciiFail("xn--gky8837e.xn--0ug", true); } // [C1]
16142test { try toUnicodeFail("\xd9\xa98\xf1\x82\x8d\xbd\xef\xbd\xa1-5\xf0\x9f\x9e\xa5"); } // [B1, V3, V7]
16143test { try toAsciiFail("\xd9\xa98\xf1\x82\x8d\xbd\xef\xbd\xa1-5\xf0\x9f\x9e\xa5", false); } // [B1, V3, V7]
16144test { try toAsciiFail("\xd9\xa98\xf1\x82\x8d\xbd\xef\xbd\xa1-5\xf0\x9f\x9e\xa5", true); } // [B1, V3, V7]
16145test { try toUnicodeFail("\xd9\xa98\xf1\x82\x8d\xbd\xe3\x80\x82-5\xf0\x9f\x9e\xa5"); } // [B1, V3, V7]
16146test { try toAsciiFail("\xd9\xa98\xf1\x82\x8d\xbd\xe3\x80\x82-5\xf0\x9f\x9e\xa5", false); } // [B1, V3, V7]
16147test { try toAsciiFail("\xd9\xa98\xf1\x82\x8d\xbd\xe3\x80\x82-5\xf0\x9f\x9e\xa5", true); } // [B1, V3, V7]
16148test { try toUnicodeFail("xn--8-qqc97891f.xn---5-rp92a"); } // [B1, V3, V7]
16149test { try toAsciiFail("xn--8-qqc97891f.xn---5-rp92a", false); } // [B1, V3, V7]
16150test { try toAsciiFail("xn--8-qqc97891f.xn---5-rp92a", true); } // [B1, V3, V7]
16151test { try toUnicodeFail("\xe2\x80\x8c.\xe2\x80\x8c"); } // [C1]
16152test { try toAsciiFail("\xe2\x80\x8c.\xe2\x80\x8c", false); } // [C1]
16153test { try toAsciiFail("\xe2\x80\x8c.\xe2\x80\x8c", true); } // [A4_1, A4_2]
16154test { try toUnicodeFail("xn--0ug.xn--0ug"); } // [C1]
16155test { try toAsciiFail("xn--0ug.xn--0ug", false); } // [C1]
16156test { try toAsciiFail("xn--0ug.xn--0ug", true); } // [C1]
16157test { try toAsciiPass("\xe2\x80\x8d\xed\x8a\x9b.\xdc\x96", "xn--157b.xn--gnb", true); }
16158test { try toUnicodeFail("\xe2\x80\x8d\xed\x8a\x9b.\xdc\x96"); } // [B1, C2]
16159test { try toAsciiFail("\xe2\x80\x8d\xed\x8a\x9b.\xdc\x96", false); } // [B1, C2]
16160test { try toAsciiPass("\xe2\x80\x8d\xe1\x84\x90\xe1\x85\xb1\xe1\x87\x82.\xdc\x96", "xn--157b.xn--gnb", true); }
16161test { try toUnicodeFail("\xe2\x80\x8d\xe1\x84\x90\xe1\x85\xb1\xe1\x87\x82.\xdc\x96"); } // [B1, C2]
16162test { try toAsciiFail("\xe2\x80\x8d\xe1\x84\x90\xe1\x85\xb1\xe1\x87\x82.\xdc\x96", false); } // [B1, C2]
16163test { try toUnicodePass("xn--157b.xn--gnb", "\xed\x8a\x9b.\xdc\x96"); }
16164test { try toAsciiPass("xn--157b.xn--gnb", "xn--157b.xn--gnb", false); }
16165test { try toAsciiPass("xn--157b.xn--gnb", "xn--157b.xn--gnb", true); }
16166test { try toUnicodePass("\xed\x8a\x9b.\xdc\x96", "\xed\x8a\x9b.\xdc\x96"); }
16167test { try toAsciiPass("\xed\x8a\x9b.\xdc\x96", "xn--157b.xn--gnb", false); }
16168test { try toAsciiPass("\xed\x8a\x9b.\xdc\x96", "xn--157b.xn--gnb", true); }
16169test { try toUnicodePass("\xe1\x84\x90\xe1\x85\xb1\xe1\x87\x82.\xdc\x96", "\xed\x8a\x9b.\xdc\x96"); }
16170test { try toAsciiPass("\xe1\x84\x90\xe1\x85\xb1\xe1\x87\x82.\xdc\x96", "xn--157b.xn--gnb", false); }
16171test { try toAsciiPass("\xe1\x84\x90\xe1\x85\xb1\xe1\x87\x82.\xdc\x96", "xn--157b.xn--gnb", true); }
16172test { try toUnicodeFail("xn--1ug4441e.xn--gnb"); } // [B1, C2]
16173test { try toAsciiFail("xn--1ug4441e.xn--gnb", false); } // [B1, C2]
16174test { try toAsciiFail("xn--1ug4441e.xn--gnb", true); } // [B1, C2]
16175test { try toUnicodeFail("\xe1\xa1\x8b\xf0\x90\xb9\xb0\xf0\x9e\xbd\xb3.\xdd\xb9\xe2\xb4\x9e"); } // [B2, B3, B5, B6, V7]
16176test { try toAsciiFail("\xe1\xa1\x8b\xf0\x90\xb9\xb0\xf0\x9e\xbd\xb3.\xdd\xb9\xe2\xb4\x9e", false); } // [B2, B3, B5, B6, V7]
16177test { try toAsciiFail("\xe1\xa1\x8b\xf0\x90\xb9\xb0\xf0\x9e\xbd\xb3.\xdd\xb9\xe2\xb4\x9e", true); } // [B2, B3, B5, B6, V7]
16178test { try toUnicodeFail("\xe1\xa1\x8b\xf0\x90\xb9\xb0\xf0\x9e\xbd\xb3.\xdd\xb9\xe1\x82\xbe"); } // [B2, B3, B5, B6, V7]
16179test { try toAsciiFail("\xe1\xa1\x8b\xf0\x90\xb9\xb0\xf0\x9e\xbd\xb3.\xdd\xb9\xe1\x82\xbe", false); } // [B2, B3, B5, B6, V7]
16180test { try toAsciiFail("\xe1\xa1\x8b\xf0\x90\xb9\xb0\xf0\x9e\xbd\xb3.\xdd\xb9\xe1\x82\xbe", true); } // [B2, B3, B5, B6, V7]
16181test { try toUnicodeFail("xn--b8e0417jocvf.xn--9pb883q"); } // [B2, B3, B5, B6, V7]
16182test { try toAsciiFail("xn--b8e0417jocvf.xn--9pb883q", false); } // [B2, B3, B5, B6, V7]
16183test { try toAsciiFail("xn--b8e0417jocvf.xn--9pb883q", true); } // [B2, B3, B5, B6, V7]
16184test { try toUnicodeFail("xn--b8e0417jocvf.xn--9pb068b"); } // [B2, B3, B5, B6, V7]
16185test { try toAsciiFail("xn--b8e0417jocvf.xn--9pb068b", false); } // [B2, B3, B5, B6, V7]
16186test { try toAsciiFail("xn--b8e0417jocvf.xn--9pb068b", true); } // [B2, B3, B5, B6, V7]
16187test { try toUnicodeFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb\xf0\x9d\x9f\xa7\xef\xbc\x8e\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe1\x82\xa7"); } // [B1, B4, V7]
16188test { try toAsciiFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb\xf0\x9d\x9f\xa7\xef\xbc\x8e\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe1\x82\xa7", false); } // [B1, B4, V7]
16189test { try toAsciiFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb\xf0\x9d\x9f\xa7\xef\xbc\x8e\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe1\x82\xa7", true); } // [B1, B4, V7]
16190test { try toUnicodeFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb5.\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe1\x82\xa7"); } // [B1, B4, V7]
16191test { try toAsciiFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb5.\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe1\x82\xa7", false); } // [B1, B4, V7]
16192test { try toAsciiFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb5.\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe1\x82\xa7", true); } // [B1, B4, V7]
16193test { try toUnicodeFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb5.\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe2\xb4\x87"); } // [B1, B4, V7]
16194test { try toAsciiFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb5.\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe2\xb4\x87", false); } // [B1, B4, V7]
16195test { try toAsciiFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb5.\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe2\xb4\x87", true); } // [B1, B4, V7]
16196test { try toUnicodeFail("xn--5-cqc8833rhv7f.xn--ykjz523efa"); } // [B1, B4, V7]
16197test { try toAsciiFail("xn--5-cqc8833rhv7f.xn--ykjz523efa", false); } // [B1, B4, V7]
16198test { try toAsciiFail("xn--5-cqc8833rhv7f.xn--ykjz523efa", true); } // [B1, B4, V7]
16199test { try toUnicodeFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb\xf0\x9d\x9f\xa7\xef\xbc\x8e\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe2\xb4\x87"); } // [B1, B4, V7]
16200test { try toAsciiFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb\xf0\x9d\x9f\xa7\xef\xbc\x8e\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe2\xb4\x87", false); } // [B1, B4, V7]
16201test { try toAsciiFail("\xf0\x90\xb7\x83\xd9\xa2\xf0\x9d\x85\xbb\xf0\x9d\x9f\xa7\xef\xbc\x8e\xf0\x90\xb9\xae\xf0\x90\xb9\xac\xe2\xb4\x87", true); } // [B1, B4, V7]
16202test { try toUnicodeFail("xn--5-cqc8833rhv7f.xn--fnd3401kfa"); } // [B1, B4, V7]
16203test { try toAsciiFail("xn--5-cqc8833rhv7f.xn--fnd3401kfa", false); } // [B1, B4, V7]
16204test { try toAsciiFail("xn--5-cqc8833rhv7f.xn--fnd3401kfa", true); } // [B1, B4, V7]
16205test { try toUnicodeFail("\xe1\x82\xb7\xef\xbc\x8e\xd7\x82\xf0\x91\x84\xb4\xea\xa6\xb7\xf1\x98\x83\xa8"); } // [V6, V7]
16206test { try toAsciiFail("\xe1\x82\xb7\xef\xbc\x8e\xd7\x82\xf0\x91\x84\xb4\xea\xa6\xb7\xf1\x98\x83\xa8", false); } // [V6, V7]
16207test { try toAsciiFail("\xe1\x82\xb7\xef\xbc\x8e\xd7\x82\xf0\x91\x84\xb4\xea\xa6\xb7\xf1\x98\x83\xa8", true); } // [V6, V7]
16208test { try toUnicodeFail("\xe1\x82\xb7\xef\xbc\x8e\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8"); } // [V6, V7]
16209test { try toAsciiFail("\xe1\x82\xb7\xef\xbc\x8e\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8", false); } // [V6, V7]
16210test { try toAsciiFail("\xe1\x82\xb7\xef\xbc\x8e\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8", true); } // [V6, V7]
16211test { try toUnicodeFail("\xe1\x82\xb7.\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8"); } // [V6, V7]
16212test { try toAsciiFail("\xe1\x82\xb7.\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8", false); } // [V6, V7]
16213test { try toAsciiFail("\xe1\x82\xb7.\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8", true); } // [V6, V7]
16214test { try toUnicodeFail("\xe2\xb4\x97.\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8"); } // [V6, V7]
16215test { try toAsciiFail("\xe2\xb4\x97.\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8", false); } // [V6, V7]
16216test { try toAsciiFail("\xe2\xb4\x97.\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8", true); } // [V6, V7]
16217test { try toUnicodeFail("xn--flj.xn--qdb0605f14ycrms3c"); } // [V6, V7]
16218test { try toAsciiFail("xn--flj.xn--qdb0605f14ycrms3c", false); } // [V6, V7]
16219test { try toAsciiFail("xn--flj.xn--qdb0605f14ycrms3c", true); } // [V6, V7]
16220test { try toUnicodeFail("\xe2\xb4\x97\xef\xbc\x8e\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8"); } // [V6, V7]
16221test { try toAsciiFail("\xe2\xb4\x97\xef\xbc\x8e\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8", false); } // [V6, V7]
16222test { try toAsciiFail("\xe2\xb4\x97\xef\xbc\x8e\xf0\x91\x84\xb4\xd7\x82\xea\xa6\xb7\xf1\x98\x83\xa8", true); } // [V6, V7]
16223test { try toUnicodeFail("\xe2\xb4\x97\xef\xbc\x8e\xd7\x82\xf0\x91\x84\xb4\xea\xa6\xb7\xf1\x98\x83\xa8"); } // [V6, V7]
16224test { try toAsciiFail("\xe2\xb4\x97\xef\xbc\x8e\xd7\x82\xf0\x91\x84\xb4\xea\xa6\xb7\xf1\x98\x83\xa8", false); } // [V6, V7]
16225test { try toAsciiFail("\xe2\xb4\x97\xef\xbc\x8e\xd7\x82\xf0\x91\x84\xb4\xea\xa6\xb7\xf1\x98\x83\xa8", true); } // [V6, V7]
16226test { try toUnicodeFail("xn--vnd.xn--qdb0605f14ycrms3c"); } // [V6, V7]
16227test { try toAsciiFail("xn--vnd.xn--qdb0605f14ycrms3c", false); } // [V6, V7]
16228test { try toAsciiFail("xn--vnd.xn--qdb0605f14ycrms3c", true); } // [V6, V7]
16229test { try toUnicodeFail("\xf0\x9d\x9f\xbe\xf0\xbe\xa4\x98\xef\xbc\x8e\xf2\x87\x95\x9b\xd9\xac"); } // [B1, B5, B6, V7]
16230test { try toAsciiFail("\xf0\x9d\x9f\xbe\xf0\xbe\xa4\x98\xef\xbc\x8e\xf2\x87\x95\x9b\xd9\xac", false); } // [B1, B5, B6, V7]
16231test { try toAsciiFail("\xf0\x9d\x9f\xbe\xf0\xbe\xa4\x98\xef\xbc\x8e\xf2\x87\x95\x9b\xd9\xac", true); } // [B1, B5, B6, V7]
16232test { try toUnicodeFail("8\xf0\xbe\xa4\x98.\xf2\x87\x95\x9b\xd9\xac"); } // [B1, B5, B6, V7]
16233test { try toAsciiFail("8\xf0\xbe\xa4\x98.\xf2\x87\x95\x9b\xd9\xac", false); } // [B1, B5, B6, V7]
16234test { try toAsciiFail("8\xf0\xbe\xa4\x98.\xf2\x87\x95\x9b\xd9\xac", true); } // [B1, B5, B6, V7]
16235test { try toUnicodeFail("xn--8-kh23b.xn--lib78461i"); } // [B1, B5, B6, V7]
16236test { try toAsciiFail("xn--8-kh23b.xn--lib78461i", false); } // [B1, B5, B6, V7]
16237test { try toAsciiFail("xn--8-kh23b.xn--lib78461i", true); } // [B1, B5, B6, V7]
16238test { try toUnicodeFail("\xe2\x92\x88\xe9\x85\xab\xef\xb8\x92\xe3\x80\x82\xe0\xa3\x96"); } // [V6, V7]
16239test { try toAsciiFail("\xe2\x92\x88\xe9\x85\xab\xef\xb8\x92\xe3\x80\x82\xe0\xa3\x96", false); } // [V6, V7]
16240test { try toAsciiFail("\xe2\x92\x88\xe9\x85\xab\xef\xb8\x92\xe3\x80\x82\xe0\xa3\x96", true); } // [V6, V7]
16241test { try toUnicodeFail("1.\xe9\x85\xab\xe3\x80\x82\xe3\x80\x82\xe0\xa3\x96"); } // [V6, X4_2]
16242test { try toAsciiFail("1.\xe9\x85\xab\xe3\x80\x82\xe3\x80\x82\xe0\xa3\x96", false); } // [V6, A4_2]
16243test { try toAsciiFail("1.\xe9\x85\xab\xe3\x80\x82\xe3\x80\x82\xe0\xa3\x96", true); } // [V6, A4_2]
16244test { try toUnicodeFail("1.xn--8j4a..xn--8zb"); } // [V6, X4_2]
16245test { try toAsciiFail("1.xn--8j4a..xn--8zb", false); } // [V6, A4_2]
16246test { try toAsciiFail("1.xn--8j4a..xn--8zb", true); } // [V6, A4_2]
16247test { try toUnicodeFail("xn--tsh4490bfe8c.xn--8zb"); } // [V6, V7]
16248test { try toAsciiFail("xn--tsh4490bfe8c.xn--8zb", false); } // [V6, V7]
16249test { try toAsciiFail("xn--tsh4490bfe8c.xn--8zb", true); } // [V6, V7]
16250test { try toUnicodeFail("\xe2\xb7\xa3\xe2\x80\x8c\xe2\x89\xae\xe1\xa9\xab.\xe2\x80\x8c\xe0\xb8\xba"); } // [C1, V6]
16251test { try toAsciiFail("\xe2\xb7\xa3\xe2\x80\x8c\xe2\x89\xae\xe1\xa9\xab.\xe2\x80\x8c\xe0\xb8\xba", false); } // [C1, V6]
16252test { try toAsciiFail("\xe2\xb7\xa3\xe2\x80\x8c\xe2\x89\xae\xe1\xa9\xab.\xe2\x80\x8c\xe0\xb8\xba", true); } // [V6]
16253test { try toUnicodeFail("\xe2\xb7\xa3\xe2\x80\x8c<\xcc\xb8\xe1\xa9\xab.\xe2\x80\x8c\xe0\xb8\xba"); } // [C1, V6]
16254test { try toAsciiFail("\xe2\xb7\xa3\xe2\x80\x8c<\xcc\xb8\xe1\xa9\xab.\xe2\x80\x8c\xe0\xb8\xba", false); } // [C1, V6]
16255test { try toAsciiFail("\xe2\xb7\xa3\xe2\x80\x8c<\xcc\xb8\xe1\xa9\xab.\xe2\x80\x8c\xe0\xb8\xba", true); } // [V6]
16256test { try toUnicodeFail("xn--uof548an0j.xn--o4c"); } // [V6]
16257test { try toAsciiFail("xn--uof548an0j.xn--o4c", false); } // [V6]
16258test { try toAsciiFail("xn--uof548an0j.xn--o4c", true); } // [V6]
16259test { try toUnicodeFail("xn--uof63xk4bf3s.xn--o4c732g"); } // [C1, V6]
16260test { try toAsciiFail("xn--uof63xk4bf3s.xn--o4c732g", false); } // [C1, V6]
16261test { try toAsciiFail("xn--uof63xk4bf3s.xn--o4c732g", true); } // [C1, V6]
16262test { try toUnicodeFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe1\x82\xbd\xc2\xb9\xe2\x80\x8d"); } // [B6, C2, V7]
16263test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe1\x82\xbd\xc2\xb9\xe2\x80\x8d", false); } // [B6, C2, V7]
16264test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe1\x82\xbd\xc2\xb9\xe2\x80\x8d", true); } // [V7]
16265test { try toUnicodeFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe1\x82\xbd1\xe2\x80\x8d"); } // [B6, C2, V7]
16266test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe1\x82\xbd1\xe2\x80\x8d", false); } // [B6, C2, V7]
16267test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe1\x82\xbd1\xe2\x80\x8d", true); } // [V7]
16268test { try toUnicodeFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe2\xb4\x97\xe2\xb4\x9d1\xe2\x80\x8d"); } // [B6, C2, V7]
16269test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe2\xb4\x97\xe2\xb4\x9d1\xe2\x80\x8d", false); } // [B6, C2, V7]
16270test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe2\xb4\x97\xe2\xb4\x9d1\xe2\x80\x8d", true); } // [V7]
16271test { try toUnicodeFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe2\xb4\x9d1\xe2\x80\x8d"); } // [B6, C2, V7]
16272test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe2\xb4\x9d1\xe2\x80\x8d", false); } // [B6, C2, V7]
16273test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe2\xb4\x9d1\xe2\x80\x8d", true); } // [V7]
16274test { try toUnicodeFail("xn--co6h.xn--1-kwssa"); } // [V7]
16275test { try toAsciiFail("xn--co6h.xn--1-kwssa", false); } // [V7]
16276test { try toAsciiFail("xn--co6h.xn--1-kwssa", true); } // [V7]
16277test { try toUnicodeFail("xn--co6h.xn--1-ugn710dya"); } // [B6, C2, V7]
16278test { try toAsciiFail("xn--co6h.xn--1-ugn710dya", false); } // [B6, C2, V7]
16279test { try toAsciiFail("xn--co6h.xn--1-ugn710dya", true); } // [B6, C2, V7]
16280test { try toUnicodeFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe2\xb4\x97\xe2\xb4\x9d\xc2\xb9\xe2\x80\x8d"); } // [B6, C2, V7]
16281test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe2\xb4\x97\xe2\xb4\x9d\xc2\xb9\xe2\x80\x8d", false); } // [B6, C2, V7]
16282test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe2\xb4\x97\xe2\xb4\x9d\xc2\xb9\xe2\x80\x8d", true); } // [V7]
16283test { try toUnicodeFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe2\xb4\x9d\xc2\xb9\xe2\x80\x8d"); } // [B6, C2, V7]
16284test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe2\xb4\x9d\xc2\xb9\xe2\x80\x8d", false); } // [B6, C2, V7]
16285test { try toAsciiFail("\xf0\x9e\xaa\x82\xe3\x80\x82\xe1\x82\xb7\xe2\xb4\x9d\xc2\xb9\xe2\x80\x8d", true); } // [V7]
16286test { try toUnicodeFail("xn--co6h.xn--1-h1g429s"); } // [V7]
16287test { try toAsciiFail("xn--co6h.xn--1-h1g429s", false); } // [V7]
16288test { try toAsciiFail("xn--co6h.xn--1-h1g429s", true); } // [V7]
16289test { try toUnicodeFail("xn--co6h.xn--1-h1g398iewm"); } // [B6, C2, V7]
16290test { try toAsciiFail("xn--co6h.xn--1-h1g398iewm", false); } // [B6, C2, V7]
16291test { try toAsciiFail("xn--co6h.xn--1-h1g398iewm", true); } // [B6, C2, V7]
16292test { try toUnicodeFail("xn--co6h.xn--1-h1gs"); } // [V7]
16293test { try toAsciiFail("xn--co6h.xn--1-h1gs", false); } // [V7]
16294test { try toAsciiFail("xn--co6h.xn--1-h1gs", true); } // [V7]
16295test { try toUnicodeFail("xn--co6h.xn--1-h1gs597m"); } // [B6, C2, V7]
16296test { try toAsciiFail("xn--co6h.xn--1-h1gs597m", false); } // [B6, C2, V7]
16297test { try toAsciiFail("xn--co6h.xn--1-h1gs597m", true); } // [B6, C2, V7]
16298test { try toUnicodeFail("\xf0\x91\x84\xb4\xf0\x91\x84\xb32.\xf0\x9e\xb3\xbf\xf3\xa0\x80\xb3-"); } // [B1, B3, V3, V6, V7]
16299test { try toAsciiFail("\xf0\x91\x84\xb4\xf0\x91\x84\xb32.\xf0\x9e\xb3\xbf\xf3\xa0\x80\xb3-", false); } // [B1, B3, V3, V6, V7]
16300test { try toAsciiFail("\xf0\x91\x84\xb4\xf0\x91\x84\xb32.\xf0\x9e\xb3\xbf\xf3\xa0\x80\xb3-", true); } // [B1, B3, V3, V6, V7]
16301test { try toUnicodeFail("xn--2-h87ic.xn----s39r33498d"); } // [B1, B3, V3, V6, V7]
16302test { try toAsciiFail("xn--2-h87ic.xn----s39r33498d", false); } // [B1, B3, V3, V6, V7]
16303test { try toAsciiFail("xn--2-h87ic.xn----s39r33498d", true); } // [B1, B3, V3, V6, V7]
16304test { try toUnicodeFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xef\xbd\xa1\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\x83\xdc\x90"); } // [B1, B5, B6, V7]
16305test { try toAsciiFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xef\xbd\xa1\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\x83\xdc\x90", false); } // [B1, B5, B6, V7]
16306test { try toAsciiFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xef\xbd\xa1\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\x83\xdc\x90", true); } // [B1, B5, B6, V7]
16307test { try toUnicodeFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xe3\x80\x82\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\x83\xdc\x90"); } // [B1, B5, B6, V7]
16308test { try toAsciiFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xe3\x80\x82\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\x83\xdc\x90", false); } // [B1, B5, B6, V7]
16309test { try toAsciiFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xe3\x80\x82\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\x83\xdc\x90", true); } // [B1, B5, B6, V7]
16310test { try toUnicodeFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xe3\x80\x82\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\xa5\xdc\x90"); } // [B1, B5, B6, V7]
16311test { try toAsciiFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xe3\x80\x82\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\xa5\xdc\x90", false); } // [B1, B5, B6, V7]
16312test { try toAsciiFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xe3\x80\x82\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\xa5\xdc\x90", true); } // [B1, B5, B6, V7]
16313test { try toUnicodeFail("xn--eib57614py3ea.xn--9mb5737kqnpfzkwr"); } // [B1, B5, B6, V7]
16314test { try toAsciiFail("xn--eib57614py3ea.xn--9mb5737kqnpfzkwr", false); } // [B1, B5, B6, V7]
16315test { try toAsciiFail("xn--eib57614py3ea.xn--9mb5737kqnpfzkwr", true); } // [B1, B5, B6, V7]
16316test { try toUnicodeFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xef\xbd\xa1\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\xa5\xdc\x90"); } // [B1, B5, B6, V7]
16317test { try toAsciiFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xef\xbd\xa1\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\xa5\xdc\x90", false); } // [B1, B5, B6, V7]
16318test { try toAsciiFail("\xf3\xa0\x95\xb2\xf3\x9f\xb6\xb6\xd9\xa5\xef\xbd\xa1\xf1\x80\x81\x81\xf0\x91\x84\xb3\xf0\x9e\xa4\xa5\xdc\x90", true); } // [B1, B5, B6, V7]
16319test { try toUnicodeFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xef\xbd\xa1\xcf\x82\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c"); } // [B2, B6, C1, V7]
16320test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xef\xbd\xa1\xcf\x82\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", false); } // [B2, B6, C1, V7]
16321test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xef\xbd\xa1\xcf\x82\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", true); } // [B2, B6, V7]
16322test { try toUnicodeFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xe3\x80\x82\xcf\x82\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c"); } // [B2, B6, C1, V7]
16323test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xe3\x80\x82\xcf\x82\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", false); } // [B2, B6, C1, V7]
16324test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xe3\x80\x82\xcf\x82\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", true); } // [B2, B6, V7]
16325test { try toUnicodeFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xe3\x80\x82\xce\xa3\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c"); } // [B2, B6, C1, V7]
16326test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xe3\x80\x82\xce\xa3\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", false); } // [B2, B6, C1, V7]
16327test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xe3\x80\x82\xce\xa3\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", true); } // [B2, B6, V7]
16328test { try toUnicodeFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xe3\x80\x82\xcf\x83\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c"); } // [B2, B6, C1, V7]
16329test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xe3\x80\x82\xcf\x83\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", false); } // [B2, B6, C1, V7]
16330test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xe3\x80\x82\xcf\x83\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", true); } // [B2, B6, V7]
16331test { try toUnicodeFail("xn--qnb616fis0qzt36f.xn--4xa847hli46a"); } // [B2, B6, V7]
16332test { try toAsciiFail("xn--qnb616fis0qzt36f.xn--4xa847hli46a", false); } // [B2, B6, V7]
16333test { try toAsciiFail("xn--qnb616fis0qzt36f.xn--4xa847hli46a", true); } // [B2, B6, V7]
16334test { try toUnicodeFail("xn--qnb616fis0qzt36f.xn--4xa847h6ofgl44c"); } // [B2, B6, C1, V7]
16335test { try toAsciiFail("xn--qnb616fis0qzt36f.xn--4xa847h6ofgl44c", false); } // [B2, B6, C1, V7]
16336test { try toAsciiFail("xn--qnb616fis0qzt36f.xn--4xa847h6ofgl44c", true); } // [B2, B6, C1, V7]
16337test { try toUnicodeFail("xn--qnb616fis0qzt36f.xn--3xa057h6ofgl44c"); } // [B2, B6, C1, V7]
16338test { try toAsciiFail("xn--qnb616fis0qzt36f.xn--3xa057h6ofgl44c", false); } // [B2, B6, C1, V7]
16339test { try toAsciiFail("xn--qnb616fis0qzt36f.xn--3xa057h6ofgl44c", true); } // [B2, B6, C1, V7]
16340test { try toUnicodeFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xef\xbd\xa1\xce\xa3\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c"); } // [B2, B6, C1, V7]
16341test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xef\xbd\xa1\xce\xa3\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", false); } // [B2, B6, C1, V7]
16342test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xef\xbd\xa1\xce\xa3\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", true); } // [B2, B6, V7]
16343test { try toUnicodeFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xef\xbd\xa1\xcf\x83\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c"); } // [B2, B6, C1, V7]
16344test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xef\xbd\xa1\xcf\x83\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", false); } // [B2, B6, C1, V7]
16345test { try toAsciiFail("\xdc\xa0\xf2\xb2\xa0\xbd\xf0\x90\xb9\xa2\xe1\x9e\xbb\xef\xbd\xa1\xcf\x83\xe1\xa2\x88\xf0\x9f\x9d\xad\xe2\x80\x8c", true); } // [B2, B6, V7]
16346test { try toUnicodeFail("\xe2\x80\x8d--\xe2\x89\xae\xe3\x80\x82\xf0\x90\xb9\xa7"); } // [B1, C2]
16347test { try toAsciiFail("\xe2\x80\x8d--\xe2\x89\xae\xe3\x80\x82\xf0\x90\xb9\xa7", false); } // [B1, C2]
16348test { try toAsciiFail("\xe2\x80\x8d--\xe2\x89\xae\xe3\x80\x82\xf0\x90\xb9\xa7", true); } // [B1, V3]
16349test { try toUnicodeFail("\xe2\x80\x8d--<\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xa7"); } // [B1, C2]
16350test { try toAsciiFail("\xe2\x80\x8d--<\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xa7", false); } // [B1, C2]
16351test { try toAsciiFail("\xe2\x80\x8d--<\xcc\xb8\xe3\x80\x82\xf0\x90\xb9\xa7", true); } // [B1, V3]
16352test { try toUnicodeFail("xn-----ujv.xn--fo0d"); } // [B1, V3]
16353test { try toAsciiFail("xn-----ujv.xn--fo0d", false); } // [B1, V3]
16354test { try toAsciiFail("xn-----ujv.xn--fo0d", true); } // [B1, V3]
16355test { try toUnicodeFail("xn-----l1tz1k.xn--fo0d"); } // [B1, C2]
16356test { try toAsciiFail("xn-----l1tz1k.xn--fo0d", false); } // [B1, C2]
16357test { try toAsciiFail("xn-----l1tz1k.xn--fo0d", true); } // [B1, C2]
16358test { try toUnicodeFail("\xea\xa0\x86\xe3\x80\x82\xf0\xbb\x9a\x8f\xe0\xbe\xb0\xe2\x92\x95"); } // [V6, V7]
16359test { try toAsciiFail("\xea\xa0\x86\xe3\x80\x82\xf0\xbb\x9a\x8f\xe0\xbe\xb0\xe2\x92\x95", false); } // [V6, V7]
16360test { try toAsciiFail("\xea\xa0\x86\xe3\x80\x82\xf0\xbb\x9a\x8f\xe0\xbe\xb0\xe2\x92\x95", true); } // [V6, V7]
16361test { try toUnicodeFail("\xea\xa0\x86\xe3\x80\x82\xf0\xbb\x9a\x8f\xe0\xbe\xb014."); } // [V6, V7]
16362test { try toAsciiFail("\xea\xa0\x86\xe3\x80\x82\xf0\xbb\x9a\x8f\xe0\xbe\xb014.", false); } // [V6, V7, A4_2]
16363test { try toAsciiFail("\xea\xa0\x86\xe3\x80\x82\xf0\xbb\x9a\x8f\xe0\xbe\xb014.", true); } // [V6, V7, A4_2]
16364test { try toUnicodeFail("xn--l98a.xn--14-jsj57880f."); } // [V6, V7]
16365test { try toAsciiFail("xn--l98a.xn--14-jsj57880f.", false); } // [V6, V7, A4_2]
16366test { try toAsciiFail("xn--l98a.xn--14-jsj57880f.", true); } // [V6, V7, A4_2]
16367test { try toUnicodeFail("xn--l98a.xn--dgd218hhp28d"); } // [V6, V7]
16368test { try toAsciiFail("xn--l98a.xn--dgd218hhp28d", false); } // [V6, V7]
16369test { try toAsciiFail("xn--l98a.xn--dgd218hhp28d", true); } // [V6, V7]
16370test { try toUnicodeFail("\xf2\xae\x89\x82\xda\xbc\xef\xbc\x8e\xf0\x91\x86\xba\xd9\xa9"); } // [B1, B5, B6, V6, V7]
16371test { try toAsciiFail("\xf2\xae\x89\x82\xda\xbc\xef\xbc\x8e\xf0\x91\x86\xba\xd9\xa9", false); } // [B1, B5, B6, V6, V7]
16372test { try toAsciiFail("\xf2\xae\x89\x82\xda\xbc\xef\xbc\x8e\xf0\x91\x86\xba\xd9\xa9", true); } // [B1, B5, B6, V6, V7]
16373test { try toUnicodeFail("\xf2\xae\x89\x82\xda\xbc.\xf0\x91\x86\xba\xd9\xa9"); } // [B1, B5, B6, V6, V7]
16374test { try toAsciiFail("\xf2\xae\x89\x82\xda\xbc.\xf0\x91\x86\xba\xd9\xa9", false); } // [B1, B5, B6, V6, V7]
16375test { try toAsciiFail("\xf2\xae\x89\x82\xda\xbc.\xf0\x91\x86\xba\xd9\xa9", true); } // [B1, B5, B6, V6, V7]
16376test { try toUnicodeFail("xn--vkb92243l.xn--iib9797k"); } // [B1, B5, B6, V6, V7]
16377test { try toAsciiFail("xn--vkb92243l.xn--iib9797k", false); } // [B1, B5, B6, V6, V7]
16378test { try toAsciiFail("xn--vkb92243l.xn--iib9797k", true); } // [B1, B5, B6, V6, V7]
16379test { try toUnicodeFail("\xf3\xa0\x81\x8e\xdb\x90-\xe3\x80\x82\xf0\x9e\xa4\xb4"); } // [B1, V3, V7]
16380test { try toAsciiFail("\xf3\xa0\x81\x8e\xdb\x90-\xe3\x80\x82\xf0\x9e\xa4\xb4", false); } // [B1, V3, V7]
16381test { try toAsciiFail("\xf3\xa0\x81\x8e\xdb\x90-\xe3\x80\x82\xf0\x9e\xa4\xb4", true); } // [B1, V3, V7]
16382test { try toUnicodeFail("\xf3\xa0\x81\x8e\xdb\x90-\xe3\x80\x82\xf0\x9e\xa4\x92"); } // [B1, V3, V7]
16383test { try toAsciiFail("\xf3\xa0\x81\x8e\xdb\x90-\xe3\x80\x82\xf0\x9e\xa4\x92", false); } // [B1, V3, V7]
16384test { try toAsciiFail("\xf3\xa0\x81\x8e\xdb\x90-\xe3\x80\x82\xf0\x9e\xa4\x92", true); } // [B1, V3, V7]
16385test { try toUnicodeFail("xn----mwc72685y.xn--se6h"); } // [B1, V3, V7]
16386test { try toAsciiFail("xn----mwc72685y.xn--se6h", false); } // [B1, V3, V7]
16387test { try toAsciiFail("xn----mwc72685y.xn--se6h", true); } // [B1, V3, V7]
16388test { try toAsciiPass("\xf0\x9d\x9f\xa04\xf3\xa0\x87\x97\xf0\x9d\x88\xbb\xef\xbc\x8e\xe2\x80\x8d\xf0\x90\x8b\xb5\xe2\x9b\xa7\xe2\x80\x8d", "xn--84-s850a.xn--59h6326e", true); }
16389test { try toUnicodeFail("\xf0\x9d\x9f\xa04\xf3\xa0\x87\x97\xf0\x9d\x88\xbb\xef\xbc\x8e\xe2\x80\x8d\xf0\x90\x8b\xb5\xe2\x9b\xa7\xe2\x80\x8d"); } // [C2]
16390test { try toAsciiFail("\xf0\x9d\x9f\xa04\xf3\xa0\x87\x97\xf0\x9d\x88\xbb\xef\xbc\x8e\xe2\x80\x8d\xf0\x90\x8b\xb5\xe2\x9b\xa7\xe2\x80\x8d", false); } // [C2]
16391test { try toAsciiPass("84\xf3\xa0\x87\x97\xf0\x9d\x88\xbb.\xe2\x80\x8d\xf0\x90\x8b\xb5\xe2\x9b\xa7\xe2\x80\x8d", "xn--84-s850a.xn--59h6326e", true); }
16392test { try toUnicodeFail("84\xf3\xa0\x87\x97\xf0\x9d\x88\xbb.\xe2\x80\x8d\xf0\x90\x8b\xb5\xe2\x9b\xa7\xe2\x80\x8d"); } // [C2]
16393test { try toAsciiFail("84\xf3\xa0\x87\x97\xf0\x9d\x88\xbb.\xe2\x80\x8d\xf0\x90\x8b\xb5\xe2\x9b\xa7\xe2\x80\x8d", false); } // [C2]
16394test { try toUnicodePass("xn--84-s850a.xn--59h6326e", "84\xf0\x9d\x88\xbb.\xf0\x90\x8b\xb5\xe2\x9b\xa7"); }
16395test { try toAsciiPass("xn--84-s850a.xn--59h6326e", "xn--84-s850a.xn--59h6326e", false); }
16396test { try toAsciiPass("xn--84-s850a.xn--59h6326e", "xn--84-s850a.xn--59h6326e", true); }
16397test { try toUnicodePass("84\xf0\x9d\x88\xbb.\xf0\x90\x8b\xb5\xe2\x9b\xa7", "84\xf0\x9d\x88\xbb.\xf0\x90\x8b\xb5\xe2\x9b\xa7"); }
16398test { try toAsciiPass("84\xf0\x9d\x88\xbb.\xf0\x90\x8b\xb5\xe2\x9b\xa7", "xn--84-s850a.xn--59h6326e", false); }
16399test { try toAsciiPass("84\xf0\x9d\x88\xbb.\xf0\x90\x8b\xb5\xe2\x9b\xa7", "xn--84-s850a.xn--59h6326e", true); }
16400test { try toUnicodeFail("xn--84-s850a.xn--1uga573cfq1w"); } // [C2]
16401test { try toAsciiFail("xn--84-s850a.xn--1uga573cfq1w", false); } // [C2]
16402test { try toAsciiFail("xn--84-s850a.xn--1uga573cfq1w", true); } // [C2]
16403test { try toUnicodeFail("-\xd8\x81\xef\xbd\xa1\xe1\xa1\xaa"); } // [B1, V3, V7]
16404test { try toAsciiFail("-\xd8\x81\xef\xbd\xa1\xe1\xa1\xaa", false); } // [B1, V3, V7]
16405test { try toAsciiFail("-\xd8\x81\xef\xbd\xa1\xe1\xa1\xaa", true); } // [B1, V3, V7]
16406test { try toUnicodeFail("-\xd8\x81\xe3\x80\x82\xe1\xa1\xaa"); } // [B1, V3, V7]
16407test { try toAsciiFail("-\xd8\x81\xe3\x80\x82\xe1\xa1\xaa", false); } // [B1, V3, V7]
16408test { try toAsciiFail("-\xd8\x81\xe3\x80\x82\xe1\xa1\xaa", true); } // [B1, V3, V7]
16409test { try toUnicodeFail("xn----tkc.xn--68e"); } // [B1, V3, V7]
16410test { try toAsciiFail("xn----tkc.xn--68e", false); } // [B1, V3, V7]
16411test { try toAsciiFail("xn----tkc.xn--68e", true); } // [B1, V3, V7]
16412test { try toUnicodePass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96\xc3\x9f\xe2\x89\xaf", "\xe2\x89\xae7.\xe8\xac\x96\xc3\x9f\xe2\x89\xaf"); }
16413test { try toAsciiPass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96\xc3\x9f\xe2\x89\xaf", "xn--7-mgo.xn--zca892oly5e", false); }
16414test { try toAsciiPass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96\xc3\x9f\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", true); }
16415test { try toUnicodePass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96\xc3\x9f>\xcc\xb8", "\xe2\x89\xae7.\xe8\xac\x96\xc3\x9f\xe2\x89\xaf"); }
16416test { try toAsciiPass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96\xc3\x9f>\xcc\xb8", "xn--7-mgo.xn--zca892oly5e", false); }
16417test { try toAsciiPass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96\xc3\x9f>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", true); }
16418test { try toUnicodePass("\xe2\x89\xae7.\xe8\xac\x96\xc3\x9f\xe2\x89\xaf", "\xe2\x89\xae7.\xe8\xac\x96\xc3\x9f\xe2\x89\xaf"); }
16419test { try toAsciiPass("\xe2\x89\xae7.\xe8\xac\x96\xc3\x9f\xe2\x89\xaf", "xn--7-mgo.xn--zca892oly5e", false); }
16420test { try toAsciiPass("\xe2\x89\xae7.\xe8\xac\x96\xc3\x9f\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", true); }
16421test { try toUnicodePass("<\xcc\xb87.\xe8\xac\x96\xc3\x9f>\xcc\xb8", "\xe2\x89\xae7.\xe8\xac\x96\xc3\x9f\xe2\x89\xaf"); }
16422test { try toAsciiPass("<\xcc\xb87.\xe8\xac\x96\xc3\x9f>\xcc\xb8", "xn--7-mgo.xn--zca892oly5e", false); }
16423test { try toAsciiPass("<\xcc\xb87.\xe8\xac\x96\xc3\x9f>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", true); }
16424test { try toUnicodePass("<\xcc\xb87.\xe8\xac\x96SS>\xcc\xb8", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16425test { try toAsciiPass("<\xcc\xb87.\xe8\xac\x96SS>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", false); }
16426test { try toAsciiPass("<\xcc\xb87.\xe8\xac\x96SS>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", true); }
16427test { try toUnicodePass("\xe2\x89\xae7.\xe8\xac\x96SS\xe2\x89\xaf", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16428test { try toAsciiPass("\xe2\x89\xae7.\xe8\xac\x96SS\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", false); }
16429test { try toAsciiPass("\xe2\x89\xae7.\xe8\xac\x96SS\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", true); }
16430test { try toUnicodePass("\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16431test { try toAsciiPass("\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", false); }
16432test { try toAsciiPass("\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", true); }
16433test { try toUnicodePass("<\xcc\xb87.\xe8\xac\x96ss>\xcc\xb8", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16434test { try toAsciiPass("<\xcc\xb87.\xe8\xac\x96ss>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", false); }
16435test { try toAsciiPass("<\xcc\xb87.\xe8\xac\x96ss>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", true); }
16436test { try toUnicodePass("<\xcc\xb87.\xe8\xac\x96Ss>\xcc\xb8", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16437test { try toAsciiPass("<\xcc\xb87.\xe8\xac\x96Ss>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", false); }
16438test { try toAsciiPass("<\xcc\xb87.\xe8\xac\x96Ss>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", true); }
16439test { try toUnicodePass("\xe2\x89\xae7.\xe8\xac\x96Ss\xe2\x89\xaf", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16440test { try toAsciiPass("\xe2\x89\xae7.\xe8\xac\x96Ss\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", false); }
16441test { try toAsciiPass("\xe2\x89\xae7.\xe8\xac\x96Ss\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", true); }
16442test { try toUnicodePass("xn--7-mgo.xn--ss-xjvv174c", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16443test { try toAsciiPass("xn--7-mgo.xn--ss-xjvv174c", "xn--7-mgo.xn--ss-xjvv174c", false); }
16444test { try toAsciiPass("xn--7-mgo.xn--ss-xjvv174c", "xn--7-mgo.xn--ss-xjvv174c", true); }
16445test { try toUnicodePass("xn--7-mgo.xn--zca892oly5e", "\xe2\x89\xae7.\xe8\xac\x96\xc3\x9f\xe2\x89\xaf"); }
16446test { try toAsciiPass("xn--7-mgo.xn--zca892oly5e", "xn--7-mgo.xn--zca892oly5e", false); }
16447test { try toAsciiPass("xn--7-mgo.xn--zca892oly5e", "xn--7-mgo.xn--zca892oly5e", true); }
16448test { try toUnicodePass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96SS>\xcc\xb8", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16449test { try toAsciiPass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96SS>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", false); }
16450test { try toAsciiPass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96SS>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", true); }
16451test { try toUnicodePass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96SS\xe2\x89\xaf", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16452test { try toAsciiPass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96SS\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", false); }
16453test { try toAsciiPass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96SS\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", true); }
16454test { try toUnicodePass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96ss\xe2\x89\xaf", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16455test { try toAsciiPass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96ss\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", false); }
16456test { try toAsciiPass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96ss\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", true); }
16457test { try toUnicodePass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96ss>\xcc\xb8", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16458test { try toAsciiPass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96ss>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", false); }
16459test { try toAsciiPass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96ss>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", true); }
16460test { try toUnicodePass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96Ss>\xcc\xb8", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16461test { try toAsciiPass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96Ss>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", false); }
16462test { try toAsciiPass("<\xcc\xb8\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96Ss>\xcc\xb8", "xn--7-mgo.xn--ss-xjvv174c", true); }
16463test { try toUnicodePass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96Ss\xe2\x89\xaf", "\xe2\x89\xae7.\xe8\xac\x96ss\xe2\x89\xaf"); }
16464test { try toAsciiPass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96Ss\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", false); }
16465test { try toAsciiPass("\xe2\x89\xae\xf0\x9d\x9f\x95\xef\xbc\x8e\xe8\xac\x96Ss\xe2\x89\xaf", "xn--7-mgo.xn--ss-xjvv174c", true); }
16466test { try toUnicodeFail("\xe6\x9c\xb6\xe1\x82\xa9\xf0\x9e\xaa\xa1.\xf0\x9d\xa8\xbd\xe0\xa0\xa5\xf0\x9f\x93\xbb-"); } // [B1, B5, B6, V3, V6, V7]
16467test { try toAsciiFail("\xe6\x9c\xb6\xe1\x82\xa9\xf0\x9e\xaa\xa1.\xf0\x9d\xa8\xbd\xe0\xa0\xa5\xf0\x9f\x93\xbb-", false); } // [B1, B5, B6, V3, V6, V7]
16468test { try toAsciiFail("\xe6\x9c\xb6\xe1\x82\xa9\xf0\x9e\xaa\xa1.\xf0\x9d\xa8\xbd\xe0\xa0\xa5\xf0\x9f\x93\xbb-", true); } // [B1, B5, B6, V3, V6, V7]
16469test { try toUnicodeFail("\xe6\x9c\xb6\xe2\xb4\x89\xf0\x9e\xaa\xa1.\xf0\x9d\xa8\xbd\xe0\xa0\xa5\xf0\x9f\x93\xbb-"); } // [B1, B5, B6, V3, V6, V7]
16470test { try toAsciiFail("\xe6\x9c\xb6\xe2\xb4\x89\xf0\x9e\xaa\xa1.\xf0\x9d\xa8\xbd\xe0\xa0\xa5\xf0\x9f\x93\xbb-", false); } // [B1, B5, B6, V3, V6, V7]
16471test { try toAsciiFail("\xe6\x9c\xb6\xe2\xb4\x89\xf0\x9e\xaa\xa1.\xf0\x9d\xa8\xbd\xe0\xa0\xa5\xf0\x9f\x93\xbb-", true); } // [B1, B5, B6, V3, V6, V7]
16472test { try toUnicodeFail("xn--0kjz47pd57t.xn----3gd37096apmwa"); } // [B1, B5, B6, V3, V6, V7]
16473test { try toAsciiFail("xn--0kjz47pd57t.xn----3gd37096apmwa", false); } // [B1, B5, B6, V3, V6, V7]
16474test { try toAsciiFail("xn--0kjz47pd57t.xn----3gd37096apmwa", true); } // [B1, B5, B6, V3, V6, V7]
16475test { try toUnicodeFail("xn--hnd7245bd56p.xn----3gd37096apmwa"); } // [B1, B5, B6, V3, V6, V7]
16476test { try toAsciiFail("xn--hnd7245bd56p.xn----3gd37096apmwa", false); } // [B1, B5, B6, V3, V6, V7]
16477test { try toAsciiFail("xn--hnd7245bd56p.xn----3gd37096apmwa", true); } // [B1, B5, B6, V3, V6, V7]
16478test { try toUnicodeFail("\xf0\x90\xa4\x8e\xe3\x80\x82\xf3\x91\xbf\xb0\xe2\x80\x8c\xe2\x89\xae\xe2\x80\x8d"); } // [B6, C1, C2, V7]
16479test { try toAsciiFail("\xf0\x90\xa4\x8e\xe3\x80\x82\xf3\x91\xbf\xb0\xe2\x80\x8c\xe2\x89\xae\xe2\x80\x8d", false); } // [B6, C1, C2, V7]
16480test { try toAsciiFail("\xf0\x90\xa4\x8e\xe3\x80\x82\xf3\x91\xbf\xb0\xe2\x80\x8c\xe2\x89\xae\xe2\x80\x8d", true); } // [B6, V7]
16481test { try toUnicodeFail("\xf0\x90\xa4\x8e\xe3\x80\x82\xf3\x91\xbf\xb0\xe2\x80\x8c<\xcc\xb8\xe2\x80\x8d"); } // [B6, C1, C2, V7]
16482test { try toAsciiFail("\xf0\x90\xa4\x8e\xe3\x80\x82\xf3\x91\xbf\xb0\xe2\x80\x8c<\xcc\xb8\xe2\x80\x8d", false); } // [B6, C1, C2, V7]
16483test { try toAsciiFail("\xf0\x90\xa4\x8e\xe3\x80\x82\xf3\x91\xbf\xb0\xe2\x80\x8c<\xcc\xb8\xe2\x80\x8d", true); } // [B6, V7]
16484test { try toUnicodeFail("xn--bk9c.xn--gdhx6802k"); } // [B6, V7]
16485test { try toAsciiFail("xn--bk9c.xn--gdhx6802k", false); } // [B6, V7]
16486test { try toAsciiFail("xn--bk9c.xn--gdhx6802k", true); } // [B6, V7]
16487test { try toUnicodeFail("xn--bk9c.xn--0ugc04p2u638c"); } // [B6, C1, C2, V7]
16488test { try toAsciiFail("xn--bk9c.xn--0ugc04p2u638c", false); } // [B6, C1, C2, V7]
16489test { try toAsciiFail("xn--bk9c.xn--0ugc04p2u638c", true); } // [B6, C1, C2, V7]
16490test { try toUnicodeFail("\xf1\xad\x9c\x8e\xe2\x92\x88\xef\xbd\xa1\xe2\x80\x8c\xf0\x9d\x9f\xa4"); } // [C1, V7]
16491test { try toAsciiFail("\xf1\xad\x9c\x8e\xe2\x92\x88\xef\xbd\xa1\xe2\x80\x8c\xf0\x9d\x9f\xa4", false); } // [C1, V7]
16492test { try toAsciiFail("\xf1\xad\x9c\x8e\xe2\x92\x88\xef\xbd\xa1\xe2\x80\x8c\xf0\x9d\x9f\xa4", true); } // [V7]
16493test { try toUnicodeFail("\xf1\xad\x9c\x8e1.\xe3\x80\x82\xe2\x80\x8c2"); } // [C1, V7, X4_2]
16494test { try toAsciiFail("\xf1\xad\x9c\x8e1.\xe3\x80\x82\xe2\x80\x8c2", false); } // [C1, V7, A4_2]
16495test { try toAsciiFail("\xf1\xad\x9c\x8e1.\xe3\x80\x82\xe2\x80\x8c2", true); } // [V7, A4_2]
16496test { try toUnicodeFail("xn--1-ex54e..c"); } // [V7, X4_2]
16497test { try toAsciiFail("xn--1-ex54e..c", false); } // [V7, A4_2]
16498test { try toAsciiFail("xn--1-ex54e..c", true); } // [V7, A4_2]
16499test { try toUnicodeFail("xn--1-ex54e..xn--2-rgn"); } // [C1, V7, X4_2]
16500test { try toAsciiFail("xn--1-ex54e..xn--2-rgn", false); } // [C1, V7, A4_2]
16501test { try toAsciiFail("xn--1-ex54e..xn--2-rgn", true); } // [C1, V7, A4_2]
16502test { try toUnicodeFail("xn--tsh94183d.c"); } // [V7]
16503test { try toAsciiFail("xn--tsh94183d.c", false); } // [V7]
16504test { try toAsciiFail("xn--tsh94183d.c", true); } // [V7]
16505test { try toUnicodeFail("xn--tsh94183d.xn--2-rgn"); } // [C1, V7]
16506test { try toAsciiFail("xn--tsh94183d.xn--2-rgn", false); } // [C1, V7]
16507test { try toAsciiFail("xn--tsh94183d.xn--2-rgn", true); } // [C1, V7]
16508test { try toUnicodeFail("\xf3\xa0\x9f\x8a\xf0\x90\xb9\xa4\xe2\x80\x8d\xef\xbc\x8e\xf0\x90\xb9\xb3\xf3\x99\x84\xb5\xf0\x90\xb9\xb6"); } // [B1, C2, V7]
16509test { try toAsciiFail("\xf3\xa0\x9f\x8a\xf0\x90\xb9\xa4\xe2\x80\x8d\xef\xbc\x8e\xf0\x90\xb9\xb3\xf3\x99\x84\xb5\xf0\x90\xb9\xb6", false); } // [B1, C2, V7]
16510test { try toAsciiFail("\xf3\xa0\x9f\x8a\xf0\x90\xb9\xa4\xe2\x80\x8d\xef\xbc\x8e\xf0\x90\xb9\xb3\xf3\x99\x84\xb5\xf0\x90\xb9\xb6", true); } // [B1, V7]
16511test { try toUnicodeFail("\xf3\xa0\x9f\x8a\xf0\x90\xb9\xa4\xe2\x80\x8d.\xf0\x90\xb9\xb3\xf3\x99\x84\xb5\xf0\x90\xb9\xb6"); } // [B1, C2, V7]
16512test { try toAsciiFail("\xf3\xa0\x9f\x8a\xf0\x90\xb9\xa4\xe2\x80\x8d.\xf0\x90\xb9\xb3\xf3\x99\x84\xb5\xf0\x90\xb9\xb6", false); } // [B1, C2, V7]
16513test { try toAsciiFail("\xf3\xa0\x9f\x8a\xf0\x90\xb9\xa4\xe2\x80\x8d.\xf0\x90\xb9\xb3\xf3\x99\x84\xb5\xf0\x90\xb9\xb6", true); } // [B1, V7]
16514test { try toUnicodeFail("xn--co0d98977c.xn--ro0dga22807v"); } // [B1, V7]
16515test { try toAsciiFail("xn--co0d98977c.xn--ro0dga22807v", false); } // [B1, V7]
16516test { try toAsciiFail("xn--co0d98977c.xn--ro0dga22807v", true); } // [B1, V7]
16517test { try toUnicodeFail("xn--1ugy994g7k93g.xn--ro0dga22807v"); } // [B1, C2, V7]
16518test { try toAsciiFail("xn--1ugy994g7k93g.xn--ro0dga22807v", false); } // [B1, C2, V7]
16519test { try toAsciiFail("xn--1ugy994g7k93g.xn--ro0dga22807v", true); } // [B1, C2, V7]
16520test { try toUnicodeFail("\xf0\x9e\xa4\xb4\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d\xef\xbc\x8e\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf"); } // [B1, V6, V7]
16521test { try toAsciiFail("\xf0\x9e\xa4\xb4\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d\xef\xbc\x8e\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf", false); } // [B1, V6, V7]
16522test { try toAsciiFail("\xf0\x9e\xa4\xb4\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d\xef\xbc\x8e\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf", true); } // [B1, V6, V7]
16523test { try toUnicodeFail("\xf0\x9e\xa4\xb4\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d.\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf"); } // [B1, V6, V7]
16524test { try toAsciiFail("\xf0\x9e\xa4\xb4\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d.\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf", false); } // [B1, V6, V7]
16525test { try toAsciiFail("\xf0\x9e\xa4\xb4\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d.\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf", true); } // [B1, V6, V7]
16526test { try toUnicodeFail("\xf0\x9e\xa4\x92\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d.\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf"); } // [B1, V6, V7]
16527test { try toAsciiFail("\xf0\x9e\xa4\x92\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d.\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf", false); } // [B1, V6, V7]
16528test { try toAsciiFail("\xf0\x9e\xa4\x92\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d.\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf", true); } // [B1, V6, V7]
16529test { try toUnicodeFail("xn--609c96c09grp2w.xn--n3b28708s"); } // [B1, V6, V7]
16530test { try toAsciiFail("xn--609c96c09grp2w.xn--n3b28708s", false); } // [B1, V6, V7]
16531test { try toAsciiFail("xn--609c96c09grp2w.xn--n3b28708s", true); } // [B1, V6, V7]
16532test { try toUnicodeFail("\xf0\x9e\xa4\x92\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d\xef\xbc\x8e\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf"); } // [B1, V6, V7]
16533test { try toAsciiFail("\xf0\x9e\xa4\x92\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d\xef\xbc\x8e\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf", false); } // [B1, V6, V7]
16534test { try toAsciiFail("\xf0\x9e\xa4\x92\xf0\x90\xb9\xbb\xf0\x91\x93\x82\xf0\x90\xad\x9d\xef\xbc\x8e\xe0\xa5\x8d\xef\xb8\x87\xf4\x89\x9b\xaf", true); } // [B1, V6, V7]
16535test { try toUnicodeFail("\xd9\xa8\xef\xbd\xa1\xf0\x90\xb9\xa0\xf0\x90\xb9\xbd\xf1\x97\xae\xb6"); } // [B1, V7]
16536test { try toAsciiFail("\xd9\xa8\xef\xbd\xa1\xf0\x90\xb9\xa0\xf0\x90\xb9\xbd\xf1\x97\xae\xb6", false); } // [B1, V7]
16537test { try toAsciiFail("\xd9\xa8\xef\xbd\xa1\xf0\x90\xb9\xa0\xf0\x90\xb9\xbd\xf1\x97\xae\xb6", true); } // [B1, V7]
16538test { try toUnicodeFail("\xd9\xa8\xe3\x80\x82\xf0\x90\xb9\xa0\xf0\x90\xb9\xbd\xf1\x97\xae\xb6"); } // [B1, V7]
16539test { try toAsciiFail("\xd9\xa8\xe3\x80\x82\xf0\x90\xb9\xa0\xf0\x90\xb9\xbd\xf1\x97\xae\xb6", false); } // [B1, V7]
16540test { try toAsciiFail("\xd9\xa8\xe3\x80\x82\xf0\x90\xb9\xa0\xf0\x90\xb9\xbd\xf1\x97\xae\xb6", true); } // [B1, V7]
16541test { try toUnicodeFail("xn--hib.xn--7n0d2bu9196b"); } // [B1, V7]
16542test { try toAsciiFail("xn--hib.xn--7n0d2bu9196b", false); } // [B1, V7]
16543test { try toAsciiFail("xn--hib.xn--7n0d2bu9196b", true); } // [B1, V7]
16544test { try toUnicodeFail("\xe1\x85\xa0\xf1\x8d\x80\x9c.8\xf2\xb6\xbe\xb5\xda\x9c"); } // [B1, V7]
16545test { try toAsciiFail("\xe1\x85\xa0\xf1\x8d\x80\x9c.8\xf2\xb6\xbe\xb5\xda\x9c", false); } // [B1, V7]
16546test { try toAsciiFail("\xe1\x85\xa0\xf1\x8d\x80\x9c.8\xf2\xb6\xbe\xb5\xda\x9c", true); } // [B1, V7]
16547test { try toUnicodeFail("xn--mn1x.xn--8-otc61545t"); } // [B1, V7]
16548test { try toAsciiFail("xn--mn1x.xn--8-otc61545t", false); } // [B1, V7]
16549test { try toAsciiFail("xn--mn1x.xn--8-otc61545t", true); } // [B1, V7]
16550test { try toUnicodeFail("xn--psd85033d.xn--8-otc61545t"); } // [B1, V7]
16551test { try toAsciiFail("xn--psd85033d.xn--8-otc61545t", false); } // [B1, V7]
16552test { try toAsciiFail("xn--psd85033d.xn--8-otc61545t", true); } // [B1, V7]
16553test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1\xc3\x9f\xf0\x91\x93\x83"); } // [C1, C2]
16554test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1\xc3\x9f\xf0\x91\x93\x83", false); } // [C1, C2]
16555test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1\xc3\x9f\xf0\x91\x93\x83", true); } // [A4_2]
16556test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82\xc3\x9f\xf0\x91\x93\x83"); } // [C1, C2]
16557test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82\xc3\x9f\xf0\x91\x93\x83", false); } // [C1, C2]
16558test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82\xc3\x9f\xf0\x91\x93\x83", true); } // [A4_2]
16559test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82SS\xf0\x91\x93\x83"); } // [C1, C2]
16560test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82SS\xf0\x91\x93\x83", false); } // [C1, C2]
16561test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82SS\xf0\x91\x93\x83", true); } // [A4_2]
16562test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82ss\xf0\x91\x93\x83"); } // [C1, C2]
16563test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82ss\xf0\x91\x93\x83", false); } // [C1, C2]
16564test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82ss\xf0\x91\x93\x83", true); } // [A4_2]
16565test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82Ss\xf0\x91\x93\x83"); } // [C1, C2]
16566test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82Ss\xf0\x91\x93\x83", false); } // [C1, C2]
16567test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xe3\x80\x82Ss\xf0\x91\x93\x83", true); } // [A4_2]
16568test { try toAsciiFail(".xn--ss-bh7o", false); } // [A4_2]
16569test { try toAsciiFail(".xn--ss-bh7o", true); } // [A4_2]
16570test { try toUnicodeFail("xn--0ugb.xn--ss-bh7o"); } // [C1, C2]
16571test { try toAsciiFail("xn--0ugb.xn--ss-bh7o", false); } // [C1, C2]
16572test { try toAsciiFail("xn--0ugb.xn--ss-bh7o", true); } // [C1, C2]
16573test { try toUnicodeFail("xn--0ugb.xn--zca0732l"); } // [C1, C2]
16574test { try toAsciiFail("xn--0ugb.xn--zca0732l", false); } // [C1, C2]
16575test { try toAsciiFail("xn--0ugb.xn--zca0732l", true); } // [C1, C2]
16576test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1SS\xf0\x91\x93\x83"); } // [C1, C2]
16577test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1SS\xf0\x91\x93\x83", false); } // [C1, C2]
16578test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1SS\xf0\x91\x93\x83", true); } // [A4_2]
16579test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1ss\xf0\x91\x93\x83"); } // [C1, C2]
16580test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1ss\xf0\x91\x93\x83", false); } // [C1, C2]
16581test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1ss\xf0\x91\x93\x83", true); } // [A4_2]
16582test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1Ss\xf0\x91\x93\x83"); } // [C1, C2]
16583test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1Ss\xf0\x91\x93\x83", false); } // [C1, C2]
16584test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8c\xf3\xa0\x86\xaa\xef\xbd\xa1Ss\xf0\x91\x93\x83", true); } // [A4_2]
16585test { try toUnicodePass("xn--ss-bh7o", "ss\xf0\x91\x93\x83"); }
16586test { try toAsciiPass("xn--ss-bh7o", "xn--ss-bh7o", false); }
16587test { try toAsciiPass("xn--ss-bh7o", "xn--ss-bh7o", true); }
16588test { try toUnicodePass("ss\xf0\x91\x93\x83", "ss\xf0\x91\x93\x83"); }
16589test { try toAsciiPass("ss\xf0\x91\x93\x83", "xn--ss-bh7o", false); }
16590test { try toAsciiPass("ss\xf0\x91\x93\x83", "xn--ss-bh7o", true); }
16591test { try toUnicodePass("SS\xf0\x91\x93\x83", "ss\xf0\x91\x93\x83"); }
16592test { try toAsciiPass("SS\xf0\x91\x93\x83", "xn--ss-bh7o", false); }
16593test { try toAsciiPass("SS\xf0\x91\x93\x83", "xn--ss-bh7o", true); }
16594test { try toUnicodePass("Ss\xf0\x91\x93\x83", "ss\xf0\x91\x93\x83"); }
16595test { try toAsciiPass("Ss\xf0\x91\x93\x83", "xn--ss-bh7o", false); }
16596test { try toAsciiPass("Ss\xf0\x91\x93\x83", "xn--ss-bh7o", true); }
16597test { try toUnicodeFail("\xef\xb8\x92\xe2\x80\x8c\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa"); } // [C1, V7]
16598test { try toAsciiFail("\xef\xb8\x92\xe2\x80\x8c\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa", false); } // [C1, V7]
16599test { try toAsciiFail("\xef\xb8\x92\xe2\x80\x8c\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa", true); } // [V7]
16600test { try toUnicodeFail("\xe3\x80\x82\xe2\x80\x8c\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa"); } // [C1, X4_2]
16601test { try toAsciiFail("\xe3\x80\x82\xe2\x80\x8c\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa", false); } // [C1, A4_2]
16602test { try toAsciiFail("\xe3\x80\x82\xe2\x80\x8c\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa", true); } // [A4_2]
16603test { try toAsciiFail(".xn--qekw60d.xn--gd9a", false); } // [A4_2]
16604test { try toAsciiFail(".xn--qekw60d.xn--gd9a", true); } // [A4_2]
16605test { try toUnicodeFail(".xn--0ug287dj0o.xn--gd9a"); } // [C1, X4_2]
16606test { try toAsciiFail(".xn--0ug287dj0o.xn--gd9a", false); } // [C1, A4_2]
16607test { try toAsciiFail(".xn--0ug287dj0o.xn--gd9a", true); } // [C1, A4_2]
16608test { try toUnicodeFail("xn--qekw60dns9k.xn--gd9a"); } // [V7]
16609test { try toAsciiFail("xn--qekw60dns9k.xn--gd9a", false); } // [V7]
16610test { try toAsciiFail("xn--qekw60dns9k.xn--gd9a", true); } // [V7]
16611test { try toUnicodeFail("xn--0ug287dj0or48o.xn--gd9a"); } // [C1, V7]
16612test { try toAsciiFail("xn--0ug287dj0or48o.xn--gd9a", false); } // [C1, V7]
16613test { try toAsciiFail("xn--0ug287dj0or48o.xn--gd9a", true); } // [C1, V7]
16614test { try toUnicodePass("xn--qekw60d.xn--gd9a", "\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa"); }
16615test { try toAsciiPass("xn--qekw60d.xn--gd9a", "xn--qekw60d.xn--gd9a", false); }
16616test { try toAsciiPass("xn--qekw60d.xn--gd9a", "xn--qekw60d.xn--gd9a", true); }
16617test { try toUnicodePass("\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa", "\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa"); }
16618test { try toAsciiPass("\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa", "xn--qekw60d.xn--gd9a", false); }
16619test { try toAsciiPass("\xe3\x83\xb6\xe4\x92\xa9.\xea\xa1\xaa", "xn--qekw60d.xn--gd9a", true); }
16620test { try toUnicodeFail("\xe2\x80\x8c\xe2\x92\x88\xf0\xa4\xae\x8d.\xf3\xa2\x93\x8b\xe1\xa9\xa0"); } // [C1, V7]
16621test { try toAsciiFail("\xe2\x80\x8c\xe2\x92\x88\xf0\xa4\xae\x8d.\xf3\xa2\x93\x8b\xe1\xa9\xa0", false); } // [C1, V7]
16622test { try toAsciiFail("\xe2\x80\x8c\xe2\x92\x88\xf0\xa4\xae\x8d.\xf3\xa2\x93\x8b\xe1\xa9\xa0", true); } // [V7]
16623test { try toUnicodeFail("\xe2\x80\x8c1.\xf0\xa4\xae\x8d.\xf3\xa2\x93\x8b\xe1\xa9\xa0"); } // [C1, V7]
16624test { try toAsciiFail("\xe2\x80\x8c1.\xf0\xa4\xae\x8d.\xf3\xa2\x93\x8b\xe1\xa9\xa0", false); } // [C1, V7]
16625test { try toAsciiFail("\xe2\x80\x8c1.\xf0\xa4\xae\x8d.\xf3\xa2\x93\x8b\xe1\xa9\xa0", true); } // [V7]
16626test { try toUnicodeFail("1.xn--4x6j.xn--jof45148n"); } // [V7]
16627test { try toAsciiFail("1.xn--4x6j.xn--jof45148n", false); } // [V7]
16628test { try toAsciiFail("1.xn--4x6j.xn--jof45148n", true); } // [V7]
16629test { try toUnicodeFail("xn--1-rgn.xn--4x6j.xn--jof45148n"); } // [C1, V7]
16630test { try toAsciiFail("xn--1-rgn.xn--4x6j.xn--jof45148n", false); } // [C1, V7]
16631test { try toAsciiFail("xn--1-rgn.xn--4x6j.xn--jof45148n", true); } // [C1, V7]
16632test { try toUnicodeFail("xn--tshw462r.xn--jof45148n"); } // [V7]
16633test { try toAsciiFail("xn--tshw462r.xn--jof45148n", false); } // [V7]
16634test { try toAsciiFail("xn--tshw462r.xn--jof45148n", true); } // [V7]
16635test { try toUnicodeFail("xn--0ug88o7471d.xn--jof45148n"); } // [C1, V7]
16636test { try toAsciiFail("xn--0ug88o7471d.xn--jof45148n", false); } // [C1, V7]
16637test { try toAsciiFail("xn--0ug88o7471d.xn--jof45148n", true); } // [C1, V7]
16638test { try toUnicodeFail("\xe2\x92\x88\xe2\x80\x8c\xf0\x90\xab\x93\xf3\xa0\x80\xba\xe3\x80\x82\xe1\xa9\xa0\xf1\xa4\xb0\xb5\xe2\x80\x8d"); } // [B1, C1, C2, V6, V7]
16639test { try toAsciiFail("\xe2\x92\x88\xe2\x80\x8c\xf0\x90\xab\x93\xf3\xa0\x80\xba\xe3\x80\x82\xe1\xa9\xa0\xf1\xa4\xb0\xb5\xe2\x80\x8d", false); } // [B1, C1, C2, V6, V7]
16640test { try toAsciiFail("\xe2\x92\x88\xe2\x80\x8c\xf0\x90\xab\x93\xf3\xa0\x80\xba\xe3\x80\x82\xe1\xa9\xa0\xf1\xa4\xb0\xb5\xe2\x80\x8d", true); } // [B1, V6, V7]
16641test { try toUnicodeFail("1.\xe2\x80\x8c\xf0\x90\xab\x93\xf3\xa0\x80\xba\xe3\x80\x82\xe1\xa9\xa0\xf1\xa4\xb0\xb5\xe2\x80\x8d"); } // [B1, C1, C2, V6, V7]
16642test { try toAsciiFail("1.\xe2\x80\x8c\xf0\x90\xab\x93\xf3\xa0\x80\xba\xe3\x80\x82\xe1\xa9\xa0\xf1\xa4\xb0\xb5\xe2\x80\x8d", false); } // [B1, C1, C2, V6, V7]
16643test { try toAsciiFail("1.\xe2\x80\x8c\xf0\x90\xab\x93\xf3\xa0\x80\xba\xe3\x80\x82\xe1\xa9\xa0\xf1\xa4\xb0\xb5\xe2\x80\x8d", true); } // [B1, B3, V6, V7]
16644test { try toUnicodeFail("1.xn--8w9c40377c.xn--jofz5294e"); } // [B1, B3, V6, V7]
16645test { try toAsciiFail("1.xn--8w9c40377c.xn--jofz5294e", false); } // [B1, B3, V6, V7]
16646test { try toAsciiFail("1.xn--8w9c40377c.xn--jofz5294e", true); } // [B1, B3, V6, V7]
16647test { try toUnicodeFail("1.xn--0ug8853gk263g.xn--jof95xex98m"); } // [B1, C1, C2, V6, V7]
16648test { try toAsciiFail("1.xn--0ug8853gk263g.xn--jof95xex98m", false); } // [B1, C1, C2, V6, V7]
16649test { try toAsciiFail("1.xn--0ug8853gk263g.xn--jof95xex98m", true); } // [B1, C1, C2, V6, V7]
16650test { try toUnicodeFail("xn--tsh4435fk263g.xn--jofz5294e"); } // [B1, V6, V7]
16651test { try toAsciiFail("xn--tsh4435fk263g.xn--jofz5294e", false); } // [B1, V6, V7]
16652test { try toAsciiFail("xn--tsh4435fk263g.xn--jofz5294e", true); } // [B1, V6, V7]
16653test { try toUnicodeFail("xn--0ug78ol75wzcx4i.xn--jof95xex98m"); } // [B1, C1, C2, V6, V7]
16654test { try toAsciiFail("xn--0ug78ol75wzcx4i.xn--jof95xex98m", false); } // [B1, C1, C2, V6, V7]
16655test { try toAsciiFail("xn--0ug78ol75wzcx4i.xn--jof95xex98m", true); } // [B1, C1, C2, V6, V7]
16656test { try toUnicodeFail("\xf0\x9d\x85\xb5\xef\xbd\xa1\xf0\x9d\x9f\xab\xf0\x9e\x80\x88\xe4\xac\xba\xe2\x92\x88"); } // [V7, X4_2]
16657test { try toAsciiFail("\xf0\x9d\x85\xb5\xef\xbd\xa1\xf0\x9d\x9f\xab\xf0\x9e\x80\x88\xe4\xac\xba\xe2\x92\x88", false); } // [V7, A4_2]
16658test { try toAsciiFail("\xf0\x9d\x85\xb5\xef\xbd\xa1\xf0\x9d\x9f\xab\xf0\x9e\x80\x88\xe4\xac\xba\xe2\x92\x88", true); } // [V7, A4_2]
16659test { try toAsciiFail("\xf0\x9d\x85\xb5\xe3\x80\x829\xf0\x9e\x80\x88\xe4\xac\xba1.", false); } // [A4_2]
16660test { try toAsciiFail("\xf0\x9d\x85\xb5\xe3\x80\x829\xf0\x9e\x80\x88\xe4\xac\xba1.", true); } // [A4_2]
16661test { try toAsciiFail(".xn--91-030c1650n.", false); } // [A4_2]
16662test { try toAsciiFail(".xn--91-030c1650n.", true); } // [A4_2]
16663test { try toUnicodeFail(".xn--9-ecp936non25a"); } // [V7, X4_2]
16664test { try toAsciiFail(".xn--9-ecp936non25a", false); } // [V7, A4_2]
16665test { try toAsciiFail(".xn--9-ecp936non25a", true); } // [V7, A4_2]
16666test { try toUnicodeFail("xn--3f1h.xn--91-030c1650n."); } // [V7]
16667test { try toAsciiFail("xn--3f1h.xn--91-030c1650n.", false); } // [V7, A4_2]
16668test { try toAsciiFail("xn--3f1h.xn--91-030c1650n.", true); } // [V7, A4_2]
16669test { try toUnicodeFail("xn--3f1h.xn--9-ecp936non25a"); } // [V7]
16670test { try toAsciiFail("xn--3f1h.xn--9-ecp936non25a", false); } // [V7]
16671test { try toAsciiFail("xn--3f1h.xn--9-ecp936non25a", true); } // [V7]
16672test { try toUnicodeFail("\xf2\xa1\xbc\xba\xe2\x89\xaf\xe3\x80\x82\xe7\x9b\x9a\xd8\xb5"); } // [B5, B6, V7]
16673test { try toAsciiFail("\xf2\xa1\xbc\xba\xe2\x89\xaf\xe3\x80\x82\xe7\x9b\x9a\xd8\xb5", false); } // [B5, B6, V7]
16674test { try toAsciiFail("\xf2\xa1\xbc\xba\xe2\x89\xaf\xe3\x80\x82\xe7\x9b\x9a\xd8\xb5", true); } // [B5, B6, V7]
16675test { try toUnicodeFail("\xf2\xa1\xbc\xba>\xcc\xb8\xe3\x80\x82\xe7\x9b\x9a\xd8\xb5"); } // [B5, B6, V7]
16676test { try toAsciiFail("\xf2\xa1\xbc\xba>\xcc\xb8\xe3\x80\x82\xe7\x9b\x9a\xd8\xb5", false); } // [B5, B6, V7]
16677test { try toAsciiFail("\xf2\xa1\xbc\xba>\xcc\xb8\xe3\x80\x82\xe7\x9b\x9a\xd8\xb5", true); } // [B5, B6, V7]
16678test { try toUnicodeFail("xn--hdh30181h.xn--0gb7878c"); } // [B5, B6, V7]
16679test { try toAsciiFail("xn--hdh30181h.xn--0gb7878c", false); } // [B5, B6, V7]
16680test { try toAsciiFail("xn--hdh30181h.xn--0gb7878c", true); } // [B5, B6, V7]
16681test { try toUnicodeFail("-\xf1\xbf\xb0\xad\xd6\xb4\xe3\x80\x82-\xf3\xa0\x81\x8a\xf0\x90\xa2\xb8\xe2\x89\xaf"); } // [B1, V3, V7]
16682test { try toAsciiFail("-\xf1\xbf\xb0\xad\xd6\xb4\xe3\x80\x82-\xf3\xa0\x81\x8a\xf0\x90\xa2\xb8\xe2\x89\xaf", false); } // [B1, V3, V7]
16683test { try toAsciiFail("-\xf1\xbf\xb0\xad\xd6\xb4\xe3\x80\x82-\xf3\xa0\x81\x8a\xf0\x90\xa2\xb8\xe2\x89\xaf", true); } // [B1, V3, V7]
16684test { try toUnicodeFail("-\xf1\xbf\xb0\xad\xd6\xb4\xe3\x80\x82-\xf3\xa0\x81\x8a\xf0\x90\xa2\xb8>\xcc\xb8"); } // [B1, V3, V7]
16685test { try toAsciiFail("-\xf1\xbf\xb0\xad\xd6\xb4\xe3\x80\x82-\xf3\xa0\x81\x8a\xf0\x90\xa2\xb8>\xcc\xb8", false); } // [B1, V3, V7]
16686test { try toAsciiFail("-\xf1\xbf\xb0\xad\xd6\xb4\xe3\x80\x82-\xf3\xa0\x81\x8a\xf0\x90\xa2\xb8>\xcc\xb8", true); } // [B1, V3, V7]
16687test { try toUnicodeFail("xn----fgc06667m.xn----pgoy615he5y4i"); } // [B1, V3, V7]
16688test { try toAsciiFail("xn----fgc06667m.xn----pgoy615he5y4i", false); } // [B1, V3, V7]
16689test { try toAsciiFail("xn----fgc06667m.xn----pgoy615he5y4i", true); } // [B1, V3, V7]
16690test { try toUnicodeFail("\xf3\xbf\xad\x93\xe1\xad\x84\xe2\x80\x8c\xe0\xa9\x8d\xef\xbc\x8e\xf0\x90\xad\x9b\xf1\xb3\x8b\x94"); } // [B2, B3, B6, V7]
16691test { try toAsciiFail("\xf3\xbf\xad\x93\xe1\xad\x84\xe2\x80\x8c\xe0\xa9\x8d\xef\xbc\x8e\xf0\x90\xad\x9b\xf1\xb3\x8b\x94", false); } // [B2, B3, B6, V7]
16692test { try toAsciiFail("\xf3\xbf\xad\x93\xe1\xad\x84\xe2\x80\x8c\xe0\xa9\x8d\xef\xbc\x8e\xf0\x90\xad\x9b\xf1\xb3\x8b\x94", true); } // [B2, B3, V7]
16693test { try toUnicodeFail("\xf3\xbf\xad\x93\xe1\xad\x84\xe2\x80\x8c\xe0\xa9\x8d.\xf0\x90\xad\x9b\xf1\xb3\x8b\x94"); } // [B2, B3, B6, V7]
16694test { try toAsciiFail("\xf3\xbf\xad\x93\xe1\xad\x84\xe2\x80\x8c\xe0\xa9\x8d.\xf0\x90\xad\x9b\xf1\xb3\x8b\x94", false); } // [B2, B3, B6, V7]
16695test { try toAsciiFail("\xf3\xbf\xad\x93\xe1\xad\x84\xe2\x80\x8c\xe0\xa9\x8d.\xf0\x90\xad\x9b\xf1\xb3\x8b\x94", true); } // [B2, B3, V7]
16696test { try toUnicodeFail("xn--ybc997fb5881a.xn--409c6100y"); } // [B2, B3, V7]
16697test { try toAsciiFail("xn--ybc997fb5881a.xn--409c6100y", false); } // [B2, B3, V7]
16698test { try toAsciiFail("xn--ybc997fb5881a.xn--409c6100y", true); } // [B2, B3, V7]
16699test { try toUnicodeFail("xn--ybc997f6rd2n772c.xn--409c6100y"); } // [B2, B3, B6, V7]
16700test { try toAsciiFail("xn--ybc997f6rd2n772c.xn--409c6100y", false); } // [B2, B3, B6, V7]
16701test { try toAsciiFail("xn--ybc997f6rd2n772c.xn--409c6100y", true); } // [B2, B3, B6, V7]
16702test { try toAsciiPass("\xe2\xbe\x87.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb\xe2\x80\x8d", "xn--8c1a.xn--2ib8jn539l", true); }
16703test { try toUnicodeFail("\xe2\xbe\x87.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb\xe2\x80\x8d"); } // [B3, C2]
16704test { try toAsciiFail("\xe2\xbe\x87.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb\xe2\x80\x8d", false); } // [B3, C2]
16705test { try toAsciiPass("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb\xe2\x80\x8d", "xn--8c1a.xn--2ib8jn539l", true); }
16706test { try toUnicodeFail("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb\xe2\x80\x8d"); } // [B3, C2]
16707test { try toAsciiFail("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb\xe2\x80\x8d", false); } // [B3, C2]
16708test { try toAsciiPass("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\x92\xda\xbb\xe2\x80\x8d", "xn--8c1a.xn--2ib8jn539l", true); }
16709test { try toUnicodeFail("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\x92\xda\xbb\xe2\x80\x8d"); } // [B3, C2]
16710test { try toAsciiFail("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\x92\xda\xbb\xe2\x80\x8d", false); } // [B3, C2]
16711test { try toUnicodePass("xn--8c1a.xn--2ib8jn539l", "\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb"); }
16712test { try toAsciiPass("xn--8c1a.xn--2ib8jn539l", "xn--8c1a.xn--2ib8jn539l", false); }
16713test { try toAsciiPass("xn--8c1a.xn--2ib8jn539l", "xn--8c1a.xn--2ib8jn539l", true); }
16714test { try toUnicodePass("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb", "\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb"); }
16715test { try toAsciiPass("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb", "xn--8c1a.xn--2ib8jn539l", false); }
16716test { try toAsciiPass("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb", "xn--8c1a.xn--2ib8jn539l", true); }
16717test { try toUnicodePass("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\x92\xda\xbb", "\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\xb4\xda\xbb"); }
16718test { try toAsciiPass("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\x92\xda\xbb", "xn--8c1a.xn--2ib8jn539l", false); }
16719test { try toAsciiPass("\xe8\x88\x9b.\xd9\xbd\xf0\x9e\xa4\x92\xda\xbb", "xn--8c1a.xn--2ib8jn539l", true); }
16720test { try toUnicodeFail("xn--8c1a.xn--2ib8jv19e6413b"); } // [B3, C2]
16721test { try toAsciiFail("xn--8c1a.xn--2ib8jv19e6413b", false); } // [B3, C2]
16722test { try toAsciiFail("xn--8c1a.xn--2ib8jv19e6413b", true); } // [B3, C2]
16723test { try toAsciiPass("\xe2\xbe\x87.\xd9\xbd\xf0\x9e\xa4\x92\xda\xbb\xe2\x80\x8d", "xn--8c1a.xn--2ib8jn539l", true); }
16724test { try toUnicodeFail("\xe2\xbe\x87.\xd9\xbd\xf0\x9e\xa4\x92\xda\xbb\xe2\x80\x8d"); } // [B3, C2]
16725test { try toAsciiFail("\xe2\xbe\x87.\xd9\xbd\xf0\x9e\xa4\x92\xda\xbb\xe2\x80\x8d", false); } // [B3, C2]
16726test { try toUnicodeFail("4\xf2\xad\x86\xa5\xe3\x80\x82\xdd\xa7\xe2\x89\xaf"); } // [B1, B3, V7]
16727test { try toAsciiFail("4\xf2\xad\x86\xa5\xe3\x80\x82\xdd\xa7\xe2\x89\xaf", false); } // [B1, B3, V7]
16728test { try toAsciiFail("4\xf2\xad\x86\xa5\xe3\x80\x82\xdd\xa7\xe2\x89\xaf", true); } // [B1, B3, V7]
16729test { try toUnicodeFail("4\xf2\xad\x86\xa5\xe3\x80\x82\xdd\xa7>\xcc\xb8"); } // [B1, B3, V7]
16730test { try toAsciiFail("4\xf2\xad\x86\xa5\xe3\x80\x82\xdd\xa7>\xcc\xb8", false); } // [B1, B3, V7]
16731test { try toAsciiFail("4\xf2\xad\x86\xa5\xe3\x80\x82\xdd\xa7>\xcc\xb8", true); } // [B1, B3, V7]
16732test { try toUnicodeFail("xn--4-xn17i.xn--rpb459k"); } // [B1, B3, V7]
16733test { try toAsciiFail("xn--4-xn17i.xn--rpb459k", false); } // [B1, B3, V7]
16734test { try toAsciiFail("xn--4-xn17i.xn--rpb459k", true); } // [B1, B3, V7]
16735test { try toUnicodeFail("\xf0\xb2\x94\x8f\xf0\x9e\xab\xa8\xf1\xba\xbf\x82\xe7\xa1\xb2\xef\xbc\x8e\xda\xad"); } // [B5, V7]
16736test { try toAsciiFail("\xf0\xb2\x94\x8f\xf0\x9e\xab\xa8\xf1\xba\xbf\x82\xe7\xa1\xb2\xef\xbc\x8e\xda\xad", false); } // [B5, V7]
16737test { try toAsciiFail("\xf0\xb2\x94\x8f\xf0\x9e\xab\xa8\xf1\xba\xbf\x82\xe7\xa1\xb2\xef\xbc\x8e\xda\xad", true); } // [B5, V7]
16738test { try toUnicodeFail("\xf0\xb2\x94\x8f\xf0\x9e\xab\xa8\xf1\xba\xbf\x82\xe7\xa1\xb2.\xda\xad"); } // [B5, V7]
16739test { try toAsciiFail("\xf0\xb2\x94\x8f\xf0\x9e\xab\xa8\xf1\xba\xbf\x82\xe7\xa1\xb2.\xda\xad", false); } // [B5, V7]
16740test { try toAsciiFail("\xf0\xb2\x94\x8f\xf0\x9e\xab\xa8\xf1\xba\xbf\x82\xe7\xa1\xb2.\xda\xad", true); } // [B5, V7]
16741test { try toUnicodeFail("xn--lcz1610fn78gk609a.xn--gkb"); } // [B5, V7]
16742test { try toAsciiFail("xn--lcz1610fn78gk609a.xn--gkb", false); } // [B5, V7]
16743test { try toAsciiFail("xn--lcz1610fn78gk609a.xn--gkb", true); } // [B5, V7]
16744test { try toUnicodeFail("\xe2\x80\x8c.\xef\xb8\x88\xd9\xa6\xe1\x82\xa6\xe2\x84\xae"); } // [B1, C1]
16745test { try toAsciiFail("\xe2\x80\x8c.\xef\xb8\x88\xd9\xa6\xe1\x82\xa6\xe2\x84\xae", false); } // [B1, C1]
16746test { try toAsciiFail("\xe2\x80\x8c.\xef\xb8\x88\xd9\xa6\xe1\x82\xa6\xe2\x84\xae", true); } // [B1, A4_2]
16747test { try toUnicodeFail("\xe2\x80\x8c.\xef\xb8\x88\xd9\xa6\xe2\xb4\x86\xe2\x84\xae"); } // [B1, C1]
16748test { try toAsciiFail("\xe2\x80\x8c.\xef\xb8\x88\xd9\xa6\xe2\xb4\x86\xe2\x84\xae", false); } // [B1, C1]
16749test { try toAsciiFail("\xe2\x80\x8c.\xef\xb8\x88\xd9\xa6\xe2\xb4\x86\xe2\x84\xae", true); } // [B1, A4_2]
16750test { try toUnicodeFail(".xn--fib628k4li"); } // [B1, X4_2]
16751test { try toAsciiFail(".xn--fib628k4li", false); } // [B1, A4_2]
16752test { try toAsciiFail(".xn--fib628k4li", true); } // [B1, A4_2]
16753test { try toUnicodeFail("xn--0ug.xn--fib628k4li"); } // [B1, C1]
16754test { try toAsciiFail("xn--0ug.xn--fib628k4li", false); } // [B1, C1]
16755test { try toAsciiFail("xn--0ug.xn--fib628k4li", true); } // [B1, C1]
16756test { try toUnicodeFail(".xn--fib263c0yn"); } // [B1, V7, X4_2]
16757test { try toAsciiFail(".xn--fib263c0yn", false); } // [B1, V7, A4_2]
16758test { try toAsciiFail(".xn--fib263c0yn", true); } // [B1, V7, A4_2]
16759test { try toUnicodeFail("xn--0ug.xn--fib263c0yn"); } // [B1, C1, V7]
16760test { try toAsciiFail("xn--0ug.xn--fib263c0yn", false); } // [B1, C1, V7]
16761test { try toAsciiFail("xn--0ug.xn--fib263c0yn", true); } // [B1, C1, V7]
16762test { try toUnicodeFail("\xda\xa3\xef\xbc\x8e\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9e"); } // [B1, V6]
16763test { try toAsciiFail("\xda\xa3\xef\xbc\x8e\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9e", false); } // [B1, V6]
16764test { try toAsciiFail("\xda\xa3\xef\xbc\x8e\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9e", true); } // [B1, V6]
16765test { try toUnicodeFail("\xda\xa3.\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9e"); } // [B1, V6]
16766test { try toAsciiFail("\xda\xa3.\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9e", false); } // [B1, V6]
16767test { try toAsciiFail("\xda\xa3.\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9e", true); } // [B1, V6]
16768test { try toUnicodeFail("\xda\xa3.\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9f"); } // [B1, V6]
16769test { try toAsciiFail("\xda\xa3.\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9f", false); } // [B1, V6]
16770test { try toAsciiFail("\xda\xa3.\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9f", true); } // [B1, V6]
16771test { try toUnicodeFail("xn--5jb.xn--xya149b"); } // [B1, V6]
16772test { try toAsciiFail("xn--5jb.xn--xya149b", false); } // [B1, V6]
16773test { try toAsciiFail("xn--5jb.xn--xya149b", true); } // [B1, V6]
16774test { try toUnicodeFail("xn--5jb.xn--xya149bpvp"); } // [B1, V6]
16775test { try toAsciiFail("xn--5jb.xn--xya149bpvp", false); } // [B1, V6]
16776test { try toAsciiFail("xn--5jb.xn--xya149bpvp", true); } // [B1, V6]
16777test { try toUnicodeFail("\xda\xa3\xef\xbc\x8e\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9f"); } // [B1, V6]
16778test { try toAsciiFail("\xda\xa3\xef\xbc\x8e\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9f", false); } // [B1, V6]
16779test { try toAsciiFail("\xda\xa3\xef\xbc\x8e\xe0\xb5\x8d\xe2\x80\x8d\xcf\x9f", true); } // [B1, V6]
16780test { try toUnicodeFail("\xe2\x80\x8c\xf0\x9e\xb8\x87\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa3\xf0\x90\xae\x82-\xe8\x85\x8d"); } // [B1, B2, B3, C1]
16781test { try toAsciiFail("\xe2\x80\x8c\xf0\x9e\xb8\x87\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa3\xf0\x90\xae\x82-\xe8\x85\x8d", false); } // [B1, B2, B3, C1]
16782test { try toAsciiFail("\xe2\x80\x8c\xf0\x9e\xb8\x87\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa3\xf0\x90\xae\x82-\xe8\x85\x8d", true); } // [B2, B3]
16783test { try toUnicodeFail("\xe2\x80\x8c\xf0\x9e\xb8\x87\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa7\xd9\x94\xf0\x90\xae\x82-\xe8\x85\x8d"); } // [B1, B2, B3, C1]
16784test { try toAsciiFail("\xe2\x80\x8c\xf0\x9e\xb8\x87\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa7\xd9\x94\xf0\x90\xae\x82-\xe8\x85\x8d", false); } // [B1, B2, B3, C1]
16785test { try toAsciiFail("\xe2\x80\x8c\xf0\x9e\xb8\x87\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa7\xd9\x94\xf0\x90\xae\x82-\xe8\x85\x8d", true); } // [B2, B3]
16786test { try toUnicodeFail("\xe2\x80\x8c\xd8\xad\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa3\xf0\x90\xae\x82-\xe8\x85\x8d"); } // [B1, B2, B3, C1]
16787test { try toAsciiFail("\xe2\x80\x8c\xd8\xad\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa3\xf0\x90\xae\x82-\xe8\x85\x8d", false); } // [B1, B2, B3, C1]
16788test { try toAsciiFail("\xe2\x80\x8c\xd8\xad\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa3\xf0\x90\xae\x82-\xe8\x85\x8d", true); } // [B2, B3]
16789test { try toUnicodeFail("\xe2\x80\x8c\xd8\xad\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa7\xd9\x94\xf0\x90\xae\x82-\xe8\x85\x8d"); } // [B1, B2, B3, C1]
16790test { try toAsciiFail("\xe2\x80\x8c\xd8\xad\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa7\xd9\x94\xf0\x90\xae\x82-\xe8\x85\x8d", false); } // [B1, B2, B3, C1]
16791test { try toAsciiFail("\xe2\x80\x8c\xd8\xad\xf0\x91\x98\xbf\xe3\x80\x82\xd8\xa7\xd9\x94\xf0\x90\xae\x82-\xe8\x85\x8d", true); } // [B2, B3]
16792test { try toUnicodeFail("xn--sgb4140l.xn----qmc5075grs9e"); } // [B2, B3]
16793test { try toAsciiFail("xn--sgb4140l.xn----qmc5075grs9e", false); } // [B2, B3]
16794test { try toAsciiFail("xn--sgb4140l.xn----qmc5075grs9e", true); } // [B2, B3]
16795test { try toUnicodeFail("xn--sgb953kmi8o.xn----qmc5075grs9e"); } // [B1, B2, B3, C1]
16796test { try toAsciiFail("xn--sgb953kmi8o.xn----qmc5075grs9e", false); } // [B1, B2, B3, C1]
16797test { try toAsciiFail("xn--sgb953kmi8o.xn----qmc5075grs9e", true); } // [B1, B2, B3, C1]
16798test { try toUnicodeFail("-\xf2\xad\xb7\x99\xd9\xab\xe7\xba\x9b\xef\xbd\xa1\xf0\x9d\x9f\x9b\xf1\xad\xa4\x87\xf0\x9f\x84\x85"); } // [B1, V3, V7, U1]
16799test { try toAsciiFail("-\xf2\xad\xb7\x99\xd9\xab\xe7\xba\x9b\xef\xbd\xa1\xf0\x9d\x9f\x9b\xf1\xad\xa4\x87\xf0\x9f\x84\x85", false); } // [B1, V3, V7, U1]
16800test { try toAsciiFail("-\xf2\xad\xb7\x99\xd9\xab\xe7\xba\x9b\xef\xbd\xa1\xf0\x9d\x9f\x9b\xf1\xad\xa4\x87\xf0\x9f\x84\x85", true); } // [B1, V3, V7, U1]
16801test { try toUnicodeFail("-\xf2\xad\xb7\x99\xd9\xab\xe7\xba\x9b\xe3\x80\x823\xf1\xad\xa4\x874,"); } // [B1, V3, V7, U1]
16802test { try toAsciiFail("-\xf2\xad\xb7\x99\xd9\xab\xe7\xba\x9b\xe3\x80\x823\xf1\xad\xa4\x874,", false); } // [B1, V3, V7, U1]
16803test { try toAsciiFail("-\xf2\xad\xb7\x99\xd9\xab\xe7\xba\x9b\xe3\x80\x823\xf1\xad\xa4\x874,", true); } // [B1, V3, V7, U1]
16804test { try toUnicodeFail("xn----vqc8143g0tt4i.xn--34,-8787l"); } // [B1, V3, V7, U1]
16805test { try toAsciiFail("xn----vqc8143g0tt4i.xn--34,-8787l", false); } // [B1, V3, V7, U1]
16806test { try toAsciiFail("xn----vqc8143g0tt4i.xn--34,-8787l", true); } // [B1, V3, V7, U1]
16807test { try toUnicodeFail("xn----vqc8143g0tt4i.xn--3-os1sn476y"); } // [B1, V3, V7]
16808test { try toAsciiFail("xn----vqc8143g0tt4i.xn--3-os1sn476y", false); } // [B1, V3, V7]
16809test { try toAsciiFail("xn----vqc8143g0tt4i.xn--3-os1sn476y", true); } // [B1, V3, V7]
16810test { try toUnicodeFail("\xf0\x9f\x94\x94\xef\xbc\x8e\xe1\x82\xa2\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae"); } // [B1, B5]
16811test { try toAsciiFail("\xf0\x9f\x94\x94\xef\xbc\x8e\xe1\x82\xa2\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae", false); } // [B1, B5]
16812test { try toAsciiFail("\xf0\x9f\x94\x94\xef\xbc\x8e\xe1\x82\xa2\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae", true); } // [B1, B5]
16813test { try toUnicodeFail("\xf0\x9f\x94\x94.\xe1\x82\xa2\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae"); } // [B1, B5]
16814test { try toAsciiFail("\xf0\x9f\x94\x94.\xe1\x82\xa2\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae", false); } // [B1, B5]
16815test { try toAsciiFail("\xf0\x9f\x94\x94.\xe1\x82\xa2\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae", true); } // [B1, B5]
16816test { try toUnicodeFail("\xf0\x9f\x94\x94.\xe2\xb4\x82\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae"); } // [B1, B5]
16817test { try toAsciiFail("\xf0\x9f\x94\x94.\xe2\xb4\x82\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae", false); } // [B1, B5]
16818test { try toAsciiFail("\xf0\x9f\x94\x94.\xe2\xb4\x82\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae", true); } // [B1, B5]
16819test { try toUnicodeFail("xn--nv8h.xn--nsb46rvz1b222p"); } // [B1, B5]
16820test { try toAsciiFail("xn--nv8h.xn--nsb46rvz1b222p", false); } // [B1, B5]
16821test { try toAsciiFail("xn--nv8h.xn--nsb46rvz1b222p", true); } // [B1, B5]
16822test { try toUnicodeFail("\xf0\x9f\x94\x94\xef\xbc\x8e\xe2\xb4\x82\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae"); } // [B1, B5]
16823test { try toAsciiFail("\xf0\x9f\x94\x94\xef\xbc\x8e\xe2\xb4\x82\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae", false); } // [B1, B5]
16824test { try toAsciiFail("\xf0\x9f\x94\x94\xef\xbc\x8e\xe2\xb4\x82\xdf\x8c\xe0\xaf\x8d\xf0\x90\x8b\xae", true); } // [B1, B5]
16825test { try toUnicodeFail("xn--nv8h.xn--nsb46r83e8112a"); } // [B1, B5, V7]
16826test { try toAsciiFail("xn--nv8h.xn--nsb46r83e8112a", false); } // [B1, B5, V7]
16827test { try toAsciiFail("xn--nv8h.xn--nsb46r83e8112a", true); } // [B1, B5, V7]
16828test { try toUnicodeFail("\xe8\xbb\xa5\xda\xb3.-\xf0\x96\xac\xb5"); } // [B1, B5, B6, V3]
16829test { try toAsciiFail("\xe8\xbb\xa5\xda\xb3.-\xf0\x96\xac\xb5", false); } // [B1, B5, B6, V3]
16830test { try toAsciiFail("\xe8\xbb\xa5\xda\xb3.-\xf0\x96\xac\xb5", true); } // [B1, B5, B6, V3]
16831test { try toUnicodeFail("xn--mkb5480e.xn----6u5m"); } // [B1, B5, B6, V3]
16832test { try toAsciiFail("xn--mkb5480e.xn----6u5m", false); } // [B1, B5, B6, V3]
16833test { try toAsciiFail("xn--mkb5480e.xn----6u5m", true); } // [B1, B5, B6, V3]
16834test { try toUnicodeFail("\xf0\x90\xb9\xa4\xdf\x8a\xda\xb6.\xf0\x90\xa8\x82-"); } // [B1, V3, V6]
16835test { try toAsciiFail("\xf0\x90\xb9\xa4\xdf\x8a\xda\xb6.\xf0\x90\xa8\x82-", false); } // [B1, V3, V6]
16836test { try toAsciiFail("\xf0\x90\xb9\xa4\xdf\x8a\xda\xb6.\xf0\x90\xa8\x82-", true); } // [B1, V3, V6]
16837test { try toUnicodeFail("xn--pkb56cn614d.xn----974i"); } // [B1, V3, V6]
16838test { try toAsciiFail("xn--pkb56cn614d.xn----974i", false); } // [B1, V3, V6]
16839test { try toAsciiFail("xn--pkb56cn614d.xn----974i", true); } // [B1, V3, V6]
16840test { try toUnicodeFail("-\xf3\xa0\x85\xb10\xef\xbd\xa1\xe1\x9f\x8f\xe1\xb7\xbd\xed\x86\x87\xec\x8b\xad"); } // [V3, V6]
16841test { try toAsciiFail("-\xf3\xa0\x85\xb10\xef\xbd\xa1\xe1\x9f\x8f\xe1\xb7\xbd\xed\x86\x87\xec\x8b\xad", false); } // [V3, V6]
16842test { try toAsciiFail("-\xf3\xa0\x85\xb10\xef\xbd\xa1\xe1\x9f\x8f\xe1\xb7\xbd\xed\x86\x87\xec\x8b\xad", true); } // [V3, V6]
16843test { try toUnicodeFail("-\xf3\xa0\x85\xb10\xef\xbd\xa1\xe1\x9f\x8f\xe1\xb7\xbd\xe1\x84\x90\xe1\x85\xa8\xe1\x86\xaa\xe1\x84\x89\xe1\x85\xb5\xe1\x86\xb8"); } // [V3, V6]
16844test { try toAsciiFail("-\xf3\xa0\x85\xb10\xef\xbd\xa1\xe1\x9f\x8f\xe1\xb7\xbd\xe1\x84\x90\xe1\x85\xa8\xe1\x86\xaa\xe1\x84\x89\xe1\x85\xb5\xe1\x86\xb8", false); } // [V3, V6]
16845test { try toAsciiFail("-\xf3\xa0\x85\xb10\xef\xbd\xa1\xe1\x9f\x8f\xe1\xb7\xbd\xe1\x84\x90\xe1\x85\xa8\xe1\x86\xaa\xe1\x84\x89\xe1\x85\xb5\xe1\x86\xb8", true); } // [V3, V6]
16846test { try toUnicodeFail("-\xf3\xa0\x85\xb10\xe3\x80\x82\xe1\x9f\x8f\xe1\xb7\xbd\xed\x86\x87\xec\x8b\xad"); } // [V3, V6]
16847test { try toAsciiFail("-\xf3\xa0\x85\xb10\xe3\x80\x82\xe1\x9f\x8f\xe1\xb7\xbd\xed\x86\x87\xec\x8b\xad", false); } // [V3, V6]
16848test { try toAsciiFail("-\xf3\xa0\x85\xb10\xe3\x80\x82\xe1\x9f\x8f\xe1\xb7\xbd\xed\x86\x87\xec\x8b\xad", true); } // [V3, V6]
16849test { try toUnicodeFail("-\xf3\xa0\x85\xb10\xe3\x80\x82\xe1\x9f\x8f\xe1\xb7\xbd\xe1\x84\x90\xe1\x85\xa8\xe1\x86\xaa\xe1\x84\x89\xe1\x85\xb5\xe1\x86\xb8"); } // [V3, V6]
16850test { try toAsciiFail("-\xf3\xa0\x85\xb10\xe3\x80\x82\xe1\x9f\x8f\xe1\xb7\xbd\xe1\x84\x90\xe1\x85\xa8\xe1\x86\xaa\xe1\x84\x89\xe1\x85\xb5\xe1\x86\xb8", false); } // [V3, V6]
16851test { try toAsciiFail("-\xf3\xa0\x85\xb10\xe3\x80\x82\xe1\x9f\x8f\xe1\xb7\xbd\xe1\x84\x90\xe1\x85\xa8\xe1\x86\xaa\xe1\x84\x89\xe1\x85\xb5\xe1\x86\xb8", true); } // [V3, V6]
16852test { try toUnicodeFail("-0.xn--r4e872ah77nghm"); } // [V3, V6]
16853test { try toAsciiFail("-0.xn--r4e872ah77nghm", false); } // [V3, V6]
16854test { try toAsciiFail("-0.xn--r4e872ah77nghm", true); } // [V3, V6]
16855test { try toUnicodeFail("\xea\xa1\xb0\xef\xb8\x92--\xef\xbd\xa1\xe1\x9f\x8c\xe9\x9d\x88\xf0\x90\xb9\xa2\xf1\x98\xb3\xae"); } // [B1, B6, V2, V3, V6, V7]
16856test { try toAsciiFail("\xea\xa1\xb0\xef\xb8\x92--\xef\xbd\xa1\xe1\x9f\x8c\xe9\x9d\x88\xf0\x90\xb9\xa2\xf1\x98\xb3\xae", false); } // [B1, B6, V2, V3, V6, V7]
16857test { try toAsciiFail("\xea\xa1\xb0\xef\xb8\x92--\xef\xbd\xa1\xe1\x9f\x8c\xe9\x9d\x88\xf0\x90\xb9\xa2\xf1\x98\xb3\xae", true); } // [B1, B6, V2, V3, V6, V7]
16858test { try toUnicodeFail("\xea\xa1\xb0\xe3\x80\x82--\xe3\x80\x82\xe1\x9f\x8c\xe9\x9d\x88\xf0\x90\xb9\xa2\xf1\x98\xb3\xae"); } // [B1, V3, V6, V7]
16859test { try toAsciiFail("\xea\xa1\xb0\xe3\x80\x82--\xe3\x80\x82\xe1\x9f\x8c\xe9\x9d\x88\xf0\x90\xb9\xa2\xf1\x98\xb3\xae", false); } // [B1, V3, V6, V7]
16860test { try toAsciiFail("\xea\xa1\xb0\xe3\x80\x82--\xe3\x80\x82\xe1\x9f\x8c\xe9\x9d\x88\xf0\x90\xb9\xa2\xf1\x98\xb3\xae", true); } // [B1, V3, V6, V7]
16861test { try toUnicodeFail("xn--md9a.--.xn--o4e6836dpxudz0v1c"); } // [B1, V3, V6, V7]
16862test { try toAsciiFail("xn--md9a.--.xn--o4e6836dpxudz0v1c", false); } // [B1, V3, V6, V7]
16863test { try toAsciiFail("xn--md9a.--.xn--o4e6836dpxudz0v1c", true); } // [B1, V3, V6, V7]
16864test { try toUnicodeFail("xn-----bk9hu24z.xn--o4e6836dpxudz0v1c"); } // [B1, B6, V2, V3, V6, V7]
16865test { try toAsciiFail("xn-----bk9hu24z.xn--o4e6836dpxudz0v1c", false); } // [B1, B6, V2, V3, V6, V7]
16866test { try toAsciiFail("xn-----bk9hu24z.xn--o4e6836dpxudz0v1c", true); } // [B1, B6, V2, V3, V6, V7]
16867test { try toUnicodeFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\x83\xa0\xef\xbd\xa1\xe0\xad\x8d"); } // [V6]
16868test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\x83\xa0\xef\xbd\xa1\xe0\xad\x8d", false); } // [V6]
16869test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\x83\xa0\xef\xbd\xa1\xe0\xad\x8d", true); } // [V6]
16870test { try toUnicodeFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\x83\xa0\xe3\x80\x82\xe0\xad\x8d"); } // [V6]
16871test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\x83\xa0\xe3\x80\x82\xe0\xad\x8d", false); } // [V6]
16872test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\x83\xa0\xe3\x80\x82\xe0\xad\x8d", true); } // [V6]
16873test { try toUnicodeFail("\xe1\x85\x9f\xe2\xb4\x9f\xe2\xb4\x95\xe1\x83\xa0\xe3\x80\x82\xe0\xad\x8d"); } // [V6]
16874test { try toAsciiFail("\xe1\x85\x9f\xe2\xb4\x9f\xe2\xb4\x95\xe1\x83\xa0\xe3\x80\x82\xe0\xad\x8d", false); } // [V6]
16875test { try toAsciiFail("\xe1\x85\x9f\xe2\xb4\x9f\xe2\xb4\x95\xe1\x83\xa0\xe3\x80\x82\xe0\xad\x8d", true); } // [V6]
16876test { try toUnicodeFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\xb2\xa0\xe3\x80\x82\xe0\xad\x8d"); } // [V6]
16877test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\xb2\xa0\xe3\x80\x82\xe0\xad\x8d", false); } // [V6]
16878test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\xb2\xa0\xe3\x80\x82\xe0\xad\x8d", true); } // [V6]
16879test { try toUnicodeFail("xn--1od555l3a.xn--9ic"); } // [V6]
16880test { try toAsciiFail("xn--1od555l3a.xn--9ic", false); } // [V6]
16881test { try toAsciiFail("xn--1od555l3a.xn--9ic", true); } // [V6]
16882test { try toUnicodeFail("\xe1\x85\x9f\xe2\xb4\x9f\xe2\xb4\x95\xe1\x83\xa0\xef\xbd\xa1\xe0\xad\x8d"); } // [V6]
16883test { try toAsciiFail("\xe1\x85\x9f\xe2\xb4\x9f\xe2\xb4\x95\xe1\x83\xa0\xef\xbd\xa1\xe0\xad\x8d", false); } // [V6]
16884test { try toAsciiFail("\xe1\x85\x9f\xe2\xb4\x9f\xe2\xb4\x95\xe1\x83\xa0\xef\xbd\xa1\xe0\xad\x8d", true); } // [V6]
16885test { try toUnicodeFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\xb2\xa0\xef\xbd\xa1\xe0\xad\x8d"); } // [V6]
16886test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\xb2\xa0\xef\xbd\xa1\xe0\xad\x8d", false); } // [V6]
16887test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe1\x82\xb5\xe1\xb2\xa0\xef\xbd\xa1\xe0\xad\x8d", true); } // [V6]
16888test { try toUnicodeFail("xn--tndt4hvw.xn--9ic"); } // [V6, V7]
16889test { try toAsciiFail("xn--tndt4hvw.xn--9ic", false); } // [V6, V7]
16890test { try toAsciiFail("xn--tndt4hvw.xn--9ic", true); } // [V6, V7]
16891test { try toUnicodeFail("xn--1od7wz74eeb.xn--9ic"); } // [V6, V7]
16892test { try toAsciiFail("xn--1od7wz74eeb.xn--9ic", false); } // [V6, V7]
16893test { try toAsciiFail("xn--1od7wz74eeb.xn--9ic", true); } // [V6, V7]
16894test { try toUnicodeFail("\xe1\x85\x9f\xe1\x82\xbf\xe2\xb4\x95\xe1\x83\xa0\xe3\x80\x82\xe0\xad\x8d"); } // [V6]
16895test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe2\xb4\x95\xe1\x83\xa0\xe3\x80\x82\xe0\xad\x8d", false); } // [V6]
16896test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe2\xb4\x95\xe1\x83\xa0\xe3\x80\x82\xe0\xad\x8d", true); } // [V6]
16897test { try toUnicodeFail("xn--3nd0etsm92g.xn--9ic"); } // [V6, V7]
16898test { try toAsciiFail("xn--3nd0etsm92g.xn--9ic", false); } // [V6, V7]
16899test { try toAsciiFail("xn--3nd0etsm92g.xn--9ic", true); } // [V6, V7]
16900test { try toUnicodeFail("\xe1\x85\x9f\xe1\x82\xbf\xe2\xb4\x95\xe1\x83\xa0\xef\xbd\xa1\xe0\xad\x8d"); } // [V6]
16901test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe2\xb4\x95\xe1\x83\xa0\xef\xbd\xa1\xe0\xad\x8d", false); } // [V6]
16902test { try toAsciiFail("\xe1\x85\x9f\xe1\x82\xbf\xe2\xb4\x95\xe1\x83\xa0\xef\xbd\xa1\xe0\xad\x8d", true); } // [V6]
16903test { try toUnicodeFail("\xf0\x9f\x84\x83\xf0\x90\xb9\xa0.\xd9\xa4\xf3\xa0\x85\x87"); } // [B1, U1]
16904test { try toAsciiFail("\xf0\x9f\x84\x83\xf0\x90\xb9\xa0.\xd9\xa4\xf3\xa0\x85\x87", false); } // [B1, U1]
16905test { try toAsciiFail("\xf0\x9f\x84\x83\xf0\x90\xb9\xa0.\xd9\xa4\xf3\xa0\x85\x87", true); } // [B1, U1]
16906test { try toUnicodeFail("2,\xf0\x90\xb9\xa0.\xd9\xa4\xf3\xa0\x85\x87"); } // [B1, U1]
16907test { try toAsciiFail("2,\xf0\x90\xb9\xa0.\xd9\xa4\xf3\xa0\x85\x87", false); } // [B1, U1]
16908test { try toAsciiFail("2,\xf0\x90\xb9\xa0.\xd9\xa4\xf3\xa0\x85\x87", true); } // [B1, U1]
16909test { try toUnicodeFail("xn--2,-5g3o.xn--dib"); } // [B1, U1]
16910test { try toAsciiFail("xn--2,-5g3o.xn--dib", false); } // [B1, U1]
16911test { try toAsciiFail("xn--2,-5g3o.xn--dib", true); } // [B1, U1]
16912test { try toUnicodeFail("xn--7n0d1189a.xn--dib"); } // [B1, V7]
16913test { try toAsciiFail("xn--7n0d1189a.xn--dib", false); } // [B1, V7]
16914test { try toAsciiFail("xn--7n0d1189a.xn--dib", true); } // [B1, V7]
16915test { try toUnicodeFail("\xf2\xbb\xb2\xbc\xe2\x80\x8c\xef\xb1\x9b\xef\xbc\x8e\xdf\x92\xe0\xa1\x88\xe1\xaf\xb3"); } // [B2, B3, B5, B6, C1, V7]
16916test { try toAsciiFail("\xf2\xbb\xb2\xbc\xe2\x80\x8c\xef\xb1\x9b\xef\xbc\x8e\xdf\x92\xe0\xa1\x88\xe1\xaf\xb3", false); } // [B2, B3, B5, B6, C1, V7]
16917test { try toAsciiFail("\xf2\xbb\xb2\xbc\xe2\x80\x8c\xef\xb1\x9b\xef\xbc\x8e\xdf\x92\xe0\xa1\x88\xe1\xaf\xb3", true); } // [B2, B3, B5, B6, V7]
16918test { try toUnicodeFail("\xf2\xbb\xb2\xbc\xe2\x80\x8c\xd8\xb0\xd9\xb0.\xdf\x92\xe0\xa1\x88\xe1\xaf\xb3"); } // [B2, B3, B5, B6, C1, V7]
16919test { try toAsciiFail("\xf2\xbb\xb2\xbc\xe2\x80\x8c\xd8\xb0\xd9\xb0.\xdf\x92\xe0\xa1\x88\xe1\xaf\xb3", false); } // [B2, B3, B5, B6, C1, V7]
16920test { try toAsciiFail("\xf2\xbb\xb2\xbc\xe2\x80\x8c\xd8\xb0\xd9\xb0.\xdf\x92\xe0\xa1\x88\xe1\xaf\xb3", true); } // [B2, B3, B5, B6, V7]
16921test { try toUnicodeFail("xn--vgb2kp1223g.xn--tsb0vz43c"); } // [B2, B3, B5, B6, V7]
16922test { try toAsciiFail("xn--vgb2kp1223g.xn--tsb0vz43c", false); } // [B2, B3, B5, B6, V7]
16923test { try toAsciiFail("xn--vgb2kp1223g.xn--tsb0vz43c", true); } // [B2, B3, B5, B6, V7]
16924test { try toUnicodeFail("xn--vgb2kq00fl213y.xn--tsb0vz43c"); } // [B2, B3, B5, B6, C1, V7]
16925test { try toAsciiFail("xn--vgb2kq00fl213y.xn--tsb0vz43c", false); } // [B2, B3, B5, B6, C1, V7]
16926test { try toAsciiFail("xn--vgb2kq00fl213y.xn--tsb0vz43c", true); } // [B2, B3, B5, B6, C1, V7]
16927test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8d\xf0\x9e\xb5\xaa\xe2\x80\x8c\xe3\x80\x82\xe1\xa1\x98\xf0\x91\xb2\xad\xe1\x9e\xb5"); } // [B1, C1, C2, V7]
16928test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8d\xf0\x9e\xb5\xaa\xe2\x80\x8c\xe3\x80\x82\xe1\xa1\x98\xf0\x91\xb2\xad\xe1\x9e\xb5", false); } // [B1, C1, C2, V7]
16929test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8d\xf0\x9e\xb5\xaa\xe2\x80\x8c\xe3\x80\x82\xe1\xa1\x98\xf0\x91\xb2\xad\xe1\x9e\xb5", true); } // [V7]
16930test { try toUnicodeFail("xn--l96h.xn--o8e4044k"); } // [V7]
16931test { try toAsciiFail("xn--l96h.xn--o8e4044k", false); } // [V7]
16932test { try toAsciiFail("xn--l96h.xn--o8e4044k", true); } // [V7]
16933test { try toUnicodeFail("xn--0ugba05538b.xn--o8e4044k"); } // [B1, C1, C2, V7]
16934test { try toAsciiFail("xn--0ugba05538b.xn--o8e4044k", false); } // [B1, C1, C2, V7]
16935test { try toAsciiFail("xn--0ugba05538b.xn--o8e4044k", true); } // [B1, C1, C2, V7]
16936test { try toUnicodeFail("xn--l96h.xn--03e93aq365d"); } // [V7]
16937test { try toAsciiFail("xn--l96h.xn--03e93aq365d", false); } // [V7]
16938test { try toAsciiFail("xn--l96h.xn--03e93aq365d", true); } // [V7]
16939test { try toUnicodeFail("xn--0ugba05538b.xn--03e93aq365d"); } // [B1, C1, C2, V7]
16940test { try toAsciiFail("xn--0ugba05538b.xn--03e93aq365d", false); } // [B1, C1, C2, V7]
16941test { try toAsciiFail("xn--0ugba05538b.xn--03e93aq365d", true); } // [B1, C1, C2, V7]
16942test { try toUnicodeFail("\xf0\x9e\xb7\xbb\xe3\x80\x82\xe2\x9a\x84\xf1\x97\x91\x87\xf0\x91\x81\xbf"); } // [B1, V7]
16943test { try toAsciiFail("\xf0\x9e\xb7\xbb\xe3\x80\x82\xe2\x9a\x84\xf1\x97\x91\x87\xf0\x91\x81\xbf", false); } // [B1, V7]
16944test { try toAsciiFail("\xf0\x9e\xb7\xbb\xe3\x80\x82\xe2\x9a\x84\xf1\x97\x91\x87\xf0\x91\x81\xbf", true); } // [B1, V7]
16945test { try toUnicodeFail("xn--qe7h.xn--c7h2966f7so4a"); } // [B1, V7]
16946test { try toAsciiFail("xn--qe7h.xn--c7h2966f7so4a", false); } // [B1, V7]
16947test { try toAsciiFail("xn--qe7h.xn--c7h2966f7so4a", true); } // [B1, V7]
16948test { try toUnicodeFail("\xea\xa3\x84\xe2\x89\xa0\xef\xbc\x8e\xf0\x9e\xa0\xa8\xd9\xa7"); } // [B1, V6]
16949test { try toAsciiFail("\xea\xa3\x84\xe2\x89\xa0\xef\xbc\x8e\xf0\x9e\xa0\xa8\xd9\xa7", false); } // [B1, V6]
16950test { try toAsciiFail("\xea\xa3\x84\xe2\x89\xa0\xef\xbc\x8e\xf0\x9e\xa0\xa8\xd9\xa7", true); } // [B1, V6]
16951test { try toUnicodeFail("\xea\xa3\x84=\xcc\xb8\xef\xbc\x8e\xf0\x9e\xa0\xa8\xd9\xa7"); } // [B1, V6]
16952test { try toAsciiFail("\xea\xa3\x84=\xcc\xb8\xef\xbc\x8e\xf0\x9e\xa0\xa8\xd9\xa7", false); } // [B1, V6]
16953test { try toAsciiFail("\xea\xa3\x84=\xcc\xb8\xef\xbc\x8e\xf0\x9e\xa0\xa8\xd9\xa7", true); } // [B1, V6]
16954test { try toUnicodeFail("\xea\xa3\x84\xe2\x89\xa0.\xf0\x9e\xa0\xa8\xd9\xa7"); } // [B1, V6]
16955test { try toAsciiFail("\xea\xa3\x84\xe2\x89\xa0.\xf0\x9e\xa0\xa8\xd9\xa7", false); } // [B1, V6]
16956test { try toAsciiFail("\xea\xa3\x84\xe2\x89\xa0.\xf0\x9e\xa0\xa8\xd9\xa7", true); } // [B1, V6]
16957test { try toUnicodeFail("\xea\xa3\x84=\xcc\xb8.\xf0\x9e\xa0\xa8\xd9\xa7"); } // [B1, V6]
16958test { try toAsciiFail("\xea\xa3\x84=\xcc\xb8.\xf0\x9e\xa0\xa8\xd9\xa7", false); } // [B1, V6]
16959test { try toAsciiFail("\xea\xa3\x84=\xcc\xb8.\xf0\x9e\xa0\xa8\xd9\xa7", true); } // [B1, V6]
16960test { try toUnicodeFail("xn--1chy504c.xn--gib1777v"); } // [B1, V6]
16961test { try toAsciiFail("xn--1chy504c.xn--gib1777v", false); } // [B1, V6]
16962test { try toAsciiFail("xn--1chy504c.xn--gib1777v", true); } // [B1, V6]
16963test { try toUnicodeFail("\xf0\x9d\x9f\x9b\xf0\x9d\x86\xaa\xea\xa3\x84\xef\xbd\xa1\xea\xa3\xaa-"); } // [V3, V6]
16964test { try toAsciiFail("\xf0\x9d\x9f\x9b\xf0\x9d\x86\xaa\xea\xa3\x84\xef\xbd\xa1\xea\xa3\xaa-", false); } // [V3, V6]
16965test { try toAsciiFail("\xf0\x9d\x9f\x9b\xf0\x9d\x86\xaa\xea\xa3\x84\xef\xbd\xa1\xea\xa3\xaa-", true); } // [V3, V6]
16966test { try toUnicodeFail("\xf0\x9d\x9f\x9b\xea\xa3\x84\xf0\x9d\x86\xaa\xef\xbd\xa1\xea\xa3\xaa-"); } // [V3, V6]
16967test { try toAsciiFail("\xf0\x9d\x9f\x9b\xea\xa3\x84\xf0\x9d\x86\xaa\xef\xbd\xa1\xea\xa3\xaa-", false); } // [V3, V6]
16968test { try toAsciiFail("\xf0\x9d\x9f\x9b\xea\xa3\x84\xf0\x9d\x86\xaa\xef\xbd\xa1\xea\xa3\xaa-", true); } // [V3, V6]
16969test { try toUnicodeFail("3\xea\xa3\x84\xf0\x9d\x86\xaa\xe3\x80\x82\xea\xa3\xaa-"); } // [V3, V6]
16970test { try toAsciiFail("3\xea\xa3\x84\xf0\x9d\x86\xaa\xe3\x80\x82\xea\xa3\xaa-", false); } // [V3, V6]
16971test { try toAsciiFail("3\xea\xa3\x84\xf0\x9d\x86\xaa\xe3\x80\x82\xea\xa3\xaa-", true); } // [V3, V6]
16972test { try toUnicodeFail("xn--3-sl4eu679e.xn----xn4e"); } // [V3, V6]
16973test { try toAsciiFail("xn--3-sl4eu679e.xn----xn4e", false); } // [V3, V6]
16974test { try toAsciiFail("xn--3-sl4eu679e.xn----xn4e", true); } // [V3, V6]
16975test { try toUnicodeFail("\xdd\x9f\xe1\xae\xa2\xe1\x80\xba\xe1\x82\xa7.e"); } // [B2, B3]
16976test { try toAsciiFail("\xdd\x9f\xe1\xae\xa2\xe1\x80\xba\xe1\x82\xa7.e", false); } // [B2, B3]
16977test { try toAsciiFail("\xdd\x9f\xe1\xae\xa2\xe1\x80\xba\xe1\x82\xa7.e", true); } // [B2, B3]
16978test { try toUnicodeFail("\xdd\x9f\xe1\xae\xa2\xe1\x80\xba\xe2\xb4\x87.e"); } // [B2, B3]
16979test { try toAsciiFail("\xdd\x9f\xe1\xae\xa2\xe1\x80\xba\xe2\xb4\x87.e", false); } // [B2, B3]
16980test { try toAsciiFail("\xdd\x9f\xe1\xae\xa2\xe1\x80\xba\xe2\xb4\x87.e", true); } // [B2, B3]
16981test { try toUnicodeFail("\xdd\x9f\xe1\xae\xa2\xe1\x80\xba\xe1\x82\xa7.E"); } // [B2, B3]
16982test { try toAsciiFail("\xdd\x9f\xe1\xae\xa2\xe1\x80\xba\xe1\x82\xa7.E", false); } // [B2, B3]
16983test { try toAsciiFail("\xdd\x9f\xe1\xae\xa2\xe1\x80\xba\xe1\x82\xa7.E", true); } // [B2, B3]
16984test { try toUnicodeFail("xn--jpb846bjzj7pr.e"); } // [B2, B3]
16985test { try toAsciiFail("xn--jpb846bjzj7pr.e", false); } // [B2, B3]
16986test { try toAsciiFail("xn--jpb846bjzj7pr.e", true); } // [B2, B3]
16987test { try toUnicodeFail("xn--jpb846bmjw88a.e"); } // [B2, B3, V7]
16988test { try toAsciiFail("xn--jpb846bmjw88a.e", false); } // [B2, B3, V7]
16989test { try toAsciiFail("xn--jpb846bmjw88a.e", true); } // [B2, B3, V7]
16990test { try toUnicodeFail("\xe1\x84\xb9\xef\xbd\xa1\xe0\xbb\x8a\xf2\xa0\xaf\xa4\xf3\xa0\x84\x9e"); } // [V6, V7]
16991test { try toAsciiFail("\xe1\x84\xb9\xef\xbd\xa1\xe0\xbb\x8a\xf2\xa0\xaf\xa4\xf3\xa0\x84\x9e", false); } // [V6, V7]
16992test { try toAsciiFail("\xe1\x84\xb9\xef\xbd\xa1\xe0\xbb\x8a\xf2\xa0\xaf\xa4\xf3\xa0\x84\x9e", true); } // [V6, V7]
16993test { try toUnicodeFail("\xe1\x84\xb9\xe3\x80\x82\xe0\xbb\x8a\xf2\xa0\xaf\xa4\xf3\xa0\x84\x9e"); } // [V6, V7]
16994test { try toAsciiFail("\xe1\x84\xb9\xe3\x80\x82\xe0\xbb\x8a\xf2\xa0\xaf\xa4\xf3\xa0\x84\x9e", false); } // [V6, V7]
16995test { try toAsciiFail("\xe1\x84\xb9\xe3\x80\x82\xe0\xbb\x8a\xf2\xa0\xaf\xa4\xf3\xa0\x84\x9e", true); } // [V6, V7]
16996test { try toUnicodeFail("xn--lrd.xn--s8c05302k"); } // [V6, V7]
16997test { try toAsciiFail("xn--lrd.xn--s8c05302k", false); } // [V6, V7]
16998test { try toAsciiFail("xn--lrd.xn--s8c05302k", true); } // [V6, V7]
16999test { try toUnicodeFail("\xe1\x82\xa6\xf2\xbb\xa2\xa9\xef\xbc\x8e\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d"); } // [V7]
17000test { try toAsciiFail("\xe1\x82\xa6\xf2\xbb\xa2\xa9\xef\xbc\x8e\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d", false); } // [V7]
17001test { try toAsciiFail("\xe1\x82\xa6\xf2\xbb\xa2\xa9\xef\xbc\x8e\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d", true); } // [V7]
17002test { try toUnicodeFail("\xe1\x82\xa6\xf2\xbb\xa2\xa9.\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d"); } // [V7]
17003test { try toAsciiFail("\xe1\x82\xa6\xf2\xbb\xa2\xa9.\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d", false); } // [V7]
17004test { try toAsciiFail("\xe1\x82\xa6\xf2\xbb\xa2\xa9.\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d", true); } // [V7]
17005test { try toUnicodeFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9.\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\xaf"); } // [V7]
17006test { try toAsciiFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9.\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\xaf", false); } // [V7]
17007test { try toAsciiFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9.\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\xaf", true); } // [V7]
17008test { try toUnicodeFail("xn--xkjw3965g.xn--ne6h"); } // [V7]
17009test { try toAsciiFail("xn--xkjw3965g.xn--ne6h", false); } // [V7]
17010test { try toAsciiFail("xn--xkjw3965g.xn--ne6h", true); } // [V7]
17011test { try toUnicodeFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9\xef\xbc\x8e\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\xaf"); } // [V7]
17012test { try toAsciiFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9\xef\xbc\x8e\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\xaf", false); } // [V7]
17013test { try toAsciiFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9\xef\xbc\x8e\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\xaf", true); } // [V7]
17014test { try toUnicodeFail("xn--end82983m.xn--ne6h"); } // [V7]
17015test { try toAsciiFail("xn--end82983m.xn--ne6h", false); } // [V7]
17016test { try toAsciiFail("xn--end82983m.xn--ne6h", true); } // [V7]
17017test { try toUnicodeFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9.\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d"); } // [V7]
17018test { try toAsciiFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9.\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d", false); } // [V7]
17019test { try toAsciiFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9.\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d", true); } // [V7]
17020test { try toUnicodeFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9\xef\xbc\x8e\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d"); } // [V7]
17021test { try toAsciiFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9\xef\xbc\x8e\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d", false); } // [V7]
17022test { try toAsciiFail("\xe2\xb4\x86\xf2\xbb\xa2\xa9\xef\xbc\x8e\xf3\xa0\x86\xa1\xef\xb8\x89\xf0\x9e\xa4\x8d", true); } // [V7]
17023test { try toUnicodeFail("\xc3\x9f\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcF\xe2\x88\xac\xe2\x80\x8c"); } // [B5, B6, C1, V7]
17024test { try toAsciiFail("\xc3\x9f\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcF\xe2\x88\xac\xe2\x80\x8c", false); } // [B5, B6, C1, V7]
17025test { try toAsciiFail("\xc3\x9f\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcF\xe2\x88\xac\xe2\x80\x8c", true); } // [B5, B6, V7]
17026test { try toUnicodeFail("\xc3\x9f\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcF\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c"); } // [B5, B6, C1]
17027test { try toAsciiFail("\xc3\x9f\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcF\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c", false); } // [B5, B6, C1]
17028test { try toAsciiFail("\xc3\x9f\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcF\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c", true); } // [B5, B6]
17029test { try toUnicodeFail("\xc3\x9f\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcf\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c"); } // [B5, B6, C1]
17030test { try toAsciiFail("\xc3\x9f\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcf\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c", false); } // [B5, B6, C1]
17031test { try toAsciiFail("\xc3\x9f\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcf\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c", true); } // [B5, B6]
17032test { try toUnicodeFail("SS\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcF\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c"); } // [B5, B6, C1]
17033test { try toAsciiFail("SS\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcF\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c", false); } // [B5, B6, C1]
17034test { try toAsciiFail("SS\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcF\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c", true); } // [B5, B6]
17035test { try toUnicodeFail("ss\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcf\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c"); } // [B5, B6, C1]
17036test { try toAsciiFail("ss\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcf\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c", false); } // [B5, B6, C1]
17037test { try toAsciiFail("ss\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcf\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c", true); } // [B5, B6]
17038test { try toUnicodeFail("Ss\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcF\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c"); } // [B5, B6, C1]
17039test { try toAsciiFail("Ss\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcF\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c", false); } // [B5, B6, C1]
17040test { try toAsciiFail("Ss\xe0\xa0\x8b\xe3\x80\x82\xd9\xbb.\xe5\xb8\xbcF\xe2\x88\xab\xe2\x88\xab\xe2\x80\x8c", true); } // [B5, B6]
17041test { try toUnicodeFail("xn--ss-uze.xn--0ib.xn--f-tcoa9162d"); } // [B5, B6]
17042test { try toAsciiFail("xn--ss-uze.xn--0ib.xn--f-tcoa9162d", false); } // [B5, B6]
17043test { try toAsciiFail("xn--ss-uze.xn--0ib.xn--f-tcoa9162d", true); } // [B5, B6]
17044test { try toUnicodeFail("xn--ss-uze.xn--0ib.xn--f-sgn48ga6997e"); } // [B5, B6, C1]
17045test { try toAsciiFail("xn--ss-uze.xn--0ib.xn--f-sgn48ga6997e", false); } // [B5, B6, C1]
17046test { try toAsciiFail("xn--ss-uze.xn--0ib.xn--f-sgn48ga6997e", true); } // [B5, B6, C1]
17047test { try toUnicodeFail("xn--zca687a.xn--0ib.xn--f-sgn48ga6997e"); } // [B5, B6, C1]
17048test { try toAsciiFail("xn--zca687a.xn--0ib.xn--f-sgn48ga6997e", false); } // [B5, B6, C1]
17049test { try toAsciiFail("xn--zca687a.xn--0ib.xn--f-sgn48ga6997e", true); } // [B5, B6, C1]
17050test { try toUnicodeFail("\xc3\x9f\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcf\xe2\x88\xac\xe2\x80\x8c"); } // [B5, B6, C1, V7]
17051test { try toAsciiFail("\xc3\x9f\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcf\xe2\x88\xac\xe2\x80\x8c", false); } // [B5, B6, C1, V7]
17052test { try toAsciiFail("\xc3\x9f\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcf\xe2\x88\xac\xe2\x80\x8c", true); } // [B5, B6, V7]
17053test { try toUnicodeFail("SS\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcF\xe2\x88\xac\xe2\x80\x8c"); } // [B5, B6, C1, V7]
17054test { try toAsciiFail("SS\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcF\xe2\x88\xac\xe2\x80\x8c", false); } // [B5, B6, C1, V7]
17055test { try toAsciiFail("SS\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcF\xe2\x88\xac\xe2\x80\x8c", true); } // [B5, B6, V7]
17056test { try toUnicodeFail("ss\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcf\xe2\x88\xac\xe2\x80\x8c"); } // [B5, B6, C1, V7]
17057test { try toAsciiFail("ss\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcf\xe2\x88\xac\xe2\x80\x8c", false); } // [B5, B6, C1, V7]
17058test { try toAsciiFail("ss\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcf\xe2\x88\xac\xe2\x80\x8c", true); } // [B5, B6, V7]
17059test { try toUnicodeFail("Ss\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcF\xe2\x88\xac\xe2\x80\x8c"); } // [B5, B6, C1, V7]
17060test { try toAsciiFail("Ss\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcF\xe2\x88\xac\xe2\x80\x8c", false); } // [B5, B6, C1, V7]
17061test { try toAsciiFail("Ss\xe0\xa0\x8b\xef\xb8\x92\xd9\xbb\xef\xbc\x8e\xe5\xb8\xbcF\xe2\x88\xac\xe2\x80\x8c", true); } // [B5, B6, V7]
17062test { try toUnicodeFail("xn--ss-k0d31nu121d.xn--f-tcoa9162d"); } // [B5, B6, V7]
17063test { try toAsciiFail("xn--ss-k0d31nu121d.xn--f-tcoa9162d", false); } // [B5, B6, V7]
17064test { try toAsciiFail("xn--ss-k0d31nu121d.xn--f-tcoa9162d", true); } // [B5, B6, V7]
17065test { try toUnicodeFail("xn--ss-k0d31nu121d.xn--f-sgn48ga6997e"); } // [B5, B6, C1, V7]
17066test { try toAsciiFail("xn--ss-k0d31nu121d.xn--f-sgn48ga6997e", false); } // [B5, B6, C1, V7]
17067test { try toAsciiFail("xn--ss-k0d31nu121d.xn--f-sgn48ga6997e", true); } // [B5, B6, C1, V7]
17068test { try toUnicodeFail("xn--zca68zj8ac956c.xn--f-sgn48ga6997e"); } // [B5, B6, C1, V7]
17069test { try toAsciiFail("xn--zca68zj8ac956c.xn--f-sgn48ga6997e", false); } // [B5, B6, C1, V7]
17070test { try toAsciiFail("xn--zca68zj8ac956c.xn--f-sgn48ga6997e", true); } // [B5, B6, C1, V7]
17071test { try toUnicodeFail("\xf3\x98\xaa\x97\xef\xbd\xa1\xf0\x90\xb9\xb4\xf0\x9e\xa8\x8c\xe2\x80\x8d"); } // [B1, C2, V7]
17072test { try toAsciiFail("\xf3\x98\xaa\x97\xef\xbd\xa1\xf0\x90\xb9\xb4\xf0\x9e\xa8\x8c\xe2\x80\x8d", false); } // [B1, C2, V7]
17073test { try toAsciiFail("\xf3\x98\xaa\x97\xef\xbd\xa1\xf0\x90\xb9\xb4\xf0\x9e\xa8\x8c\xe2\x80\x8d", true); } // [B1, V7]
17074test { try toUnicodeFail("\xf3\x98\xaa\x97\xe3\x80\x82\xf0\x90\xb9\xb4\xf0\x9e\xa8\x8c\xe2\x80\x8d"); } // [B1, C2, V7]
17075test { try toAsciiFail("\xf3\x98\xaa\x97\xe3\x80\x82\xf0\x90\xb9\xb4\xf0\x9e\xa8\x8c\xe2\x80\x8d", false); } // [B1, C2, V7]
17076test { try toAsciiFail("\xf3\x98\xaa\x97\xe3\x80\x82\xf0\x90\xb9\xb4\xf0\x9e\xa8\x8c\xe2\x80\x8d", true); } // [B1, V7]
17077test { try toUnicodeFail("xn--8l83e.xn--so0dw168a"); } // [B1, V7]
17078test { try toAsciiFail("xn--8l83e.xn--so0dw168a", false); } // [B1, V7]
17079test { try toAsciiFail("xn--8l83e.xn--so0dw168a", true); } // [B1, V7]
17080test { try toUnicodeFail("xn--8l83e.xn--1ug4105gsxwf"); } // [B1, C2, V7]
17081test { try toAsciiFail("xn--8l83e.xn--1ug4105gsxwf", false); } // [B1, C2, V7]
17082test { try toAsciiFail("xn--8l83e.xn--1ug4105gsxwf", true); } // [B1, C2, V7]
17083test { try toUnicodeFail("\xf1\x97\x9b\xa8.\xf2\x85\x9f\xa2\xf0\x9d\x9f\xa8\xea\xa3\x84"); } // [V7]
17084test { try toAsciiFail("\xf1\x97\x9b\xa8.\xf2\x85\x9f\xa2\xf0\x9d\x9f\xa8\xea\xa3\x84", false); } // [V7]
17085test { try toAsciiFail("\xf1\x97\x9b\xa8.\xf2\x85\x9f\xa2\xf0\x9d\x9f\xa8\xea\xa3\x84", true); } // [V7]
17086test { try toUnicodeFail("\xf1\x97\x9b\xa8.\xf2\x85\x9f\xa26\xea\xa3\x84"); } // [V7]
17087test { try toAsciiFail("\xf1\x97\x9b\xa8.\xf2\x85\x9f\xa26\xea\xa3\x84", false); } // [V7]
17088test { try toAsciiFail("\xf1\x97\x9b\xa8.\xf2\x85\x9f\xa26\xea\xa3\x84", true); } // [V7]
17089test { try toUnicodeFail("xn--mi60a.xn--6-sl4es8023c"); } // [V7]
17090test { try toAsciiFail("xn--mi60a.xn--6-sl4es8023c", false); } // [V7]
17091test { try toAsciiFail("xn--mi60a.xn--6-sl4es8023c", true); } // [V7]
17092test { try toUnicodeFail("\xe1\xaa\xb2\xef\xb6\x8e\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe1\x82\xa8"); } // [B1, V3, V6]
17093test { try toAsciiFail("\xe1\xaa\xb2\xef\xb6\x8e\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe1\x82\xa8", false); } // [B1, V3, V6]
17094test { try toAsciiFail("\xe1\xaa\xb2\xef\xb6\x8e\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe1\x82\xa8", true); } // [B1, V3, V6]
17095test { try toUnicodeFail("\xe1\xaa\xb2\xd9\x85\xd8\xae\xd8\xac\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe1\x82\xa8"); } // [B1, V3, V6]
17096test { try toAsciiFail("\xe1\xaa\xb2\xd9\x85\xd8\xae\xd8\xac\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe1\x82\xa8", false); } // [B1, V3, V6]
17097test { try toAsciiFail("\xe1\xaa\xb2\xd9\x85\xd8\xae\xd8\xac\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe1\x82\xa8", true); } // [B1, V3, V6]
17098test { try toUnicodeFail("\xe1\xaa\xb2\xd9\x85\xd8\xae\xd8\xac\xe3\x80\x82-\xdb\xb9\xe2\xb4\x91\xe2\xb4\x88"); } // [B1, V3, V6]
17099test { try toAsciiFail("\xe1\xaa\xb2\xd9\x85\xd8\xae\xd8\xac\xe3\x80\x82-\xdb\xb9\xe2\xb4\x91\xe2\xb4\x88", false); } // [B1, V3, V6]
17100test { try toAsciiFail("\xe1\xaa\xb2\xd9\x85\xd8\xae\xd8\xac\xe3\x80\x82-\xdb\xb9\xe2\xb4\x91\xe2\xb4\x88", true); } // [B1, V3, V6]
17101test { try toUnicodeFail("xn--rgbd2e831i.xn----zyc3430a9a"); } // [B1, V3, V6]
17102test { try toAsciiFail("xn--rgbd2e831i.xn----zyc3430a9a", false); } // [B1, V3, V6]
17103test { try toAsciiFail("xn--rgbd2e831i.xn----zyc3430a9a", true); } // [B1, V3, V6]
17104test { try toUnicodeFail("\xe1\xaa\xb2\xef\xb6\x8e\xe3\x80\x82-\xdb\xb9\xe2\xb4\x91\xe2\xb4\x88"); } // [B1, V3, V6]
17105test { try toAsciiFail("\xe1\xaa\xb2\xef\xb6\x8e\xe3\x80\x82-\xdb\xb9\xe2\xb4\x91\xe2\xb4\x88", false); } // [B1, V3, V6]
17106test { try toAsciiFail("\xe1\xaa\xb2\xef\xb6\x8e\xe3\x80\x82-\xdb\xb9\xe2\xb4\x91\xe2\xb4\x88", true); } // [B1, V3, V6]
17107test { try toUnicodeFail("xn--rgbd2e831i.xn----zyc155e9a"); } // [B1, V3, V6, V7]
17108test { try toAsciiFail("xn--rgbd2e831i.xn----zyc155e9a", false); } // [B1, V3, V6, V7]
17109test { try toAsciiFail("xn--rgbd2e831i.xn----zyc155e9a", true); } // [B1, V3, V6, V7]
17110test { try toUnicodeFail("\xe1\xaa\xb2\xd9\x85\xd8\xae\xd8\xac\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe2\xb4\x88"); } // [B1, V3, V6]
17111test { try toAsciiFail("\xe1\xaa\xb2\xd9\x85\xd8\xae\xd8\xac\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe2\xb4\x88", false); } // [B1, V3, V6]
17112test { try toAsciiFail("\xe1\xaa\xb2\xd9\x85\xd8\xae\xd8\xac\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe2\xb4\x88", true); } // [B1, V3, V6]
17113test { try toUnicodeFail("xn--rgbd2e831i.xn----zyc875efr3a"); } // [B1, V3, V6, V7]
17114test { try toAsciiFail("xn--rgbd2e831i.xn----zyc875efr3a", false); } // [B1, V3, V6, V7]
17115test { try toAsciiFail("xn--rgbd2e831i.xn----zyc875efr3a", true); } // [B1, V3, V6, V7]
17116test { try toUnicodeFail("\xe1\xaa\xb2\xef\xb6\x8e\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe2\xb4\x88"); } // [B1, V3, V6]
17117test { try toAsciiFail("\xe1\xaa\xb2\xef\xb6\x8e\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe2\xb4\x88", false); } // [B1, V3, V6]
17118test { try toAsciiFail("\xe1\xaa\xb2\xef\xb6\x8e\xe3\x80\x82-\xdb\xb9\xe1\x82\xb1\xe2\xb4\x88", true); } // [B1, V3, V6]
17119test { try toUnicodeFail("\xf0\x9e\xa4\xa4\xef\xbc\x8e-\xe0\xa2\xa3\xef\xb8\x92"); } // [B1, V3, V7]
17120test { try toAsciiFail("\xf0\x9e\xa4\xa4\xef\xbc\x8e-\xe0\xa2\xa3\xef\xb8\x92", false); } // [B1, V3, V7]
17121test { try toAsciiFail("\xf0\x9e\xa4\xa4\xef\xbc\x8e-\xe0\xa2\xa3\xef\xb8\x92", true); } // [B1, V3, V7]
17122test { try toUnicodeFail("\xf0\x9e\xa4\xa4.-\xe0\xa2\xa3\xe3\x80\x82"); } // [B1, V3]
17123test { try toAsciiFail("\xf0\x9e\xa4\xa4.-\xe0\xa2\xa3\xe3\x80\x82", false); } // [B1, V3, A4_2]
17124test { try toAsciiFail("\xf0\x9e\xa4\xa4.-\xe0\xa2\xa3\xe3\x80\x82", true); } // [B1, V3, A4_2]
17125test { try toUnicodeFail("\xf0\x9e\xa4\x82.-\xe0\xa2\xa3\xe3\x80\x82"); } // [B1, V3]
17126test { try toAsciiFail("\xf0\x9e\xa4\x82.-\xe0\xa2\xa3\xe3\x80\x82", false); } // [B1, V3, A4_2]
17127test { try toAsciiFail("\xf0\x9e\xa4\x82.-\xe0\xa2\xa3\xe3\x80\x82", true); } // [B1, V3, A4_2]
17128test { try toUnicodeFail("xn--ce6h.xn----cod."); } // [B1, V3]
17129test { try toAsciiFail("xn--ce6h.xn----cod.", false); } // [B1, V3, A4_2]
17130test { try toAsciiFail("xn--ce6h.xn----cod.", true); } // [B1, V3, A4_2]
17131test { try toUnicodeFail("\xf0\x9e\xa4\x82\xef\xbc\x8e-\xe0\xa2\xa3\xef\xb8\x92"); } // [B1, V3, V7]
17132test { try toAsciiFail("\xf0\x9e\xa4\x82\xef\xbc\x8e-\xe0\xa2\xa3\xef\xb8\x92", false); } // [B1, V3, V7]
17133test { try toAsciiFail("\xf0\x9e\xa4\x82\xef\xbc\x8e-\xe0\xa2\xa3\xef\xb8\x92", true); } // [B1, V3, V7]
17134test { try toUnicodeFail("xn--ce6h.xn----cod7069p"); } // [B1, V3, V7]
17135test { try toAsciiFail("xn--ce6h.xn----cod7069p", false); } // [B1, V3, V7]
17136test { try toAsciiFail("xn--ce6h.xn----cod7069p", true); } // [B1, V3, V7]
17137test { try toUnicodeFail("\xe2\x80\x8c\xf0\x90\xba\xa8.\xe0\xa1\x99--"); } // [B1, C1, V3, V6]
17138test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xba\xa8.\xe0\xa1\x99--", false); } // [B1, C1, V3, V6]
17139test { try toAsciiFail("\xe2\x80\x8c\xf0\x90\xba\xa8.\xe0\xa1\x99--", true); } // [B1, V3, V6]
17140test { try toUnicodeFail("xn--9p0d.xn-----h6e"); } // [B1, V3, V6]
17141test { try toAsciiFail("xn--9p0d.xn-----h6e", false); } // [B1, V3, V6]
17142test { try toAsciiFail("xn--9p0d.xn-----h6e", true); } // [B1, V3, V6]
17143test { try toUnicodeFail("xn--0ug7905g.xn-----h6e"); } // [B1, C1, V3, V6]
17144test { try toAsciiFail("xn--0ug7905g.xn-----h6e", false); } // [B1, C1, V3, V6]
17145test { try toAsciiFail("xn--0ug7905g.xn-----h6e", true); } // [B1, C1, V3, V6]
17146test { try toUnicodeFail("\xf0\x90\x8b\xb8\xf3\xae\x98\x8b\xe1\x83\x82.\xe1\x82\xa1"); } // [V7]
17147test { try toAsciiFail("\xf0\x90\x8b\xb8\xf3\xae\x98\x8b\xe1\x83\x82.\xe1\x82\xa1", false); } // [V7]
17148test { try toAsciiFail("\xf0\x90\x8b\xb8\xf3\xae\x98\x8b\xe1\x83\x82.\xe1\x82\xa1", true); } // [V7]
17149test { try toUnicodeFail("\xf0\x90\x8b\xb8\xf3\xae\x98\x8b\xe2\xb4\xa2.\xe2\xb4\x81"); } // [V7]
17150test { try toAsciiFail("\xf0\x90\x8b\xb8\xf3\xae\x98\x8b\xe2\xb4\xa2.\xe2\xb4\x81", false); } // [V7]
17151test { try toAsciiFail("\xf0\x90\x8b\xb8\xf3\xae\x98\x8b\xe2\xb4\xa2.\xe2\xb4\x81", true); } // [V7]
17152test { try toUnicodeFail("\xf0\x90\x8b\xb8\xf3\xae\x98\x8b\xe1\x83\x82.\xe2\xb4\x81"); } // [V7]
17153test { try toAsciiFail("\xf0\x90\x8b\xb8\xf3\xae\x98\x8b\xe1\x83\x82.\xe2\xb4\x81", false); } // [V7]
17154test { try toAsciiFail("\xf0\x90\x8b\xb8\xf3\xae\x98\x8b\xe1\x83\x82.\xe2\xb4\x81", true); } // [V7]
17155test { try toUnicodeFail("xn--qlj1559dr224h.xn--skj"); } // [V7]
17156test { try toAsciiFail("xn--qlj1559dr224h.xn--skj", false); } // [V7]
17157test { try toAsciiFail("xn--qlj1559dr224h.xn--skj", true); } // [V7]
17158test { try toUnicodeFail("xn--6nd5215jr2u0h.xn--skj"); } // [V7]
17159test { try toAsciiFail("xn--6nd5215jr2u0h.xn--skj", false); } // [V7]
17160test { try toAsciiFail("xn--6nd5215jr2u0h.xn--skj", true); } // [V7]
17161test { try toUnicodeFail("xn--6nd5215jr2u0h.xn--8md"); } // [V7]
17162test { try toAsciiFail("xn--6nd5215jr2u0h.xn--8md", false); } // [V7]
17163test { try toAsciiFail("xn--6nd5215jr2u0h.xn--8md", true); } // [V7]
17164test { try toUnicodeFail("\xf1\x97\x91\xbf\xea\xa0\x86\xe2\x82\x84\xf2\xa9\x9e\x86\xef\xbd\xa1\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x82"); } // [V7]
17165test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x86\xe2\x82\x84\xf2\xa9\x9e\x86\xef\xbd\xa1\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x82", false); } // [V7]
17166test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x86\xe2\x82\x84\xf2\xa9\x9e\x86\xef\xbd\xa1\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x82", true); } // [V7]
17167test { try toUnicodeFail("\xf1\x97\x91\xbf\xea\xa0\x864\xf2\xa9\x9e\x86\xe3\x80\x82\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x82"); } // [V7]
17168test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x864\xf2\xa9\x9e\x86\xe3\x80\x82\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x82", false); } // [V7]
17169test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x864\xf2\xa9\x9e\x86\xe3\x80\x82\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x82", true); } // [V7]
17170test { try toUnicodeFail("\xf1\x97\x91\xbf\xea\xa0\x864\xf2\xa9\x9e\x86\xe3\x80\x82\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xce\xa3"); } // [V7]
17171test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x864\xf2\xa9\x9e\x86\xe3\x80\x82\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xce\xa3", false); } // [V7]
17172test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x864\xf2\xa9\x9e\x86\xe3\x80\x82\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xce\xa3", true); } // [V7]
17173test { try toUnicodeFail("\xf1\x97\x91\xbf\xea\xa0\x864\xf2\xa9\x9e\x86\xe3\x80\x82\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x83"); } // [V7]
17174test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x864\xf2\xa9\x9e\x86\xe3\x80\x82\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x83", false); } // [V7]
17175test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x864\xf2\xa9\x9e\x86\xe3\x80\x82\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x83", true); } // [V7]
17176test { try toUnicodeFail("xn--4-w93ej7463a9io5a.xn--4xa31142bk3f0d"); } // [V7]
17177test { try toAsciiFail("xn--4-w93ej7463a9io5a.xn--4xa31142bk3f0d", false); } // [V7]
17178test { try toAsciiFail("xn--4-w93ej7463a9io5a.xn--4xa31142bk3f0d", true); } // [V7]
17179test { try toUnicodeFail("xn--4-w93ej7463a9io5a.xn--3xa51142bk3f0d"); } // [V7]
17180test { try toAsciiFail("xn--4-w93ej7463a9io5a.xn--3xa51142bk3f0d", false); } // [V7]
17181test { try toAsciiFail("xn--4-w93ej7463a9io5a.xn--3xa51142bk3f0d", true); } // [V7]
17182test { try toUnicodeFail("\xf1\x97\x91\xbf\xea\xa0\x86\xe2\x82\x84\xf2\xa9\x9e\x86\xef\xbd\xa1\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xce\xa3"); } // [V7]
17183test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x86\xe2\x82\x84\xf2\xa9\x9e\x86\xef\xbd\xa1\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xce\xa3", false); } // [V7]
17184test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x86\xe2\x82\x84\xf2\xa9\x9e\x86\xef\xbd\xa1\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xce\xa3", true); } // [V7]
17185test { try toUnicodeFail("\xf1\x97\x91\xbf\xea\xa0\x86\xe2\x82\x84\xf2\xa9\x9e\x86\xef\xbd\xa1\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x83"); } // [V7]
17186test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x86\xe2\x82\x84\xf2\xa9\x9e\x86\xef\xbd\xa1\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x83", false); } // [V7]
17187test { try toAsciiFail("\xf1\x97\x91\xbf\xea\xa0\x86\xe2\x82\x84\xf2\xa9\x9e\x86\xef\xbd\xa1\xf0\xb2\xa9\xa7\xf3\xa0\x92\xb9\xcf\x83", true); } // [V7]
17188test { try toUnicodeFail("\xf3\xa0\x86\x80\xdc\xa3\xe3\x80\x82\xe1\xb7\xb4\xdd\xb5"); } // [B1, V6]
17189test { try toAsciiFail("\xf3\xa0\x86\x80\xdc\xa3\xe3\x80\x82\xe1\xb7\xb4\xdd\xb5", false); } // [B1, V6]
17190test { try toAsciiFail("\xf3\xa0\x86\x80\xdc\xa3\xe3\x80\x82\xe1\xb7\xb4\xdd\xb5", true); } // [B1, V6]
17191test { try toUnicodeFail("xn--tnb.xn--5pb136i"); } // [B1, V6]
17192test { try toAsciiFail("xn--tnb.xn--5pb136i", false); } // [B1, V6]
17193test { try toAsciiFail("xn--tnb.xn--5pb136i", true); } // [B1, V6]
17194test { try toUnicodeFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xef\xbd\xa1\xf0\xac\xbc\x96\xe1\x82\xb1\xe2\x80\x8d"); } // [B1, B6, C2]
17195test { try toAsciiFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xef\xbd\xa1\xf0\xac\xbc\x96\xe1\x82\xb1\xe2\x80\x8d", false); } // [B1, B6, C2]
17196test { try toAsciiFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xef\xbd\xa1\xf0\xac\xbc\x96\xe1\x82\xb1\xe2\x80\x8d", true); } // [B1]
17197test { try toUnicodeFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xe3\x80\x82\xf0\xac\xbc\x96\xe1\x82\xb1\xe2\x80\x8d"); } // [B1, B6, C2]
17198test { try toAsciiFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xe3\x80\x82\xf0\xac\xbc\x96\xe1\x82\xb1\xe2\x80\x8d", false); } // [B1, B6, C2]
17199test { try toAsciiFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xe3\x80\x82\xf0\xac\xbc\x96\xe1\x82\xb1\xe2\x80\x8d", true); } // [B1]
17200test { try toUnicodeFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xe3\x80\x82\xf0\xac\xbc\x96\xe2\xb4\x91\xe2\x80\x8d"); } // [B1, B6, C2]
17201test { try toAsciiFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xe3\x80\x82\xf0\xac\xbc\x96\xe2\xb4\x91\xe2\x80\x8d", false); } // [B1, B6, C2]
17202test { try toAsciiFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xe3\x80\x82\xf0\xac\xbc\x96\xe2\xb4\x91\xe2\x80\x8d", true); } // [B1]
17203test { try toUnicodeFail("xn--0vb1535kdb6e.xn--8kjz186s"); } // [B1]
17204test { try toAsciiFail("xn--0vb1535kdb6e.xn--8kjz186s", false); } // [B1]
17205test { try toAsciiFail("xn--0vb1535kdb6e.xn--8kjz186s", true); } // [B1]
17206test { try toUnicodeFail("xn--0vb1535kdb6e.xn--1ug742c5714c"); } // [B1, B6, C2]
17207test { try toAsciiFail("xn--0vb1535kdb6e.xn--1ug742c5714c", false); } // [B1, B6, C2]
17208test { try toAsciiFail("xn--0vb1535kdb6e.xn--1ug742c5714c", true); } // [B1, B6, C2]
17209test { try toUnicodeFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xef\xbd\xa1\xf0\xac\xbc\x96\xe2\xb4\x91\xe2\x80\x8d"); } // [B1, B6, C2]
17210test { try toAsciiFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xef\xbd\xa1\xf0\xac\xbc\x96\xe2\xb4\x91\xe2\x80\x8d", false); } // [B1, B6, C2]
17211test { try toAsciiFail("\xf0\x90\xb9\xb1\xe0\xa1\x82\xf0\x9d\xaa\xa8\xef\xbd\xa1\xf0\xac\xbc\x96\xe2\xb4\x91\xe2\x80\x8d", true); } // [B1]
17212test { try toUnicodeFail("xn--0vb1535kdb6e.xn--pnd93707a"); } // [B1, V7]
17213test { try toAsciiFail("xn--0vb1535kdb6e.xn--pnd93707a", false); } // [B1, V7]
17214test { try toAsciiFail("xn--0vb1535kdb6e.xn--pnd93707a", true); } // [B1, V7]
17215test { try toUnicodeFail("xn--0vb1535kdb6e.xn--pnd879eqy33c"); } // [B1, B6, C2, V7]
17216test { try toAsciiFail("xn--0vb1535kdb6e.xn--pnd879eqy33c", false); } // [B1, B6, C2, V7]
17217test { try toAsciiFail("xn--0vb1535kdb6e.xn--pnd879eqy33c", true); } // [B1, B6, C2, V7]
17218test { try toUnicodeFail("\xe1\x9c\x94\xf0\x90\xad\xaa\xf3\xa0\x99\x98\xe2\x80\x8d\xef\xbd\xa1-\xf0\x90\xb9\xb4"); } // [B1, C2, V3, V6, V7]
17219test { try toAsciiFail("\xe1\x9c\x94\xf0\x90\xad\xaa\xf3\xa0\x99\x98\xe2\x80\x8d\xef\xbd\xa1-\xf0\x90\xb9\xb4", false); } // [B1, C2, V3, V6, V7]
17220test { try toAsciiFail("\xe1\x9c\x94\xf0\x90\xad\xaa\xf3\xa0\x99\x98\xe2\x80\x8d\xef\xbd\xa1-\xf0\x90\xb9\xb4", true); } // [B1, V3, V6, V7]
17221test { try toUnicodeFail("\xe1\x9c\x94\xf0\x90\xad\xaa\xf3\xa0\x99\x98\xe2\x80\x8d\xe3\x80\x82-\xf0\x90\xb9\xb4"); } // [B1, C2, V3, V6, V7]
17222test { try toAsciiFail("\xe1\x9c\x94\xf0\x90\xad\xaa\xf3\xa0\x99\x98\xe2\x80\x8d\xe3\x80\x82-\xf0\x90\xb9\xb4", false); } // [B1, C2, V3, V6, V7]
17223test { try toAsciiFail("\xe1\x9c\x94\xf0\x90\xad\xaa\xf3\xa0\x99\x98\xe2\x80\x8d\xe3\x80\x82-\xf0\x90\xb9\xb4", true); } // [B1, V3, V6, V7]
17224test { try toUnicodeFail("xn--fze4126jujt0g.xn----c36i"); } // [B1, V3, V6, V7]
17225test { try toAsciiFail("xn--fze4126jujt0g.xn----c36i", false); } // [B1, V3, V6, V7]
17226test { try toAsciiFail("xn--fze4126jujt0g.xn----c36i", true); } // [B1, V3, V6, V7]
17227test { try toUnicodeFail("xn--fze807bso0spy14i.xn----c36i"); } // [B1, C2, V3, V6, V7]
17228test { try toAsciiFail("xn--fze807bso0spy14i.xn----c36i", false); } // [B1, C2, V3, V6, V7]
17229test { try toAsciiFail("xn--fze807bso0spy14i.xn----c36i", true); } // [B1, C2, V3, V6, V7]
17230test { try toUnicodeFail("\xf0\xbe\xa2\xac\xef\xbd\xa1\xdc\xa9\xef\xb8\x92\xec\xaf\x99\xf0\x9d\x9f\xa7"); } // [B2, V7]
17231test { try toAsciiFail("\xf0\xbe\xa2\xac\xef\xbd\xa1\xdc\xa9\xef\xb8\x92\xec\xaf\x99\xf0\x9d\x9f\xa7", false); } // [B2, V7]
17232test { try toAsciiFail("\xf0\xbe\xa2\xac\xef\xbd\xa1\xdc\xa9\xef\xb8\x92\xec\xaf\x99\xf0\x9d\x9f\xa7", true); } // [B2, V7]
17233test { try toUnicodeFail("\xf0\xbe\xa2\xac\xef\xbd\xa1\xdc\xa9\xef\xb8\x92\xe1\x84\x8d\xe1\x85\xb3\xe1\x86\xac\xf0\x9d\x9f\xa7"); } // [B2, V7]
17234test { try toAsciiFail("\xf0\xbe\xa2\xac\xef\xbd\xa1\xdc\xa9\xef\xb8\x92\xe1\x84\x8d\xe1\x85\xb3\xe1\x86\xac\xf0\x9d\x9f\xa7", false); } // [B2, V7]
17235test { try toAsciiFail("\xf0\xbe\xa2\xac\xef\xbd\xa1\xdc\xa9\xef\xb8\x92\xe1\x84\x8d\xe1\x85\xb3\xe1\x86\xac\xf0\x9d\x9f\xa7", true); } // [B2, V7]
17236test { try toUnicodeFail("\xf0\xbe\xa2\xac\xe3\x80\x82\xdc\xa9\xe3\x80\x82\xec\xaf\x995"); } // [V7]
17237test { try toAsciiFail("\xf0\xbe\xa2\xac\xe3\x80\x82\xdc\xa9\xe3\x80\x82\xec\xaf\x995", false); } // [V7]
17238test { try toAsciiFail("\xf0\xbe\xa2\xac\xe3\x80\x82\xdc\xa9\xe3\x80\x82\xec\xaf\x995", true); } // [V7]
17239test { try toUnicodeFail("\xf0\xbe\xa2\xac\xe3\x80\x82\xdc\xa9\xe3\x80\x82\xe1\x84\x8d\xe1\x85\xb3\xe1\x86\xac5"); } // [V7]
17240test { try toAsciiFail("\xf0\xbe\xa2\xac\xe3\x80\x82\xdc\xa9\xe3\x80\x82\xe1\x84\x8d\xe1\x85\xb3\xe1\x86\xac5", false); } // [V7]
17241test { try toAsciiFail("\xf0\xbe\xa2\xac\xe3\x80\x82\xdc\xa9\xe3\x80\x82\xe1\x84\x8d\xe1\x85\xb3\xe1\x86\xac5", true); } // [V7]
17242test { try toUnicodeFail("xn--t92s.xn--znb.xn--5-y88f"); } // [V7]
17243test { try toAsciiFail("xn--t92s.xn--znb.xn--5-y88f", false); } // [V7]
17244test { try toAsciiFail("xn--t92s.xn--znb.xn--5-y88f", true); } // [V7]
17245test { try toUnicodeFail("xn--t92s.xn--5-p1c0712mm8rb"); } // [B2, V7]
17246test { try toAsciiFail("xn--t92s.xn--5-p1c0712mm8rb", false); } // [B2, V7]
17247test { try toAsciiFail("xn--t92s.xn--5-p1c0712mm8rb", true); } // [B2, V7]
17248test { try toUnicodeFail("\xf0\x9e\xa4\x9f-\xe3\x80\x82\xdd\xa2\xe2\x89\xae\xeb\xbb\x90"); } // [B2, B3, V3]
17249test { try toAsciiFail("\xf0\x9e\xa4\x9f-\xe3\x80\x82\xdd\xa2\xe2\x89\xae\xeb\xbb\x90", false); } // [B2, B3, V3]
17250test { try toAsciiFail("\xf0\x9e\xa4\x9f-\xe3\x80\x82\xdd\xa2\xe2\x89\xae\xeb\xbb\x90", true); } // [B2, B3, V3]
17251test { try toUnicodeFail("\xf0\x9e\xa4\x9f-\xe3\x80\x82\xdd\xa2<\xcc\xb8\xe1\x84\x88\xe1\x85\xa5"); } // [B2, B3, V3]
17252test { try toAsciiFail("\xf0\x9e\xa4\x9f-\xe3\x80\x82\xdd\xa2<\xcc\xb8\xe1\x84\x88\xe1\x85\xa5", false); } // [B2, B3, V3]
17253test { try toAsciiFail("\xf0\x9e\xa4\x9f-\xe3\x80\x82\xdd\xa2<\xcc\xb8\xe1\x84\x88\xe1\x85\xa5", true); } // [B2, B3, V3]
17254test { try toUnicodeFail("\xf0\x9e\xa5\x81-\xe3\x80\x82\xdd\xa2<\xcc\xb8\xe1\x84\x88\xe1\x85\xa5"); } // [B2, B3, V3]
17255test { try toAsciiFail("\xf0\x9e\xa5\x81-\xe3\x80\x82\xdd\xa2<\xcc\xb8\xe1\x84\x88\xe1\x85\xa5", false); } // [B2, B3, V3]
17256test { try toAsciiFail("\xf0\x9e\xa5\x81-\xe3\x80\x82\xdd\xa2<\xcc\xb8\xe1\x84\x88\xe1\x85\xa5", true); } // [B2, B3, V3]
17257test { try toUnicodeFail("\xf0\x9e\xa5\x81-\xe3\x80\x82\xdd\xa2\xe2\x89\xae\xeb\xbb\x90"); } // [B2, B3, V3]
17258test { try toAsciiFail("\xf0\x9e\xa5\x81-\xe3\x80\x82\xdd\xa2\xe2\x89\xae\xeb\xbb\x90", false); } // [B2, B3, V3]
17259test { try toAsciiFail("\xf0\x9e\xa5\x81-\xe3\x80\x82\xdd\xa2\xe2\x89\xae\xeb\xbb\x90", true); } // [B2, B3, V3]
17260test { try toUnicodeFail("xn----1j8r.xn--mpb269krv4i"); } // [B2, B3, V3]
17261test { try toAsciiFail("xn----1j8r.xn--mpb269krv4i", false); } // [B2, B3, V3]
17262test { try toAsciiFail("xn----1j8r.xn--mpb269krv4i", true); } // [B2, B3, V3]
17263test { try toUnicodeFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0\xef\xbc\x8e\xe0\xa2\xb4\xe2\x89\xa0"); } // [B2, B3, V7]
17264test { try toAsciiFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0\xef\xbc\x8e\xe0\xa2\xb4\xe2\x89\xa0", false); } // [B2, B3, V7]
17265test { try toAsciiFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0\xef\xbc\x8e\xe0\xa2\xb4\xe2\x89\xa0", true); } // [B2, B3, V7]
17266test { try toUnicodeFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0\xef\xbc\x8e\xe0\xa2\xb4=\xcc\xb8"); } // [B2, B3, V7]
17267test { try toAsciiFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0\xef\xbc\x8e\xe0\xa2\xb4=\xcc\xb8", false); } // [B2, B3, V7]
17268test { try toAsciiFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0\xef\xbc\x8e\xe0\xa2\xb4=\xcc\xb8", true); } // [B2, B3, V7]
17269test { try toUnicodeFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0.\xe0\xa2\xb4\xe2\x89\xa0"); } // [B2, B3, V7]
17270test { try toAsciiFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0.\xe0\xa2\xb4\xe2\x89\xa0", false); } // [B2, B3, V7]
17271test { try toAsciiFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0.\xe0\xa2\xb4\xe2\x89\xa0", true); } // [B2, B3, V7]
17272test { try toUnicodeFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0.\xe0\xa2\xb4=\xcc\xb8"); } // [B2, B3, V7]
17273test { try toAsciiFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0.\xe0\xa2\xb4=\xcc\xb8", false); } // [B2, B3, V7]
17274test { try toAsciiFail("\xf0\x9e\xa5\xa9-\xf2\x8a\xab\xa0.\xe0\xa2\xb4=\xcc\xb8", true); } // [B2, B3, V7]
17275test { try toUnicodeFail("xn----cm8rp3609a.xn--9yb852k"); } // [B2, B3, V7]
17276test { try toAsciiFail("xn----cm8rp3609a.xn--9yb852k", false); } // [B2, B3, V7]
17277test { try toAsciiFail("xn----cm8rp3609a.xn--9yb852k", true); } // [B2, B3, V7]
17278test { try toUnicodeFail("-\xf1\x85\x82\x8f\xcf\x82\xe1\x82\xbc\xef\xbc\x8e\xd9\xa1"); } // [B1, V3, V7]
17279test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x82\xe1\x82\xbc\xef\xbc\x8e\xd9\xa1", false); } // [B1, V3, V7]
17280test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x82\xe1\x82\xbc\xef\xbc\x8e\xd9\xa1", true); } // [B1, V3, V7]
17281test { try toUnicodeFail("-\xf1\x85\x82\x8f\xcf\x82\xe1\x82\xbc.\xd9\xa1"); } // [B1, V3, V7]
17282test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x82\xe1\x82\xbc.\xd9\xa1", false); } // [B1, V3, V7]
17283test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x82\xe1\x82\xbc.\xd9\xa1", true); } // [B1, V3, V7]
17284test { try toUnicodeFail("-\xf1\x85\x82\x8f\xcf\x82\xe2\xb4\x9c.\xd9\xa1"); } // [B1, V3, V7]
17285test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x82\xe2\xb4\x9c.\xd9\xa1", false); } // [B1, V3, V7]
17286test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x82\xe2\xb4\x9c.\xd9\xa1", true); } // [B1, V3, V7]
17287test { try toUnicodeFail("-\xf1\x85\x82\x8f\xce\xa3\xe1\x82\xbc.\xd9\xa1"); } // [B1, V3, V7]
17288test { try toAsciiFail("-\xf1\x85\x82\x8f\xce\xa3\xe1\x82\xbc.\xd9\xa1", false); } // [B1, V3, V7]
17289test { try toAsciiFail("-\xf1\x85\x82\x8f\xce\xa3\xe1\x82\xbc.\xd9\xa1", true); } // [B1, V3, V7]
17290test { try toUnicodeFail("-\xf1\x85\x82\x8f\xcf\x83\xe2\xb4\x9c.\xd9\xa1"); } // [B1, V3, V7]
17291test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x83\xe2\xb4\x9c.\xd9\xa1", false); } // [B1, V3, V7]
17292test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x83\xe2\xb4\x9c.\xd9\xa1", true); } // [B1, V3, V7]
17293test { try toUnicodeFail("-\xf1\x85\x82\x8f\xce\xa3\xe2\xb4\x9c.\xd9\xa1"); } // [B1, V3, V7]
17294test { try toAsciiFail("-\xf1\x85\x82\x8f\xce\xa3\xe2\xb4\x9c.\xd9\xa1", false); } // [B1, V3, V7]
17295test { try toAsciiFail("-\xf1\x85\x82\x8f\xce\xa3\xe2\xb4\x9c.\xd9\xa1", true); } // [B1, V3, V7]
17296test { try toUnicodeFail("xn----0mb9682aov12f.xn--9hb"); } // [B1, V3, V7]
17297test { try toAsciiFail("xn----0mb9682aov12f.xn--9hb", false); } // [B1, V3, V7]
17298test { try toAsciiFail("xn----0mb9682aov12f.xn--9hb", true); } // [B1, V3, V7]
17299test { try toUnicodeFail("xn----ymb2782aov12f.xn--9hb"); } // [B1, V3, V7]
17300test { try toAsciiFail("xn----ymb2782aov12f.xn--9hb", false); } // [B1, V3, V7]
17301test { try toAsciiFail("xn----ymb2782aov12f.xn--9hb", true); } // [B1, V3, V7]
17302test { try toUnicodeFail("-\xf1\x85\x82\x8f\xcf\x82\xe2\xb4\x9c\xef\xbc\x8e\xd9\xa1"); } // [B1, V3, V7]
17303test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x82\xe2\xb4\x9c\xef\xbc\x8e\xd9\xa1", false); } // [B1, V3, V7]
17304test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x82\xe2\xb4\x9c\xef\xbc\x8e\xd9\xa1", true); } // [B1, V3, V7]
17305test { try toUnicodeFail("-\xf1\x85\x82\x8f\xce\xa3\xe1\x82\xbc\xef\xbc\x8e\xd9\xa1"); } // [B1, V3, V7]
17306test { try toAsciiFail("-\xf1\x85\x82\x8f\xce\xa3\xe1\x82\xbc\xef\xbc\x8e\xd9\xa1", false); } // [B1, V3, V7]
17307test { try toAsciiFail("-\xf1\x85\x82\x8f\xce\xa3\xe1\x82\xbc\xef\xbc\x8e\xd9\xa1", true); } // [B1, V3, V7]
17308test { try toUnicodeFail("-\xf1\x85\x82\x8f\xcf\x83\xe2\xb4\x9c\xef\xbc\x8e\xd9\xa1"); } // [B1, V3, V7]
17309test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x83\xe2\xb4\x9c\xef\xbc\x8e\xd9\xa1", false); } // [B1, V3, V7]
17310test { try toAsciiFail("-\xf1\x85\x82\x8f\xcf\x83\xe2\xb4\x9c\xef\xbc\x8e\xd9\xa1", true); } // [B1, V3, V7]
17311test { try toUnicodeFail("-\xf1\x85\x82\x8f\xce\xa3\xe2\xb4\x9c\xef\xbc\x8e\xd9\xa1"); } // [B1, V3, V7]
17312test { try toAsciiFail("-\xf1\x85\x82\x8f\xce\xa3\xe2\xb4\x9c\xef\xbc\x8e\xd9\xa1", false); } // [B1, V3, V7]
17313test { try toAsciiFail("-\xf1\x85\x82\x8f\xce\xa3\xe2\xb4\x9c\xef\xbc\x8e\xd9\xa1", true); } // [B1, V3, V7]
17314test { try toUnicodeFail("xn----0mb770hun11i.xn--9hb"); } // [B1, V3, V7]
17315test { try toAsciiFail("xn----0mb770hun11i.xn--9hb", false); } // [B1, V3, V7]
17316test { try toAsciiFail("xn----0mb770hun11i.xn--9hb", true); } // [B1, V3, V7]
17317test { try toUnicodeFail("xn----ymb080hun11i.xn--9hb"); } // [B1, V3, V7]
17318test { try toAsciiFail("xn----ymb080hun11i.xn--9hb", false); } // [B1, V3, V7]
17319test { try toAsciiFail("xn----ymb080hun11i.xn--9hb", true); } // [B1, V3, V7]
17320test { try toUnicodeFail("\xe1\x9f\x8a.\xe2\x80\x8d\xf0\x9d\x9f\xae\xf0\x91\x80\xbf"); } // [C2, V6]
17321test { try toAsciiFail("\xe1\x9f\x8a.\xe2\x80\x8d\xf0\x9d\x9f\xae\xf0\x91\x80\xbf", false); } // [C2, V6]
17322test { try toAsciiFail("\xe1\x9f\x8a.\xe2\x80\x8d\xf0\x9d\x9f\xae\xf0\x91\x80\xbf", true); } // [V6]
17323test { try toUnicodeFail("\xe1\x9f\x8a.\xe2\x80\x8d2\xf0\x91\x80\xbf"); } // [C2, V6]
17324test { try toAsciiFail("\xe1\x9f\x8a.\xe2\x80\x8d2\xf0\x91\x80\xbf", false); } // [C2, V6]
17325test { try toAsciiFail("\xe1\x9f\x8a.\xe2\x80\x8d2\xf0\x91\x80\xbf", true); } // [V6]
17326test { try toUnicodeFail("xn--m4e.xn--2-ku7i"); } // [V6]
17327test { try toAsciiFail("xn--m4e.xn--2-ku7i", false); } // [V6]
17328test { try toAsciiFail("xn--m4e.xn--2-ku7i", true); } // [V6]
17329test { try toUnicodeFail("xn--m4e.xn--2-tgnv469h"); } // [C2, V6]
17330test { try toAsciiFail("xn--m4e.xn--2-tgnv469h", false); } // [C2, V6]
17331test { try toAsciiFail("xn--m4e.xn--2-tgnv469h", true); } // [C2, V6]
17332test { try toUnicodeFail("\xe2\x89\xaf\xf0\x9d\x9f\x96\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91"); } // [B1, V6, V7]
17333test { try toAsciiFail("\xe2\x89\xaf\xf0\x9d\x9f\x96\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91", false); } // [B1, V6, V7]
17334test { try toAsciiFail("\xe2\x89\xaf\xf0\x9d\x9f\x96\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91", true); } // [B1, V6, V7]
17335test { try toUnicodeFail(">\xcc\xb8\xf0\x9d\x9f\x96\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91"); } // [B1, V6, V7]
17336test { try toAsciiFail(">\xcc\xb8\xf0\x9d\x9f\x96\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91", false); } // [B1, V6, V7]
17337test { try toAsciiFail(">\xcc\xb8\xf0\x9d\x9f\x96\xef\xbd\xa1\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91", true); } // [B1, V6, V7]
17338test { try toUnicodeFail("\xe2\x89\xaf8\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91"); } // [B1, V6, V7]
17339test { try toAsciiFail("\xe2\x89\xaf8\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91", false); } // [B1, V6, V7]
17340test { try toAsciiFail("\xe2\x89\xaf8\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91", true); } // [B1, V6, V7]
17341test { try toUnicodeFail(">\xcc\xb88\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91"); } // [B1, V6, V7]
17342test { try toAsciiFail(">\xcc\xb88\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91", false); } // [B1, V6, V7]
17343test { try toAsciiFail(">\xcc\xb88\xe3\x80\x82\xe1\xa9\xa0\xf0\x90\xab\x93\xf2\x9f\x87\x91", true); } // [B1, V6, V7]
17344test { try toUnicodeFail("xn--8-ogo.xn--jof5303iv1z5d"); } // [B1, V6, V7]
17345test { try toAsciiFail("xn--8-ogo.xn--jof5303iv1z5d", false); } // [B1, V6, V7]
17346test { try toAsciiFail("xn--8-ogo.xn--jof5303iv1z5d", true); } // [B1, V6, V7]
17347test { try toUnicodeFail("\xf0\x91\xb2\xab\xe2\x86\x83\xd9\xa4\xef\xbd\xa1\xe2\x80\x8c"); } // [B1, C1, V6]
17348test { try toAsciiFail("\xf0\x91\xb2\xab\xe2\x86\x83\xd9\xa4\xef\xbd\xa1\xe2\x80\x8c", false); } // [B1, C1, V6]
17349test { try toAsciiFail("\xf0\x91\xb2\xab\xe2\x86\x83\xd9\xa4\xef\xbd\xa1\xe2\x80\x8c", true); } // [B1, V6, A4_2]
17350test { try toUnicodeFail("\xf0\x91\xb2\xab\xe2\x86\x83\xd9\xa4\xe3\x80\x82\xe2\x80\x8c"); } // [B1, C1, V6]
17351test { try toAsciiFail("\xf0\x91\xb2\xab\xe2\x86\x83\xd9\xa4\xe3\x80\x82\xe2\x80\x8c", false); } // [B1, C1, V6]
17352test { try toAsciiFail("\xf0\x91\xb2\xab\xe2\x86\x83\xd9\xa4\xe3\x80\x82\xe2\x80\x8c", true); } // [B1, V6, A4_2]
17353test { try toUnicodeFail("\xf0\x91\xb2\xab\xe2\x86\x84\xd9\xa4\xe3\x80\x82\xe2\x80\x8c"); } // [B1, C1, V6]
17354test { try toAsciiFail("\xf0\x91\xb2\xab\xe2\x86\x84\xd9\xa4\xe3\x80\x82\xe2\x80\x8c", false); } // [B1, C1, V6]
17355test { try toAsciiFail("\xf0\x91\xb2\xab\xe2\x86\x84\xd9\xa4\xe3\x80\x82\xe2\x80\x8c", true); } // [B1, V6, A4_2]
17356test { try toUnicodeFail("xn--dib100l8x1p."); } // [B1, V6]
17357test { try toAsciiFail("xn--dib100l8x1p.", false); } // [B1, V6, A4_2]
17358test { try toAsciiFail("xn--dib100l8x1p.", true); } // [B1, V6, A4_2]
17359test { try toUnicodeFail("xn--dib100l8x1p.xn--0ug"); } // [B1, C1, V6]
17360test { try toAsciiFail("xn--dib100l8x1p.xn--0ug", false); } // [B1, C1, V6]
17361test { try toAsciiFail("xn--dib100l8x1p.xn--0ug", true); } // [B1, C1, V6]
17362test { try toUnicodeFail("\xf0\x91\xb2\xab\xe2\x86\x84\xd9\xa4\xef\xbd\xa1\xe2\x80\x8c"); } // [B1, C1, V6]
17363test { try toAsciiFail("\xf0\x91\xb2\xab\xe2\x86\x84\xd9\xa4\xef\xbd\xa1\xe2\x80\x8c", false); } // [B1, C1, V6]
17364test { try toAsciiFail("\xf0\x91\xb2\xab\xe2\x86\x84\xd9\xa4\xef\xbd\xa1\xe2\x80\x8c", true); } // [B1, V6, A4_2]
17365test { try toUnicodeFail("xn--dib999kcy1p."); } // [B1, V6, V7]
17366test { try toAsciiFail("xn--dib999kcy1p.", false); } // [B1, V6, V7, A4_2]
17367test { try toAsciiFail("xn--dib999kcy1p.", true); } // [B1, V6, V7, A4_2]
17368test { try toUnicodeFail("xn--dib999kcy1p.xn--0ug"); } // [B1, C1, V6, V7]
17369test { try toAsciiFail("xn--dib999kcy1p.xn--0ug", false); } // [B1, C1, V6, V7]
17370test { try toAsciiFail("xn--dib999kcy1p.xn--0ug", true); } // [B1, C1, V6, V7]
17371test { try toUnicodeFail("\xe0\xb0\x80\xf0\x9d\x9f\xb5\xe2\x80\x8d\xef\xb2\x9d.\xe2\x80\x8d\xdd\x90\xe2\x92\x88"); } // [B1, C2, V6, V7]
17372test { try toAsciiFail("\xe0\xb0\x80\xf0\x9d\x9f\xb5\xe2\x80\x8d\xef\xb2\x9d.\xe2\x80\x8d\xdd\x90\xe2\x92\x88", false); } // [B1, C2, V6, V7]
17373test { try toAsciiFail("\xe0\xb0\x80\xf0\x9d\x9f\xb5\xe2\x80\x8d\xef\xb2\x9d.\xe2\x80\x8d\xdd\x90\xe2\x92\x88", true); } // [B1, V6, V7]
17374test { try toUnicodeFail("\xe0\xb0\x809\xe2\x80\x8d\xd8\xa8\xd8\xad.\xe2\x80\x8d\xdd\x901."); } // [B1, C2, V6]
17375test { try toAsciiFail("\xe0\xb0\x809\xe2\x80\x8d\xd8\xa8\xd8\xad.\xe2\x80\x8d\xdd\x901.", false); } // [B1, C2, V6, A4_2]
17376test { try toAsciiFail("\xe0\xb0\x809\xe2\x80\x8d\xd8\xa8\xd8\xad.\xe2\x80\x8d\xdd\x901.", true); } // [B1, V6, A4_2]
17377test { try toUnicodeFail("xn--9-1mcp570d.xn--1-x3c."); } // [B1, V6]
17378test { try toAsciiFail("xn--9-1mcp570d.xn--1-x3c.", false); } // [B1, V6, A4_2]
17379test { try toAsciiFail("xn--9-1mcp570d.xn--1-x3c.", true); } // [B1, V6, A4_2]
17380test { try toUnicodeFail("xn--9-1mcp570dl51a.xn--1-x3c211q."); } // [B1, C2, V6]
17381test { try toAsciiFail("xn--9-1mcp570dl51a.xn--1-x3c211q.", false); } // [B1, C2, V6, A4_2]
17382test { try toAsciiFail("xn--9-1mcp570dl51a.xn--1-x3c211q.", true); } // [B1, C2, V6, A4_2]
17383test { try toUnicodeFail("xn--9-1mcp570d.xn--3ob470m"); } // [B1, V6, V7]
17384test { try toAsciiFail("xn--9-1mcp570d.xn--3ob470m", false); } // [B1, V6, V7]
17385test { try toAsciiFail("xn--9-1mcp570d.xn--3ob470m", true); } // [B1, V6, V7]
17386test { try toUnicodeFail("xn--9-1mcp570dl51a.xn--3ob977jmfd"); } // [B1, C2, V6, V7]
17387test { try toAsciiFail("xn--9-1mcp570dl51a.xn--3ob977jmfd", false); } // [B1, C2, V6, V7]
17388test { try toAsciiFail("xn--9-1mcp570dl51a.xn--3ob977jmfd", true); } // [B1, C2, V6, V7]
17389test { try toUnicodeFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6\xc3\x9f\xe8\x91\xbd"); } // [V6]
17390test { try toAsciiFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6\xc3\x9f\xe8\x91\xbd", false); } // [V6]
17391test { try toAsciiFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6\xc3\x9f\xe8\x91\xbd", true); } // [V6]
17392test { try toUnicodeFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6SS\xe8\x91\xbd"); } // [V6]
17393test { try toAsciiFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6SS\xe8\x91\xbd", false); } // [V6]
17394test { try toAsciiFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6SS\xe8\x91\xbd", true); } // [V6]
17395test { try toUnicodeFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6ss\xe8\x91\xbd"); } // [V6]
17396test { try toAsciiFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6ss\xe8\x91\xbd", false); } // [V6]
17397test { try toAsciiFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6ss\xe8\x91\xbd", true); } // [V6]
17398test { try toUnicodeFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6Ss\xe8\x91\xbd"); } // [V6]
17399test { try toAsciiFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6Ss\xe8\x91\xbd", false); } // [V6]
17400test { try toAsciiFail("\xea\xab\xb6\xe3\x80\x82\xe5\xac\xb6Ss\xe8\x91\xbd", true); } // [V6]
17401test { try toUnicodeFail("xn--2v9a.xn--ss-q40dp97m"); } // [V6]
17402test { try toAsciiFail("xn--2v9a.xn--ss-q40dp97m", false); } // [V6]
17403test { try toAsciiFail("xn--2v9a.xn--ss-q40dp97m", true); } // [V6]
17404test { try toUnicodeFail("xn--2v9a.xn--zca7637b14za"); } // [V6]
17405test { try toAsciiFail("xn--2v9a.xn--zca7637b14za", false); } // [V6]
17406test { try toAsciiFail("xn--2v9a.xn--zca7637b14za", true); } // [V6]
17407test { try toUnicodeFail("\xf0\x91\x9a\xb6\xe2\x92\x88\xe3\x80\x82\xf1\x9e\xbb\xa1\xf0\x90\xb9\xba"); } // [B5, B6, V6, V7]
17408test { try toAsciiFail("\xf0\x91\x9a\xb6\xe2\x92\x88\xe3\x80\x82\xf1\x9e\xbb\xa1\xf0\x90\xb9\xba", false); } // [B5, B6, V6, V7]
17409test { try toAsciiFail("\xf0\x91\x9a\xb6\xe2\x92\x88\xe3\x80\x82\xf1\x9e\xbb\xa1\xf0\x90\xb9\xba", true); } // [B5, B6, V6, V7]
17410test { try toUnicodeFail("\xf0\x91\x9a\xb61.\xe3\x80\x82\xf1\x9e\xbb\xa1\xf0\x90\xb9\xba"); } // [B5, B6, V6, V7, X4_2]
17411test { try toAsciiFail("\xf0\x91\x9a\xb61.\xe3\x80\x82\xf1\x9e\xbb\xa1\xf0\x90\xb9\xba", false); } // [B5, B6, V6, V7, A4_2]
17412test { try toAsciiFail("\xf0\x91\x9a\xb61.\xe3\x80\x82\xf1\x9e\xbb\xa1\xf0\x90\xb9\xba", true); } // [B5, B6, V6, V7, A4_2]
17413test { try toUnicodeFail("xn--1-3j0j..xn--yo0d5914s"); } // [B5, B6, V6, V7, X4_2]
17414test { try toAsciiFail("xn--1-3j0j..xn--yo0d5914s", false); } // [B5, B6, V6, V7, A4_2]
17415test { try toAsciiFail("xn--1-3j0j..xn--yo0d5914s", true); } // [B5, B6, V6, V7, A4_2]
17416test { try toUnicodeFail("xn--tshz969f.xn--yo0d5914s"); } // [B5, B6, V6, V7]
17417test { try toAsciiFail("xn--tshz969f.xn--yo0d5914s", false); } // [B5, B6, V6, V7]
17418test { try toAsciiFail("xn--tshz969f.xn--yo0d5914s", true); } // [B5, B6, V6, V7]
17419test { try toUnicodeFail("\xf0\x91\x9c\xa4\xef\xb8\x92\xe2\x89\xae\xef\xbc\x8e\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9"); } // [B1, B5, B6, V6, V7]
17420test { try toAsciiFail("\xf0\x91\x9c\xa4\xef\xb8\x92\xe2\x89\xae\xef\xbc\x8e\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9", false); } // [B1, B5, B6, V6, V7]
17421test { try toAsciiFail("\xf0\x91\x9c\xa4\xef\xb8\x92\xe2\x89\xae\xef\xbc\x8e\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9", true); } // [B1, B5, B6, V6, V7]
17422test { try toUnicodeFail("\xf0\x91\x9c\xa4\xef\xb8\x92<\xcc\xb8\xef\xbc\x8e\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9"); } // [B1, B5, B6, V6, V7]
17423test { try toAsciiFail("\xf0\x91\x9c\xa4\xef\xb8\x92<\xcc\xb8\xef\xbc\x8e\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9", false); } // [B1, B5, B6, V6, V7]
17424test { try toAsciiFail("\xf0\x91\x9c\xa4\xef\xb8\x92<\xcc\xb8\xef\xbc\x8e\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9", true); } // [B1, B5, B6, V6, V7]
17425test { try toUnicodeFail("\xf0\x91\x9c\xa4\xe3\x80\x82\xe2\x89\xae.\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9"); } // [B1, B5, B6, V6, V7]
17426test { try toAsciiFail("\xf0\x91\x9c\xa4\xe3\x80\x82\xe2\x89\xae.\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9", false); } // [B1, B5, B6, V6, V7]
17427test { try toAsciiFail("\xf0\x91\x9c\xa4\xe3\x80\x82\xe2\x89\xae.\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9", true); } // [B1, B5, B6, V6, V7]
17428test { try toUnicodeFail("\xf0\x91\x9c\xa4\xe3\x80\x82<\xcc\xb8.\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9"); } // [B1, B5, B6, V6, V7]
17429test { try toAsciiFail("\xf0\x91\x9c\xa4\xe3\x80\x82<\xcc\xb8.\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9", false); } // [B1, B5, B6, V6, V7]
17430test { try toAsciiFail("\xf0\x91\x9c\xa4\xe3\x80\x82<\xcc\xb8.\xf1\x9a\x95\xbd\xd7\x98\xf0\x9e\xbe\xa9", true); } // [B1, B5, B6, V6, V7]
17431test { try toUnicodeFail("xn--ci2d.xn--gdh.xn--deb0091w5q9u"); } // [B1, B5, B6, V6, V7]
17432test { try toAsciiFail("xn--ci2d.xn--gdh.xn--deb0091w5q9u", false); } // [B1, B5, B6, V6, V7]
17433test { try toAsciiFail("xn--ci2d.xn--gdh.xn--deb0091w5q9u", true); } // [B1, B5, B6, V6, V7]
17434test { try toUnicodeFail("xn--gdh5267fdzpa.xn--deb0091w5q9u"); } // [B1, B5, B6, V6, V7]
17435test { try toAsciiFail("xn--gdh5267fdzpa.xn--deb0091w5q9u", false); } // [B1, B5, B6, V6, V7]
17436test { try toAsciiFail("xn--gdh5267fdzpa.xn--deb0091w5q9u", true); } // [B1, B5, B6, V6, V7]
17437test { try toUnicodeFail("\xf3\xa0\x86\x8b\xd8\x83\xf1\x8f\xa6\xa4.\xe2\x87\x81\xcf\x82\xf2\x8f\x8b\x88\xf2\xba\x87\xa5"); } // [B1, V7]
17438test { try toAsciiFail("\xf3\xa0\x86\x8b\xd8\x83\xf1\x8f\xa6\xa4.\xe2\x87\x81\xcf\x82\xf2\x8f\x8b\x88\xf2\xba\x87\xa5", false); } // [B1, V7]
17439test { try toAsciiFail("\xf3\xa0\x86\x8b\xd8\x83\xf1\x8f\xa6\xa4.\xe2\x87\x81\xcf\x82\xf2\x8f\x8b\x88\xf2\xba\x87\xa5", true); } // [B1, V7]
17440test { try toUnicodeFail("\xf3\xa0\x86\x8b\xd8\x83\xf1\x8f\xa6\xa4.\xe2\x87\x81\xce\xa3\xf2\x8f\x8b\x88\xf2\xba\x87\xa5"); } // [B1, V7]
17441test { try toAsciiFail("\xf3\xa0\x86\x8b\xd8\x83\xf1\x8f\xa6\xa4.\xe2\x87\x81\xce\xa3\xf2\x8f\x8b\x88\xf2\xba\x87\xa5", false); } // [B1, V7]
17442test { try toAsciiFail("\xf3\xa0\x86\x8b\xd8\x83\xf1\x8f\xa6\xa4.\xe2\x87\x81\xce\xa3\xf2\x8f\x8b\x88\xf2\xba\x87\xa5", true); } // [B1, V7]
17443test { try toUnicodeFail("\xf3\xa0\x86\x8b\xd8\x83\xf1\x8f\xa6\xa4.\xe2\x87\x81\xcf\x83\xf2\x8f\x8b\x88\xf2\xba\x87\xa5"); } // [B1, V7]
17444test { try toAsciiFail("\xf3\xa0\x86\x8b\xd8\x83\xf1\x8f\xa6\xa4.\xe2\x87\x81\xcf\x83\xf2\x8f\x8b\x88\xf2\xba\x87\xa5", false); } // [B1, V7]
17445test { try toAsciiFail("\xf3\xa0\x86\x8b\xd8\x83\xf1\x8f\xa6\xa4.\xe2\x87\x81\xcf\x83\xf2\x8f\x8b\x88\xf2\xba\x87\xa5", true); } // [B1, V7]
17446test { try toUnicodeFail("xn--lfb04106d.xn--4xa964mxv16m8moq"); } // [B1, V7]
17447test { try toAsciiFail("xn--lfb04106d.xn--4xa964mxv16m8moq", false); } // [B1, V7]
17448test { try toAsciiFail("xn--lfb04106d.xn--4xa964mxv16m8moq", true); } // [B1, V7]
17449test { try toUnicodeFail("xn--lfb04106d.xn--3xa174mxv16m8moq"); } // [B1, V7]
17450test { try toAsciiFail("xn--lfb04106d.xn--3xa174mxv16m8moq", false); } // [B1, V7]
17451test { try toAsciiFail("xn--lfb04106d.xn--3xa174mxv16m8moq", true); } // [B1, V7]
17452test { try toUnicodeFail("\xcf\x82\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xef\xbd\xa1\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84"); } // [C1, V7]
17453test { try toAsciiFail("\xcf\x82\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xef\xbd\xa1\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", false); } // [C1, V7]
17454test { try toAsciiFail("\xcf\x82\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xef\xbd\xa1\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", true); } // [V7]
17455test { try toUnicodeFail("\xcf\x82\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xe3\x80\x82\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84"); } // [C1, V7]
17456test { try toAsciiFail("\xcf\x82\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xe3\x80\x82\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", false); } // [C1, V7]
17457test { try toAsciiFail("\xcf\x82\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xe3\x80\x82\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", true); } // [V7]
17458test { try toUnicodeFail("\xce\xa3\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xe3\x80\x82\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84"); } // [C1, V7]
17459test { try toAsciiFail("\xce\xa3\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xe3\x80\x82\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", false); } // [C1, V7]
17460test { try toAsciiFail("\xce\xa3\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xe3\x80\x82\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", true); } // [V7]
17461test { try toUnicodeFail("\xcf\x83\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xe3\x80\x82\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84"); } // [C1, V7]
17462test { try toAsciiFail("\xcf\x83\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xe3\x80\x82\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", false); } // [C1, V7]
17463test { try toAsciiFail("\xcf\x83\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xe3\x80\x82\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", true); } // [V7]
17464test { try toUnicodeFail("xn--4xa2260lk3b8z15g.xn--tw9ct349a"); } // [V7]
17465test { try toAsciiFail("xn--4xa2260lk3b8z15g.xn--tw9ct349a", false); } // [V7]
17466test { try toAsciiFail("xn--4xa2260lk3b8z15g.xn--tw9ct349a", true); } // [V7]
17467test { try toUnicodeFail("xn--4xa2260lk3b8z15g.xn--0ug4653g2xzf"); } // [C1, V7]
17468test { try toAsciiFail("xn--4xa2260lk3b8z15g.xn--0ug4653g2xzf", false); } // [C1, V7]
17469test { try toAsciiFail("xn--4xa2260lk3b8z15g.xn--0ug4653g2xzf", true); } // [C1, V7]
17470test { try toUnicodeFail("xn--3xa4260lk3b8z15g.xn--0ug4653g2xzf"); } // [C1, V7]
17471test { try toAsciiFail("xn--3xa4260lk3b8z15g.xn--0ug4653g2xzf", false); } // [C1, V7]
17472test { try toAsciiFail("xn--3xa4260lk3b8z15g.xn--0ug4653g2xzf", true); } // [C1, V7]
17473test { try toUnicodeFail("\xce\xa3\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xef\xbd\xa1\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84"); } // [C1, V7]
17474test { try toAsciiFail("\xce\xa3\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xef\xbd\xa1\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", false); } // [C1, V7]
17475test { try toAsciiFail("\xce\xa3\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xef\xbd\xa1\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", true); } // [V7]
17476test { try toUnicodeFail("\xcf\x83\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xef\xbd\xa1\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84"); } // [C1, V7]
17477test { try toAsciiFail("\xcf\x83\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xef\xbd\xa1\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", false); } // [C1, V7]
17478test { try toAsciiFail("\xcf\x83\xf0\x91\x90\xbd\xf0\xb5\xa2\x88\xf0\x91\x9c\xab\xef\xbd\xa1\xf0\x9e\xac\xa9\xe2\x80\x8c\xf0\x90\xab\x84", true); } // [V7]
17479test { try toUnicodeFail("-\xf2\xb5\x8f\xbd\xef\xbd\xa1-\xef\xb1\x8c\xdd\x9b"); } // [B1, V3, V7]
17480test { try toAsciiFail("-\xf2\xb5\x8f\xbd\xef\xbd\xa1-\xef\xb1\x8c\xdd\x9b", false); } // [B1, V3, V7]
17481test { try toAsciiFail("-\xf2\xb5\x8f\xbd\xef\xbd\xa1-\xef\xb1\x8c\xdd\x9b", true); } // [B1, V3, V7]
17482test { try toUnicodeFail("-\xf2\xb5\x8f\xbd\xe3\x80\x82-\xd9\x86\xd8\xad\xdd\x9b"); } // [B1, V3, V7]
17483test { try toAsciiFail("-\xf2\xb5\x8f\xbd\xe3\x80\x82-\xd9\x86\xd8\xad\xdd\x9b", false); } // [B1, V3, V7]
17484test { try toAsciiFail("-\xf2\xb5\x8f\xbd\xe3\x80\x82-\xd9\x86\xd8\xad\xdd\x9b", true); } // [B1, V3, V7]
17485test { try toUnicodeFail("xn----o452j.xn----cnc8e38c"); } // [B1, V3, V7]
17486test { try toAsciiFail("xn----o452j.xn----cnc8e38c", false); } // [B1, V3, V7]
17487test { try toAsciiFail("xn----o452j.xn----cnc8e38c", true); } // [B1, V3, V7]
17488test { try toUnicodeFail("\xe2\xba\xa2\xf2\x87\xba\x85\xf0\x9d\x9f\xa4\xef\xbd\xa1\xe2\x80\x8d\xf0\x9f\x9a\xb7"); } // [C2, V7]
17489test { try toAsciiFail("\xe2\xba\xa2\xf2\x87\xba\x85\xf0\x9d\x9f\xa4\xef\xbd\xa1\xe2\x80\x8d\xf0\x9f\x9a\xb7", false); } // [C2, V7]
17490test { try toAsciiFail("\xe2\xba\xa2\xf2\x87\xba\x85\xf0\x9d\x9f\xa4\xef\xbd\xa1\xe2\x80\x8d\xf0\x9f\x9a\xb7", true); } // [V7]
17491test { try toUnicodeFail("\xe2\xba\xa2\xf2\x87\xba\x852\xe3\x80\x82\xe2\x80\x8d\xf0\x9f\x9a\xb7"); } // [C2, V7]
17492test { try toAsciiFail("\xe2\xba\xa2\xf2\x87\xba\x852\xe3\x80\x82\xe2\x80\x8d\xf0\x9f\x9a\xb7", false); } // [C2, V7]
17493test { try toAsciiFail("\xe2\xba\xa2\xf2\x87\xba\x852\xe3\x80\x82\xe2\x80\x8d\xf0\x9f\x9a\xb7", true); } // [V7]
17494test { try toUnicodeFail("xn--2-4jtr4282f.xn--m78h"); } // [V7]
17495test { try toAsciiFail("xn--2-4jtr4282f.xn--m78h", false); } // [V7]
17496test { try toAsciiFail("xn--2-4jtr4282f.xn--m78h", true); } // [V7]
17497test { try toUnicodeFail("xn--2-4jtr4282f.xn--1ugz946p"); } // [C2, V7]
17498test { try toAsciiFail("xn--2-4jtr4282f.xn--1ugz946p", false); } // [C2, V7]
17499test { try toAsciiFail("xn--2-4jtr4282f.xn--1ugz946p", true); } // [C2, V7]
17500test { try toUnicodeFail("\xe0\xb3\xb8\xe2\x80\x8d\xe2\xb7\xbe\xf0\x90\xb9\xb2\xef\xbd\xa1\xf2\xa4\x90\xb6"); } // [B5, B6, C2, V7]
17501test { try toAsciiFail("\xe0\xb3\xb8\xe2\x80\x8d\xe2\xb7\xbe\xf0\x90\xb9\xb2\xef\xbd\xa1\xf2\xa4\x90\xb6", false); } // [B5, B6, C2, V7]
17502test { try toAsciiFail("\xe0\xb3\xb8\xe2\x80\x8d\xe2\xb7\xbe\xf0\x90\xb9\xb2\xef\xbd\xa1\xf2\xa4\x90\xb6", true); } // [B5, B6, V7]
17503test { try toUnicodeFail("\xe0\xb3\xb8\xe2\x80\x8d\xe2\xb7\xbe\xf0\x90\xb9\xb2\xe3\x80\x82\xf2\xa4\x90\xb6"); } // [B5, B6, C2, V7]
17504test { try toAsciiFail("\xe0\xb3\xb8\xe2\x80\x8d\xe2\xb7\xbe\xf0\x90\xb9\xb2\xe3\x80\x82\xf2\xa4\x90\xb6", false); } // [B5, B6, C2, V7]
17505test { try toAsciiFail("\xe0\xb3\xb8\xe2\x80\x8d\xe2\xb7\xbe\xf0\x90\xb9\xb2\xe3\x80\x82\xf2\xa4\x90\xb6", true); } // [B5, B6, V7]
17506test { try toUnicodeFail("xn--hvc220of37m.xn--3e36c"); } // [B5, B6, V7]
17507test { try toAsciiFail("xn--hvc220of37m.xn--3e36c", false); } // [B5, B6, V7]
17508test { try toAsciiFail("xn--hvc220of37m.xn--3e36c", true); } // [B5, B6, V7]
17509test { try toUnicodeFail("xn--hvc488g69j402t.xn--3e36c"); } // [B5, B6, C2, V7]
17510test { try toAsciiFail("xn--hvc488g69j402t.xn--3e36c", false); } // [B5, B6, C2, V7]
17511test { try toAsciiFail("xn--hvc488g69j402t.xn--3e36c", true); } // [B5, B6, C2, V7]
17512test { try toUnicodeFail("\xf0\x90\xb9\xa2\xef\xbc\x8e\xe1\x82\xad\xe2\x82\x89\xe2\x81\xb8"); } // [B1]
17513test { try toAsciiFail("\xf0\x90\xb9\xa2\xef\xbc\x8e\xe1\x82\xad\xe2\x82\x89\xe2\x81\xb8", false); } // [B1]
17514test { try toAsciiFail("\xf0\x90\xb9\xa2\xef\xbc\x8e\xe1\x82\xad\xe2\x82\x89\xe2\x81\xb8", true); } // [B1]
17515test { try toUnicodeFail("\xf0\x90\xb9\xa2.\xe1\x82\xad98"); } // [B1]
17516test { try toAsciiFail("\xf0\x90\xb9\xa2.\xe1\x82\xad98", false); } // [B1]
17517test { try toAsciiFail("\xf0\x90\xb9\xa2.\xe1\x82\xad98", true); } // [B1]
17518test { try toUnicodeFail("\xf0\x90\xb9\xa2.\xe2\xb4\x8d98"); } // [B1]
17519test { try toAsciiFail("\xf0\x90\xb9\xa2.\xe2\xb4\x8d98", false); } // [B1]
17520test { try toAsciiFail("\xf0\x90\xb9\xa2.\xe2\xb4\x8d98", true); } // [B1]
17521test { try toUnicodeFail("xn--9n0d.xn--98-u61a"); } // [B1]
17522test { try toAsciiFail("xn--9n0d.xn--98-u61a", false); } // [B1]
17523test { try toAsciiFail("xn--9n0d.xn--98-u61a", true); } // [B1]
17524test { try toUnicodeFail("\xf0\x90\xb9\xa2\xef\xbc\x8e\xe2\xb4\x8d\xe2\x82\x89\xe2\x81\xb8"); } // [B1]
17525test { try toAsciiFail("\xf0\x90\xb9\xa2\xef\xbc\x8e\xe2\xb4\x8d\xe2\x82\x89\xe2\x81\xb8", false); } // [B1]
17526test { try toAsciiFail("\xf0\x90\xb9\xa2\xef\xbc\x8e\xe2\xb4\x8d\xe2\x82\x89\xe2\x81\xb8", true); } // [B1]
17527test { try toUnicodeFail("xn--9n0d.xn--98-7ek"); } // [B1, V7]
17528test { try toAsciiFail("xn--9n0d.xn--98-7ek", false); } // [B1, V7]
17529test { try toAsciiFail("xn--9n0d.xn--98-7ek", true); } // [B1, V7]
17530test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1\xc3\x9f\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf"); } // [B1, B5, B6, C1, V7]
17531test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1\xc3\x9f\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf", false); } // [B1, B5, B6, C1, V7]
17532test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1\xc3\x9f\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf", true); } // [B5, B6, V7, A4_2]
17533test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1\xc3\x9f\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8"); } // [B1, B5, B6, C1, V7]
17534test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1\xc3\x9f\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8", false); } // [B1, B5, B6, C1, V7]
17535test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1\xc3\x9f\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8", true); } // [B5, B6, V7, A4_2]
17536test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82\xc3\x9f\xe0\xa3\xa219.\xe2\x89\xaf"); } // [B1, B5, C1, V7]
17537test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82\xc3\x9f\xe0\xa3\xa219.\xe2\x89\xaf", false); } // [B1, B5, C1, V7]
17538test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82\xc3\x9f\xe0\xa3\xa219.\xe2\x89\xaf", true); } // [B1, B5, V7, A4_2]
17539test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82\xc3\x9f\xe0\xa3\xa219.>\xcc\xb8"); } // [B1, B5, C1, V7]
17540test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82\xc3\x9f\xe0\xa3\xa219.>\xcc\xb8", false); } // [B1, B5, C1, V7]
17541test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82\xc3\x9f\xe0\xa3\xa219.>\xcc\xb8", true); } // [B1, B5, V7, A4_2]
17542test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82SS\xe0\xa3\xa219.>\xcc\xb8"); } // [B1, B5, C1, V7]
17543test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82SS\xe0\xa3\xa219.>\xcc\xb8", false); } // [B1, B5, C1, V7]
17544test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82SS\xe0\xa3\xa219.>\xcc\xb8", true); } // [B1, B5, V7, A4_2]
17545test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82SS\xe0\xa3\xa219.\xe2\x89\xaf"); } // [B1, B5, C1, V7]
17546test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82SS\xe0\xa3\xa219.\xe2\x89\xaf", false); } // [B1, B5, C1, V7]
17547test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82SS\xe0\xa3\xa219.\xe2\x89\xaf", true); } // [B1, B5, V7, A4_2]
17548test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82ss\xe0\xa3\xa219.\xe2\x89\xaf"); } // [B1, B5, C1, V7]
17549test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82ss\xe0\xa3\xa219.\xe2\x89\xaf", false); } // [B1, B5, C1, V7]
17550test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82ss\xe0\xa3\xa219.\xe2\x89\xaf", true); } // [B1, B5, V7, A4_2]
17551test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82ss\xe0\xa3\xa219.>\xcc\xb8"); } // [B1, B5, C1, V7]
17552test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82ss\xe0\xa3\xa219.>\xcc\xb8", false); } // [B1, B5, C1, V7]
17553test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82ss\xe0\xa3\xa219.>\xcc\xb8", true); } // [B1, B5, V7, A4_2]
17554test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82Ss\xe0\xa3\xa219.>\xcc\xb8"); } // [B1, B5, C1, V7]
17555test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82Ss\xe0\xa3\xa219.>\xcc\xb8", false); } // [B1, B5, C1, V7]
17556test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82Ss\xe0\xa3\xa219.>\xcc\xb8", true); } // [B1, B5, V7, A4_2]
17557test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82Ss\xe0\xa3\xa219.\xe2\x89\xaf"); } // [B1, B5, C1, V7]
17558test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82Ss\xe0\xa3\xa219.\xe2\x89\xaf", false); } // [B1, B5, C1, V7]
17559test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xe3\x80\x82Ss\xe0\xa3\xa219.\xe2\x89\xaf", true); } // [B1, B5, V7, A4_2]
17560test { try toUnicodeFail(".xn--ss19-w0i.xn--hdh"); } // [B1, B5, V7, X4_2]
17561test { try toAsciiFail(".xn--ss19-w0i.xn--hdh", false); } // [B1, B5, V7, A4_2]
17562test { try toAsciiFail(".xn--ss19-w0i.xn--hdh", true); } // [B1, B5, V7, A4_2]
17563test { try toUnicodeFail("xn--0ug.xn--ss19-w0i.xn--hdh"); } // [B1, B5, C1, V7]
17564test { try toAsciiFail("xn--0ug.xn--ss19-w0i.xn--hdh", false); } // [B1, B5, C1, V7]
17565test { try toAsciiFail("xn--0ug.xn--ss19-w0i.xn--hdh", true); } // [B1, B5, C1, V7]
17566test { try toUnicodeFail("xn--0ug.xn--19-fia813f.xn--hdh"); } // [B1, B5, C1, V7]
17567test { try toAsciiFail("xn--0ug.xn--19-fia813f.xn--hdh", false); } // [B1, B5, C1, V7]
17568test { try toAsciiFail("xn--0ug.xn--19-fia813f.xn--hdh", true); } // [B1, B5, C1, V7]
17569test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1SS\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8"); } // [B1, B5, B6, C1, V7]
17570test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1SS\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8", false); } // [B1, B5, B6, C1, V7]
17571test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1SS\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8", true); } // [B5, B6, V7, A4_2]
17572test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1SS\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf"); } // [B1, B5, B6, C1, V7]
17573test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1SS\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf", false); } // [B1, B5, B6, C1, V7]
17574test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1SS\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf", true); } // [B5, B6, V7, A4_2]
17575test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1ss\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf"); } // [B1, B5, B6, C1, V7]
17576test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1ss\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf", false); } // [B1, B5, B6, C1, V7]
17577test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1ss\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf", true); } // [B5, B6, V7, A4_2]
17578test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1ss\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8"); } // [B1, B5, B6, C1, V7]
17579test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1ss\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8", false); } // [B1, B5, B6, C1, V7]
17580test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1ss\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8", true); } // [B5, B6, V7, A4_2]
17581test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1Ss\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8"); } // [B1, B5, B6, C1, V7]
17582test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1Ss\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8", false); } // [B1, B5, B6, C1, V7]
17583test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1Ss\xe0\xa3\xa2\xe2\x92\x9a>\xcc\xb8", true); } // [B5, B6, V7, A4_2]
17584test { try toUnicodeFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1Ss\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf"); } // [B1, B5, B6, C1, V7]
17585test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1Ss\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf", false); } // [B1, B5, B6, C1, V7]
17586test { try toAsciiFail("\xe2\x80\x8c\xcd\x8f\xef\xbd\xa1Ss\xe0\xa3\xa2\xe2\x92\x9a\xe2\x89\xaf", true); } // [B5, B6, V7, A4_2]
17587test { try toUnicodeFail(".xn--ss-9if872xjjc"); } // [B5, B6, V7, X4_2]
17588test { try toAsciiFail(".xn--ss-9if872xjjc", false); } // [B5, B6, V7, A4_2]
17589test { try toAsciiFail(".xn--ss-9if872xjjc", true); } // [B5, B6, V7, A4_2]
17590test { try toUnicodeFail("xn--0ug.xn--ss-9if872xjjc"); } // [B1, B5, B6, C1, V7]
17591test { try toAsciiFail("xn--0ug.xn--ss-9if872xjjc", false); } // [B1, B5, B6, C1, V7]
17592test { try toAsciiFail("xn--0ug.xn--ss-9if872xjjc", true); } // [B1, B5, B6, C1, V7]
17593test { try toUnicodeFail("xn--0ug.xn--zca612bx9vo5b"); } // [B1, B5, B6, C1, V7]
17594test { try toAsciiFail("xn--0ug.xn--zca612bx9vo5b", false); } // [B1, B5, B6, C1, V7]
17595test { try toAsciiFail("xn--0ug.xn--zca612bx9vo5b", true); } // [B1, B5, B6, C1, V7]
17596test { try toUnicodeFail("\xe2\x80\x8c\xf0\x9e\xa5\x8d\xe1\xa1\x8c\xef\xbc\x8e\xf0\xa3\x83\x94"); } // [B1, C1, V7]
17597test { try toAsciiFail("\xe2\x80\x8c\xf0\x9e\xa5\x8d\xe1\xa1\x8c\xef\xbc\x8e\xf0\xa3\x83\x94", false); } // [B1, C1, V7]
17598test { try toAsciiFail("\xe2\x80\x8c\xf0\x9e\xa5\x8d\xe1\xa1\x8c\xef\xbc\x8e\xf0\xa3\x83\x94", true); } // [B2, B3, V7]
17599test { try toUnicodeFail("\xe2\x80\x8c\xf0\x9e\xa5\x8d\xe1\xa1\x8c.\xf0\xa3\x83\x94"); } // [B1, C1, V7]
17600test { try toAsciiFail("\xe2\x80\x8c\xf0\x9e\xa5\x8d\xe1\xa1\x8c.\xf0\xa3\x83\x94", false); } // [B1, C1, V7]
17601test { try toAsciiFail("\xe2\x80\x8c\xf0\x9e\xa5\x8d\xe1\xa1\x8c.\xf0\xa3\x83\x94", true); } // [B2, B3, V7]
17602test { try toUnicodeFail("xn--c8e5919u.xn--od1j"); } // [B2, B3, V7]
17603test { try toAsciiFail("xn--c8e5919u.xn--od1j", false); } // [B2, B3, V7]
17604test { try toAsciiFail("xn--c8e5919u.xn--od1j", true); } // [B2, B3, V7]
17605test { try toUnicodeFail("xn--c8e180bqz13b.xn--od1j"); } // [B1, C1, V7]
17606test { try toAsciiFail("xn--c8e180bqz13b.xn--od1j", false); } // [B1, C1, V7]
17607test { try toAsciiFail("xn--c8e180bqz13b.xn--od1j", true); } // [B1, C1, V7]
17608test { try toUnicodeFail("\xdf\x90\xf2\x9c\xac\x9d-\xf1\xa1\xa2\xac\xe3\x80\x82\xe0\xbe\xa0\xe1\x82\xbb\xf0\x9e\xb7\x8f\xf0\x9d\x86\xac"); } // [B1, B2, B3, V6, V7]
17609test { try toAsciiFail("\xdf\x90\xf2\x9c\xac\x9d-\xf1\xa1\xa2\xac\xe3\x80\x82\xe0\xbe\xa0\xe1\x82\xbb\xf0\x9e\xb7\x8f\xf0\x9d\x86\xac", false); } // [B1, B2, B3, V6, V7]
17610test { try toAsciiFail("\xdf\x90\xf2\x9c\xac\x9d-\xf1\xa1\xa2\xac\xe3\x80\x82\xe0\xbe\xa0\xe1\x82\xbb\xf0\x9e\xb7\x8f\xf0\x9d\x86\xac", true); } // [B1, B2, B3, V6, V7]
17611test { try toUnicodeFail("\xdf\x90\xf2\x9c\xac\x9d-\xf1\xa1\xa2\xac\xe3\x80\x82\xe0\xbe\xa0\xe2\xb4\x9b\xf0\x9e\xb7\x8f\xf0\x9d\x86\xac"); } // [B1, B2, B3, V6, V7]
17612test { try toAsciiFail("\xdf\x90\xf2\x9c\xac\x9d-\xf1\xa1\xa2\xac\xe3\x80\x82\xe0\xbe\xa0\xe2\xb4\x9b\xf0\x9e\xb7\x8f\xf0\x9d\x86\xac", false); } // [B1, B2, B3, V6, V7]
17613test { try toAsciiFail("\xdf\x90\xf2\x9c\xac\x9d-\xf1\xa1\xa2\xac\xe3\x80\x82\xe0\xbe\xa0\xe2\xb4\x9b\xf0\x9e\xb7\x8f\xf0\x9d\x86\xac", true); } // [B1, B2, B3, V6, V7]
17614test { try toUnicodeFail("xn----8bd11730jefvw.xn--wfd802mpm20agsxa"); } // [B1, B2, B3, V6, V7]
17615test { try toAsciiFail("xn----8bd11730jefvw.xn--wfd802mpm20agsxa", false); } // [B1, B2, B3, V6, V7]
17616test { try toAsciiFail("xn----8bd11730jefvw.xn--wfd802mpm20agsxa", true); } // [B1, B2, B3, V6, V7]
17617test { try toUnicodeFail("xn----8bd11730jefvw.xn--wfd08cd265hgsxa"); } // [B1, B2, B3, V6, V7]
17618test { try toAsciiFail("xn----8bd11730jefvw.xn--wfd08cd265hgsxa", false); } // [B1, B2, B3, V6, V7]
17619test { try toAsciiFail("xn----8bd11730jefvw.xn--wfd08cd265hgsxa", true); } // [B1, B2, B3, V6, V7]
17620test { try toUnicodeFail("\xf0\x9d\xa8\xa5\xe3\x80\x82\xe2\xab\x9f\xf0\x91\x88\xbe"); } // [V6]
17621test { try toAsciiFail("\xf0\x9d\xa8\xa5\xe3\x80\x82\xe2\xab\x9f\xf0\x91\x88\xbe", false); } // [V6]
17622test { try toAsciiFail("\xf0\x9d\xa8\xa5\xe3\x80\x82\xe2\xab\x9f\xf0\x91\x88\xbe", true); } // [V6]
17623test { try toUnicodeFail("xn--n82h.xn--63iw010f"); } // [V6]
17624test { try toAsciiFail("xn--n82h.xn--63iw010f", false); } // [V6]
17625test { try toAsciiFail("xn--n82h.xn--63iw010f", true); } // [V6]
17626test { try toUnicodeFail("\xe2\xbe\x9b\xdd\x93.\xe1\x82\xb5\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d"); } // [B5, B6, C2, V7]
17627test { try toAsciiFail("\xe2\xbe\x9b\xdd\x93.\xe1\x82\xb5\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d", false); } // [B5, B6, C2, V7]
17628test { try toAsciiFail("\xe2\xbe\x9b\xdd\x93.\xe1\x82\xb5\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d", true); } // [B5, B6, V7]
17629test { try toUnicodeFail("\xe8\xb5\xb0\xdd\x93.\xe1\x82\xb5\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d"); } // [B5, B6, C2, V7]
17630test { try toAsciiFail("\xe8\xb5\xb0\xdd\x93.\xe1\x82\xb5\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d", false); } // [B5, B6, C2, V7]
17631test { try toAsciiFail("\xe8\xb5\xb0\xdd\x93.\xe1\x82\xb5\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d", true); } // [B5, B6, V7]
17632test { try toUnicodeFail("\xe8\xb5\xb0\xdd\x93.\xe2\xb4\x95\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d"); } // [B5, B6, C2, V7]
17633test { try toAsciiFail("\xe8\xb5\xb0\xdd\x93.\xe2\xb4\x95\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d", false); } // [B5, B6, C2, V7]
17634test { try toAsciiFail("\xe8\xb5\xb0\xdd\x93.\xe2\xb4\x95\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d", true); } // [B5, B6, V7]
17635test { try toUnicodeFail("xn--6ob9779d.xn--mfb511rxu80a"); } // [B5, B6, V7]
17636test { try toAsciiFail("xn--6ob9779d.xn--mfb511rxu80a", false); } // [B5, B6, V7]
17637test { try toAsciiFail("xn--6ob9779d.xn--mfb511rxu80a", true); } // [B5, B6, V7]
17638test { try toUnicodeFail("xn--6ob9779d.xn--mfb444k5gjt754b"); } // [B5, B6, C2, V7]
17639test { try toAsciiFail("xn--6ob9779d.xn--mfb444k5gjt754b", false); } // [B5, B6, C2, V7]
17640test { try toAsciiFail("xn--6ob9779d.xn--mfb444k5gjt754b", true); } // [B5, B6, C2, V7]
17641test { try toUnicodeFail("\xe2\xbe\x9b\xdd\x93.\xe2\xb4\x95\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d"); } // [B5, B6, C2, V7]
17642test { try toAsciiFail("\xe2\xbe\x9b\xdd\x93.\xe2\xb4\x95\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d", false); } // [B5, B6, C2, V7]
17643test { try toAsciiFail("\xe2\xbe\x9b\xdd\x93.\xe2\xb4\x95\xf0\x9e\xa0\xac\xd8\x84\xe2\x80\x8d", true); } // [B5, B6, V7]
17644test { try toUnicodeFail("xn--6ob9779d.xn--mfb785ck569a"); } // [B5, B6, V7]
17645test { try toAsciiFail("xn--6ob9779d.xn--mfb785ck569a", false); } // [B5, B6, V7]
17646test { try toAsciiFail("xn--6ob9779d.xn--mfb785ck569a", true); } // [B5, B6, V7]
17647test { try toUnicodeFail("xn--6ob9779d.xn--mfb785czmm0y85b"); } // [B5, B6, C2, V7]
17648test { try toAsciiFail("xn--6ob9779d.xn--mfb785czmm0y85b", false); } // [B5, B6, C2, V7]
17649test { try toAsciiFail("xn--6ob9779d.xn--mfb785czmm0y85b", true); } // [B5, B6, C2, V7]
17650test { try toUnicodeFail("-\xe1\xa2\x97\xe2\x80\x8c\xf0\x9f\x84\x84.\xf0\x91\x9c\xa2"); } // [C1, V3, V6, U1]
17651test { try toAsciiFail("-\xe1\xa2\x97\xe2\x80\x8c\xf0\x9f\x84\x84.\xf0\x91\x9c\xa2", false); } // [C1, V3, V6, U1]
17652test { try toAsciiFail("-\xe1\xa2\x97\xe2\x80\x8c\xf0\x9f\x84\x84.\xf0\x91\x9c\xa2", true); } // [V3, V6, U1]
17653test { try toUnicodeFail("-\xe1\xa2\x97\xe2\x80\x8c3,.\xf0\x91\x9c\xa2"); } // [C1, V3, V6, U1]
17654test { try toAsciiFail("-\xe1\xa2\x97\xe2\x80\x8c3,.\xf0\x91\x9c\xa2", false); } // [C1, V3, V6, U1]
17655test { try toAsciiFail("-\xe1\xa2\x97\xe2\x80\x8c3,.\xf0\x91\x9c\xa2", true); } // [V3, V6, U1]
17656test { try toUnicodeFail("xn---3,-3eu.xn--9h2d"); } // [V3, V6, U1]
17657test { try toAsciiFail("xn---3,-3eu.xn--9h2d", false); } // [V3, V6, U1]
17658test { try toAsciiFail("xn---3,-3eu.xn--9h2d", true); } // [V3, V6, U1]
17659test { try toUnicodeFail("xn---3,-3eu051c.xn--9h2d"); } // [C1, V3, V6, U1]
17660test { try toAsciiFail("xn---3,-3eu051c.xn--9h2d", false); } // [C1, V3, V6, U1]
17661test { try toAsciiFail("xn---3,-3eu051c.xn--9h2d", true); } // [C1, V3, V6, U1]
17662test { try toUnicodeFail("xn----pck1820x.xn--9h2d"); } // [V3, V6, V7]
17663test { try toAsciiFail("xn----pck1820x.xn--9h2d", false); } // [V3, V6, V7]
17664test { try toAsciiFail("xn----pck1820x.xn--9h2d", true); } // [V3, V6, V7]
17665test { try toUnicodeFail("xn----pck312bx563c.xn--9h2d"); } // [C1, V3, V6, V7]
17666test { try toAsciiFail("xn----pck312bx563c.xn--9h2d", false); } // [C1, V3, V6, V7]
17667test { try toAsciiFail("xn----pck312bx563c.xn--9h2d", true); } // [C1, V3, V6, V7]
17668test { try toUnicodeFail("\xe2\x89\xa0\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe1\x82\xba\xf2\xb3\x84\xa0"); } // [B1, C1, V7]
17669test { try toAsciiFail("\xe2\x89\xa0\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe1\x82\xba\xf2\xb3\x84\xa0", false); } // [B1, C1, V7]
17670test { try toAsciiFail("\xe2\x89\xa0\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe1\x82\xba\xf2\xb3\x84\xa0", true); } // [B1, V7]
17671test { try toUnicodeFail("=\xcc\xb8\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe1\x82\xba\xf2\xb3\x84\xa0"); } // [B1, C1, V7]
17672test { try toAsciiFail("=\xcc\xb8\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe1\x82\xba\xf2\xb3\x84\xa0", false); } // [B1, C1, V7]
17673test { try toAsciiFail("=\xcc\xb8\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe1\x82\xba\xf2\xb3\x84\xa0", true); } // [B1, V7]
17674test { try toUnicodeFail("=\xcc\xb8\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe2\xb4\x9a\xf2\xb3\x84\xa0"); } // [B1, C1, V7]
17675test { try toAsciiFail("=\xcc\xb8\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe2\xb4\x9a\xf2\xb3\x84\xa0", false); } // [B1, C1, V7]
17676test { try toAsciiFail("=\xcc\xb8\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe2\xb4\x9a\xf2\xb3\x84\xa0", true); } // [B1, V7]
17677test { try toUnicodeFail("\xe2\x89\xa0\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe2\xb4\x9a\xf2\xb3\x84\xa0"); } // [B1, C1, V7]
17678test { try toAsciiFail("\xe2\x89\xa0\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe2\xb4\x9a\xf2\xb3\x84\xa0", false); } // [B1, C1, V7]
17679test { try toAsciiFail("\xe2\x89\xa0\xf0\x90\xb8\x81\xf0\xb9\x8f\x81\xe2\x80\x8c.\xe2\xb4\x9a\xf2\xb3\x84\xa0", true); } // [B1, V7]
17680test { try toUnicodeFail("xn--1ch2293gv3nr.xn--ilj23531g"); } // [B1, V7]
17681test { try toAsciiFail("xn--1ch2293gv3nr.xn--ilj23531g", false); } // [B1, V7]
17682test { try toAsciiFail("xn--1ch2293gv3nr.xn--ilj23531g", true); } // [B1, V7]
17683test { try toUnicodeFail("xn--0ug83gn618a21ov.xn--ilj23531g"); } // [B1, C1, V7]
17684test { try toAsciiFail("xn--0ug83gn618a21ov.xn--ilj23531g", false); } // [B1, C1, V7]
17685test { try toAsciiFail("xn--0ug83gn618a21ov.xn--ilj23531g", true); } // [B1, C1, V7]
17686test { try toUnicodeFail("xn--1ch2293gv3nr.xn--ynd49496l"); } // [B1, V7]
17687test { try toAsciiFail("xn--1ch2293gv3nr.xn--ynd49496l", false); } // [B1, V7]
17688test { try toAsciiFail("xn--1ch2293gv3nr.xn--ynd49496l", true); } // [B1, V7]
17689test { try toUnicodeFail("xn--0ug83gn618a21ov.xn--ynd49496l"); } // [B1, C1, V7]
17690test { try toAsciiFail("xn--0ug83gn618a21ov.xn--ynd49496l", false); } // [B1, C1, V7]
17691test { try toAsciiFail("xn--0ug83gn618a21ov.xn--ynd49496l", true); } // [B1, C1, V7]
17692test { try toUnicodeFail("\xd9\xa9\xef\xbd\xa1\xf3\xa0\x87\x80\xf0\x91\x87\x8a"); } // [B1, V6]
17693test { try toAsciiFail("\xd9\xa9\xef\xbd\xa1\xf3\xa0\x87\x80\xf0\x91\x87\x8a", false); } // [B1, V6]
17694test { try toAsciiFail("\xd9\xa9\xef\xbd\xa1\xf3\xa0\x87\x80\xf0\x91\x87\x8a", true); } // [B1, V6]
17695test { try toUnicodeFail("\xd9\xa9\xe3\x80\x82\xf3\xa0\x87\x80\xf0\x91\x87\x8a"); } // [B1, V6]
17696test { try toAsciiFail("\xd9\xa9\xe3\x80\x82\xf3\xa0\x87\x80\xf0\x91\x87\x8a", false); } // [B1, V6]
17697test { try toAsciiFail("\xd9\xa9\xe3\x80\x82\xf3\xa0\x87\x80\xf0\x91\x87\x8a", true); } // [B1, V6]
17698test { try toUnicodeFail("xn--iib.xn--6d1d"); } // [B1, V6]
17699test { try toAsciiFail("xn--iib.xn--6d1d", false); } // [B1, V6]
17700test { try toAsciiFail("xn--iib.xn--6d1d", true); } // [B1, V6]
17701test { try toUnicodeFail("\xe1\x82\x86\xf0\x9e\xb6\x80\xe2\x89\xaf\xe2\x92\x8d\xe3\x80\x82-"); } // [B1, V3, V6, V7]
17702test { try toAsciiFail("\xe1\x82\x86\xf0\x9e\xb6\x80\xe2\x89\xaf\xe2\x92\x8d\xe3\x80\x82-", false); } // [B1, V3, V6, V7]
17703test { try toAsciiFail("\xe1\x82\x86\xf0\x9e\xb6\x80\xe2\x89\xaf\xe2\x92\x8d\xe3\x80\x82-", true); } // [B1, V3, V6, V7]
17704test { try toUnicodeFail("\xe1\x82\x86\xf0\x9e\xb6\x80>\xcc\xb8\xe2\x92\x8d\xe3\x80\x82-"); } // [B1, V3, V6, V7]
17705test { try toAsciiFail("\xe1\x82\x86\xf0\x9e\xb6\x80>\xcc\xb8\xe2\x92\x8d\xe3\x80\x82-", false); } // [B1, V3, V6, V7]
17706test { try toAsciiFail("\xe1\x82\x86\xf0\x9e\xb6\x80>\xcc\xb8\xe2\x92\x8d\xe3\x80\x82-", true); } // [B1, V3, V6, V7]
17707test { try toUnicodeFail("\xe1\x82\x86\xf0\x9e\xb6\x80\xe2\x89\xaf6.\xe3\x80\x82-"); } // [B1, V3, V6, V7, X4_2]
17708test { try toAsciiFail("\xe1\x82\x86\xf0\x9e\xb6\x80\xe2\x89\xaf6.\xe3\x80\x82-", false); } // [B1, V3, V6, V7, A4_2]
17709test { try toAsciiFail("\xe1\x82\x86\xf0\x9e\xb6\x80\xe2\x89\xaf6.\xe3\x80\x82-", true); } // [B1, V3, V6, V7, A4_2]
17710test { try toUnicodeFail("\xe1\x82\x86\xf0\x9e\xb6\x80>\xcc\xb86.\xe3\x80\x82-"); } // [B1, V3, V6, V7, X4_2]
17711test { try toAsciiFail("\xe1\x82\x86\xf0\x9e\xb6\x80>\xcc\xb86.\xe3\x80\x82-", false); } // [B1, V3, V6, V7, A4_2]
17712test { try toAsciiFail("\xe1\x82\x86\xf0\x9e\xb6\x80>\xcc\xb86.\xe3\x80\x82-", true); } // [B1, V3, V6, V7, A4_2]
17713test { try toUnicodeFail("xn--6-oyg968k7h74b..-"); } // [B1, V3, V6, V7, X4_2]
17714test { try toAsciiFail("xn--6-oyg968k7h74b..-", false); } // [B1, V3, V6, V7, A4_2]
17715test { try toAsciiFail("xn--6-oyg968k7h74b..-", true); } // [B1, V3, V6, V7, A4_2]
17716test { try toUnicodeFail("xn--hmd482gqqb8730g.-"); } // [B1, V3, V6, V7]
17717test { try toAsciiFail("xn--hmd482gqqb8730g.-", false); } // [B1, V3, V6, V7]
17718test { try toAsciiFail("xn--hmd482gqqb8730g.-", true); } // [B1, V3, V6, V7]
17719test { try toUnicodeFail("\xe1\x9e\xb4.\xec\xae\x87-"); } // [V3, X4_2]
17720test { try toAsciiFail("\xe1\x9e\xb4.\xec\xae\x87-", false); } // [V3, A4_2]
17721test { try toAsciiFail("\xe1\x9e\xb4.\xec\xae\x87-", true); } // [V3, A4_2]
17722test { try toUnicodeFail("\xe1\x9e\xb4.\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xae-"); } // [V3, X4_2]
17723test { try toAsciiFail("\xe1\x9e\xb4.\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xae-", false); } // [V3, A4_2]
17724test { try toAsciiFail("\xe1\x9e\xb4.\xe1\x84\x8d\xe1\x85\xb0\xe1\x86\xae-", true); } // [V3, A4_2]
17725test { try toUnicodeFail(".xn----938f"); } // [V3, X4_2]
17726test { try toAsciiFail(".xn----938f", false); } // [V3, A4_2]
17727test { try toAsciiFail(".xn----938f", true); } // [V3, A4_2]
17728test { try toUnicodeFail("xn--z3e.xn----938f"); } // [V3, V6, V7]
17729test { try toAsciiFail("xn--z3e.xn----938f", false); } // [V3, V6, V7]
17730test { try toAsciiFail("xn--z3e.xn----938f", true); } // [V3, V6, V7]
17731test { try toUnicodeFail("\xe2\x80\x8c\xf0\x91\x93\x82\xe3\x80\x82\xe2\x92\x88-\xf4\x80\xaa\x9b"); } // [C1, V7]
17732test { try toAsciiFail("\xe2\x80\x8c\xf0\x91\x93\x82\xe3\x80\x82\xe2\x92\x88-\xf4\x80\xaa\x9b", false); } // [C1, V7]
17733test { try toAsciiFail("\xe2\x80\x8c\xf0\x91\x93\x82\xe3\x80\x82\xe2\x92\x88-\xf4\x80\xaa\x9b", true); } // [V6, V7]
17734test { try toUnicodeFail("\xe2\x80\x8c\xf0\x91\x93\x82\xe3\x80\x821.-\xf4\x80\xaa\x9b"); } // [C1, V3, V7]
17735test { try toAsciiFail("\xe2\x80\x8c\xf0\x91\x93\x82\xe3\x80\x821.-\xf4\x80\xaa\x9b", false); } // [C1, V3, V7]
17736test { try toAsciiFail("\xe2\x80\x8c\xf0\x91\x93\x82\xe3\x80\x821.-\xf4\x80\xaa\x9b", true); } // [V3, V6, V7]
17737test { try toUnicodeFail("xn--wz1d.1.xn----rg03o"); } // [V3, V6, V7]
17738test { try toAsciiFail("xn--wz1d.1.xn----rg03o", false); } // [V3, V6, V7]
17739test { try toAsciiFail("xn--wz1d.1.xn----rg03o", true); } // [V3, V6, V7]
17740test { try toUnicodeFail("xn--0ugy057g.1.xn----rg03o"); } // [C1, V3, V7]
17741test { try toAsciiFail("xn--0ugy057g.1.xn----rg03o", false); } // [C1, V3, V7]
17742test { try toAsciiFail("xn--0ugy057g.1.xn----rg03o", true); } // [C1, V3, V7]
17743test { try toUnicodeFail("xn--wz1d.xn----dcp29674o"); } // [V6, V7]
17744test { try toAsciiFail("xn--wz1d.xn----dcp29674o", false); } // [V6, V7]
17745test { try toAsciiFail("xn--wz1d.xn----dcp29674o", true); } // [V6, V7]
17746test { try toUnicodeFail("xn--0ugy057g.xn----dcp29674o"); } // [C1, V7]
17747test { try toAsciiFail("xn--0ugy057g.xn----dcp29674o", false); } // [C1, V7]
17748test { try toAsciiFail("xn--0ugy057g.xn----dcp29674o", true); } // [C1, V7]
17749test { try toUnicodeFail("\xe2\x92\x88\xef\xba\xae\xe2\x80\x8c\xe3\x80\x82\xe2\x83\xa9\xf0\x9f\x96\x9e\xe2\x80\x8c\xf0\x96\xac\xb4"); } // [B1, C1, V6, V7]
17750test { try toAsciiFail("\xe2\x92\x88\xef\xba\xae\xe2\x80\x8c\xe3\x80\x82\xe2\x83\xa9\xf0\x9f\x96\x9e\xe2\x80\x8c\xf0\x96\xac\xb4", false); } // [B1, C1, V6, V7]
17751test { try toAsciiFail("\xe2\x92\x88\xef\xba\xae\xe2\x80\x8c\xe3\x80\x82\xe2\x83\xa9\xf0\x9f\x96\x9e\xe2\x80\x8c\xf0\x96\xac\xb4", true); } // [B1, V6, V7]
17752test { try toUnicodeFail("1.\xd8\xb1\xe2\x80\x8c\xe3\x80\x82\xe2\x83\xa9\xf0\x9f\x96\x9e\xe2\x80\x8c\xf0\x96\xac\xb4"); } // [B1, B3, C1, V6]
17753test { try toAsciiFail("1.\xd8\xb1\xe2\x80\x8c\xe3\x80\x82\xe2\x83\xa9\xf0\x9f\x96\x9e\xe2\x80\x8c\xf0\x96\xac\xb4", false); } // [B1, B3, C1, V6]
17754test { try toAsciiFail("1.\xd8\xb1\xe2\x80\x8c\xe3\x80\x82\xe2\x83\xa9\xf0\x9f\x96\x9e\xe2\x80\x8c\xf0\x96\xac\xb4", true); } // [B1, V6]
17755test { try toUnicodeFail("1.xn--wgb.xn--c1g6021kg18c"); } // [B1, V6]
17756test { try toAsciiFail("1.xn--wgb.xn--c1g6021kg18c", false); } // [B1, V6]
17757test { try toAsciiFail("1.xn--wgb.xn--c1g6021kg18c", true); } // [B1, V6]
17758test { try toUnicodeFail("1.xn--wgb253k.xn--0ugz6a8040fty5d"); } // [B1, B3, C1, V6]
17759test { try toAsciiFail("1.xn--wgb253k.xn--0ugz6a8040fty5d", false); } // [B1, B3, C1, V6]
17760test { try toAsciiFail("1.xn--wgb253k.xn--0ugz6a8040fty5d", true); } // [B1, B3, C1, V6]
17761test { try toUnicodeFail("xn--wgb746m.xn--c1g6021kg18c"); } // [B1, V6, V7]
17762test { try toAsciiFail("xn--wgb746m.xn--c1g6021kg18c", false); } // [B1, V6, V7]
17763test { try toAsciiFail("xn--wgb746m.xn--c1g6021kg18c", true); } // [B1, V6, V7]
17764test { try toUnicodeFail("xn--wgb253kmfd.xn--0ugz6a8040fty5d"); } // [B1, C1, V6, V7]
17765test { try toAsciiFail("xn--wgb253kmfd.xn--0ugz6a8040fty5d", false); } // [B1, C1, V6, V7]
17766test { try toAsciiFail("xn--wgb253kmfd.xn--0ugz6a8040fty5d", true); } // [B1, C1, V6, V7]
17767test { try toUnicodeFail("\xf3\x8c\xad\x87\xef\xbd\xa1\xf0\x9d\x9f\x90\xe1\xae\xa8\xdf\x94"); } // [B1, V7]
17768test { try toAsciiFail("\xf3\x8c\xad\x87\xef\xbd\xa1\xf0\x9d\x9f\x90\xe1\xae\xa8\xdf\x94", false); } // [B1, V7]
17769test { try toAsciiFail("\xf3\x8c\xad\x87\xef\xbd\xa1\xf0\x9d\x9f\x90\xe1\xae\xa8\xdf\x94", true); } // [B1, V7]
17770test { try toUnicodeFail("\xf3\x8c\xad\x87\xe3\x80\x822\xe1\xae\xa8\xdf\x94"); } // [B1, V7]
17771test { try toAsciiFail("\xf3\x8c\xad\x87\xe3\x80\x822\xe1\xae\xa8\xdf\x94", false); } // [B1, V7]
17772test { try toAsciiFail("\xf3\x8c\xad\x87\xe3\x80\x822\xe1\xae\xa8\xdf\x94", true); } // [B1, V7]
17773test { try toUnicodeFail("xn--xm89d.xn--2-icd143m"); } // [B1, V7]
17774test { try toAsciiFail("xn--xm89d.xn--2-icd143m", false); } // [B1, V7]
17775test { try toAsciiFail("xn--xm89d.xn--2-icd143m", true); } // [B1, V7]
17776test { try toUnicodeFail("\xef\xb6\x8f\xf2\xab\xb3\xba.\xcf\x82\xe2\x80\x8d\xf0\x90\xb9\xb7"); } // [B2, B3, B5, B6, C2, V7]
17777test { try toAsciiFail("\xef\xb6\x8f\xf2\xab\xb3\xba.\xcf\x82\xe2\x80\x8d\xf0\x90\xb9\xb7", false); } // [B2, B3, B5, B6, C2, V7]
17778test { try toAsciiFail("\xef\xb6\x8f\xf2\xab\xb3\xba.\xcf\x82\xe2\x80\x8d\xf0\x90\xb9\xb7", true); } // [B2, B3, B5, B6, V7]
17779test { try toUnicodeFail("\xd9\x85\xd8\xae\xd9\x85\xf2\xab\xb3\xba.\xcf\x82\xe2\x80\x8d\xf0\x90\xb9\xb7"); } // [B2, B3, B5, B6, C2, V7]
17780test { try toAsciiFail("\xd9\x85\xd8\xae\xd9\x85\xf2\xab\xb3\xba.\xcf\x82\xe2\x80\x8d\xf0\x90\xb9\xb7", false); } // [B2, B3, B5, B6, C2, V7]
17781test { try toAsciiFail("\xd9\x85\xd8\xae\xd9\x85\xf2\xab\xb3\xba.\xcf\x82\xe2\x80\x8d\xf0\x90\xb9\xb7", true); } // [B2, B3, B5, B6, V7]
17782test { try toUnicodeFail("\xd9\x85\xd8\xae\xd9\x85\xf2\xab\xb3\xba.\xce\xa3\xe2\x80\x8d\xf0\x90\xb9\xb7"); } // [B2, B3, B5, B6, C2, V7]
17783test { try toAsciiFail("\xd9\x85\xd8\xae\xd9\x85\xf2\xab\xb3\xba.\xce\xa3\xe2\x80\x8d\xf0\x90\xb9\xb7", false); } // [B2, B3, B5, B6, C2, V7]
17784test { try toAsciiFail("\xd9\x85\xd8\xae\xd9\x85\xf2\xab\xb3\xba.\xce\xa3\xe2\x80\x8d\xf0\x90\xb9\xb7", true); } // [B2, B3, B5, B6, V7]
17785test { try toUnicodeFail("\xd9\x85\xd8\xae\xd9\x85\xf2\xab\xb3\xba.\xcf\x83\xe2\x80\x8d\xf0\x90\xb9\xb7"); } // [B2, B3, B5, B6, C2, V7]
17786test { try toAsciiFail("\xd9\x85\xd8\xae\xd9\x85\xf2\xab\xb3\xba.\xcf\x83\xe2\x80\x8d\xf0\x90\xb9\xb7", false); } // [B2, B3, B5, B6, C2, V7]
17787test { try toAsciiFail("\xd9\x85\xd8\xae\xd9\x85\xf2\xab\xb3\xba.\xcf\x83\xe2\x80\x8d\xf0\x90\xb9\xb7", true); } // [B2, B3, B5, B6, V7]
17788test { try toUnicodeFail("xn--tgb9bb64691z.xn--4xa6667k"); } // [B2, B3, B5, B6, V7]
17789test { try toAsciiFail("xn--tgb9bb64691z.xn--4xa6667k", false); } // [B2, B3, B5, B6, V7]
17790test { try toAsciiFail("xn--tgb9bb64691z.xn--4xa6667k", true); } // [B2, B3, B5, B6, V7]
17791test { try toUnicodeFail("xn--tgb9bb64691z.xn--4xa895lrp7n"); } // [B2, B3, B5, B6, C2, V7]
17792test { try toAsciiFail("xn--tgb9bb64691z.xn--4xa895lrp7n", false); } // [B2, B3, B5, B6, C2, V7]
17793test { try toAsciiFail("xn--tgb9bb64691z.xn--4xa895lrp7n", true); } // [B2, B3, B5, B6, C2, V7]
17794test { try toUnicodeFail("xn--tgb9bb64691z.xn--3xa006lrp7n"); } // [B2, B3, B5, B6, C2, V7]
17795test { try toAsciiFail("xn--tgb9bb64691z.xn--3xa006lrp7n", false); } // [B2, B3, B5, B6, C2, V7]
17796test { try toAsciiFail("xn--tgb9bb64691z.xn--3xa006lrp7n", true); } // [B2, B3, B5, B6, C2, V7]
17797test { try toUnicodeFail("\xef\xb6\x8f\xf2\xab\xb3\xba.\xce\xa3\xe2\x80\x8d\xf0\x90\xb9\xb7"); } // [B2, B3, B5, B6, C2, V7]
17798test { try toAsciiFail("\xef\xb6\x8f\xf2\xab\xb3\xba.\xce\xa3\xe2\x80\x8d\xf0\x90\xb9\xb7", false); } // [B2, B3, B5, B6, C2, V7]
17799test { try toAsciiFail("\xef\xb6\x8f\xf2\xab\xb3\xba.\xce\xa3\xe2\x80\x8d\xf0\x90\xb9\xb7", true); } // [B2, B3, B5, B6, V7]
17800test { try toUnicodeFail("\xef\xb6\x8f\xf2\xab\xb3\xba.\xcf\x83\xe2\x80\x8d\xf0\x90\xb9\xb7"); } // [B2, B3, B5, B6, C2, V7]
17801test { try toAsciiFail("\xef\xb6\x8f\xf2\xab\xb3\xba.\xcf\x83\xe2\x80\x8d\xf0\x90\xb9\xb7", false); } // [B2, B3, B5, B6, C2, V7]
17802test { try toAsciiFail("\xef\xb6\x8f\xf2\xab\xb3\xba.\xcf\x83\xe2\x80\x8d\xf0\x90\xb9\xb7", true); } // [B2, B3, B5, B6, V7]
17803test { try toUnicodeFail("\xe2\x92\x8e\xdb\x81\xd8\x85\xef\xbd\xa1\xea\xab\xb6\xdb\xb5\xf0\x90\x87\xbd"); } // [B1, V6, V7]
17804test { try toAsciiFail("\xe2\x92\x8e\xdb\x81\xd8\x85\xef\xbd\xa1\xea\xab\xb6\xdb\xb5\xf0\x90\x87\xbd", false); } // [B1, V6, V7]
17805test { try toAsciiFail("\xe2\x92\x8e\xdb\x81\xd8\x85\xef\xbd\xa1\xea\xab\xb6\xdb\xb5\xf0\x90\x87\xbd", true); } // [B1, V6, V7]
17806test { try toUnicodeFail("7.\xdb\x81\xd8\x85\xe3\x80\x82\xea\xab\xb6\xdb\xb5\xf0\x90\x87\xbd"); } // [B1, V6, V7]
17807test { try toAsciiFail("7.\xdb\x81\xd8\x85\xe3\x80\x82\xea\xab\xb6\xdb\xb5\xf0\x90\x87\xbd", false); } // [B1, V6, V7]
17808test { try toAsciiFail("7.\xdb\x81\xd8\x85\xe3\x80\x82\xea\xab\xb6\xdb\xb5\xf0\x90\x87\xbd", true); } // [B1, V6, V7]
17809test { try toUnicodeFail("7.xn--nfb98a.xn--imb3805fxt8b"); } // [B1, V6, V7]
17810test { try toAsciiFail("7.xn--nfb98a.xn--imb3805fxt8b", false); } // [B1, V6, V7]
17811test { try toAsciiFail("7.xn--nfb98a.xn--imb3805fxt8b", true); } // [B1, V6, V7]
17812test { try toUnicodeFail("xn--nfb98ai25e.xn--imb3805fxt8b"); } // [B1, V6, V7]
17813test { try toAsciiFail("xn--nfb98ai25e.xn--imb3805fxt8b", false); } // [B1, V6, V7]
17814test { try toAsciiFail("xn--nfb98ai25e.xn--imb3805fxt8b", true); } // [B1, V6, V7]
17815test { try toUnicodeFail("-\xe1\xa1\xa5\xe1\xa0\x86\xf3\x8d\xb2\xad\xe3\x80\x82\xd8\x85\xe1\xa9\x9d\xf0\x90\xb9\xa1"); } // [B1, V3, V7]
17816test { try toAsciiFail("-\xe1\xa1\xa5\xe1\xa0\x86\xf3\x8d\xb2\xad\xe3\x80\x82\xd8\x85\xe1\xa9\x9d\xf0\x90\xb9\xa1", false); } // [B1, V3, V7]
17817test { try toAsciiFail("-\xe1\xa1\xa5\xe1\xa0\x86\xf3\x8d\xb2\xad\xe3\x80\x82\xd8\x85\xe1\xa9\x9d\xf0\x90\xb9\xa1", true); } // [B1, V3, V7]
17818test { try toUnicodeFail("xn----f3j6s87156i.xn--nfb035hoo2p"); } // [B1, V3, V7]
17819test { try toAsciiFail("xn----f3j6s87156i.xn--nfb035hoo2p", false); } // [B1, V3, V7]
17820test { try toAsciiFail("xn----f3j6s87156i.xn--nfb035hoo2p", true); } // [B1, V3, V7]
17821test { try toUnicodeFail("\xe2\x80\x8d.\xda\xbd\xd9\xa3\xd6\x96"); } // [B1, C2]
17822test { try toAsciiFail("\xe2\x80\x8d.\xda\xbd\xd9\xa3\xd6\x96", false); } // [B1, C2]
17823test { try toAsciiFail("\xe2\x80\x8d.\xda\xbd\xd9\xa3\xd6\x96", true); } // [A4_2]
17824test { try toAsciiFail(".xn--hcb32bni", false); } // [A4_2]
17825test { try toAsciiFail(".xn--hcb32bni", true); } // [A4_2]
17826test { try toUnicodeFail("xn--1ug.xn--hcb32bni"); } // [B1, C2]
17827test { try toAsciiFail("xn--1ug.xn--hcb32bni", false); } // [B1, C2]
17828test { try toAsciiFail("xn--1ug.xn--hcb32bni", true); } // [B1, C2]
17829test { try toUnicodePass("xn--hcb32bni", "\xda\xbd\xd9\xa3\xd6\x96"); }
17830test { try toAsciiPass("xn--hcb32bni", "xn--hcb32bni", false); }
17831test { try toAsciiPass("xn--hcb32bni", "xn--hcb32bni", true); }
17832test { try toUnicodePass("\xda\xbd\xd9\xa3\xd6\x96", "\xda\xbd\xd9\xa3\xd6\x96"); }
17833test { try toAsciiPass("\xda\xbd\xd9\xa3\xd6\x96", "xn--hcb32bni", false); }
17834test { try toAsciiPass("\xda\xbd\xd9\xa3\xd6\x96", "xn--hcb32bni", true); }
17835test { try toUnicodeFail("\xe3\x92\xa7\xdb\xb1.\xe1\x82\xba\xd9\xb8\xe2\x80\x8d"); } // [B5, B6, C2]
17836test { try toAsciiFail("\xe3\x92\xa7\xdb\xb1.\xe1\x82\xba\xd9\xb8\xe2\x80\x8d", false); } // [B5, B6, C2]
17837test { try toAsciiFail("\xe3\x92\xa7\xdb\xb1.\xe1\x82\xba\xd9\xb8\xe2\x80\x8d", true); } // [B5, B6]
17838test { try toUnicodeFail("\xe3\x92\xa7\xdb\xb1.\xe1\x82\xba\xd9\x8a\xd9\xb4\xe2\x80\x8d"); } // [B5, B6, C2]
17839test { try toAsciiFail("\xe3\x92\xa7\xdb\xb1.\xe1\x82\xba\xd9\x8a\xd9\xb4\xe2\x80\x8d", false); } // [B5, B6, C2]
17840test { try toAsciiFail("\xe3\x92\xa7\xdb\xb1.\xe1\x82\xba\xd9\x8a\xd9\xb4\xe2\x80\x8d", true); } // [B5, B6]
17841test { try toUnicodeFail("\xe3\x92\xa7\xdb\xb1.\xe2\xb4\x9a\xd9\x8a\xd9\xb4\xe2\x80\x8d"); } // [B5, B6, C2]
17842test { try toAsciiFail("\xe3\x92\xa7\xdb\xb1.\xe2\xb4\x9a\xd9\x8a\xd9\xb4\xe2\x80\x8d", false); } // [B5, B6, C2]
17843test { try toAsciiFail("\xe3\x92\xa7\xdb\xb1.\xe2\xb4\x9a\xd9\x8a\xd9\xb4\xe2\x80\x8d", true); } // [B5, B6]
17844test { try toUnicodeFail("xn--emb715u.xn--mhb8fy26k"); } // [B5, B6]
17845test { try toAsciiFail("xn--emb715u.xn--mhb8fy26k", false); } // [B5, B6]
17846test { try toAsciiFail("xn--emb715u.xn--mhb8fy26k", true); } // [B5, B6]
17847test { try toUnicodeFail("xn--emb715u.xn--mhb8f960g03l"); } // [B5, B6, C2]
17848test { try toAsciiFail("xn--emb715u.xn--mhb8f960g03l", false); } // [B5, B6, C2]
17849test { try toAsciiFail("xn--emb715u.xn--mhb8f960g03l", true); } // [B5, B6, C2]
17850test { try toUnicodeFail("\xe3\x92\xa7\xdb\xb1.\xe2\xb4\x9a\xd9\xb8\xe2\x80\x8d"); } // [B5, B6, C2]
17851test { try toAsciiFail("\xe3\x92\xa7\xdb\xb1.\xe2\xb4\x9a\xd9\xb8\xe2\x80\x8d", false); } // [B5, B6, C2]
17852test { try toAsciiFail("\xe3\x92\xa7\xdb\xb1.\xe2\xb4\x9a\xd9\xb8\xe2\x80\x8d", true); } // [B5, B6]
17853test { try toUnicodeFail("xn--emb715u.xn--mhb8f817a"); } // [B5, B6, V7]
17854test { try toAsciiFail("xn--emb715u.xn--mhb8f817a", false); } // [B5, B6, V7]
17855test { try toAsciiFail("xn--emb715u.xn--mhb8f817a", true); } // [B5, B6, V7]
17856test { try toUnicodeFail("xn--emb715u.xn--mhb8f817ao2p"); } // [B5, B6, C2, V7]
17857test { try toAsciiFail("xn--emb715u.xn--mhb8f817ao2p", false); } // [B5, B6, C2, V7]
17858test { try toAsciiFail("xn--emb715u.xn--mhb8f817ao2p", true); } // [B5, B6, C2, V7]
17859test { try toUnicodeFail("\xe0\xbe\x94\xea\xa1\x8b-\xef\xbc\x8e-\xf0\x96\xac\xb4"); } // [V3, V6]
17860test { try toAsciiFail("\xe0\xbe\x94\xea\xa1\x8b-\xef\xbc\x8e-\xf0\x96\xac\xb4", false); } // [V3, V6]
17861test { try toAsciiFail("\xe0\xbe\x94\xea\xa1\x8b-\xef\xbc\x8e-\xf0\x96\xac\xb4", true); } // [V3, V6]
17862test { try toUnicodeFail("\xe0\xbe\x94\xea\xa1\x8b-.-\xf0\x96\xac\xb4"); } // [V3, V6]
17863test { try toAsciiFail("\xe0\xbe\x94\xea\xa1\x8b-.-\xf0\x96\xac\xb4", false); } // [V3, V6]
17864test { try toAsciiFail("\xe0\xbe\x94\xea\xa1\x8b-.-\xf0\x96\xac\xb4", true); } // [V3, V6]
17865test { try toUnicodeFail("xn----ukg9938i.xn----4u5m"); } // [V3, V6]
17866test { try toAsciiFail("xn----ukg9938i.xn----4u5m", false); } // [V3, V6]
17867test { try toAsciiFail("xn----ukg9938i.xn----4u5m", true); } // [V3, V6]
17868test { try toUnicodeFail("\xf1\xbf\x92\xb3-\xe2\x8b\xa2\xe2\x80\x8c\xef\xbc\x8e\xe6\xa0\x87-"); } // [C1, V3, V7]
17869test { try toAsciiFail("\xf1\xbf\x92\xb3-\xe2\x8b\xa2\xe2\x80\x8c\xef\xbc\x8e\xe6\xa0\x87-", false); } // [C1, V3, V7]
17870test { try toAsciiFail("\xf1\xbf\x92\xb3-\xe2\x8b\xa2\xe2\x80\x8c\xef\xbc\x8e\xe6\xa0\x87-", true); } // [V3, V7]
17871test { try toUnicodeFail("\xf1\xbf\x92\xb3-\xe2\x8a\x91\xcc\xb8\xe2\x80\x8c\xef\xbc\x8e\xe6\xa0\x87-"); } // [C1, V3, V7]
17872test { try toAsciiFail("\xf1\xbf\x92\xb3-\xe2\x8a\x91\xcc\xb8\xe2\x80\x8c\xef\xbc\x8e\xe6\xa0\x87-", false); } // [C1, V3, V7]
17873test { try toAsciiFail("\xf1\xbf\x92\xb3-\xe2\x8a\x91\xcc\xb8\xe2\x80\x8c\xef\xbc\x8e\xe6\xa0\x87-", true); } // [V3, V7]
17874test { try toUnicodeFail("\xf1\xbf\x92\xb3-\xe2\x8b\xa2\xe2\x80\x8c.\xe6\xa0\x87-"); } // [C1, V3, V7]
17875test { try toAsciiFail("\xf1\xbf\x92\xb3-\xe2\x8b\xa2\xe2\x80\x8c.\xe6\xa0\x87-", false); } // [C1, V3, V7]
17876test { try toAsciiFail("\xf1\xbf\x92\xb3-\xe2\x8b\xa2\xe2\x80\x8c.\xe6\xa0\x87-", true); } // [V3, V7]
17877test { try toUnicodeFail("\xf1\xbf\x92\xb3-\xe2\x8a\x91\xcc\xb8\xe2\x80\x8c.\xe6\xa0\x87-"); } // [C1, V3, V7]
17878test { try toAsciiFail("\xf1\xbf\x92\xb3-\xe2\x8a\x91\xcc\xb8\xe2\x80\x8c.\xe6\xa0\x87-", false); } // [C1, V3, V7]
17879test { try toAsciiFail("\xf1\xbf\x92\xb3-\xe2\x8a\x91\xcc\xb8\xe2\x80\x8c.\xe6\xa0\x87-", true); } // [V3, V7]
17880test { try toUnicodeFail("xn----9mo67451g.xn----qj7b"); } // [V3, V7]
17881test { try toAsciiFail("xn----9mo67451g.xn----qj7b", false); } // [V3, V7]
17882test { try toAsciiFail("xn----9mo67451g.xn----qj7b", true); } // [V3, V7]
17883test { try toUnicodeFail("xn----sgn90kn5663a.xn----qj7b"); } // [C1, V3, V7]
17884test { try toAsciiFail("xn----sgn90kn5663a.xn----qj7b", false); } // [C1, V3, V7]
17885test { try toAsciiFail("xn----sgn90kn5663a.xn----qj7b", true); } // [C1, V3, V7]
17886test { try toUnicodeFail("\xd9\xb1\xef\xbc\x8e\xcf\x82\xdf\x9c"); } // [B5, B6]
17887test { try toAsciiFail("\xd9\xb1\xef\xbc\x8e\xcf\x82\xdf\x9c", false); } // [B5, B6]
17888test { try toAsciiFail("\xd9\xb1\xef\xbc\x8e\xcf\x82\xdf\x9c", true); } // [B5, B6]
17889test { try toUnicodeFail("\xd9\xb1.\xcf\x82\xdf\x9c"); } // [B5, B6]
17890test { try toAsciiFail("\xd9\xb1.\xcf\x82\xdf\x9c", false); } // [B5, B6]
17891test { try toAsciiFail("\xd9\xb1.\xcf\x82\xdf\x9c", true); } // [B5, B6]
17892test { try toUnicodeFail("\xd9\xb1.\xce\xa3\xdf\x9c"); } // [B5, B6]
17893test { try toAsciiFail("\xd9\xb1.\xce\xa3\xdf\x9c", false); } // [B5, B6]
17894test { try toAsciiFail("\xd9\xb1.\xce\xa3\xdf\x9c", true); } // [B5, B6]
17895test { try toUnicodeFail("\xd9\xb1.\xcf\x83\xdf\x9c"); } // [B5, B6]
17896test { try toAsciiFail("\xd9\xb1.\xcf\x83\xdf\x9c", false); } // [B5, B6]
17897test { try toAsciiFail("\xd9\xb1.\xcf\x83\xdf\x9c", true); } // [B5, B6]
17898test { try toUnicodeFail("xn--qib.xn--4xa21s"); } // [B5, B6]
17899test { try toAsciiFail("xn--qib.xn--4xa21s", false); } // [B5, B6]
17900test { try toAsciiFail("xn--qib.xn--4xa21s", true); } // [B5, B6]
17901test { try toUnicodeFail("xn--qib.xn--3xa41s"); } // [B5, B6]
17902test { try toAsciiFail("xn--qib.xn--3xa41s", false); } // [B5, B6]
17903test { try toAsciiFail("xn--qib.xn--3xa41s", true); } // [B5, B6]
17904test { try toUnicodeFail("\xd9\xb1\xef\xbc\x8e\xce\xa3\xdf\x9c"); } // [B5, B6]
17905test { try toAsciiFail("\xd9\xb1\xef\xbc\x8e\xce\xa3\xdf\x9c", false); } // [B5, B6]
17906test { try toAsciiFail("\xd9\xb1\xef\xbc\x8e\xce\xa3\xdf\x9c", true); } // [B5, B6]
17907test { try toUnicodeFail("\xd9\xb1\xef\xbc\x8e\xcf\x83\xdf\x9c"); } // [B5, B6]
17908test { try toAsciiFail("\xd9\xb1\xef\xbc\x8e\xcf\x83\xdf\x9c", false); } // [B5, B6]
17909test { try toAsciiFail("\xd9\xb1\xef\xbc\x8e\xcf\x83\xdf\x9c", true); } // [B5, B6]
17910test { try toUnicodeFail("\xf1\xbc\x88\xb6\xd8\x85\xef\xbc\x8e\xe0\xa3\x81\xe2\x80\x8d\xf0\x91\x91\x82\xf0\xb1\xbc\xb1"); } // [B2, B3, B5, B6, C2, V7]
17911test { try toAsciiFail("\xf1\xbc\x88\xb6\xd8\x85\xef\xbc\x8e\xe0\xa3\x81\xe2\x80\x8d\xf0\x91\x91\x82\xf0\xb1\xbc\xb1", false); } // [B2, B3, B5, B6, C2, V7]
17912test { try toAsciiFail("\xf1\xbc\x88\xb6\xd8\x85\xef\xbc\x8e\xe0\xa3\x81\xe2\x80\x8d\xf0\x91\x91\x82\xf0\xb1\xbc\xb1", true); } // [B2, B3, B5, B6, V7]
17913test { try toUnicodeFail("\xf1\xbc\x88\xb6\xd8\x85.\xe0\xa3\x81\xe2\x80\x8d\xf0\x91\x91\x82\xf0\xb1\xbc\xb1"); } // [B2, B3, B5, B6, C2, V7]
17914test { try toAsciiFail("\xf1\xbc\x88\xb6\xd8\x85.\xe0\xa3\x81\xe2\x80\x8d\xf0\x91\x91\x82\xf0\xb1\xbc\xb1", false); } // [B2, B3, B5, B6, C2, V7]
17915test { try toAsciiFail("\xf1\xbc\x88\xb6\xd8\x85.\xe0\xa3\x81\xe2\x80\x8d\xf0\x91\x91\x82\xf0\xb1\xbc\xb1", true); } // [B2, B3, B5, B6, V7]
17916test { try toUnicodeFail("xn--nfb17942h.xn--nzb6708kx3pn"); } // [B2, B3, B5, B6, V7]
17917test { try toAsciiFail("xn--nfb17942h.xn--nzb6708kx3pn", false); } // [B2, B3, B5, B6, V7]
17918test { try toAsciiFail("xn--nfb17942h.xn--nzb6708kx3pn", true); } // [B2, B3, B5, B6, V7]
17919test { try toUnicodeFail("xn--nfb17942h.xn--nzb240jv06otevq"); } // [B2, B3, B5, B6, C2, V7]
17920test { try toAsciiFail("xn--nfb17942h.xn--nzb240jv06otevq", false); } // [B2, B3, B5, B6, C2, V7]
17921test { try toAsciiFail("xn--nfb17942h.xn--nzb240jv06otevq", true); } // [B2, B3, B5, B6, C2, V7]
17922test { try toUnicodeFail("\xf0\x90\xb9\xbe\xf0\x90\x8b\xa9\xf0\x9e\xb5\x9c\xef\xbd\xa1\xe1\xaf\xb2"); } // [B1, V6, V7]
17923test { try toAsciiFail("\xf0\x90\xb9\xbe\xf0\x90\x8b\xa9\xf0\x9e\xb5\x9c\xef\xbd\xa1\xe1\xaf\xb2", false); } // [B1, V6, V7]
17924test { try toAsciiFail("\xf0\x90\xb9\xbe\xf0\x90\x8b\xa9\xf0\x9e\xb5\x9c\xef\xbd\xa1\xe1\xaf\xb2", true); } // [B1, V6, V7]
17925test { try toUnicodeFail("\xf0\x90\xb9\xbe\xf0\x90\x8b\xa9\xf0\x9e\xb5\x9c\xe3\x80\x82\xe1\xaf\xb2"); } // [B1, V6, V7]
17926test { try toAsciiFail("\xf0\x90\xb9\xbe\xf0\x90\x8b\xa9\xf0\x9e\xb5\x9c\xe3\x80\x82\xe1\xaf\xb2", false); } // [B1, V6, V7]
17927test { try toAsciiFail("\xf0\x90\xb9\xbe\xf0\x90\x8b\xa9\xf0\x9e\xb5\x9c\xe3\x80\x82\xe1\xaf\xb2", true); } // [B1, V6, V7]
17928test { try toUnicodeFail("xn--d97cn8rn44p.xn--0zf"); } // [B1, V6, V7]
17929test { try toAsciiFail("xn--d97cn8rn44p.xn--0zf", false); } // [B1, V6, V7]
17930test { try toAsciiFail("xn--d97cn8rn44p.xn--0zf", true); } // [B1, V6, V7]
17931test { try toUnicodeFail("6\xe1\x85\xa0\xe1\xb0\xb3\xf3\xa0\xb8\xa7.\xf2\x9f\x9c\x8a\xe9\x94\xb0\xdc\xac\xcf\x82"); } // [B1, B5, V7]
17932test { try toAsciiFail("6\xe1\x85\xa0\xe1\xb0\xb3\xf3\xa0\xb8\xa7.\xf2\x9f\x9c\x8a\xe9\x94\xb0\xdc\xac\xcf\x82", false); } // [B1, B5, V7]
17933test { try toAsciiFail("6\xe1\x85\xa0\xe1\xb0\xb3\xf3\xa0\xb8\xa7.\xf2\x9f\x9c\x8a\xe9\x94\xb0\xdc\xac\xcf\x82", true); } // [B1, B5, V7]
17934test { try toUnicodeFail("6\xe1\x85\xa0\xe1\xb0\xb3\xf3\xa0\xb8\xa7.\xf2\x9f\x9c\x8a\xe9\x94\xb0\xdc\xac\xce\xa3"); } // [B1, B5, V7]
17935test { try toAsciiFail("6\xe1\x85\xa0\xe1\xb0\xb3\xf3\xa0\xb8\xa7.\xf2\x9f\x9c\x8a\xe9\x94\xb0\xdc\xac\xce\xa3", false); } // [B1, B5, V7]
17936test { try toAsciiFail("6\xe1\x85\xa0\xe1\xb0\xb3\xf3\xa0\xb8\xa7.\xf2\x9f\x9c\x8a\xe9\x94\xb0\xdc\xac\xce\xa3", true); } // [B1, B5, V7]
17937test { try toUnicodeFail("6\xe1\x85\xa0\xe1\xb0\xb3\xf3\xa0\xb8\xa7.\xf2\x9f\x9c\x8a\xe9\x94\xb0\xdc\xac\xcf\x83"); } // [B1, B5, V7]
17938test { try toAsciiFail("6\xe1\x85\xa0\xe1\xb0\xb3\xf3\xa0\xb8\xa7.\xf2\x9f\x9c\x8a\xe9\x94\xb0\xdc\xac\xcf\x83", false); } // [B1, B5, V7]
17939test { try toAsciiFail("6\xe1\x85\xa0\xe1\xb0\xb3\xf3\xa0\xb8\xa7.\xf2\x9f\x9c\x8a\xe9\x94\xb0\xdc\xac\xcf\x83", true); } // [B1, B5, V7]
17940test { try toUnicodeFail("xn--6-iuly4983p.xn--4xa95ohw6pk078g"); } // [B1, B5, V7]
17941test { try toAsciiFail("xn--6-iuly4983p.xn--4xa95ohw6pk078g", false); } // [B1, B5, V7]
17942test { try toAsciiFail("xn--6-iuly4983p.xn--4xa95ohw6pk078g", true); } // [B1, B5, V7]
17943test { try toUnicodeFail("xn--6-iuly4983p.xn--3xa16ohw6pk078g"); } // [B1, B5, V7]
17944test { try toAsciiFail("xn--6-iuly4983p.xn--3xa16ohw6pk078g", false); } // [B1, B5, V7]
17945test { try toAsciiFail("xn--6-iuly4983p.xn--3xa16ohw6pk078g", true); } // [B1, B5, V7]
17946test { try toUnicodeFail("xn--6-5bh476ewr517a.xn--4xa95ohw6pk078g"); } // [B1, B5, V7]
17947test { try toAsciiFail("xn--6-5bh476ewr517a.xn--4xa95ohw6pk078g", false); } // [B1, B5, V7]
17948test { try toAsciiFail("xn--6-5bh476ewr517a.xn--4xa95ohw6pk078g", true); } // [B1, B5, V7]
17949test { try toUnicodeFail("xn--6-5bh476ewr517a.xn--3xa16ohw6pk078g"); } // [B1, B5, V7]
17950test { try toAsciiFail("xn--6-5bh476ewr517a.xn--3xa16ohw6pk078g", false); } // [B1, B5, V7]
17951test { try toAsciiFail("xn--6-5bh476ewr517a.xn--3xa16ohw6pk078g", true); } // [B1, B5, V7]
17952test { try toUnicodeFail("\xda\xb3\xef\xb8\x84\xf1\x85\x8e\xa6\xf0\x9d\x9f\xbd\xef\xbd\xa1\xf0\x90\xb9\xbd"); } // [B1, B2, V7]
17953test { try toAsciiFail("\xda\xb3\xef\xb8\x84\xf1\x85\x8e\xa6\xf0\x9d\x9f\xbd\xef\xbd\xa1\xf0\x90\xb9\xbd", false); } // [B1, B2, V7]
17954test { try toAsciiFail("\xda\xb3\xef\xb8\x84\xf1\x85\x8e\xa6\xf0\x9d\x9f\xbd\xef\xbd\xa1\xf0\x90\xb9\xbd", true); } // [B1, B2, V7]
17955test { try toUnicodeFail("\xda\xb3\xef\xb8\x84\xf1\x85\x8e\xa67\xe3\x80\x82\xf0\x90\xb9\xbd"); } // [B1, B2, V7]
17956test { try toAsciiFail("\xda\xb3\xef\xb8\x84\xf1\x85\x8e\xa67\xe3\x80\x82\xf0\x90\xb9\xbd", false); } // [B1, B2, V7]
17957test { try toAsciiFail("\xda\xb3\xef\xb8\x84\xf1\x85\x8e\xa67\xe3\x80\x82\xf0\x90\xb9\xbd", true); } // [B1, B2, V7]
17958test { try toUnicodeFail("xn--7-yuc34665f.xn--1o0d"); } // [B1, B2, V7]
17959test { try toAsciiFail("xn--7-yuc34665f.xn--1o0d", false); } // [B1, B2, V7]
17960test { try toAsciiFail("xn--7-yuc34665f.xn--1o0d", true); } // [B1, B2, V7]
17961test { try toUnicodeFail("\xf0\x9e\xae\xa7\xef\xbc\x8e\xe2\x80\x8c\xe2\xab\x9e"); } // [B1, C1, V7]
17962test { try toAsciiFail("\xf0\x9e\xae\xa7\xef\xbc\x8e\xe2\x80\x8c\xe2\xab\x9e", false); } // [B1, C1, V7]
17963test { try toAsciiFail("\xf0\x9e\xae\xa7\xef\xbc\x8e\xe2\x80\x8c\xe2\xab\x9e", true); } // [B1, V7]
17964test { try toUnicodeFail("\xf0\x9e\xae\xa7.\xe2\x80\x8c\xe2\xab\x9e"); } // [B1, C1, V7]
17965test { try toAsciiFail("\xf0\x9e\xae\xa7.\xe2\x80\x8c\xe2\xab\x9e", false); } // [B1, C1, V7]
17966test { try toAsciiFail("\xf0\x9e\xae\xa7.\xe2\x80\x8c\xe2\xab\x9e", true); } // [B1, V7]
17967test { try toUnicodeFail("xn--pw6h.xn--53i"); } // [B1, V7]
17968test { try toAsciiFail("xn--pw6h.xn--53i", false); } // [B1, V7]
17969test { try toAsciiFail("xn--pw6h.xn--53i", true); } // [B1, V7]
17970test { try toUnicodeFail("xn--pw6h.xn--0ug283b"); } // [B1, C1, V7]
17971test { try toAsciiFail("xn--pw6h.xn--0ug283b", false); } // [B1, C1, V7]
17972test { try toAsciiFail("xn--pw6h.xn--0ug283b", true); } // [B1, C1, V7]
17973test { try toUnicodeFail("-\xf1\x95\x89\xb4.\xdb\xa0\xe1\xa2\x9a-"); } // [V3, V6, V7]
17974test { try toAsciiFail("-\xf1\x95\x89\xb4.\xdb\xa0\xe1\xa2\x9a-", false); } // [V3, V6, V7]
17975test { try toAsciiFail("-\xf1\x95\x89\xb4.\xdb\xa0\xe1\xa2\x9a-", true); } // [V3, V6, V7]
17976test { try toUnicodeFail("xn----qi38c.xn----jxc827k"); } // [V3, V6, V7]
17977test { try toAsciiFail("xn----qi38c.xn----jxc827k", false); } // [V3, V6, V7]
17978test { try toAsciiFail("xn----qi38c.xn----jxc827k", true); } // [V3, V6, V7]
17979test { try toUnicodeFail("\xe2\x8c\x81\xe2\x80\x8d\xf0\x91\x84\xb4\xef\xbc\x8e\xe2\x80\x8c\xf0\x9d\x9f\xa9\xd9\xac"); } // [B1, C1, C2]
17980test { try toAsciiFail("\xe2\x8c\x81\xe2\x80\x8d\xf0\x91\x84\xb4\xef\xbc\x8e\xe2\x80\x8c\xf0\x9d\x9f\xa9\xd9\xac", false); } // [B1, C1, C2]
17981test { try toAsciiFail("\xe2\x8c\x81\xe2\x80\x8d\xf0\x91\x84\xb4\xef\xbc\x8e\xe2\x80\x8c\xf0\x9d\x9f\xa9\xd9\xac", true); } // [B1]
17982test { try toUnicodeFail("\xe2\x8c\x81\xe2\x80\x8d\xf0\x91\x84\xb4.\xe2\x80\x8c7\xd9\xac"); } // [B1, C1, C2]
17983test { try toAsciiFail("\xe2\x8c\x81\xe2\x80\x8d\xf0\x91\x84\xb4.\xe2\x80\x8c7\xd9\xac", false); } // [B1, C1, C2]
17984test { try toAsciiFail("\xe2\x8c\x81\xe2\x80\x8d\xf0\x91\x84\xb4.\xe2\x80\x8c7\xd9\xac", true); } // [B1]
17985test { try toUnicodeFail("xn--nhh5394g.xn--7-xqc"); } // [B1]
17986test { try toAsciiFail("xn--nhh5394g.xn--7-xqc", false); } // [B1]
17987test { try toAsciiFail("xn--nhh5394g.xn--7-xqc", true); } // [B1]
17988test { try toUnicodeFail("xn--1ug38i2093a.xn--7-xqc297q"); } // [B1, C1, C2]
17989test { try toAsciiFail("xn--1ug38i2093a.xn--7-xqc297q", false); } // [B1, C1, C2]
17990test { try toAsciiFail("xn--1ug38i2093a.xn--7-xqc297q", true); } // [B1, C1, C2]
17991test { try toUnicodeFail("\xef\xb8\x92\xef\xb4\x85\xe0\xb8\xb7\xef\xbb\xbc\xe3\x80\x82\xe5\xb2\x93\xe1\xaf\xb2\xf3\xa0\xbe\x83\xe1\xa1\x82"); } // [B1, V7]
17992test { try toAsciiFail("\xef\xb8\x92\xef\xb4\x85\xe0\xb8\xb7\xef\xbb\xbc\xe3\x80\x82\xe5\xb2\x93\xe1\xaf\xb2\xf3\xa0\xbe\x83\xe1\xa1\x82", false); } // [B1, V7]
17993test { try toAsciiFail("\xef\xb8\x92\xef\xb4\x85\xe0\xb8\xb7\xef\xbb\xbc\xe3\x80\x82\xe5\xb2\x93\xe1\xaf\xb2\xf3\xa0\xbe\x83\xe1\xa1\x82", true); } // [B1, V7]
17994test { try toUnicodeFail("\xe3\x80\x82\xd8\xb5\xd9\x89\xe0\xb8\xb7\xd9\x84\xd8\xa7\xe3\x80\x82\xe5\xb2\x93\xe1\xaf\xb2\xf3\xa0\xbe\x83\xe1\xa1\x82"); } // [V7, X4_2]
17995test { try toAsciiFail("\xe3\x80\x82\xd8\xb5\xd9\x89\xe0\xb8\xb7\xd9\x84\xd8\xa7\xe3\x80\x82\xe5\xb2\x93\xe1\xaf\xb2\xf3\xa0\xbe\x83\xe1\xa1\x82", false); } // [V7, A4_2]
17996test { try toAsciiFail("\xe3\x80\x82\xd8\xb5\xd9\x89\xe0\xb8\xb7\xd9\x84\xd8\xa7\xe3\x80\x82\xe5\xb2\x93\xe1\xaf\xb2\xf3\xa0\xbe\x83\xe1\xa1\x82", true); } // [V7, A4_2]
17997test { try toUnicodeFail(".xn--mgb1a7bt462h.xn--17e10qe61f9r71s"); } // [V7, X4_2]
17998test { try toAsciiFail(".xn--mgb1a7bt462h.xn--17e10qe61f9r71s", false); } // [V7, A4_2]
17999test { try toAsciiFail(".xn--mgb1a7bt462h.xn--17e10qe61f9r71s", true); } // [V7, A4_2]
18000test { try toUnicodeFail("xn--mgb1a7bt462hf267a.xn--17e10qe61f9r71s"); } // [B1, V7]
18001test { try toAsciiFail("xn--mgb1a7bt462hf267a.xn--17e10qe61f9r71s", false); } // [B1, V7]
18002test { try toAsciiFail("xn--mgb1a7bt462hf267a.xn--17e10qe61f9r71s", true); } // [B1, V7]
18003test { try toUnicodeFail("\xf0\x90\xb9\xa8\xe3\x80\x828\xf0\x91\x81\x86"); } // [B1]
18004test { try toAsciiFail("\xf0\x90\xb9\xa8\xe3\x80\x828\xf0\x91\x81\x86", false); } // [B1]
18005test { try toAsciiFail("\xf0\x90\xb9\xa8\xe3\x80\x828\xf0\x91\x81\x86", true); } // [B1]
18006test { try toUnicodeFail("xn--go0d.xn--8-yu7i"); } // [B1]
18007test { try toAsciiFail("xn--go0d.xn--8-yu7i", false); } // [B1]
18008test { try toAsciiFail("xn--go0d.xn--8-yu7i", true); } // [B1]
18009test { try toUnicodeFail("\xf0\x9e\x80\x95\xe0\xb5\x83\xef\xbc\x8e\xea\xa1\x9a\xe0\xa3\xba\xf0\x90\xb9\xb0\xe0\xb5\x84"); } // [B1, B5, B6, V6]
18010test { try toAsciiFail("\xf0\x9e\x80\x95\xe0\xb5\x83\xef\xbc\x8e\xea\xa1\x9a\xe0\xa3\xba\xf0\x90\xb9\xb0\xe0\xb5\x84", false); } // [B1, B5, B6, V6]
18011test { try toAsciiFail("\xf0\x9e\x80\x95\xe0\xb5\x83\xef\xbc\x8e\xea\xa1\x9a\xe0\xa3\xba\xf0\x90\xb9\xb0\xe0\xb5\x84", true); } // [B1, B5, B6, V6]
18012test { try toUnicodeFail("\xf0\x9e\x80\x95\xe0\xb5\x83.\xea\xa1\x9a\xe0\xa3\xba\xf0\x90\xb9\xb0\xe0\xb5\x84"); } // [B1, B5, B6, V6]
18013test { try toAsciiFail("\xf0\x9e\x80\x95\xe0\xb5\x83.\xea\xa1\x9a\xe0\xa3\xba\xf0\x90\xb9\xb0\xe0\xb5\x84", false); } // [B1, B5, B6, V6]
18014test { try toAsciiFail("\xf0\x9e\x80\x95\xe0\xb5\x83.\xea\xa1\x9a\xe0\xa3\xba\xf0\x90\xb9\xb0\xe0\xb5\x84", true); } // [B1, B5, B6, V6]
18015test { try toUnicodeFail("xn--mxc5210v.xn--90b01t8u2p1ltd"); } // [B1, B5, B6, V6]
18016test { try toAsciiFail("xn--mxc5210v.xn--90b01t8u2p1ltd", false); } // [B1, B5, B6, V6]
18017test { try toAsciiFail("xn--mxc5210v.xn--90b01t8u2p1ltd", true); } // [B1, B5, B6, V6]
18018test { try toUnicodeFail("\xf3\x86\xa9\x8f\xf0\x90\xa6\xb9\xcc\x83\xef\xbd\xa1\xf3\xa0\x8d\x85"); } // [B1, B5, B6, V7]
18019test { try toAsciiFail("\xf3\x86\xa9\x8f\xf0\x90\xa6\xb9\xcc\x83\xef\xbd\xa1\xf3\xa0\x8d\x85", false); } // [B1, B5, B6, V7]
18020test { try toAsciiFail("\xf3\x86\xa9\x8f\xf0\x90\xa6\xb9\xcc\x83\xef\xbd\xa1\xf3\xa0\x8d\x85", true); } // [B1, B5, B6, V7]
18021test { try toUnicodeFail("\xf3\x86\xa9\x8f\xf0\x90\xa6\xb9\xcc\x83\xe3\x80\x82\xf3\xa0\x8d\x85"); } // [B1, B5, B6, V7]
18022test { try toAsciiFail("\xf3\x86\xa9\x8f\xf0\x90\xa6\xb9\xcc\x83\xe3\x80\x82\xf3\xa0\x8d\x85", false); } // [B1, B5, B6, V7]
18023test { try toAsciiFail("\xf3\x86\xa9\x8f\xf0\x90\xa6\xb9\xcc\x83\xe3\x80\x82\xf3\xa0\x8d\x85", true); } // [B1, B5, B6, V7]
18024test { try toUnicodeFail("xn--nsa1265kp9z9e.xn--xt36e"); } // [B1, B5, B6, V7]
18025test { try toAsciiFail("xn--nsa1265kp9z9e.xn--xt36e", false); } // [B1, B5, B6, V7]
18026test { try toAsciiFail("xn--nsa1265kp9z9e.xn--xt36e", true); } // [B1, B5, B6, V7]
18027test { try toUnicodeFail("\xe1\xa2\x8c\xef\xbc\x8e-\xe0\xa1\x9a"); } // [V3]
18028test { try toAsciiFail("\xe1\xa2\x8c\xef\xbc\x8e-\xe0\xa1\x9a", false); } // [V3]
18029test { try toAsciiFail("\xe1\xa2\x8c\xef\xbc\x8e-\xe0\xa1\x9a", true); } // [V3]
18030test { try toUnicodeFail("\xe1\xa2\x8c.-\xe0\xa1\x9a"); } // [V3]
18031test { try toAsciiFail("\xe1\xa2\x8c.-\xe0\xa1\x9a", false); } // [V3]
18032test { try toAsciiFail("\xe1\xa2\x8c.-\xe0\xa1\x9a", true); } // [V3]
18033test { try toUnicodeFail("xn--59e.xn----5jd"); } // [V3]
18034test { try toAsciiFail("xn--59e.xn----5jd", false); } // [V3]
18035test { try toAsciiFail("xn--59e.xn----5jd", true); } // [V3]
18036test { try toUnicodeFail("\xf0\xa5\x9b\x9b\xf0\x91\x98\xb6\xef\xbd\xa1\xf0\x90\xb9\xac\xf0\x90\xb2\xb8\xe0\xaf\x8d"); } // [B1, V7]
18037test { try toAsciiFail("\xf0\xa5\x9b\x9b\xf0\x91\x98\xb6\xef\xbd\xa1\xf0\x90\xb9\xac\xf0\x90\xb2\xb8\xe0\xaf\x8d", false); } // [B1, V7]
18038test { try toAsciiFail("\xf0\xa5\x9b\x9b\xf0\x91\x98\xb6\xef\xbd\xa1\xf0\x90\xb9\xac\xf0\x90\xb2\xb8\xe0\xaf\x8d", true); } // [B1, V7]
18039test { try toUnicodeFail("\xf0\xa5\x9b\x9b\xf0\x91\x98\xb6\xe3\x80\x82\xf0\x90\xb9\xac\xf0\x90\xb2\xb8\xe0\xaf\x8d"); } // [B1, V7]
18040test { try toAsciiFail("\xf0\xa5\x9b\x9b\xf0\x91\x98\xb6\xe3\x80\x82\xf0\x90\xb9\xac\xf0\x90\xb2\xb8\xe0\xaf\x8d", false); } // [B1, V7]
18041test { try toAsciiFail("\xf0\xa5\x9b\x9b\xf0\x91\x98\xb6\xe3\x80\x82\xf0\x90\xb9\xac\xf0\x90\xb2\xb8\xe0\xaf\x8d", true); } // [B1, V7]
18042test { try toUnicodeFail("xn--jb2dj685c.xn--xmc5562kmcb"); } // [B1, V7]
18043test { try toAsciiFail("xn--jb2dj685c.xn--xmc5562kmcb", false); } // [B1, V7]
18044test { try toAsciiFail("xn--jb2dj685c.xn--xmc5562kmcb", true); } // [B1, V7]
18045test { try toUnicodeFail("\xe1\x82\xb0\xdd\xbf\xef\xbc\x8e\xe2\x80\x8c"); } // [B1, B5, B6, C1]
18046test { try toAsciiFail("\xe1\x82\xb0\xdd\xbf\xef\xbc\x8e\xe2\x80\x8c", false); } // [B1, B5, B6, C1]
18047test { try toAsciiFail("\xe1\x82\xb0\xdd\xbf\xef\xbc\x8e\xe2\x80\x8c", true); } // [B5, B6, A4_2]
18048test { try toUnicodeFail("\xe1\x82\xb0\xdd\xbf.\xe2\x80\x8c"); } // [B1, B5, B6, C1]
18049test { try toAsciiFail("\xe1\x82\xb0\xdd\xbf.\xe2\x80\x8c", false); } // [B1, B5, B6, C1]
18050test { try toAsciiFail("\xe1\x82\xb0\xdd\xbf.\xe2\x80\x8c", true); } // [B5, B6, A4_2]
18051test { try toUnicodeFail("\xe2\xb4\x90\xdd\xbf.\xe2\x80\x8c"); } // [B1, B5, B6, C1]
18052test { try toAsciiFail("\xe2\xb4\x90\xdd\xbf.\xe2\x80\x8c", false); } // [B1, B5, B6, C1]
18053test { try toAsciiFail("\xe2\xb4\x90\xdd\xbf.\xe2\x80\x8c", true); } // [B5, B6, A4_2]
18054test { try toUnicodeFail("xn--gqb743q."); } // [B5, B6]
18055test { try toAsciiFail("xn--gqb743q.", false); } // [B5, B6, A4_2]
18056test { try toAsciiFail("xn--gqb743q.", true); } // [B5, B6, A4_2]
18057test { try toUnicodeFail("xn--gqb743q.xn--0ug"); } // [B1, B5, B6, C1]
18058test { try toAsciiFail("xn--gqb743q.xn--0ug", false); } // [B1, B5, B6, C1]
18059test { try toAsciiFail("xn--gqb743q.xn--0ug", true); } // [B1, B5, B6, C1]
18060test { try toUnicodeFail("\xe2\xb4\x90\xdd\xbf\xef\xbc\x8e\xe2\x80\x8c"); } // [B1, B5, B6, C1]
18061test { try toAsciiFail("\xe2\xb4\x90\xdd\xbf\xef\xbc\x8e\xe2\x80\x8c", false); } // [B1, B5, B6, C1]
18062test { try toAsciiFail("\xe2\xb4\x90\xdd\xbf\xef\xbc\x8e\xe2\x80\x8c", true); } // [B5, B6, A4_2]
18063test { try toUnicodeFail("xn--gqb918b."); } // [B5, B6, V7]
18064test { try toAsciiFail("xn--gqb918b.", false); } // [B5, B6, V7, A4_2]
18065test { try toAsciiFail("xn--gqb918b.", true); } // [B5, B6, V7, A4_2]
18066test { try toUnicodeFail("xn--gqb918b.xn--0ug"); } // [B1, B5, B6, C1, V7]
18067test { try toAsciiFail("xn--gqb918b.xn--0ug", false); } // [B1, B5, B6, C1, V7]
18068test { try toAsciiFail("xn--gqb918b.xn--0ug", true); } // [B1, B5, B6, C1, V7]
18069test { try toUnicodeFail("\xf0\x9f\x84\x85\xf0\x91\xb2\x9e-\xe2\x92\x88\xe3\x80\x82\xe2\x80\x8d\xe1\xa0\xa9\xda\xa5"); } // [B1, C2, V7, U1]
18070test { try toAsciiFail("\xf0\x9f\x84\x85\xf0\x91\xb2\x9e-\xe2\x92\x88\xe3\x80\x82\xe2\x80\x8d\xe1\xa0\xa9\xda\xa5", false); } // [B1, C2, V7, U1]
18071test { try toAsciiFail("\xf0\x9f\x84\x85\xf0\x91\xb2\x9e-\xe2\x92\x88\xe3\x80\x82\xe2\x80\x8d\xe1\xa0\xa9\xda\xa5", true); } // [B1, B5, B6, V7, U1]
18072test { try toUnicodeFail("4,\xf0\x91\xb2\x9e-1.\xe3\x80\x82\xe2\x80\x8d\xe1\xa0\xa9\xda\xa5"); } // [B1, C2, U1, X4_2]
18073test { try toAsciiFail("4,\xf0\x91\xb2\x9e-1.\xe3\x80\x82\xe2\x80\x8d\xe1\xa0\xa9\xda\xa5", false); } // [B1, C2, U1, A4_2]
18074test { try toAsciiFail("4,\xf0\x91\xb2\x9e-1.\xe3\x80\x82\xe2\x80\x8d\xe1\xa0\xa9\xda\xa5", true); } // [B1, B5, B6, U1, A4_2]
18075test { try toUnicodeFail("xn--4,-1-w401a..xn--7jb180g"); } // [B1, B5, B6, U1, X4_2]
18076test { try toAsciiFail("xn--4,-1-w401a..xn--7jb180g", false); } // [B1, B5, B6, U1, A4_2]
18077test { try toAsciiFail("xn--4,-1-w401a..xn--7jb180g", true); } // [B1, B5, B6, U1, A4_2]
18078test { try toUnicodeFail("xn--4,-1-w401a..xn--7jb180gexf"); } // [B1, C2, U1, X4_2]
18079test { try toAsciiFail("xn--4,-1-w401a..xn--7jb180gexf", false); } // [B1, C2, U1, A4_2]
18080test { try toAsciiFail("xn--4,-1-w401a..xn--7jb180gexf", true); } // [B1, C2, U1, A4_2]
18081test { try toUnicodeFail("xn--4,--je4aw745l.xn--7jb180g"); } // [B1, B5, B6, V7, U1]
18082test { try toAsciiFail("xn--4,--je4aw745l.xn--7jb180g", false); } // [B1, B5, B6, V7, U1]
18083test { try toAsciiFail("xn--4,--je4aw745l.xn--7jb180g", true); } // [B1, B5, B6, V7, U1]
18084test { try toUnicodeFail("xn--4,--je4aw745l.xn--7jb180gexf"); } // [B1, C2, V7, U1]
18085test { try toAsciiFail("xn--4,--je4aw745l.xn--7jb180gexf", false); } // [B1, C2, V7, U1]
18086test { try toAsciiFail("xn--4,--je4aw745l.xn--7jb180gexf", true); } // [B1, C2, V7, U1]
18087test { try toUnicodeFail("xn----ecp8796hjtvg.xn--7jb180g"); } // [B1, B5, B6, V7]
18088test { try toAsciiFail("xn----ecp8796hjtvg.xn--7jb180g", false); } // [B1, B5, B6, V7]
18089test { try toAsciiFail("xn----ecp8796hjtvg.xn--7jb180g", true); } // [B1, B5, B6, V7]
18090test { try toUnicodeFail("xn----ecp8796hjtvg.xn--7jb180gexf"); } // [B1, C2, V7]
18091test { try toAsciiFail("xn----ecp8796hjtvg.xn--7jb180gexf", false); } // [B1, C2, V7]
18092test { try toAsciiFail("xn----ecp8796hjtvg.xn--7jb180gexf", true); } // [B1, C2, V7]
18093test { try toUnicodeFail("\xf1\x97\x80\xa4\xe3\x80\x82\xf0\x9e\xa4\xaa\xf2\xae\xbf\x8b"); } // [B2, B3, V7]
18094test { try toAsciiFail("\xf1\x97\x80\xa4\xe3\x80\x82\xf0\x9e\xa4\xaa\xf2\xae\xbf\x8b", false); } // [B2, B3, V7]
18095test { try toAsciiFail("\xf1\x97\x80\xa4\xe3\x80\x82\xf0\x9e\xa4\xaa\xf2\xae\xbf\x8b", true); } // [B2, B3, V7]
18096test { try toUnicodeFail("\xf1\x97\x80\xa4\xe3\x80\x82\xf0\x9e\xa4\x88\xf2\xae\xbf\x8b"); } // [B2, B3, V7]
18097test { try toAsciiFail("\xf1\x97\x80\xa4\xe3\x80\x82\xf0\x9e\xa4\x88\xf2\xae\xbf\x8b", false); } // [B2, B3, V7]
18098test { try toAsciiFail("\xf1\x97\x80\xa4\xe3\x80\x82\xf0\x9e\xa4\x88\xf2\xae\xbf\x8b", true); } // [B2, B3, V7]
18099test { try toUnicodeFail("xn--4240a.xn--ie6h83808a"); } // [B2, B3, V7]
18100test { try toAsciiFail("xn--4240a.xn--ie6h83808a", false); } // [B2, B3, V7]
18101test { try toAsciiFail("xn--4240a.xn--ie6h83808a", true); } // [B2, B3, V7]
18102test { try toUnicodeFail("\xd7\x81\xdb\xb2\xef\xbd\xa1\xf0\x90\xae\x8a\xd9\xac\xf0\x9d\xa8\x8a\xe9\x84\xa8"); } // [B1, B2, B3, V6]
18103test { try toAsciiFail("\xd7\x81\xdb\xb2\xef\xbd\xa1\xf0\x90\xae\x8a\xd9\xac\xf0\x9d\xa8\x8a\xe9\x84\xa8", false); } // [B1, B2, B3, V6]
18104test { try toAsciiFail("\xd7\x81\xdb\xb2\xef\xbd\xa1\xf0\x90\xae\x8a\xd9\xac\xf0\x9d\xa8\x8a\xe9\x84\xa8", true); } // [B1, B2, B3, V6]
18105test { try toUnicodeFail("\xd7\x81\xdb\xb2\xe3\x80\x82\xf0\x90\xae\x8a\xd9\xac\xf0\x9d\xa8\x8a\xe9\x84\xa8"); } // [B1, B2, B3, V6]
18106test { try toAsciiFail("\xd7\x81\xdb\xb2\xe3\x80\x82\xf0\x90\xae\x8a\xd9\xac\xf0\x9d\xa8\x8a\xe9\x84\xa8", false); } // [B1, B2, B3, V6]
18107test { try toAsciiFail("\xd7\x81\xdb\xb2\xe3\x80\x82\xf0\x90\xae\x8a\xd9\xac\xf0\x9d\xa8\x8a\xe9\x84\xa8", true); } // [B1, B2, B3, V6]
18108test { try toUnicodeFail("xn--pdb42d.xn--lib6412enztdwv6h"); } // [B1, B2, B3, V6]
18109test { try toAsciiFail("xn--pdb42d.xn--lib6412enztdwv6h", false); } // [B1, B2, B3, V6]
18110test { try toAsciiFail("xn--pdb42d.xn--lib6412enztdwv6h", true); } // [B1, B2, B3, V6]
18111test { try toUnicodeFail("\xf0\x9e\xad\xb3-\xea\xa1\x81\xe3\x80\x82\xe1\xa9\xa9\xe0\xaf\x8d-"); } // [B1, B2, B3, V3, V6, V7]
18112test { try toAsciiFail("\xf0\x9e\xad\xb3-\xea\xa1\x81\xe3\x80\x82\xe1\xa9\xa9\xe0\xaf\x8d-", false); } // [B1, B2, B3, V3, V6, V7]
18113test { try toAsciiFail("\xf0\x9e\xad\xb3-\xea\xa1\x81\xe3\x80\x82\xe1\xa9\xa9\xe0\xaf\x8d-", true); } // [B1, B2, B3, V3, V6, V7]
18114test { try toUnicodeFail("xn----be4e4276f.xn----lze333i"); } // [B1, B2, B3, V3, V6, V7]
18115test { try toAsciiFail("xn----be4e4276f.xn----lze333i", false); } // [B1, B2, B3, V3, V6, V7]
18116test { try toAsciiFail("xn----be4e4276f.xn----lze333i", true); } // [B1, B2, B3, V3, V6, V7]
18117test { try toUnicodeFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8e\xc3\x9f"); } // [V6, V7]
18118test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8e\xc3\x9f", false); } // [V6, V7]
18119test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8e\xc3\x9f", true); } // [V6, V7]
18120test { try toUnicodeFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.\xc3\x9f"); } // [V6, V7]
18121test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.\xc3\x9f", false); } // [V6, V7]
18122test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.\xc3\x9f", true); } // [V6, V7]
18123test { try toUnicodeFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.SS"); } // [V6, V7]
18124test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.SS", false); } // [V6, V7]
18125test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.SS", true); } // [V6, V7]
18126test { try toUnicodeFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.ss"); } // [V6, V7]
18127test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.ss", false); } // [V6, V7]
18128test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.ss", true); } // [V6, V7]
18129test { try toUnicodeFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.Ss"); } // [V6, V7]
18130test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.Ss", false); } // [V6, V7]
18131test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2.Ss", true); } // [V6, V7]
18132test { try toUnicodeFail("xn----9tg11172akr8b.ss"); } // [V6, V7]
18133test { try toAsciiFail("xn----9tg11172akr8b.ss", false); } // [V6, V7]
18134test { try toAsciiFail("xn----9tg11172akr8b.ss", true); } // [V6, V7]
18135test { try toUnicodeFail("xn----9tg11172akr8b.xn--zca"); } // [V6, V7]
18136test { try toAsciiFail("xn----9tg11172akr8b.xn--zca", false); } // [V6, V7]
18137test { try toAsciiFail("xn----9tg11172akr8b.xn--zca", true); } // [V6, V7]
18138test { try toUnicodeFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8eSS"); } // [V6, V7]
18139test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8eSS", false); } // [V6, V7]
18140test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8eSS", true); } // [V6, V7]
18141test { try toUnicodeFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8ess"); } // [V6, V7]
18142test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8ess", false); } // [V6, V7]
18143test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8ess", true); } // [V6, V7]
18144test { try toUnicodeFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8eSs"); } // [V6, V7]
18145test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8eSs", false); } // [V6, V7]
18146test { try toAsciiFail("\xe1\x80\xb9-\xf0\x9a\xae\xad\xf0\x9f\x9e\xa2\xef\xbc\x8eSs", true); } // [V6, V7]
18147test { try toUnicodeFail("\xef\xb3\xb2-\xe2\x80\x8c\xef\xbd\xa1\xe1\x82\xbf\xe2\x80\x8c\xe2\x90\xa3"); } // [B3, B6, C1]
18148test { try toAsciiFail("\xef\xb3\xb2-\xe2\x80\x8c\xef\xbd\xa1\xe1\x82\xbf\xe2\x80\x8c\xe2\x90\xa3", false); } // [B3, B6, C1]
18149test { try toAsciiFail("\xef\xb3\xb2-\xe2\x80\x8c\xef\xbd\xa1\xe1\x82\xbf\xe2\x80\x8c\xe2\x90\xa3", true); } // [B3, B6, V3]
18150test { try toUnicodeFail("\xd9\x80\xd9\x8e\xd9\x91-\xe2\x80\x8c\xe3\x80\x82\xe1\x82\xbf\xe2\x80\x8c\xe2\x90\xa3"); } // [B3, B6, C1]
18151test { try toAsciiFail("\xd9\x80\xd9\x8e\xd9\x91-\xe2\x80\x8c\xe3\x80\x82\xe1\x82\xbf\xe2\x80\x8c\xe2\x90\xa3", false); } // [B3, B6, C1]
18152test { try toAsciiFail("\xd9\x80\xd9\x8e\xd9\x91-\xe2\x80\x8c\xe3\x80\x82\xe1\x82\xbf\xe2\x80\x8c\xe2\x90\xa3", true); } // [B3, B6, V3]
18153test { try toUnicodeFail("\xd9\x80\xd9\x8e\xd9\x91-\xe2\x80\x8c\xe3\x80\x82\xe2\xb4\x9f\xe2\x80\x8c\xe2\x90\xa3"); } // [B3, B6, C1]
18154test { try toAsciiFail("\xd9\x80\xd9\x8e\xd9\x91-\xe2\x80\x8c\xe3\x80\x82\xe2\xb4\x9f\xe2\x80\x8c\xe2\x90\xa3", false); } // [B3, B6, C1]
18155test { try toAsciiFail("\xd9\x80\xd9\x8e\xd9\x91-\xe2\x80\x8c\xe3\x80\x82\xe2\xb4\x9f\xe2\x80\x8c\xe2\x90\xa3", true); } // [B3, B6, V3]
18156test { try toUnicodeFail("xn----eoc6bm.xn--xph904a"); } // [B3, B6, V3]
18157test { try toAsciiFail("xn----eoc6bm.xn--xph904a", false); } // [B3, B6, V3]
18158test { try toAsciiFail("xn----eoc6bm.xn--xph904a", true); } // [B3, B6, V3]
18159test { try toUnicodeFail("xn----eoc6bm0504a.xn--0ug13nd0j"); } // [B3, B6, C1]
18160test { try toAsciiFail("xn----eoc6bm0504a.xn--0ug13nd0j", false); } // [B3, B6, C1]
18161test { try toAsciiFail("xn----eoc6bm0504a.xn--0ug13nd0j", true); } // [B3, B6, C1]
18162test { try toUnicodeFail("\xef\xb3\xb2-\xe2\x80\x8c\xef\xbd\xa1\xe2\xb4\x9f\xe2\x80\x8c\xe2\x90\xa3"); } // [B3, B6, C1]
18163test { try toAsciiFail("\xef\xb3\xb2-\xe2\x80\x8c\xef\xbd\xa1\xe2\xb4\x9f\xe2\x80\x8c\xe2\x90\xa3", false); } // [B3, B6, C1]
18164test { try toAsciiFail("\xef\xb3\xb2-\xe2\x80\x8c\xef\xbd\xa1\xe2\xb4\x9f\xe2\x80\x8c\xe2\x90\xa3", true); } // [B3, B6, V3]
18165test { try toUnicodeFail("xn----eoc6bm.xn--3nd240h"); } // [B3, B6, V3, V7]
18166test { try toAsciiFail("xn----eoc6bm.xn--3nd240h", false); } // [B3, B6, V3, V7]
18167test { try toAsciiFail("xn----eoc6bm.xn--3nd240h", true); } // [B3, B6, V3, V7]
18168test { try toUnicodeFail("xn----eoc6bm0504a.xn--3nd849e05c"); } // [B3, B6, C1, V7]
18169test { try toAsciiFail("xn----eoc6bm0504a.xn--3nd849e05c", false); } // [B3, B6, C1, V7]
18170test { try toAsciiFail("xn----eoc6bm0504a.xn--3nd849e05c", true); } // [B3, B6, C1, V7]
18171test { try toUnicodeFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xef\xbd\xa1\xf1\xa5\x9e\xa7\xe2\x82\x85\xe2\x89\xa0"); } // [C1, C2, V6, V7]
18172test { try toAsciiFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xef\xbd\xa1\xf1\xa5\x9e\xa7\xe2\x82\x85\xe2\x89\xa0", false); } // [C1, C2, V6, V7]
18173test { try toAsciiFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xef\xbd\xa1\xf1\xa5\x9e\xa7\xe2\x82\x85\xe2\x89\xa0", true); } // [V3, V6, V7]
18174test { try toUnicodeFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xef\xbd\xa1\xf1\xa5\x9e\xa7\xe2\x82\x85=\xcc\xb8"); } // [C1, C2, V6, V7]
18175test { try toAsciiFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xef\xbd\xa1\xf1\xa5\x9e\xa7\xe2\x82\x85=\xcc\xb8", false); } // [C1, C2, V6, V7]
18176test { try toAsciiFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xef\xbd\xa1\xf1\xa5\x9e\xa7\xe2\x82\x85=\xcc\xb8", true); } // [V3, V6, V7]
18177test { try toUnicodeFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82\xf1\xa5\x9e\xa75\xe2\x89\xa0"); } // [C1, C2, V6, V7]
18178test { try toAsciiFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82\xf1\xa5\x9e\xa75\xe2\x89\xa0", false); } // [C1, C2, V6, V7]
18179test { try toAsciiFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82\xf1\xa5\x9e\xa75\xe2\x89\xa0", true); } // [V3, V6, V7]
18180test { try toUnicodeFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82\xf1\xa5\x9e\xa75=\xcc\xb8"); } // [C1, C2, V6, V7]
18181test { try toAsciiFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82\xf1\xa5\x9e\xa75=\xcc\xb8", false); } // [C1, C2, V6, V7]
18182test { try toAsciiFail("\xe0\xb5\x8d-\xe2\x80\x8d\xe2\x80\x8c\xe3\x80\x82\xf1\xa5\x9e\xa75=\xcc\xb8", true); } // [V3, V6, V7]
18183test { try toUnicodeFail("xn----jmf.xn--5-ufo50192e"); } // [V3, V6, V7]
18184test { try toAsciiFail("xn----jmf.xn--5-ufo50192e", false); } // [V3, V6, V7]
18185test { try toAsciiFail("xn----jmf.xn--5-ufo50192e", true); } // [V3, V6, V7]
18186test { try toUnicodeFail("xn----jmf215lda.xn--5-ufo50192e"); } // [C1, C2, V6, V7]
18187test { try toAsciiFail("xn----jmf215lda.xn--5-ufo50192e", false); } // [C1, C2, V6, V7]
18188test { try toAsciiFail("xn----jmf215lda.xn--5-ufo50192e", true); } // [C1, C2, V6, V7]
18189test { try toUnicodeFail("\xe9\x94\xa3\xe3\x80\x82\xe0\xa9\x8d\xf3\xa0\x98\xbb\xf3\xa0\x9a\x86"); } // [V6, V7]
18190test { try toAsciiFail("\xe9\x94\xa3\xe3\x80\x82\xe0\xa9\x8d\xf3\xa0\x98\xbb\xf3\xa0\x9a\x86", false); } // [V6, V7]
18191test { try toAsciiFail("\xe9\x94\xa3\xe3\x80\x82\xe0\xa9\x8d\xf3\xa0\x98\xbb\xf3\xa0\x9a\x86", true); } // [V6, V7]
18192test { try toUnicodeFail("xn--gc5a.xn--ybc83044ppga"); } // [V6, V7]
18193test { try toAsciiFail("xn--gc5a.xn--ybc83044ppga", false); } // [V6, V7]
18194test { try toAsciiFail("xn--gc5a.xn--ybc83044ppga", true); } // [V6, V7]
18195test { try toAsciiPass("\xd8\xbd\xf0\x91\x88\xbe\xef\xbc\x8e\xd9\x89\xe2\x80\x8d\xea\xa4\xab", "xn--8gb2338k.xn--lhb0154f", true); }
18196test { try toUnicodeFail("\xd8\xbd\xf0\x91\x88\xbe\xef\xbc\x8e\xd9\x89\xe2\x80\x8d\xea\xa4\xab"); } // [B3, C2]
18197test { try toAsciiFail("\xd8\xbd\xf0\x91\x88\xbe\xef\xbc\x8e\xd9\x89\xe2\x80\x8d\xea\xa4\xab", false); } // [B3, C2]
18198test { try toAsciiPass("\xd8\xbd\xf0\x91\x88\xbe.\xd9\x89\xe2\x80\x8d\xea\xa4\xab", "xn--8gb2338k.xn--lhb0154f", true); }
18199test { try toUnicodeFail("\xd8\xbd\xf0\x91\x88\xbe.\xd9\x89\xe2\x80\x8d\xea\xa4\xab"); } // [B3, C2]
18200test { try toAsciiFail("\xd8\xbd\xf0\x91\x88\xbe.\xd9\x89\xe2\x80\x8d\xea\xa4\xab", false); } // [B3, C2]
18201test { try toUnicodePass("xn--8gb2338k.xn--lhb0154f", "\xd8\xbd\xf0\x91\x88\xbe.\xd9\x89\xea\xa4\xab"); }
18202test { try toAsciiPass("xn--8gb2338k.xn--lhb0154f", "xn--8gb2338k.xn--lhb0154f", false); }
18203test { try toAsciiPass("xn--8gb2338k.xn--lhb0154f", "xn--8gb2338k.xn--lhb0154f", true); }
18204test { try toUnicodePass("\xd8\xbd\xf0\x91\x88\xbe.\xd9\x89\xea\xa4\xab", "\xd8\xbd\xf0\x91\x88\xbe.\xd9\x89\xea\xa4\xab"); }
18205test { try toAsciiPass("\xd8\xbd\xf0\x91\x88\xbe.\xd9\x89\xea\xa4\xab", "xn--8gb2338k.xn--lhb0154f", false); }
18206test { try toAsciiPass("\xd8\xbd\xf0\x91\x88\xbe.\xd9\x89\xea\xa4\xab", "xn--8gb2338k.xn--lhb0154f", true); }
18207test { try toUnicodeFail("xn--8gb2338k.xn--lhb603k060h"); } // [B3, C2]
18208test { try toAsciiFail("xn--8gb2338k.xn--lhb603k060h", false); } // [B3, C2]
18209test { try toAsciiFail("xn--8gb2338k.xn--lhb603k060h", true); } // [B3, C2]
18210test { try toUnicodeFail("\xd9\xa6\xe2\x81\xb4\xe1\x82\xa5\xef\xbc\x8e\xe0\xa2\xbd\xe2\x80\x8c"); } // [B1, B3, C1]
18211test { try toAsciiFail("\xd9\xa6\xe2\x81\xb4\xe1\x82\xa5\xef\xbc\x8e\xe0\xa2\xbd\xe2\x80\x8c", false); } // [B1, B3, C1]
18212test { try toAsciiFail("\xd9\xa6\xe2\x81\xb4\xe1\x82\xa5\xef\xbc\x8e\xe0\xa2\xbd\xe2\x80\x8c", true); } // [B1]
18213test { try toUnicodeFail("\xd9\xa64\xe1\x82\xa5.\xe0\xa2\xbd\xe2\x80\x8c"); } // [B1, B3, C1]
18214test { try toAsciiFail("\xd9\xa64\xe1\x82\xa5.\xe0\xa2\xbd\xe2\x80\x8c", false); } // [B1, B3, C1]
18215test { try toAsciiFail("\xd9\xa64\xe1\x82\xa5.\xe0\xa2\xbd\xe2\x80\x8c", true); } // [B1]
18216test { try toUnicodeFail("\xd9\xa64\xe2\xb4\x85.\xe0\xa2\xbd\xe2\x80\x8c"); } // [B1, B3, C1]
18217test { try toAsciiFail("\xd9\xa64\xe2\xb4\x85.\xe0\xa2\xbd\xe2\x80\x8c", false); } // [B1, B3, C1]
18218test { try toAsciiFail("\xd9\xa64\xe2\xb4\x85.\xe0\xa2\xbd\xe2\x80\x8c", true); } // [B1]
18219test { try toUnicodeFail("xn--4-kqc6770a.xn--jzb"); } // [B1]
18220test { try toAsciiFail("xn--4-kqc6770a.xn--jzb", false); } // [B1]
18221test { try toAsciiFail("xn--4-kqc6770a.xn--jzb", true); } // [B1]
18222test { try toUnicodeFail("xn--4-kqc6770a.xn--jzb840j"); } // [B1, B3, C1]
18223test { try toAsciiFail("xn--4-kqc6770a.xn--jzb840j", false); } // [B1, B3, C1]
18224test { try toAsciiFail("xn--4-kqc6770a.xn--jzb840j", true); } // [B1, B3, C1]
18225test { try toUnicodeFail("\xd9\xa6\xe2\x81\xb4\xe2\xb4\x85\xef\xbc\x8e\xe0\xa2\xbd\xe2\x80\x8c"); } // [B1, B3, C1]
18226test { try toAsciiFail("\xd9\xa6\xe2\x81\xb4\xe2\xb4\x85\xef\xbc\x8e\xe0\xa2\xbd\xe2\x80\x8c", false); } // [B1, B3, C1]
18227test { try toAsciiFail("\xd9\xa6\xe2\x81\xb4\xe2\xb4\x85\xef\xbc\x8e\xe0\xa2\xbd\xe2\x80\x8c", true); } // [B1]
18228test { try toUnicodeFail("xn--4-kqc489e.xn--jzb"); } // [B1, V7]
18229test { try toAsciiFail("xn--4-kqc489e.xn--jzb", false); } // [B1, V7]
18230test { try toAsciiFail("xn--4-kqc489e.xn--jzb", true); } // [B1, V7]
18231test { try toUnicodeFail("xn--4-kqc489e.xn--jzb840j"); } // [B1, B3, C1, V7]
18232test { try toAsciiFail("xn--4-kqc489e.xn--jzb840j", false); } // [B1, B3, C1, V7]
18233test { try toAsciiFail("xn--4-kqc489e.xn--jzb840j", true); } // [B1, B3, C1, V7]
18234test { try toUnicodePass("\xe1\x83\x81\xe1\x82\xb16\xcc\x98\xe3\x80\x82\xc3\x9f\xe1\xac\x83", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.\xc3\x9f\xe1\xac\x83"); }
18235test { try toAsciiPass("\xe1\x83\x81\xe1\x82\xb16\xcc\x98\xe3\x80\x82\xc3\x9f\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--zca894k", false); }
18236test { try toAsciiPass("\xe1\x83\x81\xe1\x82\xb16\xcc\x98\xe3\x80\x82\xc3\x9f\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", true); }
18237test { try toUnicodePass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98\xe3\x80\x82\xc3\x9f\xe1\xac\x83", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.\xc3\x9f\xe1\xac\x83"); }
18238test { try toAsciiPass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98\xe3\x80\x82\xc3\x9f\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--zca894k", false); }
18239test { try toAsciiPass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98\xe3\x80\x82\xc3\x9f\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", true); }
18240test { try toUnicodePass("\xe1\x83\x81\xe1\x82\xb16\xcc\x98\xe3\x80\x82SS\xe1\xac\x83", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.ss\xe1\xac\x83"); }
18241test { try toAsciiPass("\xe1\x83\x81\xe1\x82\xb16\xcc\x98\xe3\x80\x82SS\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", false); }
18242test { try toAsciiPass("\xe1\x83\x81\xe1\x82\xb16\xcc\x98\xe3\x80\x82SS\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", true); }
18243test { try toUnicodePass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98\xe3\x80\x82ss\xe1\xac\x83", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.ss\xe1\xac\x83"); }
18244test { try toAsciiPass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98\xe3\x80\x82ss\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", false); }
18245test { try toAsciiPass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98\xe3\x80\x82ss\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", true); }
18246test { try toUnicodePass("\xe1\x83\x81\xe2\xb4\x916\xcc\x98\xe3\x80\x82Ss\xe1\xac\x83", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.ss\xe1\xac\x83"); }
18247test { try toAsciiPass("\xe1\x83\x81\xe2\xb4\x916\xcc\x98\xe3\x80\x82Ss\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", false); }
18248test { try toAsciiPass("\xe1\x83\x81\xe2\xb4\x916\xcc\x98\xe3\x80\x82Ss\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", true); }
18249test { try toUnicodePass("xn--6-8cb7433a2ba.xn--ss-2vq", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.ss\xe1\xac\x83"); }
18250test { try toAsciiPass("xn--6-8cb7433a2ba.xn--ss-2vq", "xn--6-8cb7433a2ba.xn--ss-2vq", false); }
18251test { try toAsciiPass("xn--6-8cb7433a2ba.xn--ss-2vq", "xn--6-8cb7433a2ba.xn--ss-2vq", true); }
18252test { try toUnicodePass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.ss\xe1\xac\x83", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.ss\xe1\xac\x83"); }
18253test { try toAsciiPass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.ss\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", false); }
18254test { try toAsciiPass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.ss\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", true); }
18255test { try toUnicodePass("\xe1\x83\x81\xe1\x82\xb16\xcc\x98.SS\xe1\xac\x83", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.ss\xe1\xac\x83"); }
18256test { try toAsciiPass("\xe1\x83\x81\xe1\x82\xb16\xcc\x98.SS\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", false); }
18257test { try toAsciiPass("\xe1\x83\x81\xe1\x82\xb16\xcc\x98.SS\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", true); }
18258test { try toUnicodePass("\xe1\x83\x81\xe2\xb4\x916\xcc\x98.Ss\xe1\xac\x83", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.ss\xe1\xac\x83"); }
18259test { try toAsciiPass("\xe1\x83\x81\xe2\xb4\x916\xcc\x98.Ss\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", false); }
18260test { try toAsciiPass("\xe1\x83\x81\xe2\xb4\x916\xcc\x98.Ss\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", true); }
18261test { try toUnicodePass("xn--6-8cb7433a2ba.xn--zca894k", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.\xc3\x9f\xe1\xac\x83"); }
18262test { try toAsciiPass("xn--6-8cb7433a2ba.xn--zca894k", "xn--6-8cb7433a2ba.xn--zca894k", false); }
18263test { try toAsciiPass("xn--6-8cb7433a2ba.xn--zca894k", "xn--6-8cb7433a2ba.xn--zca894k", true); }
18264test { try toUnicodePass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.\xc3\x9f\xe1\xac\x83", "\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.\xc3\x9f\xe1\xac\x83"); }
18265test { try toAsciiPass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.\xc3\x9f\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--zca894k", false); }
18266test { try toAsciiPass("\xe2\xb4\xa1\xe2\xb4\x916\xcc\x98.\xc3\x9f\xe1\xac\x83", "xn--6-8cb7433a2ba.xn--ss-2vq", true); }
18267test { try toUnicodeFail("xn--6-8cb306hms1a.xn--ss-2vq"); } // [V7]
18268test { try toAsciiFail("xn--6-8cb306hms1a.xn--ss-2vq", false); } // [V7]
18269test { try toAsciiFail("xn--6-8cb306hms1a.xn--ss-2vq", true); } // [V7]
18270test { try toUnicodeFail("xn--6-8cb555h2b.xn--ss-2vq"); } // [V7]
18271test { try toAsciiFail("xn--6-8cb555h2b.xn--ss-2vq", false); } // [V7]
18272test { try toAsciiFail("xn--6-8cb555h2b.xn--ss-2vq", true); } // [V7]
18273test { try toUnicodeFail("xn--6-8cb555h2b.xn--zca894k"); } // [V7]
18274test { try toAsciiFail("xn--6-8cb555h2b.xn--zca894k", false); } // [V7]
18275test { try toAsciiFail("xn--6-8cb555h2b.xn--zca894k", true); } // [V7]
18276test { try toUnicodeFail("\xf2\x8b\xa1\x90\xef\xbd\xa1\xe2\x89\xaf\xf0\x91\x8b\xaa"); } // [V7]
18277test { try toAsciiFail("\xf2\x8b\xa1\x90\xef\xbd\xa1\xe2\x89\xaf\xf0\x91\x8b\xaa", false); } // [V7]
18278test { try toAsciiFail("\xf2\x8b\xa1\x90\xef\xbd\xa1\xe2\x89\xaf\xf0\x91\x8b\xaa", true); } // [V7]
18279test { try toUnicodeFail("\xf2\x8b\xa1\x90\xef\xbd\xa1>\xcc\xb8\xf0\x91\x8b\xaa"); } // [V7]
18280test { try toAsciiFail("\xf2\x8b\xa1\x90\xef\xbd\xa1>\xcc\xb8\xf0\x91\x8b\xaa", false); } // [V7]
18281test { try toAsciiFail("\xf2\x8b\xa1\x90\xef\xbd\xa1>\xcc\xb8\xf0\x91\x8b\xaa", true); } // [V7]
18282test { try toUnicodeFail("\xf2\x8b\xa1\x90\xe3\x80\x82\xe2\x89\xaf\xf0\x91\x8b\xaa"); } // [V7]
18283test { try toAsciiFail("\xf2\x8b\xa1\x90\xe3\x80\x82\xe2\x89\xaf\xf0\x91\x8b\xaa", false); } // [V7]
18284test { try toAsciiFail("\xf2\x8b\xa1\x90\xe3\x80\x82\xe2\x89\xaf\xf0\x91\x8b\xaa", true); } // [V7]
18285test { try toUnicodeFail("\xf2\x8b\xa1\x90\xe3\x80\x82>\xcc\xb8\xf0\x91\x8b\xaa"); } // [V7]
18286test { try toAsciiFail("\xf2\x8b\xa1\x90\xe3\x80\x82>\xcc\xb8\xf0\x91\x8b\xaa", false); } // [V7]
18287test { try toAsciiFail("\xf2\x8b\xa1\x90\xe3\x80\x82>\xcc\xb8\xf0\x91\x8b\xaa", true); } // [V7]
18288test { try toUnicodeFail("xn--eo08b.xn--hdh3385g"); } // [V7]
18289test { try toAsciiFail("xn--eo08b.xn--hdh3385g", false); } // [V7]
18290test { try toAsciiFail("xn--eo08b.xn--hdh3385g", true); } // [V7]
18291test { try toUnicodeFail("\xd9\x9a\xdb\xb2\xe3\x80\x82\xe2\x80\x8c-\xe1\xaf\xb3\xe0\xa3\xa2"); } // [B1, C1, V6, V7]
18292test { try toAsciiFail("\xd9\x9a\xdb\xb2\xe3\x80\x82\xe2\x80\x8c-\xe1\xaf\xb3\xe0\xa3\xa2", false); } // [B1, C1, V6, V7]
18293test { try toAsciiFail("\xd9\x9a\xdb\xb2\xe3\x80\x82\xe2\x80\x8c-\xe1\xaf\xb3\xe0\xa3\xa2", true); } // [B1, V3, V6, V7]
18294test { try toUnicodeFail("xn--2hb81a.xn----xrd657l"); } // [B1, V3, V6, V7]
18295test { try toAsciiFail("xn--2hb81a.xn----xrd657l", false); } // [B1, V3, V6, V7]
18296test { try toAsciiFail("xn--2hb81a.xn----xrd657l", true); } // [B1, V3, V6, V7]
18297test { try toUnicodeFail("xn--2hb81a.xn----xrd657l30d"); } // [B1, C1, V6, V7]
18298test { try toAsciiFail("xn--2hb81a.xn----xrd657l30d", false); } // [B1, C1, V6, V7]
18299test { try toAsciiFail("xn--2hb81a.xn----xrd657l30d", true); } // [B1, C1, V6, V7]
18300test { try toUnicodeFail("\xf3\xa0\x84\x8f\xf0\x96\xac\xb4\xf3\xa0\xb2\xbd\xef\xbd\xa1\xef\xbe\xa0"); } // [V6, V7]
18301test { try toAsciiFail("\xf3\xa0\x84\x8f\xf0\x96\xac\xb4\xf3\xa0\xb2\xbd\xef\xbd\xa1\xef\xbe\xa0", false); } // [V6, V7, A4_2]
18302test { try toAsciiFail("\xf3\xa0\x84\x8f\xf0\x96\xac\xb4\xf3\xa0\xb2\xbd\xef\xbd\xa1\xef\xbe\xa0", true); } // [V6, V7, A4_2]
18303test { try toUnicodeFail("\xf3\xa0\x84\x8f\xf0\x96\xac\xb4\xf3\xa0\xb2\xbd\xe3\x80\x82\xe1\x85\xa0"); } // [V6, V7]
18304test { try toAsciiFail("\xf3\xa0\x84\x8f\xf0\x96\xac\xb4\xf3\xa0\xb2\xbd\xe3\x80\x82\xe1\x85\xa0", false); } // [V6, V7, A4_2]
18305test { try toAsciiFail("\xf3\xa0\x84\x8f\xf0\x96\xac\xb4\xf3\xa0\xb2\xbd\xe3\x80\x82\xe1\x85\xa0", true); } // [V6, V7, A4_2]
18306test { try toUnicodeFail("xn--619ep9154c."); } // [V6, V7]
18307test { try toAsciiFail("xn--619ep9154c.", false); } // [V6, V7, A4_2]
18308test { try toAsciiFail("xn--619ep9154c.", true); } // [V6, V7, A4_2]
18309test { try toUnicodeFail("xn--619ep9154c.xn--psd"); } // [V6, V7]
18310test { try toAsciiFail("xn--619ep9154c.xn--psd", false); } // [V6, V7]
18311test { try toAsciiFail("xn--619ep9154c.xn--psd", true); } // [V6, V7]
18312test { try toUnicodeFail("xn--619ep9154c.xn--cl7c"); } // [V6, V7]
18313test { try toAsciiFail("xn--619ep9154c.xn--cl7c", false); } // [V6, V7]
18314test { try toAsciiFail("xn--619ep9154c.xn--cl7c", true); } // [V6, V7]
18315test { try toUnicodeFail("\xc3\x9f\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf"); } // [B5, V7]
18316test { try toAsciiFail("\xc3\x9f\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", false); } // [B5, V7]
18317test { try toAsciiFail("\xc3\x9f\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", true); } // [B5, V7]
18318test { try toUnicodeFail("\xc3\x9f1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf"); } // [B2, B3, B5, V7]
18319test { try toAsciiFail("\xc3\x9f1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", false); } // [B2, B3, B5, V7]
18320test { try toAsciiFail("\xc3\x9f1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", true); } // [B2, B3, B5, V7]
18321test { try toUnicodeFail("SS1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf"); } // [B2, B3, B5, V7]
18322test { try toAsciiFail("SS1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", false); } // [B2, B3, B5, V7]
18323test { try toAsciiFail("SS1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", true); } // [B2, B3, B5, V7]
18324test { try toUnicodeFail("ss1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf"); } // [B2, B3, B5, V7]
18325test { try toAsciiFail("ss1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", false); } // [B2, B3, B5, V7]
18326test { try toAsciiFail("ss1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", true); } // [B2, B3, B5, V7]
18327test { try toUnicodeFail("Ss1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf"); } // [B2, B3, B5, V7]
18328test { try toAsciiFail("Ss1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", false); } // [B2, B3, B5, V7]
18329test { try toAsciiFail("Ss1.\xdd\xa0\xed\x9e\xae.\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", true); } // [B2, B3, B5, V7]
18330test { try toUnicodeFail("ss1.xn--kpb6677h.xn--nfb09923ifkyyb"); } // [B2, B3, B5, V7]
18331test { try toAsciiFail("ss1.xn--kpb6677h.xn--nfb09923ifkyyb", false); } // [B2, B3, B5, V7]
18332test { try toAsciiFail("ss1.xn--kpb6677h.xn--nfb09923ifkyyb", true); } // [B2, B3, B5, V7]
18333test { try toUnicodeFail("xn--1-pfa.xn--kpb6677h.xn--nfb09923ifkyyb"); } // [B2, B3, B5, V7]
18334test { try toAsciiFail("xn--1-pfa.xn--kpb6677h.xn--nfb09923ifkyyb", false); } // [B2, B3, B5, V7]
18335test { try toAsciiFail("xn--1-pfa.xn--kpb6677h.xn--nfb09923ifkyyb", true); } // [B2, B3, B5, V7]
18336test { try toUnicodeFail("SS\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf"); } // [B5, V7]
18337test { try toAsciiFail("SS\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", false); } // [B5, V7]
18338test { try toAsciiFail("SS\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", true); } // [B5, V7]
18339test { try toUnicodeFail("ss\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf"); } // [B5, V7]
18340test { try toAsciiFail("ss\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", false); } // [B5, V7]
18341test { try toAsciiFail("ss\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", true); } // [B5, V7]
18342test { try toUnicodeFail("Ss\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf"); } // [B5, V7]
18343test { try toAsciiFail("Ss\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", false); } // [B5, V7]
18344test { try toAsciiFail("Ss\xe2\x92\x88\xdd\xa0\xed\x9e\xae\xef\xbc\x8e\xf4\x89\x96\xb2\xf3\xa0\x85\x84\xd8\x85\xf2\x89\x94\xaf", true); } // [B5, V7]
18345test { try toUnicodeFail("xn--ss-6ke9690a0g1q.xn--nfb09923ifkyyb"); } // [B5, V7]
18346test { try toAsciiFail("xn--ss-6ke9690a0g1q.xn--nfb09923ifkyyb", false); } // [B5, V7]
18347test { try toAsciiFail("xn--ss-6ke9690a0g1q.xn--nfb09923ifkyyb", true); } // [B5, V7]
18348test { try toUnicodeFail("xn--zca444a0s1ao12n.xn--nfb09923ifkyyb"); } // [B5, V7]
18349test { try toAsciiFail("xn--zca444a0s1ao12n.xn--nfb09923ifkyyb", false); } // [B5, V7]
18350test { try toAsciiFail("xn--zca444a0s1ao12n.xn--nfb09923ifkyyb", true); } // [B5, V7]
18351test { try toUnicodeFail("\xf3\xa0\xad\x94.\xf0\x90\x8b\xb1\xe2\x82\x82"); } // [V7]
18352test { try toAsciiFail("\xf3\xa0\xad\x94.\xf0\x90\x8b\xb1\xe2\x82\x82", false); } // [V7]
18353test { try toAsciiFail("\xf3\xa0\xad\x94.\xf0\x90\x8b\xb1\xe2\x82\x82", true); } // [V7]
18354test { try toUnicodeFail("\xf3\xa0\xad\x94.\xf0\x90\x8b\xb12"); } // [V7]
18355test { try toAsciiFail("\xf3\xa0\xad\x94.\xf0\x90\x8b\xb12", false); } // [V7]
18356test { try toAsciiFail("\xf3\xa0\xad\x94.\xf0\x90\x8b\xb12", true); } // [V7]
18357test { try toUnicodeFail("xn--vi56e.xn--2-w91i"); } // [V7]
18358test { try toAsciiFail("xn--vi56e.xn--2-w91i", false); } // [V7]
18359test { try toAsciiFail("xn--vi56e.xn--2-w91i", true); } // [V7]
18360test { try toUnicodeFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-\xc3\x9f\xda\xa5\xe2\x80\x8c"); } // [B1, C1, V3]
18361test { try toAsciiFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-\xc3\x9f\xda\xa5\xe2\x80\x8c", false); } // [B1, C1, V3]
18362test { try toAsciiFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-\xc3\x9f\xda\xa5\xe2\x80\x8c", true); } // [B1, V3]
18363test { try toUnicodeFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-SS\xda\xa5\xe2\x80\x8c"); } // [B1, C1, V3]
18364test { try toAsciiFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-SS\xda\xa5\xe2\x80\x8c", false); } // [B1, C1, V3]
18365test { try toAsciiFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-SS\xda\xa5\xe2\x80\x8c", true); } // [B1, V3]
18366test { try toUnicodeFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-ss\xda\xa5\xe2\x80\x8c"); } // [B1, C1, V3]
18367test { try toAsciiFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-ss\xda\xa5\xe2\x80\x8c", false); } // [B1, C1, V3]
18368test { try toAsciiFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-ss\xda\xa5\xe2\x80\x8c", true); } // [B1, V3]
18369test { try toUnicodeFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-Ss\xda\xa5\xe2\x80\x8c"); } // [B1, C1, V3]
18370test { try toAsciiFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-Ss\xda\xa5\xe2\x80\x8c", false); } // [B1, C1, V3]
18371test { try toAsciiFail("\xdc\x96\xe0\xa5\x87\xe3\x80\x82-Ss\xda\xa5\xe2\x80\x8c", true); } // [B1, V3]
18372test { try toUnicodeFail("xn--gnb63i.xn---ss-4ef"); } // [B1, V3]
18373test { try toAsciiFail("xn--gnb63i.xn---ss-4ef", false); } // [B1, V3]
18374test { try toAsciiFail("xn--gnb63i.xn---ss-4ef", true); } // [B1, V3]
18375test { try toUnicodeFail("xn--gnb63i.xn---ss-4ef9263a"); } // [B1, C1, V3]
18376test { try toAsciiFail("xn--gnb63i.xn---ss-4ef9263a", false); } // [B1, C1, V3]
18377test { try toAsciiFail("xn--gnb63i.xn---ss-4ef9263a", true); } // [B1, C1, V3]
18378test { try toUnicodeFail("xn--gnb63i.xn----qfa845bhx4a"); } // [B1, C1, V3]
18379test { try toAsciiFail("xn--gnb63i.xn----qfa845bhx4a", false); } // [B1, C1, V3]
18380test { try toAsciiFail("xn--gnb63i.xn----qfa845bhx4a", true); } // [B1, C1, V3]
18381test { try toUnicodeFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88\xef\xbc\x8e\xe1\xb3\x95\xe4\xb7\x89\xe1\x83\x81"); } // [B1, C2, V6, V7]
18382test { try toAsciiFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88\xef\xbc\x8e\xe1\xb3\x95\xe4\xb7\x89\xe1\x83\x81", false); } // [B1, C2, V6, V7]
18383test { try toAsciiFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88\xef\xbc\x8e\xe1\xb3\x95\xe4\xb7\x89\xe1\x83\x81", true); } // [B1, V6, V7]
18384test { try toUnicodeFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88.\xe1\xb3\x95\xe4\xb7\x89\xe1\x83\x81"); } // [B1, C2, V6, V7]
18385test { try toAsciiFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88.\xe1\xb3\x95\xe4\xb7\x89\xe1\x83\x81", false); } // [B1, C2, V6, V7]
18386test { try toAsciiFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88.\xe1\xb3\x95\xe4\xb7\x89\xe1\x83\x81", true); } // [B1, V6, V7]
18387test { try toUnicodeFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88.\xe1\xb3\x95\xe4\xb7\x89\xe2\xb4\xa1"); } // [B1, C2, V6, V7]
18388test { try toAsciiFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88.\xe1\xb3\x95\xe4\xb7\x89\xe2\xb4\xa1", false); } // [B1, C2, V6, V7]
18389test { try toAsciiFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88.\xe1\xb3\x95\xe4\xb7\x89\xe2\xb4\xa1", true); } // [B1, V6, V7]
18390test { try toUnicodeFail("xn--pgb911izv33i.xn--i6f270etuy"); } // [B1, V6, V7]
18391test { try toAsciiFail("xn--pgb911izv33i.xn--i6f270etuy", false); } // [B1, V6, V7]
18392test { try toAsciiFail("xn--pgb911izv33i.xn--i6f270etuy", true); } // [B1, V6, V7]
18393test { try toUnicodeFail("xn--pgb911imgdrw34r.xn--i6f270etuy"); } // [B1, C2, V6, V7]
18394test { try toAsciiFail("xn--pgb911imgdrw34r.xn--i6f270etuy", false); } // [B1, C2, V6, V7]
18395test { try toAsciiFail("xn--pgb911imgdrw34r.xn--i6f270etuy", true); } // [B1, C2, V6, V7]
18396test { try toUnicodeFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88\xef\xbc\x8e\xe1\xb3\x95\xe4\xb7\x89\xe2\xb4\xa1"); } // [B1, C2, V6, V7]
18397test { try toAsciiFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88\xef\xbc\x8e\xe1\xb3\x95\xe4\xb7\x89\xe2\xb4\xa1", false); } // [B1, C2, V6, V7]
18398test { try toAsciiFail("\xe1\xae\xa9\xe2\x80\x8d\xd8\xaa\xf1\xa1\x9a\x88\xef\xbc\x8e\xe1\xb3\x95\xe4\xb7\x89\xe2\xb4\xa1", true); } // [B1, V6, V7]
18399test { try toUnicodeFail("xn--pgb911izv33i.xn--5nd792dgv3b"); } // [B1, V6, V7]
18400test { try toAsciiFail("xn--pgb911izv33i.xn--5nd792dgv3b", false); } // [B1, V6, V7]
18401test { try toAsciiFail("xn--pgb911izv33i.xn--5nd792dgv3b", true); } // [B1, V6, V7]
18402test { try toUnicodeFail("xn--pgb911imgdrw34r.xn--5nd792dgv3b"); } // [B1, C2, V6, V7]
18403test { try toAsciiFail("xn--pgb911imgdrw34r.xn--5nd792dgv3b", false); } // [B1, C2, V6, V7]
18404test { try toAsciiFail("xn--pgb911imgdrw34r.xn--5nd792dgv3b", true); } // [B1, C2, V6, V7]
18405test { try toUnicodeFail("\xe2\xb6\xbf.\xc3\x9f\xe2\x80\x8d"); } // [C2, V7]
18406test { try toAsciiFail("\xe2\xb6\xbf.\xc3\x9f\xe2\x80\x8d", false); } // [C2, V7]
18407test { try toAsciiFail("\xe2\xb6\xbf.\xc3\x9f\xe2\x80\x8d", true); } // [V7]
18408test { try toUnicodeFail("\xe2\xb6\xbf.SS\xe2\x80\x8d"); } // [C2, V7]
18409test { try toAsciiFail("\xe2\xb6\xbf.SS\xe2\x80\x8d", false); } // [C2, V7]
18410test { try toAsciiFail("\xe2\xb6\xbf.SS\xe2\x80\x8d", true); } // [V7]
18411test { try toUnicodeFail("\xe2\xb6\xbf.ss\xe2\x80\x8d"); } // [C2, V7]
18412test { try toAsciiFail("\xe2\xb6\xbf.ss\xe2\x80\x8d", false); } // [C2, V7]
18413test { try toAsciiFail("\xe2\xb6\xbf.ss\xe2\x80\x8d", true); } // [V7]
18414test { try toUnicodeFail("\xe2\xb6\xbf.Ss\xe2\x80\x8d"); } // [C2, V7]
18415test { try toAsciiFail("\xe2\xb6\xbf.Ss\xe2\x80\x8d", false); } // [C2, V7]
18416test { try toAsciiFail("\xe2\xb6\xbf.Ss\xe2\x80\x8d", true); } // [V7]
18417test { try toUnicodeFail("xn--7pj.ss"); } // [V7]
18418test { try toAsciiFail("xn--7pj.ss", false); } // [V7]
18419test { try toAsciiFail("xn--7pj.ss", true); } // [V7]
18420test { try toUnicodeFail("xn--7pj.xn--ss-n1t"); } // [C2, V7]
18421test { try toAsciiFail("xn--7pj.xn--ss-n1t", false); } // [C2, V7]
18422test { try toAsciiFail("xn--7pj.xn--ss-n1t", true); } // [C2, V7]
18423test { try toUnicodeFail("xn--7pj.xn--zca870n"); } // [C2, V7]
18424test { try toAsciiFail("xn--7pj.xn--zca870n", false); } // [C2, V7]
18425test { try toAsciiFail("xn--7pj.xn--zca870n", true); } // [C2, V7]
18426test { try toUnicodeFail("\xe1\xaf\xb3\xef\xb8\x92.\xd8\xaa\xe2\x89\xaf\xea\xa1\x82"); } // [B2, B3, B6, V6, V7]
18427test { try toAsciiFail("\xe1\xaf\xb3\xef\xb8\x92.\xd8\xaa\xe2\x89\xaf\xea\xa1\x82", false); } // [B2, B3, B6, V6, V7]
18428test { try toAsciiFail("\xe1\xaf\xb3\xef\xb8\x92.\xd8\xaa\xe2\x89\xaf\xea\xa1\x82", true); } // [B2, B3, B6, V6, V7]
18429test { try toUnicodeFail("\xe1\xaf\xb3\xef\xb8\x92.\xd8\xaa>\xcc\xb8\xea\xa1\x82"); } // [B2, B3, B6, V6, V7]
18430test { try toAsciiFail("\xe1\xaf\xb3\xef\xb8\x92.\xd8\xaa>\xcc\xb8\xea\xa1\x82", false); } // [B2, B3, B6, V6, V7]
18431test { try toAsciiFail("\xe1\xaf\xb3\xef\xb8\x92.\xd8\xaa>\xcc\xb8\xea\xa1\x82", true); } // [B2, B3, B6, V6, V7]
18432test { try toUnicodeFail("\xe1\xaf\xb3\xe3\x80\x82.\xd8\xaa\xe2\x89\xaf\xea\xa1\x82"); } // [B2, B3, V6, X4_2]
18433test { try toAsciiFail("\xe1\xaf\xb3\xe3\x80\x82.\xd8\xaa\xe2\x89\xaf\xea\xa1\x82", false); } // [B2, B3, V6, A4_2]
18434test { try toAsciiFail("\xe1\xaf\xb3\xe3\x80\x82.\xd8\xaa\xe2\x89\xaf\xea\xa1\x82", true); } // [B2, B3, V6, A4_2]
18435test { try toUnicodeFail("\xe1\xaf\xb3\xe3\x80\x82.\xd8\xaa>\xcc\xb8\xea\xa1\x82"); } // [B2, B3, V6, X4_2]
18436test { try toAsciiFail("\xe1\xaf\xb3\xe3\x80\x82.\xd8\xaa>\xcc\xb8\xea\xa1\x82", false); } // [B2, B3, V6, A4_2]
18437test { try toAsciiFail("\xe1\xaf\xb3\xe3\x80\x82.\xd8\xaa>\xcc\xb8\xea\xa1\x82", true); } // [B2, B3, V6, A4_2]
18438test { try toUnicodeFail("xn--1zf..xn--pgb885lry5g"); } // [B2, B3, V6, X4_2]
18439test { try toAsciiFail("xn--1zf..xn--pgb885lry5g", false); } // [B2, B3, V6, A4_2]
18440test { try toAsciiFail("xn--1zf..xn--pgb885lry5g", true); } // [B2, B3, V6, A4_2]
18441test { try toUnicodeFail("xn--1zf8957g.xn--pgb885lry5g"); } // [B2, B3, B6, V6, V7]
18442test { try toAsciiFail("xn--1zf8957g.xn--pgb885lry5g", false); } // [B2, B3, B6, V6, V7]
18443test { try toAsciiFail("xn--1zf8957g.xn--pgb885lry5g", true); } // [B2, B3, B6, V6, V7]
18444test { try toUnicodeFail("\xe2\x89\xae\xe2\x89\xa0\xf1\x8f\xbb\x83\xef\xbd\xa1-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa"); } // [B1, V3, V7]
18445test { try toAsciiFail("\xe2\x89\xae\xe2\x89\xa0\xf1\x8f\xbb\x83\xef\xbd\xa1-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa", false); } // [B1, V3, V7]
18446test { try toAsciiFail("\xe2\x89\xae\xe2\x89\xa0\xf1\x8f\xbb\x83\xef\xbd\xa1-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa", true); } // [B1, V3, V7]
18447test { try toUnicodeFail("<\xcc\xb8=\xcc\xb8\xf1\x8f\xbb\x83\xef\xbd\xa1-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa"); } // [B1, V3, V7]
18448test { try toAsciiFail("<\xcc\xb8=\xcc\xb8\xf1\x8f\xbb\x83\xef\xbd\xa1-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa", false); } // [B1, V3, V7]
18449test { try toAsciiFail("<\xcc\xb8=\xcc\xb8\xf1\x8f\xbb\x83\xef\xbd\xa1-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa", true); } // [B1, V3, V7]
18450test { try toUnicodeFail("\xe2\x89\xae\xe2\x89\xa0\xf1\x8f\xbb\x83\xe3\x80\x82-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa"); } // [B1, V3, V7]
18451test { try toAsciiFail("\xe2\x89\xae\xe2\x89\xa0\xf1\x8f\xbb\x83\xe3\x80\x82-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa", false); } // [B1, V3, V7]
18452test { try toAsciiFail("\xe2\x89\xae\xe2\x89\xa0\xf1\x8f\xbb\x83\xe3\x80\x82-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa", true); } // [B1, V3, V7]
18453test { try toUnicodeFail("<\xcc\xb8=\xcc\xb8\xf1\x8f\xbb\x83\xe3\x80\x82-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa"); } // [B1, V3, V7]
18454test { try toAsciiFail("<\xcc\xb8=\xcc\xb8\xf1\x8f\xbb\x83\xe3\x80\x82-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa", false); } // [B1, V3, V7]
18455test { try toAsciiFail("<\xcc\xb8=\xcc\xb8\xf1\x8f\xbb\x83\xe3\x80\x82-\xf0\xab\xa0\x86\xda\xb7\xf0\x90\xb9\xaa", true); } // [B1, V3, V7]
18456test { try toUnicodeFail("xn--1ch1a29470f.xn----7uc5363rc1rn"); } // [B1, V3, V7]
18457test { try toAsciiFail("xn--1ch1a29470f.xn----7uc5363rc1rn", false); } // [B1, V3, V7]
18458test { try toAsciiFail("xn--1ch1a29470f.xn----7uc5363rc1rn", true); } // [B1, V3, V7]
18459test { try toUnicodeFail("\xf0\x90\xb9\xa1\xdd\xb7\xe3\x80\x82\xea\xa1\x82"); } // [B1]
18460test { try toAsciiFail("\xf0\x90\xb9\xa1\xdd\xb7\xe3\x80\x82\xea\xa1\x82", false); } // [B1]
18461test { try toAsciiFail("\xf0\x90\xb9\xa1\xdd\xb7\xe3\x80\x82\xea\xa1\x82", true); } // [B1]
18462test { try toUnicodeFail("xn--7pb5275k.xn--bc9a"); } // [B1]
18463test { try toAsciiFail("xn--7pb5275k.xn--bc9a", false); } // [B1]
18464test { try toAsciiFail("xn--7pb5275k.xn--bc9a", true); } // [B1]
18465test { try toUnicodeFail("\xe1\x82\xa9\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.\xc3\x9f\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5"); } // [B5, B6, V7]
18466test { try toAsciiFail("\xe1\x82\xa9\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.\xc3\x9f\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5", false); } // [B5, B6, V7]
18467test { try toAsciiFail("\xe1\x82\xa9\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.\xc3\x9f\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5", true); } // [B5, B6, V7]
18468test { try toUnicodeFail("\xe2\xb4\x89\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.\xc3\x9f\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5"); } // [B5, B6, V7]
18469test { try toAsciiFail("\xe2\xb4\x89\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.\xc3\x9f\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5", false); } // [B5, B6, V7]
18470test { try toAsciiFail("\xe2\xb4\x89\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.\xc3\x9f\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5", true); } // [B5, B6, V7]
18471test { try toUnicodeFail("\xe1\x82\xa9\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.SS\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5"); } // [B5, B6, V7]
18472test { try toAsciiFail("\xe1\x82\xa9\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.SS\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5", false); } // [B5, B6, V7]
18473test { try toAsciiFail("\xe1\x82\xa9\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.SS\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5", true); } // [B5, B6, V7]
18474test { try toUnicodeFail("\xe2\xb4\x89\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.ss\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5"); } // [B5, B6, V7]
18475test { try toAsciiFail("\xe2\xb4\x89\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.ss\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5", false); } // [B5, B6, V7]
18476test { try toAsciiFail("\xe2\xb4\x89\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.ss\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5", true); } // [B5, B6, V7]
18477test { try toUnicodeFail("\xe1\x82\xa9\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.Ss\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5"); } // [B5, B6, V7]
18478test { try toAsciiFail("\xe1\x82\xa9\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.Ss\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5", false); } // [B5, B6, V7]
18479test { try toAsciiFail("\xe1\x82\xa9\xf0\x9d\x86\x85\xf1\x94\xbb\x85\xd8\x99.Ss\xf0\x90\xa7\xa6\xf0\x90\xb9\xb3\xdd\xb5", true); } // [B5, B6, V7]
18480test { try toUnicodeFail("xn--7fb940rwt3z7xvz.xn--ss-zme7575xp0e"); } // [B5, B6, V7]
18481test { try toAsciiFail("xn--7fb940rwt3z7xvz.xn--ss-zme7575xp0e", false); } // [B5, B6, V7]
18482test { try toAsciiFail("xn--7fb940rwt3z7xvz.xn--ss-zme7575xp0e", true); } // [B5, B6, V7]
18483test { try toUnicodeFail("xn--7fb940rwt3z7xvz.xn--zca684a699vf2d"); } // [B5, B6, V7]
18484test { try toAsciiFail("xn--7fb940rwt3z7xvz.xn--zca684a699vf2d", false); } // [B5, B6, V7]
18485test { try toAsciiFail("xn--7fb940rwt3z7xvz.xn--zca684a699vf2d", true); } // [B5, B6, V7]
18486test { try toUnicodeFail("xn--7fb125cjv87a7xvz.xn--ss-zme7575xp0e"); } // [B5, B6, V7]
18487test { try toAsciiFail("xn--7fb125cjv87a7xvz.xn--ss-zme7575xp0e", false); } // [B5, B6, V7]
18488test { try toAsciiFail("xn--7fb125cjv87a7xvz.xn--ss-zme7575xp0e", true); } // [B5, B6, V7]
18489test { try toUnicodeFail("xn--7fb125cjv87a7xvz.xn--zca684a699vf2d"); } // [B5, B6, V7]
18490test { try toAsciiFail("xn--7fb125cjv87a7xvz.xn--zca684a699vf2d", false); } // [B5, B6, V7]
18491test { try toAsciiFail("xn--7fb125cjv87a7xvz.xn--zca684a699vf2d", true); } // [B5, B6, V7]
18492test { try toUnicodeFail("\xe2\x80\x8d\xd9\x83\xf0\x90\xa7\xbe\xe2\x86\x99.\xf1\x8a\xbd\xa1"); } // [B1, C2, V7]
18493test { try toAsciiFail("\xe2\x80\x8d\xd9\x83\xf0\x90\xa7\xbe\xe2\x86\x99.\xf1\x8a\xbd\xa1", false); } // [B1, C2, V7]
18494test { try toAsciiFail("\xe2\x80\x8d\xd9\x83\xf0\x90\xa7\xbe\xe2\x86\x99.\xf1\x8a\xbd\xa1", true); } // [B3, V7]
18495test { try toUnicodeFail("xn--fhb011lnp8n.xn--7s4w"); } // [B3, V7]
18496test { try toAsciiFail("xn--fhb011lnp8n.xn--7s4w", false); } // [B3, V7]
18497test { try toAsciiFail("xn--fhb011lnp8n.xn--7s4w", true); } // [B3, V7]
18498test { try toUnicodeFail("xn--fhb713k87ag053c.xn--7s4w"); } // [B1, C2, V7]
18499test { try toAsciiFail("xn--fhb713k87ag053c.xn--7s4w", false); } // [B1, C2, V7]
18500test { try toAsciiFail("xn--fhb713k87ag053c.xn--7s4w", true); } // [B1, C2, V7]
18501test { try toUnicodeFail("\xe6\xa2\x89\xe3\x80\x82\xe2\x80\x8c"); } // [C1]
18502test { try toAsciiFail("\xe6\xa2\x89\xe3\x80\x82\xe2\x80\x8c", false); } // [C1]
18503test { try toAsciiFail("\xe6\xa2\x89\xe3\x80\x82\xe2\x80\x8c", true); } // [A4_2]
18504test { try toUnicodePass("xn--7zv.", "\xe6\xa2\x89."); }
18505test { try toAsciiFail("xn--7zv.", false); } // [A4_2]
18506test { try toAsciiFail("xn--7zv.", true); } // [A4_2]
18507test { try toUnicodePass("\xe6\xa2\x89.", "\xe6\xa2\x89."); }
18508test { try toAsciiFail("\xe6\xa2\x89.", false); } // [A4_2]
18509test { try toAsciiFail("\xe6\xa2\x89.", true); } // [A4_2]
18510test { try toUnicodeFail("xn--7zv.xn--0ug"); } // [C1]
18511test { try toAsciiFail("xn--7zv.xn--0ug", false); } // [C1]
18512test { try toAsciiFail("xn--7zv.xn--0ug", true); } // [C1]
18513test { try toUnicodeFail("\xea\xa1\xa3-\xe2\x89\xa0.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x83"); } // [B1, B6, C2]
18514test { try toAsciiFail("\xea\xa1\xa3-\xe2\x89\xa0.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x83", false); } // [B1, B6, C2]
18515test { try toAsciiFail("\xea\xa1\xa3-\xe2\x89\xa0.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x83", true); } // [B2, B3, B6]
18516test { try toUnicodeFail("\xea\xa1\xa3-=\xcc\xb8.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x83"); } // [B1, B6, C2]
18517test { try toAsciiFail("\xea\xa1\xa3-=\xcc\xb8.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x83", false); } // [B1, B6, C2]
18518test { try toAsciiFail("\xea\xa1\xa3-=\xcc\xb8.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x83", true); } // [B2, B3, B6]
18519test { try toUnicodeFail("\xea\xa1\xa3-=\xcc\xb8.\xe2\x80\x8d\xf0\x9e\xa4\xb9\xf0\x90\x85\xa2\xe2\x86\x84"); } // [B1, B6, C2]
18520test { try toAsciiFail("\xea\xa1\xa3-=\xcc\xb8.\xe2\x80\x8d\xf0\x9e\xa4\xb9\xf0\x90\x85\xa2\xe2\x86\x84", false); } // [B1, B6, C2]
18521test { try toAsciiFail("\xea\xa1\xa3-=\xcc\xb8.\xe2\x80\x8d\xf0\x9e\xa4\xb9\xf0\x90\x85\xa2\xe2\x86\x84", true); } // [B2, B3, B6]
18522test { try toUnicodeFail("\xea\xa1\xa3-\xe2\x89\xa0.\xe2\x80\x8d\xf0\x9e\xa4\xb9\xf0\x90\x85\xa2\xe2\x86\x84"); } // [B1, B6, C2]
18523test { try toAsciiFail("\xea\xa1\xa3-\xe2\x89\xa0.\xe2\x80\x8d\xf0\x9e\xa4\xb9\xf0\x90\x85\xa2\xe2\x86\x84", false); } // [B1, B6, C2]
18524test { try toAsciiFail("\xea\xa1\xa3-\xe2\x89\xa0.\xe2\x80\x8d\xf0\x9e\xa4\xb9\xf0\x90\x85\xa2\xe2\x86\x84", true); } // [B2, B3, B6]
18525test { try toUnicodeFail("\xea\xa1\xa3-\xe2\x89\xa0.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x84"); } // [B1, B6, C2]
18526test { try toAsciiFail("\xea\xa1\xa3-\xe2\x89\xa0.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x84", false); } // [B1, B6, C2]
18527test { try toAsciiFail("\xea\xa1\xa3-\xe2\x89\xa0.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x84", true); } // [B2, B3, B6]
18528test { try toUnicodeFail("\xea\xa1\xa3-=\xcc\xb8.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x84"); } // [B1, B6, C2]
18529test { try toAsciiFail("\xea\xa1\xa3-=\xcc\xb8.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x84", false); } // [B1, B6, C2]
18530test { try toAsciiFail("\xea\xa1\xa3-=\xcc\xb8.\xe2\x80\x8d\xf0\x9e\xa4\x97\xf0\x90\x85\xa2\xe2\x86\x84", true); } // [B2, B3, B6]
18531test { try toUnicodeFail("xn----ufo9661d.xn--r5gy929fhm4f"); } // [B2, B3, B6]
18532test { try toAsciiFail("xn----ufo9661d.xn--r5gy929fhm4f", false); } // [B2, B3, B6]
18533test { try toAsciiFail("xn----ufo9661d.xn--r5gy929fhm4f", true); } // [B2, B3, B6]
18534test { try toUnicodeFail("xn----ufo9661d.xn--1ug99cj620c71sh"); } // [B1, B6, C2]
18535test { try toAsciiFail("xn----ufo9661d.xn--1ug99cj620c71sh", false); } // [B1, B6, C2]
18536test { try toAsciiFail("xn----ufo9661d.xn--1ug99cj620c71sh", true); } // [B1, B6, C2]
18537test { try toUnicodeFail("xn----ufo9661d.xn--q5g0929fhm4f"); } // [B2, B3, B6, V7]
18538test { try toAsciiFail("xn----ufo9661d.xn--q5g0929fhm4f", false); } // [B2, B3, B6, V7]
18539test { try toAsciiFail("xn----ufo9661d.xn--q5g0929fhm4f", true); } // [B2, B3, B6, V7]
18540test { try toUnicodeFail("xn----ufo9661d.xn--1ug79cm620c71sh"); } // [B1, B6, C2, V7]
18541test { try toAsciiFail("xn----ufo9661d.xn--1ug79cm620c71sh", false); } // [B1, B6, C2, V7]
18542test { try toAsciiFail("xn----ufo9661d.xn--1ug79cm620c71sh", true); } // [B1, B6, C2, V7]
18543test { try toUnicodeFail("\xcf\x82\xe2\x92\x90\xf0\x9d\x86\xab\xe2\xb8\xb5\xef\xbd\xa1\xf0\x90\xb1\xa2\xf0\x9f\x84\x8a\xf0\x9d\x9f\xb3"); } // [B6, V7, U1]
18544test { try toAsciiFail("\xcf\x82\xe2\x92\x90\xf0\x9d\x86\xab\xe2\xb8\xb5\xef\xbd\xa1\xf0\x90\xb1\xa2\xf0\x9f\x84\x8a\xf0\x9d\x9f\xb3", false); } // [B6, V7, U1]
18545test { try toAsciiFail("\xcf\x82\xe2\x92\x90\xf0\x9d\x86\xab\xe2\xb8\xb5\xef\xbd\xa1\xf0\x90\xb1\xa2\xf0\x9f\x84\x8a\xf0\x9d\x9f\xb3", true); } // [B6, V7, U1]
18546test { try toUnicodeFail("\xcf\x829.\xf0\x9d\x86\xab\xe2\xb8\xb5\xe3\x80\x82\xf0\x90\xb1\xa29,7"); } // [B1, V6, V7, U1]
18547test { try toAsciiFail("\xcf\x829.\xf0\x9d\x86\xab\xe2\xb8\xb5\xe3\x80\x82\xf0\x90\xb1\xa29,7", false); } // [B1, V6, V7, U1]
18548test { try toAsciiFail("\xcf\x829.\xf0\x9d\x86\xab\xe2\xb8\xb5\xe3\x80\x82\xf0\x90\xb1\xa29,7", true); } // [B1, V6, V7, U1]
18549test { try toUnicodeFail("\xce\xa39.\xf0\x9d\x86\xab\xe2\xb8\xb5\xe3\x80\x82\xf0\x90\xb1\xa29,7"); } // [B1, V6, V7, U1]
18550test { try toAsciiFail("\xce\xa39.\xf0\x9d\x86\xab\xe2\xb8\xb5\xe3\x80\x82\xf0\x90\xb1\xa29,7", false); } // [B1, V6, V7, U1]
18551test { try toAsciiFail("\xce\xa39.\xf0\x9d\x86\xab\xe2\xb8\xb5\xe3\x80\x82\xf0\x90\xb1\xa29,7", true); } // [B1, V6, V7, U1]
18552test { try toUnicodeFail("\xcf\x839.\xf0\x9d\x86\xab\xe2\xb8\xb5\xe3\x80\x82\xf0\x90\xb1\xa29,7"); } // [B1, V6, V7, U1]
18553test { try toAsciiFail("\xcf\x839.\xf0\x9d\x86\xab\xe2\xb8\xb5\xe3\x80\x82\xf0\x90\xb1\xa29,7", false); } // [B1, V6, V7, U1]
18554test { try toAsciiFail("\xcf\x839.\xf0\x9d\x86\xab\xe2\xb8\xb5\xe3\x80\x82\xf0\x90\xb1\xa29,7", true); } // [B1, V6, V7, U1]
18555test { try toUnicodeFail("xn--9-zmb.xn--ltj1535k.xn--9,7-r67t"); } // [B1, V6, V7, U1]
18556test { try toAsciiFail("xn--9-zmb.xn--ltj1535k.xn--9,7-r67t", false); } // [B1, V6, V7, U1]
18557test { try toAsciiFail("xn--9-zmb.xn--ltj1535k.xn--9,7-r67t", true); } // [B1, V6, V7, U1]
18558test { try toUnicodeFail("xn--9-xmb.xn--ltj1535k.xn--9,7-r67t"); } // [B1, V6, V7, U1]
18559test { try toAsciiFail("xn--9-xmb.xn--ltj1535k.xn--9,7-r67t", false); } // [B1, V6, V7, U1]
18560test { try toAsciiFail("xn--9-xmb.xn--ltj1535k.xn--9,7-r67t", true); } // [B1, V6, V7, U1]
18561test { try toUnicodeFail("\xce\xa3\xe2\x92\x90\xf0\x9d\x86\xab\xe2\xb8\xb5\xef\xbd\xa1\xf0\x90\xb1\xa2\xf0\x9f\x84\x8a\xf0\x9d\x9f\xb3"); } // [B6, V7, U1]
18562test { try toAsciiFail("\xce\xa3\xe2\x92\x90\xf0\x9d\x86\xab\xe2\xb8\xb5\xef\xbd\xa1\xf0\x90\xb1\xa2\xf0\x9f\x84\x8a\xf0\x9d\x9f\xb3", false); } // [B6, V7, U1]
18563test { try toAsciiFail("\xce\xa3\xe2\x92\x90\xf0\x9d\x86\xab\xe2\xb8\xb5\xef\xbd\xa1\xf0\x90\xb1\xa2\xf0\x9f\x84\x8a\xf0\x9d\x9f\xb3", true); } // [B6, V7, U1]
18564test { try toUnicodeFail("\xcf\x83\xe2\x92\x90\xf0\x9d\x86\xab\xe2\xb8\xb5\xef\xbd\xa1\xf0\x90\xb1\xa2\xf0\x9f\x84\x8a\xf0\x9d\x9f\xb3"); } // [B6, V7, U1]
18565test { try toAsciiFail("\xcf\x83\xe2\x92\x90\xf0\x9d\x86\xab\xe2\xb8\xb5\xef\xbd\xa1\xf0\x90\xb1\xa2\xf0\x9f\x84\x8a\xf0\x9d\x9f\xb3", false); } // [B6, V7, U1]
18566test { try toAsciiFail("\xcf\x83\xe2\x92\x90\xf0\x9d\x86\xab\xe2\xb8\xb5\xef\xbd\xa1\xf0\x90\xb1\xa2\xf0\x9f\x84\x8a\xf0\x9d\x9f\xb3", true); } // [B6, V7, U1]
18567test { try toUnicodeFail("xn--4xa809nwtghi25b.xn--9,7-r67t"); } // [B6, V7, U1]
18568test { try toAsciiFail("xn--4xa809nwtghi25b.xn--9,7-r67t", false); } // [B6, V7, U1]
18569test { try toAsciiFail("xn--4xa809nwtghi25b.xn--9,7-r67t", true); } // [B6, V7, U1]
18570test { try toUnicodeFail("xn--3xa019nwtghi25b.xn--9,7-r67t"); } // [B6, V7, U1]
18571test { try toAsciiFail("xn--3xa019nwtghi25b.xn--9,7-r67t", false); } // [B6, V7, U1]
18572test { try toAsciiFail("xn--3xa019nwtghi25b.xn--9,7-r67t", true); } // [B6, V7, U1]
18573test { try toUnicodeFail("xn--4xa809nwtghi25b.xn--7-075iy877c"); } // [B6, V7]
18574test { try toAsciiFail("xn--4xa809nwtghi25b.xn--7-075iy877c", false); } // [B6, V7]
18575test { try toAsciiFail("xn--4xa809nwtghi25b.xn--7-075iy877c", true); } // [B6, V7]
18576test { try toUnicodeFail("xn--3xa019nwtghi25b.xn--7-075iy877c"); } // [B6, V7]
18577test { try toAsciiFail("xn--3xa019nwtghi25b.xn--7-075iy877c", false); } // [B6, V7]
18578test { try toAsciiFail("xn--3xa019nwtghi25b.xn--7-075iy877c", true); } // [B6, V7]
18579test { try toAsciiPass("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8c\xc3\x9f", "xn--iwb.ss", true); }
18580test { try toUnicodeFail("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8c\xc3\x9f"); } // [B1, C1]
18581test { try toAsciiFail("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8c\xc3\x9f", false); } // [B1, C1]
18582test { try toAsciiPass("\xe0\xa1\x93.\xe2\x80\x8c\xc3\x9f", "xn--iwb.ss", true); }
18583test { try toUnicodeFail("\xe0\xa1\x93.\xe2\x80\x8c\xc3\x9f"); } // [B1, C1]
18584test { try toAsciiFail("\xe0\xa1\x93.\xe2\x80\x8c\xc3\x9f", false); } // [B1, C1]
18585test { try toAsciiPass("\xe0\xa1\x93.\xe2\x80\x8cSS", "xn--iwb.ss", true); }
18586test { try toUnicodeFail("\xe0\xa1\x93.\xe2\x80\x8cSS"); } // [B1, C1]
18587test { try toAsciiFail("\xe0\xa1\x93.\xe2\x80\x8cSS", false); } // [B1, C1]
18588test { try toAsciiPass("\xe0\xa1\x93.\xe2\x80\x8css", "xn--iwb.ss", true); }
18589test { try toUnicodeFail("\xe0\xa1\x93.\xe2\x80\x8css"); } // [B1, C1]
18590test { try toAsciiFail("\xe0\xa1\x93.\xe2\x80\x8css", false); } // [B1, C1]
18591test { try toUnicodePass("xn--iwb.ss", "\xe0\xa1\x93.ss"); }
18592test { try toAsciiPass("xn--iwb.ss", "xn--iwb.ss", false); }
18593test { try toAsciiPass("xn--iwb.ss", "xn--iwb.ss", true); }
18594test { try toUnicodePass("\xe0\xa1\x93.ss", "\xe0\xa1\x93.ss"); }
18595test { try toAsciiPass("\xe0\xa1\x93.ss", "xn--iwb.ss", false); }
18596test { try toAsciiPass("\xe0\xa1\x93.ss", "xn--iwb.ss", true); }
18597test { try toUnicodePass("\xe0\xa1\x93.SS", "\xe0\xa1\x93.ss"); }
18598test { try toAsciiPass("\xe0\xa1\x93.SS", "xn--iwb.ss", false); }
18599test { try toAsciiPass("\xe0\xa1\x93.SS", "xn--iwb.ss", true); }
18600test { try toUnicodeFail("xn--iwb.xn--ss-i1t"); } // [B1, C1]
18601test { try toAsciiFail("xn--iwb.xn--ss-i1t", false); } // [B1, C1]
18602test { try toAsciiFail("xn--iwb.xn--ss-i1t", true); } // [B1, C1]
18603test { try toUnicodeFail("xn--iwb.xn--zca570n"); } // [B1, C1]
18604test { try toAsciiFail("xn--iwb.xn--zca570n", false); } // [B1, C1]
18605test { try toAsciiFail("xn--iwb.xn--zca570n", true); } // [B1, C1]
18606test { try toAsciiPass("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8cSS", "xn--iwb.ss", true); }
18607test { try toUnicodeFail("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8cSS"); } // [B1, C1]
18608test { try toAsciiFail("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8cSS", false); } // [B1, C1]
18609test { try toAsciiPass("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8css", "xn--iwb.ss", true); }
18610test { try toUnicodeFail("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8css"); } // [B1, C1]
18611test { try toAsciiFail("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8css", false); } // [B1, C1]
18612test { try toAsciiPass("\xe0\xa1\x93.\xe2\x80\x8cSs", "xn--iwb.ss", true); }
18613test { try toUnicodeFail("\xe0\xa1\x93.\xe2\x80\x8cSs"); } // [B1, C1]
18614test { try toAsciiFail("\xe0\xa1\x93.\xe2\x80\x8cSs", false); } // [B1, C1]
18615test { try toAsciiPass("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8cSs", "xn--iwb.ss", true); }
18616test { try toUnicodeFail("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8cSs"); } // [B1, C1]
18617test { try toAsciiFail("\xe0\xa1\x93\xef\xbc\x8e\xe2\x80\x8cSs", false); } // [B1, C1]
18618test { try toUnicodeFail("\xf1\xaf\xb6\xa3-.\xe2\x80\x8d\xdd\x8e\xea\xa5\x8d\xf3\xa0\xbb\xa8"); } // [B1, B6, C2, V3, V7]
18619test { try toAsciiFail("\xf1\xaf\xb6\xa3-.\xe2\x80\x8d\xdd\x8e\xea\xa5\x8d\xf3\xa0\xbb\xa8", false); } // [B1, B6, C2, V3, V7]
18620test { try toAsciiFail("\xf1\xaf\xb6\xa3-.\xe2\x80\x8d\xdd\x8e\xea\xa5\x8d\xf3\xa0\xbb\xa8", true); } // [B3, B6, V3, V7]
18621test { try toUnicodeFail("xn----s116e.xn--1ob6504fmf40i"); } // [B3, B6, V3, V7]
18622test { try toAsciiFail("xn----s116e.xn--1ob6504fmf40i", false); } // [B3, B6, V3, V7]
18623test { try toAsciiFail("xn----s116e.xn--1ob6504fmf40i", true); } // [B3, B6, V3, V7]
18624test { try toUnicodeFail("xn----s116e.xn--1ob387jy90hq459k"); } // [B1, B6, C2, V3, V7]
18625test { try toAsciiFail("xn----s116e.xn--1ob387jy90hq459k", false); } // [B1, B6, C2, V3, V7]
18626test { try toAsciiFail("xn----s116e.xn--1ob387jy90hq459k", true); } // [B1, B6, C2, V3, V7]
18627test { try toUnicodeFail("\xe4\x83\x9a\xe8\x9f\xa5-\xe3\x80\x82-\xf1\xbd\x92\x98\xe2\x92\x88"); } // [V3, V7]
18628test { try toAsciiFail("\xe4\x83\x9a\xe8\x9f\xa5-\xe3\x80\x82-\xf1\xbd\x92\x98\xe2\x92\x88", false); } // [V3, V7]
18629test { try toAsciiFail("\xe4\x83\x9a\xe8\x9f\xa5-\xe3\x80\x82-\xf1\xbd\x92\x98\xe2\x92\x88", true); } // [V3, V7]
18630test { try toUnicodeFail("\xe4\x83\x9a\xe8\x9f\xa5-\xe3\x80\x82-\xf1\xbd\x92\x981."); } // [V3, V7]
18631test { try toAsciiFail("\xe4\x83\x9a\xe8\x9f\xa5-\xe3\x80\x82-\xf1\xbd\x92\x981.", false); } // [V3, V7, A4_2]
18632test { try toAsciiFail("\xe4\x83\x9a\xe8\x9f\xa5-\xe3\x80\x82-\xf1\xbd\x92\x981.", true); } // [V3, V7, A4_2]
18633test { try toUnicodeFail("xn----n50a258u.xn---1-up07j."); } // [V3, V7]
18634test { try toAsciiFail("xn----n50a258u.xn---1-up07j.", false); } // [V3, V7, A4_2]
18635test { try toAsciiFail("xn----n50a258u.xn---1-up07j.", true); } // [V3, V7, A4_2]
18636test { try toUnicodeFail("xn----n50a258u.xn----ecp33805f"); } // [V3, V7]
18637test { try toAsciiFail("xn----n50a258u.xn----ecp33805f", false); } // [V3, V7]
18638test { try toAsciiFail("xn----n50a258u.xn----ecp33805f", true); } // [V3, V7]
18639test { try toUnicodeFail("\xf0\x90\xb9\xb8\xe4\x9a\xb5-\xea\xa1\xa1\xe3\x80\x82\xe2\xba\x87"); } // [B1]
18640test { try toAsciiFail("\xf0\x90\xb9\xb8\xe4\x9a\xb5-\xea\xa1\xa1\xe3\x80\x82\xe2\xba\x87", false); } // [B1]
18641test { try toAsciiFail("\xf0\x90\xb9\xb8\xe4\x9a\xb5-\xea\xa1\xa1\xe3\x80\x82\xe2\xba\x87", true); } // [B1]
18642test { try toUnicodeFail("xn----bm3an932a1l5d.xn--xvj"); } // [B1]
18643test { try toAsciiFail("xn----bm3an932a1l5d.xn--xvj", false); } // [B1]
18644test { try toAsciiFail("xn----bm3an932a1l5d.xn--xvj", true); } // [B1]
18645test { try toUnicodeFail("\xf0\x91\x84\xb3\xe3\x80\x82\xe1\xab\x9c\xf0\x90\xb9\xbb"); } // [B1, V6]
18646test { try toAsciiFail("\xf0\x91\x84\xb3\xe3\x80\x82\xe1\xab\x9c\xf0\x90\xb9\xbb", false); } // [B1, V6]
18647test { try toAsciiFail("\xf0\x91\x84\xb3\xe3\x80\x82\xe1\xab\x9c\xf0\x90\xb9\xbb", true); } // [B1, V6]
18648test { try toUnicodeFail("xn--v80d.xn--2rf1154i"); } // [B1, V6]
18649test { try toAsciiFail("xn--v80d.xn--2rf1154i", false); } // [B1, V6]
18650test { try toAsciiFail("xn--v80d.xn--2rf1154i", true); } // [B1, V6]
18651test { try toUnicodeFail("\xe2\x89\xae\xf0\x90\xb9\xbb.\xe2\x92\x8e\xf0\x91\x82\xb5\xda\xba\xd8\x82"); } // [B1, V7]
18652test { try toAsciiFail("\xe2\x89\xae\xf0\x90\xb9\xbb.\xe2\x92\x8e\xf0\x91\x82\xb5\xda\xba\xd8\x82", false); } // [B1, V7]
18653test { try toAsciiFail("\xe2\x89\xae\xf0\x90\xb9\xbb.\xe2\x92\x8e\xf0\x91\x82\xb5\xda\xba\xd8\x82", true); } // [B1, V7]
18654test { try toUnicodeFail("<\xcc\xb8\xf0\x90\xb9\xbb.\xe2\x92\x8e\xf0\x91\x82\xb5\xda\xba\xd8\x82"); } // [B1, V7]
18655test { try toAsciiFail("<\xcc\xb8\xf0\x90\xb9\xbb.\xe2\x92\x8e\xf0\x91\x82\xb5\xda\xba\xd8\x82", false); } // [B1, V7]
18656test { try toAsciiFail("<\xcc\xb8\xf0\x90\xb9\xbb.\xe2\x92\x8e\xf0\x91\x82\xb5\xda\xba\xd8\x82", true); } // [B1, V7]
18657test { try toUnicodeFail("\xe2\x89\xae\xf0\x90\xb9\xbb.7.\xf0\x91\x82\xb5\xda\xba\xd8\x82"); } // [B1, V6, V7]
18658test { try toAsciiFail("\xe2\x89\xae\xf0\x90\xb9\xbb.7.\xf0\x91\x82\xb5\xda\xba\xd8\x82", false); } // [B1, V6, V7]
18659test { try toAsciiFail("\xe2\x89\xae\xf0\x90\xb9\xbb.7.\xf0\x91\x82\xb5\xda\xba\xd8\x82", true); } // [B1, V6, V7]
18660test { try toUnicodeFail("<\xcc\xb8\xf0\x90\xb9\xbb.7.\xf0\x91\x82\xb5\xda\xba\xd8\x82"); } // [B1, V6, V7]
18661test { try toAsciiFail("<\xcc\xb8\xf0\x90\xb9\xbb.7.\xf0\x91\x82\xb5\xda\xba\xd8\x82", false); } // [B1, V6, V7]
18662test { try toAsciiFail("<\xcc\xb8\xf0\x90\xb9\xbb.7.\xf0\x91\x82\xb5\xda\xba\xd8\x82", true); } // [B1, V6, V7]
18663test { try toUnicodeFail("xn--gdhx904g.7.xn--kfb18an307d"); } // [B1, V6, V7]
18664test { try toAsciiFail("xn--gdhx904g.7.xn--kfb18an307d", false); } // [B1, V6, V7]
18665test { try toAsciiFail("xn--gdhx904g.7.xn--kfb18an307d", true); } // [B1, V6, V7]
18666test { try toUnicodeFail("xn--gdhx904g.xn--kfb18a325efm3s"); } // [B1, V7]
18667test { try toAsciiFail("xn--gdhx904g.xn--kfb18a325efm3s", false); } // [B1, V7]
18668test { try toAsciiFail("xn--gdhx904g.xn--kfb18a325efm3s", true); } // [B1, V7]
18669test { try toUnicodeFail("\xe1\xa2\x94\xe2\x89\xa0\xf4\x8b\x89\x82.\xe2\x80\x8d\xf0\x90\x8b\xa2"); } // [C2, V7]
18670test { try toAsciiFail("\xe1\xa2\x94\xe2\x89\xa0\xf4\x8b\x89\x82.\xe2\x80\x8d\xf0\x90\x8b\xa2", false); } // [C2, V7]
18671test { try toAsciiFail("\xe1\xa2\x94\xe2\x89\xa0\xf4\x8b\x89\x82.\xe2\x80\x8d\xf0\x90\x8b\xa2", true); } // [V7]
18672test { try toUnicodeFail("\xe1\xa2\x94=\xcc\xb8\xf4\x8b\x89\x82.\xe2\x80\x8d\xf0\x90\x8b\xa2"); } // [C2, V7]
18673test { try toAsciiFail("\xe1\xa2\x94=\xcc\xb8\xf4\x8b\x89\x82.\xe2\x80\x8d\xf0\x90\x8b\xa2", false); } // [C2, V7]
18674test { try toAsciiFail("\xe1\xa2\x94=\xcc\xb8\xf4\x8b\x89\x82.\xe2\x80\x8d\xf0\x90\x8b\xa2", true); } // [V7]
18675test { try toUnicodeFail("xn--ebf031cf7196a.xn--587c"); } // [V7]
18676test { try toAsciiFail("xn--ebf031cf7196a.xn--587c", false); } // [V7]
18677test { try toAsciiFail("xn--ebf031cf7196a.xn--587c", true); } // [V7]
18678test { try toUnicodeFail("xn--ebf031cf7196a.xn--1ug9540g"); } // [C2, V7]
18679test { try toAsciiFail("xn--ebf031cf7196a.xn--1ug9540g", false); } // [C2, V7]
18680test { try toAsciiFail("xn--ebf031cf7196a.xn--1ug9540g", true); } // [C2, V7]
18681test { try toUnicodeFail("\xf0\x90\xa9\x81\xe2\x89\xae\xf1\xa3\x8a\x9b\xe2\x89\xaf\xef\xbc\x8e\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf"); } // [B1, B2, B3, V7]
18682test { try toAsciiFail("\xf0\x90\xa9\x81\xe2\x89\xae\xf1\xa3\x8a\x9b\xe2\x89\xaf\xef\xbc\x8e\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf", false); } // [B1, B2, B3, V7]
18683test { try toAsciiFail("\xf0\x90\xa9\x81\xe2\x89\xae\xf1\xa3\x8a\x9b\xe2\x89\xaf\xef\xbc\x8e\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf", true); } // [B1, B2, B3, V7]
18684test { try toUnicodeFail("\xf0\x90\xa9\x81<\xcc\xb8\xf1\xa3\x8a\x9b>\xcc\xb8\xef\xbc\x8e\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf"); } // [B1, B2, B3, V7]
18685test { try toAsciiFail("\xf0\x90\xa9\x81<\xcc\xb8\xf1\xa3\x8a\x9b>\xcc\xb8\xef\xbc\x8e\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf", false); } // [B1, B2, B3, V7]
18686test { try toAsciiFail("\xf0\x90\xa9\x81<\xcc\xb8\xf1\xa3\x8a\x9b>\xcc\xb8\xef\xbc\x8e\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf", true); } // [B1, B2, B3, V7]
18687test { try toUnicodeFail("\xf0\x90\xa9\x81\xe2\x89\xae\xf1\xa3\x8a\x9b\xe2\x89\xaf.\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf"); } // [B1, B2, B3, V7]
18688test { try toAsciiFail("\xf0\x90\xa9\x81\xe2\x89\xae\xf1\xa3\x8a\x9b\xe2\x89\xaf.\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf", false); } // [B1, B2, B3, V7]
18689test { try toAsciiFail("\xf0\x90\xa9\x81\xe2\x89\xae\xf1\xa3\x8a\x9b\xe2\x89\xaf.\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf", true); } // [B1, B2, B3, V7]
18690test { try toUnicodeFail("\xf0\x90\xa9\x81<\xcc\xb8\xf1\xa3\x8a\x9b>\xcc\xb8.\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf"); } // [B1, B2, B3, V7]
18691test { try toAsciiFail("\xf0\x90\xa9\x81<\xcc\xb8\xf1\xa3\x8a\x9b>\xcc\xb8.\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf", false); } // [B1, B2, B3, V7]
18692test { try toAsciiFail("\xf0\x90\xa9\x81<\xcc\xb8\xf1\xa3\x8a\x9b>\xcc\xb8.\xd9\xac\xf0\x9e\xb5\x95\xe2\xb3\xbf", true); } // [B1, B2, B3, V7]
18693test { try toUnicodeFail("xn--gdhc0519o0y27b.xn--lib468q0d21a"); } // [B1, B2, B3, V7]
18694test { try toAsciiFail("xn--gdhc0519o0y27b.xn--lib468q0d21a", false); } // [B1, B2, B3, V7]
18695test { try toAsciiFail("xn--gdhc0519o0y27b.xn--lib468q0d21a", true); } // [B1, B2, B3, V7]
18696test { try toUnicodeFail("-\xef\xbd\xa1\xe2\xba\x90"); } // [V3]
18697test { try toAsciiFail("-\xef\xbd\xa1\xe2\xba\x90", false); } // [V3]
18698test { try toAsciiFail("-\xef\xbd\xa1\xe2\xba\x90", true); } // [V3]
18699test { try toUnicodeFail("-\xe3\x80\x82\xe2\xba\x90"); } // [V3]
18700test { try toAsciiFail("-\xe3\x80\x82\xe2\xba\x90", false); } // [V3]
18701test { try toAsciiFail("-\xe3\x80\x82\xe2\xba\x90", true); } // [V3]
18702test { try toUnicodeFail("-.xn--6vj"); } // [V3]
18703test { try toAsciiFail("-.xn--6vj", false); } // [V3]
18704test { try toAsciiFail("-.xn--6vj", true); } // [V3]
18705test { try toUnicodeFail("\xf3\xa0\xb0\xa9\xf0\x91\xb2\xac\xef\xbc\x8e\xd9\x9c"); } // [V6, V7]
18706test { try toAsciiFail("\xf3\xa0\xb0\xa9\xf0\x91\xb2\xac\xef\xbc\x8e\xd9\x9c", false); } // [V6, V7]
18707test { try toAsciiFail("\xf3\xa0\xb0\xa9\xf0\x91\xb2\xac\xef\xbc\x8e\xd9\x9c", true); } // [V6, V7]
18708test { try toUnicodeFail("\xf3\xa0\xb0\xa9\xf0\x91\xb2\xac.\xd9\x9c"); } // [V6, V7]
18709test { try toAsciiFail("\xf3\xa0\xb0\xa9\xf0\x91\xb2\xac.\xd9\x9c", false); } // [V6, V7]
18710test { try toAsciiFail("\xf3\xa0\xb0\xa9\xf0\x91\xb2\xac.\xd9\x9c", true); } // [V6, V7]
18711test { try toUnicodeFail("xn--sn3d59267c.xn--4hb"); } // [V6, V7]
18712test { try toAsciiFail("xn--sn3d59267c.xn--4hb", false); } // [V6, V7]
18713test { try toAsciiFail("xn--sn3d59267c.xn--4hb", true); } // [V6, V7]
18714test { try toUnicodeFail("\xf0\x90\x8d\xba.\xf1\x9a\x87\x83\xe2\x80\x8c"); } // [C1, V6, V7]
18715test { try toAsciiFail("\xf0\x90\x8d\xba.\xf1\x9a\x87\x83\xe2\x80\x8c", false); } // [C1, V6, V7]
18716test { try toAsciiFail("\xf0\x90\x8d\xba.\xf1\x9a\x87\x83\xe2\x80\x8c", true); } // [V6, V7]
18717test { try toUnicodeFail("xn--ie8c.xn--2g51a"); } // [V6, V7]
18718test { try toAsciiFail("xn--ie8c.xn--2g51a", false); } // [V6, V7]
18719test { try toAsciiFail("xn--ie8c.xn--2g51a", true); } // [V6, V7]
18720test { try toUnicodeFail("xn--ie8c.xn--0ug03366c"); } // [C1, V6, V7]
18721test { try toAsciiFail("xn--ie8c.xn--0ug03366c", false); } // [C1, V6, V7]
18722test { try toAsciiFail("xn--ie8c.xn--0ug03366c", true); } // [C1, V6, V7]
18723test { try toUnicodeFail("\xd8\xbd\xdb\xa3.\xf0\x90\xa8\x8e"); } // [B1, V6]
18724test { try toAsciiFail("\xd8\xbd\xdb\xa3.\xf0\x90\xa8\x8e", false); } // [B1, V6]
18725test { try toAsciiFail("\xd8\xbd\xdb\xa3.\xf0\x90\xa8\x8e", true); } // [B1, V6]
18726test { try toUnicodeFail("xn--8gb64a.xn--mr9c"); } // [B1, V6]
18727test { try toAsciiFail("xn--8gb64a.xn--mr9c", false); } // [B1, V6]
18728test { try toAsciiFail("xn--8gb64a.xn--mr9c", true); } // [B1, V6]
18729test { try toUnicodeFail("\xe6\xbc\xa6\xe1\x82\xb9\xcf\x82.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84"); } // [B5, B6, V7]
18730test { try toAsciiFail("\xe6\xbc\xa6\xe1\x82\xb9\xcf\x82.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84", false); } // [B5, B6, V7]
18731test { try toAsciiFail("\xe6\xbc\xa6\xe1\x82\xb9\xcf\x82.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84", true); } // [B5, B6, V7]
18732test { try toUnicodeFail("\xe6\xbc\xa6\xe2\xb4\x99\xcf\x82.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84"); } // [B5, B6, V7]
18733test { try toAsciiFail("\xe6\xbc\xa6\xe2\xb4\x99\xcf\x82.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84", false); } // [B5, B6, V7]
18734test { try toAsciiFail("\xe6\xbc\xa6\xe2\xb4\x99\xcf\x82.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84", true); } // [B5, B6, V7]
18735test { try toUnicodeFail("\xe6\xbc\xa6\xe1\x82\xb9\xce\xa3.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84"); } // [B5, B6, V7]
18736test { try toAsciiFail("\xe6\xbc\xa6\xe1\x82\xb9\xce\xa3.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84", false); } // [B5, B6, V7]
18737test { try toAsciiFail("\xe6\xbc\xa6\xe1\x82\xb9\xce\xa3.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84", true); } // [B5, B6, V7]
18738test { try toUnicodeFail("\xe6\xbc\xa6\xe2\xb4\x99\xcf\x83.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84"); } // [B5, B6, V7]
18739test { try toAsciiFail("\xe6\xbc\xa6\xe2\xb4\x99\xcf\x83.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84", false); } // [B5, B6, V7]
18740test { try toAsciiFail("\xe6\xbc\xa6\xe2\xb4\x99\xcf\x83.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84", true); } // [B5, B6, V7]
18741test { try toUnicodeFail("\xe6\xbc\xa6\xe1\x82\xb9\xcf\x83.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84"); } // [B5, B6, V7]
18742test { try toAsciiFail("\xe6\xbc\xa6\xe1\x82\xb9\xcf\x83.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84", false); } // [B5, B6, V7]
18743test { try toAsciiFail("\xe6\xbc\xa6\xe1\x82\xb9\xcf\x83.\xf1\xa1\xbb\x80\xf0\x90\xb4\x84", true); } // [B5, B6, V7]
18744test { try toUnicodeFail("xn--4xa772sl47b.xn--9d0d3162t"); } // [B5, B6, V7]
18745test { try toAsciiFail("xn--4xa772sl47b.xn--9d0d3162t", false); } // [B5, B6, V7]
18746test { try toAsciiFail("xn--4xa772sl47b.xn--9d0d3162t", true); } // [B5, B6, V7]
18747test { try toUnicodeFail("xn--3xa972sl47b.xn--9d0d3162t"); } // [B5, B6, V7]
18748test { try toAsciiFail("xn--3xa972sl47b.xn--9d0d3162t", false); } // [B5, B6, V7]
18749test { try toAsciiFail("xn--3xa972sl47b.xn--9d0d3162t", true); } // [B5, B6, V7]
18750test { try toUnicodeFail("xn--4xa947d717e.xn--9d0d3162t"); } // [B5, B6, V7]
18751test { try toAsciiFail("xn--4xa947d717e.xn--9d0d3162t", false); } // [B5, B6, V7]
18752test { try toAsciiFail("xn--4xa947d717e.xn--9d0d3162t", true); } // [B5, B6, V7]
18753test { try toUnicodeFail("xn--3xa157d717e.xn--9d0d3162t"); } // [B5, B6, V7]
18754test { try toAsciiFail("xn--3xa157d717e.xn--9d0d3162t", false); } // [B5, B6, V7]
18755test { try toAsciiFail("xn--3xa157d717e.xn--9d0d3162t", true); } // [B5, B6, V7]
18756test { try toUnicodeFail("\xf0\x90\xb9\xab\xe8\xb8\xa7\xe0\xb3\x8d\xf2\xab\x9a\x87.\xf3\x9c\x80\x83\xe2\x92\x88\xf0\x9d\xa8\xa4"); } // [B1, V7]
18757test { try toAsciiFail("\xf0\x90\xb9\xab\xe8\xb8\xa7\xe0\xb3\x8d\xf2\xab\x9a\x87.\xf3\x9c\x80\x83\xe2\x92\x88\xf0\x9d\xa8\xa4", false); } // [B1, V7]
18758test { try toAsciiFail("\xf0\x90\xb9\xab\xe8\xb8\xa7\xe0\xb3\x8d\xf2\xab\x9a\x87.\xf3\x9c\x80\x83\xe2\x92\x88\xf0\x9d\xa8\xa4", true); } // [B1, V7]
18759test { try toUnicodeFail("\xf0\x90\xb9\xab\xe8\xb8\xa7\xe0\xb3\x8d\xf2\xab\x9a\x87.\xf3\x9c\x80\x831.\xf0\x9d\xa8\xa4"); } // [B1, V6, V7]
18760test { try toAsciiFail("\xf0\x90\xb9\xab\xe8\xb8\xa7\xe0\xb3\x8d\xf2\xab\x9a\x87.\xf3\x9c\x80\x831.\xf0\x9d\xa8\xa4", false); } // [B1, V6, V7]
18761test { try toAsciiFail("\xf0\x90\xb9\xab\xe8\xb8\xa7\xe0\xb3\x8d\xf2\xab\x9a\x87.\xf3\x9c\x80\x831.\xf0\x9d\xa8\xa4", true); } // [B1, V6, V7]
18762test { try toUnicodeFail("xn--8tc1437dro0d6q06h.xn--1-p948l.xn--m82h"); } // [B1, V6, V7]
18763test { try toAsciiFail("xn--8tc1437dro0d6q06h.xn--1-p948l.xn--m82h", false); } // [B1, V6, V7]
18764test { try toAsciiFail("xn--8tc1437dro0d6q06h.xn--1-p948l.xn--m82h", true); } // [B1, V6, V7]
18765test { try toUnicodeFail("xn--8tc1437dro0d6q06h.xn--tsh2611ncu71e"); } // [B1, V7]
18766test { try toAsciiFail("xn--8tc1437dro0d6q06h.xn--tsh2611ncu71e", false); } // [B1, V7]
18767test { try toAsciiFail("xn--8tc1437dro0d6q06h.xn--tsh2611ncu71e", true); } // [B1, V7]
18768test { try toUnicodeFail("\xe2\x80\x8d\xe2\x89\xae\xef\xbc\x8e\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-"); } // [C2, V3, V7]
18769test { try toAsciiFail("\xe2\x80\x8d\xe2\x89\xae\xef\xbc\x8e\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-", false); } // [C2, V3, V7]
18770test { try toAsciiFail("\xe2\x80\x8d\xe2\x89\xae\xef\xbc\x8e\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-", true); } // [V3, V7]
18771test { try toUnicodeFail("\xe2\x80\x8d<\xcc\xb8\xef\xbc\x8e\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-"); } // [C2, V3, V7]
18772test { try toAsciiFail("\xe2\x80\x8d<\xcc\xb8\xef\xbc\x8e\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-", false); } // [C2, V3, V7]
18773test { try toAsciiFail("\xe2\x80\x8d<\xcc\xb8\xef\xbc\x8e\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-", true); } // [V3, V7]
18774test { try toUnicodeFail("\xe2\x80\x8d\xe2\x89\xae.\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-"); } // [C2, V3, V7]
18775test { try toAsciiFail("\xe2\x80\x8d\xe2\x89\xae.\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-", false); } // [C2, V3, V7]
18776test { try toAsciiFail("\xe2\x80\x8d\xe2\x89\xae.\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-", true); } // [V3, V7]
18777test { try toUnicodeFail("\xe2\x80\x8d<\xcc\xb8.\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-"); } // [C2, V3, V7]
18778test { try toAsciiFail("\xe2\x80\x8d<\xcc\xb8.\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-", false); } // [C2, V3, V7]
18779test { try toAsciiFail("\xe2\x80\x8d<\xcc\xb8.\xf3\xa0\x9f\xaa\xf0\xb9\xab\x8f-", true); } // [V3, V7]
18780test { try toUnicodeFail("xn--gdh.xn----cr99a1w710b"); } // [V3, V7]
18781test { try toAsciiFail("xn--gdh.xn----cr99a1w710b", false); } // [V3, V7]
18782test { try toAsciiFail("xn--gdh.xn----cr99a1w710b", true); } // [V3, V7]
18783test { try toUnicodeFail("xn--1ug95g.xn----cr99a1w710b"); } // [C2, V3, V7]
18784test { try toAsciiFail("xn--1ug95g.xn----cr99a1w710b", false); } // [C2, V3, V7]
18785test { try toAsciiFail("xn--1ug95g.xn----cr99a1w710b", true); } // [C2, V3, V7]
18786test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8d\xe8\xa5\x94\xe3\x80\x82\xe1\x82\xbc5\xea\xa1\xae\xf1\xb5\x9d\x8f"); } // [C2, V7]
18787test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8d\xe8\xa5\x94\xe3\x80\x82\xe1\x82\xbc5\xea\xa1\xae\xf1\xb5\x9d\x8f", false); } // [C2, V7]
18788test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8d\xe8\xa5\x94\xe3\x80\x82\xe1\x82\xbc5\xea\xa1\xae\xf1\xb5\x9d\x8f", true); } // [V7]
18789test { try toUnicodeFail("\xe2\x80\x8d\xe2\x80\x8d\xe8\xa5\x94\xe3\x80\x82\xe2\xb4\x9c5\xea\xa1\xae\xf1\xb5\x9d\x8f"); } // [C2, V7]
18790test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8d\xe8\xa5\x94\xe3\x80\x82\xe2\xb4\x9c5\xea\xa1\xae\xf1\xb5\x9d\x8f", false); } // [C2, V7]
18791test { try toAsciiFail("\xe2\x80\x8d\xe2\x80\x8d\xe8\xa5\x94\xe3\x80\x82\xe2\xb4\x9c5\xea\xa1\xae\xf1\xb5\x9d\x8f", true); } // [V7]
18792test { try toUnicodeFail("xn--2u2a.xn--5-uws5848bpf44e"); } // [V7]
18793test { try toAsciiFail("xn--2u2a.xn--5-uws5848bpf44e", false); } // [V7]
18794test { try toAsciiFail("xn--2u2a.xn--5-uws5848bpf44e", true); } // [V7]
18795test { try toUnicodeFail("xn--1uga7691f.xn--5-uws5848bpf44e"); } // [C2, V7]
18796test { try toAsciiFail("xn--1uga7691f.xn--5-uws5848bpf44e", false); } // [C2, V7]
18797test { try toAsciiFail("xn--1uga7691f.xn--5-uws5848bpf44e", true); } // [C2, V7]
18798test { try toUnicodeFail("xn--2u2a.xn--5-r1g7167ipfw8d"); } // [V7]
18799test { try toAsciiFail("xn--2u2a.xn--5-r1g7167ipfw8d", false); } // [V7]
18800test { try toAsciiFail("xn--2u2a.xn--5-r1g7167ipfw8d", true); } // [V7]
18801test { try toUnicodeFail("xn--1uga7691f.xn--5-r1g7167ipfw8d"); } // [C2, V7]
18802test { try toAsciiFail("xn--1uga7691f.xn--5-r1g7167ipfw8d", false); } // [C2, V7]
18803test { try toAsciiFail("xn--1uga7691f.xn--5-r1g7167ipfw8d", true); } // [C2, V7]
18804test { try toAsciiPass("\xf0\x90\xab\x9c\xf0\x91\x8c\xbc\xe2\x80\x8d\xef\xbc\x8e\xe5\xa9\x80", "xn--ix9c26l.xn--q0s", true); }
18805test { try toUnicodeFail("\xf0\x90\xab\x9c\xf0\x91\x8c\xbc\xe2\x80\x8d\xef\xbc\x8e\xe5\xa9\x80"); } // [B3, C2]
18806test { try toAsciiFail("\xf0\x90\xab\x9c\xf0\x91\x8c\xbc\xe2\x80\x8d\xef\xbc\x8e\xe5\xa9\x80", false); } // [B3, C2]
18807test { try toAsciiPass("\xf0\x90\xab\x9c\xf0\x91\x8c\xbc\xe2\x80\x8d.\xe5\xa9\x80", "xn--ix9c26l.xn--q0s", true); }
18808test { try toUnicodeFail("\xf0\x90\xab\x9c\xf0\x91\x8c\xbc\xe2\x80\x8d.\xe5\xa9\x80"); } // [B3, C2]
18809test { try toAsciiFail("\xf0\x90\xab\x9c\xf0\x91\x8c\xbc\xe2\x80\x8d.\xe5\xa9\x80", false); } // [B3, C2]
18810test { try toUnicodePass("xn--ix9c26l.xn--q0s", "\xf0\x90\xab\x9c\xf0\x91\x8c\xbc.\xe5\xa9\x80"); }
18811test { try toAsciiPass("xn--ix9c26l.xn--q0s", "xn--ix9c26l.xn--q0s", false); }
18812test { try toAsciiPass("xn--ix9c26l.xn--q0s", "xn--ix9c26l.xn--q0s", true); }
18813test { try toUnicodePass("\xf0\x90\xab\x9c\xf0\x91\x8c\xbc.\xe5\xa9\x80", "\xf0\x90\xab\x9c\xf0\x91\x8c\xbc.\xe5\xa9\x80"); }
18814test { try toAsciiPass("\xf0\x90\xab\x9c\xf0\x91\x8c\xbc.\xe5\xa9\x80", "xn--ix9c26l.xn--q0s", false); }
18815test { try toAsciiPass("\xf0\x90\xab\x9c\xf0\x91\x8c\xbc.\xe5\xa9\x80", "xn--ix9c26l.xn--q0s", true); }
18816test { try toUnicodeFail("xn--1ugx063g1if.xn--q0s"); } // [B3, C2]
18817test { try toAsciiFail("xn--1ugx063g1if.xn--q0s", false); } // [B3, C2]
18818test { try toAsciiFail("xn--1ugx063g1if.xn--q0s", true); } // [B3, C2]
18819test { try toUnicodeFail("\xf3\xa0\x85\xbd\xef\xb8\x92\xef\xb8\x92\xf0\x90\xb9\xaf\xef\xbd\xa1\xe2\xac\xb3\xe1\xa9\xb8"); } // [B1, V7]
18820test { try toAsciiFail("\xf3\xa0\x85\xbd\xef\xb8\x92\xef\xb8\x92\xf0\x90\xb9\xaf\xef\xbd\xa1\xe2\xac\xb3\xe1\xa9\xb8", false); } // [B1, V7]
18821test { try toAsciiFail("\xf3\xa0\x85\xbd\xef\xb8\x92\xef\xb8\x92\xf0\x90\xb9\xaf\xef\xbd\xa1\xe2\xac\xb3\xe1\xa9\xb8", true); } // [B1, V7]
18822test { try toUnicodeFail("\xf3\xa0\x85\xbd\xe3\x80\x82\xe3\x80\x82\xf0\x90\xb9\xaf\xe3\x80\x82\xe2\xac\xb3\xe1\xa9\xb8"); } // [B1, X4_2]
18823test { try toAsciiFail("\xf3\xa0\x85\xbd\xe3\x80\x82\xe3\x80\x82\xf0\x90\xb9\xaf\xe3\x80\x82\xe2\xac\xb3\xe1\xa9\xb8", false); } // [B1, A4_2]
18824test { try toAsciiFail("\xf3\xa0\x85\xbd\xe3\x80\x82\xe3\x80\x82\xf0\x90\xb9\xaf\xe3\x80\x82\xe2\xac\xb3\xe1\xa9\xb8", true); } // [B1, A4_2]
18825test { try toUnicodeFail("..xn--no0d.xn--7of309e"); } // [B1, X4_2]
18826test { try toAsciiFail("..xn--no0d.xn--7of309e", false); } // [B1, A4_2]
18827test { try toAsciiFail("..xn--no0d.xn--7of309e", true); } // [B1, A4_2]
18828test { try toUnicodeFail("xn--y86ca186j.xn--7of309e"); } // [B1, V7]
18829test { try toAsciiFail("xn--y86ca186j.xn--7of309e", false); } // [B1, V7]
18830test { try toAsciiFail("xn--y86ca186j.xn--7of309e", true); } // [B1, V7]
18831test { try toUnicodeFail("\xf0\x9d\x9f\x96\xc3\x9f\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf"); } // [V3, U1]
18832test { try toAsciiFail("\xf0\x9d\x9f\x96\xc3\x9f\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf", false); } // [V3, U1]
18833test { try toAsciiFail("\xf0\x9d\x9f\x96\xc3\x9f\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf", true); } // [V3, U1]
18834test { try toUnicodeFail("8\xc3\x9f.\xf3\xa0\x84\x90-?\xe1\x82\xaf"); } // [V3, U1]
18835test { try toAsciiFail("8\xc3\x9f.\xf3\xa0\x84\x90-?\xe1\x82\xaf", false); } // [V3, U1]
18836test { try toAsciiFail("8\xc3\x9f.\xf3\xa0\x84\x90-?\xe1\x82\xaf", true); } // [V3, U1]
18837test { try toUnicodeFail("8\xc3\x9f.\xf3\xa0\x84\x90-?\xe2\xb4\x8f"); } // [V3, U1]
18838test { try toAsciiFail("8\xc3\x9f.\xf3\xa0\x84\x90-?\xe2\xb4\x8f", false); } // [V3, U1]
18839test { try toAsciiFail("8\xc3\x9f.\xf3\xa0\x84\x90-?\xe2\xb4\x8f", true); } // [V3, U1]
18840test { try toUnicodeFail("8SS.\xf3\xa0\x84\x90-?\xe1\x82\xaf"); } // [V3, U1]
18841test { try toAsciiFail("8SS.\xf3\xa0\x84\x90-?\xe1\x82\xaf", false); } // [V3, U1]
18842test { try toAsciiFail("8SS.\xf3\xa0\x84\x90-?\xe1\x82\xaf", true); } // [V3, U1]
18843test { try toUnicodeFail("8ss.\xf3\xa0\x84\x90-?\xe2\xb4\x8f"); } // [V3, U1]
18844test { try toAsciiFail("8ss.\xf3\xa0\x84\x90-?\xe2\xb4\x8f", false); } // [V3, U1]
18845test { try toAsciiFail("8ss.\xf3\xa0\x84\x90-?\xe2\xb4\x8f", true); } // [V3, U1]
18846test { try toUnicodeFail("8ss.\xf3\xa0\x84\x90-?\xe1\x82\xaf"); } // [V3, U1]
18847test { try toAsciiFail("8ss.\xf3\xa0\x84\x90-?\xe1\x82\xaf", false); } // [V3, U1]
18848test { try toAsciiFail("8ss.\xf3\xa0\x84\x90-?\xe1\x82\xaf", true); } // [V3, U1]
18849test { try toUnicodeFail("8ss.xn---?-261a"); } // [V3, U1]
18850test { try toAsciiFail("8ss.xn---?-261a", false); } // [V3, U1]
18851test { try toAsciiFail("8ss.xn---?-261a", true); } // [V3, U1]
18852test { try toUnicodeFail("xn--8-qfa.xn---?-261a"); } // [V3, U1]
18853test { try toAsciiFail("xn--8-qfa.xn---?-261a", false); } // [V3, U1]
18854test { try toAsciiFail("xn--8-qfa.xn---?-261a", true); } // [V3, U1]
18855test { try toUnicodeFail("\xf0\x9d\x9f\x96\xc3\x9f\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe2\xb4\x8f"); } // [V3, U1]
18856test { try toAsciiFail("\xf0\x9d\x9f\x96\xc3\x9f\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe2\xb4\x8f", false); } // [V3, U1]
18857test { try toAsciiFail("\xf0\x9d\x9f\x96\xc3\x9f\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe2\xb4\x8f", true); } // [V3, U1]
18858test { try toUnicodeFail("\xf0\x9d\x9f\x96SS\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf"); } // [V3, U1]
18859test { try toAsciiFail("\xf0\x9d\x9f\x96SS\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf", false); } // [V3, U1]
18860test { try toAsciiFail("\xf0\x9d\x9f\x96SS\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf", true); } // [V3, U1]
18861test { try toUnicodeFail("\xf0\x9d\x9f\x96ss\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe2\xb4\x8f"); } // [V3, U1]
18862test { try toAsciiFail("\xf0\x9d\x9f\x96ss\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe2\xb4\x8f", false); } // [V3, U1]
18863test { try toAsciiFail("\xf0\x9d\x9f\x96ss\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe2\xb4\x8f", true); } // [V3, U1]
18864test { try toUnicodeFail("\xf0\x9d\x9f\x96ss\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf"); } // [V3, U1]
18865test { try toAsciiFail("\xf0\x9d\x9f\x96ss\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf", false); } // [V3, U1]
18866test { try toAsciiFail("\xf0\x9d\x9f\x96ss\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf", true); } // [V3, U1]
18867test { try toUnicodeFail("8ss.xn---?-gfk"); } // [V3, V7, U1]
18868test { try toAsciiFail("8ss.xn---?-gfk", false); } // [V3, V7, U1]
18869test { try toAsciiFail("8ss.xn---?-gfk", true); } // [V3, V7, U1]
18870test { try toUnicodeFail("xn--8-qfa.xn---?-gfk"); } // [V3, V7, U1]
18871test { try toAsciiFail("xn--8-qfa.xn---?-gfk", false); } // [V3, V7, U1]
18872test { try toAsciiFail("xn--8-qfa.xn---?-gfk", true); } // [V3, V7, U1]
18873test { try toUnicodeFail("8ss.-?\xe1\x82\xaf"); } // [V3, U1]
18874test { try toAsciiFail("8ss.-?\xe1\x82\xaf", false); } // [V3, U1]
18875test { try toAsciiFail("8ss.-?\xe1\x82\xaf", true); } // [V3, U1]
18876test { try toUnicodeFail("8ss.-?\xe2\xb4\x8f"); } // [V3, U1]
18877test { try toAsciiFail("8ss.-?\xe2\xb4\x8f", false); } // [V3, U1]
18878test { try toAsciiFail("8ss.-?\xe2\xb4\x8f", true); } // [V3, U1]
18879test { try toUnicodeFail("8SS.-?\xe1\x82\xaf"); } // [V3, U1]
18880test { try toAsciiFail("8SS.-?\xe1\x82\xaf", false); } // [V3, U1]
18881test { try toAsciiFail("8SS.-?\xe1\x82\xaf", true); } // [V3, U1]
18882test { try toUnicodeFail("xn--8-qfa.-?\xe2\xb4\x8f"); } // [V3, U1]
18883test { try toAsciiFail("xn--8-qfa.-?\xe2\xb4\x8f", false); } // [V3, U1]
18884test { try toAsciiFail("xn--8-qfa.-?\xe2\xb4\x8f", true); } // [V3, U1]
18885test { try toUnicodeFail("XN--8-QFA.-?\xe1\x82\xaf"); } // [V3, U1]
18886test { try toAsciiFail("XN--8-QFA.-?\xe1\x82\xaf", false); } // [V3, U1]
18887test { try toAsciiFail("XN--8-QFA.-?\xe1\x82\xaf", true); } // [V3, U1]
18888test { try toUnicodeFail("Xn--8-Qfa.-?\xe1\x82\xaf"); } // [V3, U1]
18889test { try toAsciiFail("Xn--8-Qfa.-?\xe1\x82\xaf", false); } // [V3, U1]
18890test { try toAsciiFail("Xn--8-Qfa.-?\xe1\x82\xaf", true); } // [V3, U1]
18891test { try toUnicodeFail("xn--8-qfa.-?\xe1\x82\xaf"); } // [V3, U1]
18892test { try toAsciiFail("xn--8-qfa.-?\xe1\x82\xaf", false); } // [V3, U1]
18893test { try toAsciiFail("xn--8-qfa.-?\xe1\x82\xaf", true); } // [V3, U1]
18894test { try toUnicodeFail("\xf0\x9d\x9f\x96Ss\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf"); } // [V3, U1]
18895test { try toAsciiFail("\xf0\x9d\x9f\x96Ss\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf", false); } // [V3, U1]
18896test { try toAsciiFail("\xf0\x9d\x9f\x96Ss\xef\xbc\x8e\xf3\xa0\x84\x90-?\xe1\x82\xaf", true); } // [V3, U1]
18897test { try toUnicodeFail("8Ss.\xf3\xa0\x84\x90-?\xe1\x82\xaf"); } // [V3, U1]
18898test { try toAsciiFail("8Ss.\xf3\xa0\x84\x90-?\xe1\x82\xaf", false); } // [V3, U1]
18899test { try toAsciiFail("8Ss.\xf3\xa0\x84\x90-?\xe1\x82\xaf", true); } // [V3, U1]
18900test { try toUnicodeFail("-\xe2\x80\x8d\xf3\xa0\x8b\x9f.\xe2\x80\x8c\xf0\x90\xb9\xa3\xe1\x82\xa5"); } // [B1, C1, C2, V3, V7]
18901test { try toAsciiFail("-\xe2\x80\x8d\xf3\xa0\x8b\x9f.\xe2\x80\x8c\xf0\x90\xb9\xa3\xe1\x82\xa5", false); } // [B1, C1, C2, V3, V7]
18902test { try toAsciiFail("-\xe2\x80\x8d\xf3\xa0\x8b\x9f.\xe2\x80\x8c\xf0\x90\xb9\xa3\xe1\x82\xa5", true); } // [B1, V3, V7]
18903test { try toUnicodeFail("-\xe2\x80\x8d\xf3\xa0\x8b\x9f.\xe2\x80\x8c\xf0\x90\xb9\xa3\xe2\xb4\x85"); } // [B1, C1, C2, V3, V7]
18904test { try toAsciiFail("-\xe2\x80\x8d\xf3\xa0\x8b\x9f.\xe2\x80\x8c\xf0\x90\xb9\xa3\xe2\xb4\x85", false); } // [B1, C1, C2, V3, V7]
18905test { try toAsciiFail("-\xe2\x80\x8d\xf3\xa0\x8b\x9f.\xe2\x80\x8c\xf0\x90\xb9\xa3\xe2\xb4\x85", true); } // [B1, V3, V7]
18906test { try toUnicodeFail("xn----s721m.xn--wkj1423e"); } // [B1, V3, V7]
18907test { try toAsciiFail("xn----s721m.xn--wkj1423e", false); } // [B1, V3, V7]
18908test { try toAsciiFail("xn----s721m.xn--wkj1423e", true); } // [B1, V3, V7]
18909test { try toUnicodeFail("xn----ugnv7071n.xn--0ugz32cgr0p"); } // [B1, C1, C2, V3, V7]
18910test { try toAsciiFail("xn----ugnv7071n.xn--0ugz32cgr0p", false); } // [B1, C1, C2, V3, V7]
18911test { try toAsciiFail("xn----ugnv7071n.xn--0ugz32cgr0p", true); } // [B1, C1, C2, V3, V7]
18912test { try toUnicodeFail("xn----s721m.xn--dnd9201k"); } // [B1, V3, V7]
18913test { try toAsciiFail("xn----s721m.xn--dnd9201k", false); } // [B1, V3, V7]
18914test { try toAsciiFail("xn----s721m.xn--dnd9201k", true); } // [B1, V3, V7]
18915test { try toUnicodeFail("xn----ugnv7071n.xn--dnd999e4j4p"); } // [B1, C1, C2, V3, V7]
18916test { try toAsciiFail("xn----ugnv7071n.xn--dnd999e4j4p", false); } // [B1, C1, C2, V3, V7]
18917test { try toAsciiFail("xn----ugnv7071n.xn--dnd999e4j4p", true); } // [B1, C1, C2, V3, V7]
18918test { try toUnicodeFail("\xea\xa6\xb9\xe2\x80\x8d\xed\x81\xb7\xf0\xbb\xb6\xa1\xef\xbd\xa1\xe2\x82\x82"); } // [C2, V6, V7]
18919test { try toAsciiFail("\xea\xa6\xb9\xe2\x80\x8d\xed\x81\xb7\xf0\xbb\xb6\xa1\xef\xbd\xa1\xe2\x82\x82", false); } // [C2, V6, V7]
18920test { try toAsciiFail("\xea\xa6\xb9\xe2\x80\x8d\xed\x81\xb7\xf0\xbb\xb6\xa1\xef\xbd\xa1\xe2\x82\x82", true); } // [V6, V7]
18921test { try toUnicodeFail("\xea\xa6\xb9\xe2\x80\x8d\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xb2\xf0\xbb\xb6\xa1\xef\xbd\xa1\xe2\x82\x82"); } // [C2, V6, V7]
18922test { try toAsciiFail("\xea\xa6\xb9\xe2\x80\x8d\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xb2\xf0\xbb\xb6\xa1\xef\xbd\xa1\xe2\x82\x82", false); } // [C2, V6, V7]
18923test { try toAsciiFail("\xea\xa6\xb9\xe2\x80\x8d\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xb2\xf0\xbb\xb6\xa1\xef\xbd\xa1\xe2\x82\x82", true); } // [V6, V7]
18924test { try toUnicodeFail("\xea\xa6\xb9\xe2\x80\x8d\xed\x81\xb7\xf0\xbb\xb6\xa1\xe3\x80\x822"); } // [C2, V6, V7]
18925test { try toAsciiFail("\xea\xa6\xb9\xe2\x80\x8d\xed\x81\xb7\xf0\xbb\xb6\xa1\xe3\x80\x822", false); } // [C2, V6, V7]
18926test { try toAsciiFail("\xea\xa6\xb9\xe2\x80\x8d\xed\x81\xb7\xf0\xbb\xb6\xa1\xe3\x80\x822", true); } // [V6, V7]
18927test { try toUnicodeFail("\xea\xa6\xb9\xe2\x80\x8d\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xb2\xf0\xbb\xb6\xa1\xe3\x80\x822"); } // [C2, V6, V7]
18928test { try toAsciiFail("\xea\xa6\xb9\xe2\x80\x8d\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xb2\xf0\xbb\xb6\xa1\xe3\x80\x822", false); } // [C2, V6, V7]
18929test { try toAsciiFail("\xea\xa6\xb9\xe2\x80\x8d\xe1\x84\x8f\xe1\x85\xb3\xe1\x86\xb2\xf0\xbb\xb6\xa1\xe3\x80\x822", true); } // [V6, V7]
18930test { try toUnicodeFail("xn--0m9as84e2e21c.c"); } // [V6, V7]
18931test { try toAsciiFail("xn--0m9as84e2e21c.c", false); } // [V6, V7]
18932test { try toAsciiFail("xn--0m9as84e2e21c.c", true); } // [V6, V7]
18933test { try toUnicodeFail("xn--1ug1435cfkyaoi04d.c"); } // [C2, V6, V7]
18934test { try toAsciiFail("xn--1ug1435cfkyaoi04d.c", false); } // [C2, V6, V7]
18935test { try toAsciiFail("xn--1ug1435cfkyaoi04d.c", true); } // [C2, V6, V7]
18936test { try toUnicodeFail("?.\xf0\x9f\x84\x84\xf0\x9e\xaf\x98"); } // [B1, V7, U1]
18937test { try toAsciiFail("?.\xf0\x9f\x84\x84\xf0\x9e\xaf\x98", false); } // [B1, V7, U1]
18938test { try toAsciiFail("?.\xf0\x9f\x84\x84\xf0\x9e\xaf\x98", true); } // [B1, V7, U1]
18939test { try toUnicodeFail("?.3,\xf0\x9e\xaf\x98"); } // [B1, V7, U1]
18940test { try toAsciiFail("?.3,\xf0\x9e\xaf\x98", false); } // [B1, V7, U1]
18941test { try toAsciiFail("?.3,\xf0\x9e\xaf\x98", true); } // [B1, V7, U1]
18942test { try toUnicodeFail("?.xn--3,-tb22a"); } // [B1, V7, U1]
18943test { try toAsciiFail("?.xn--3,-tb22a", false); } // [B1, V7, U1]
18944test { try toAsciiFail("?.xn--3,-tb22a", true); } // [B1, V7, U1]
18945test { try toUnicodeFail("?.xn--3x6hx6f"); } // [B1, V7, U1]
18946test { try toAsciiFail("?.xn--3x6hx6f", false); } // [B1, V7, U1]
18947test { try toAsciiFail("?.xn--3x6hx6f", true); } // [B1, V7, U1]
18948test { try toUnicodeFail("\xf0\x9d\xa8\x96\xf0\x90\xa9\x99\xe3\x80\x82\xdb\x9d\xf3\x80\xa1\xb6\xea\xa3\x85\xe2\x92\x88"); } // [B1, V6, V7]
18949test { try toAsciiFail("\xf0\x9d\xa8\x96\xf0\x90\xa9\x99\xe3\x80\x82\xdb\x9d\xf3\x80\xa1\xb6\xea\xa3\x85\xe2\x92\x88", false); } // [B1, V6, V7]
18950test { try toAsciiFail("\xf0\x9d\xa8\x96\xf0\x90\xa9\x99\xe3\x80\x82\xdb\x9d\xf3\x80\xa1\xb6\xea\xa3\x85\xe2\x92\x88", true); } // [B1, V6, V7]
18951test { try toUnicodeFail("\xf0\x9d\xa8\x96\xf0\x90\xa9\x99\xe3\x80\x82\xdb\x9d\xf3\x80\xa1\xb6\xea\xa3\x851."); } // [B1, V6, V7]
18952test { try toAsciiFail("\xf0\x9d\xa8\x96\xf0\x90\xa9\x99\xe3\x80\x82\xdb\x9d\xf3\x80\xa1\xb6\xea\xa3\x851.", false); } // [B1, V6, V7, A4_2]
18953test { try toAsciiFail("\xf0\x9d\xa8\x96\xf0\x90\xa9\x99\xe3\x80\x82\xdb\x9d\xf3\x80\xa1\xb6\xea\xa3\x851.", true); } // [B1, V6, V7, A4_2]
18954test { try toUnicodeFail("xn--rt9cl956a.xn--1-dxc8545j0693i."); } // [B1, V6, V7]
18955test { try toAsciiFail("xn--rt9cl956a.xn--1-dxc8545j0693i.", false); } // [B1, V6, V7, A4_2]
18956test { try toAsciiFail("xn--rt9cl956a.xn--1-dxc8545j0693i.", true); } // [B1, V6, V7, A4_2]
18957test { try toUnicodeFail("xn--rt9cl956a.xn--tlb403mxv4g06s9i"); } // [B1, V6, V7]
18958test { try toAsciiFail("xn--rt9cl956a.xn--tlb403mxv4g06s9i", false); } // [B1, V6, V7]
18959test { try toAsciiFail("xn--rt9cl956a.xn--tlb403mxv4g06s9i", true); } // [B1, V6, V7]
18960test { try toUnicodeFail("\xf2\x92\x88\xa3\xd7\xa1\xda\xb8\xe3\x80\x82\xe1\x82\xa8\xe2\x80\x8d"); } // [B5, B6, C2, V7]
18961test { try toAsciiFail("\xf2\x92\x88\xa3\xd7\xa1\xda\xb8\xe3\x80\x82\xe1\x82\xa8\xe2\x80\x8d", false); } // [B5, B6, C2, V7]
18962test { try toAsciiFail("\xf2\x92\x88\xa3\xd7\xa1\xda\xb8\xe3\x80\x82\xe1\x82\xa8\xe2\x80\x8d", true); } // [B5, B6, V7]
18963test { try toUnicodeFail("\xf2\x92\x88\xa3\xd7\xa1\xda\xb8\xe3\x80\x82\xe2\xb4\x88\xe2\x80\x8d"); } // [B5, B6, C2, V7]
18964test { try toAsciiFail("\xf2\x92\x88\xa3\xd7\xa1\xda\xb8\xe3\x80\x82\xe2\xb4\x88\xe2\x80\x8d", false); } // [B5, B6, C2, V7]
18965test { try toAsciiFail("\xf2\x92\x88\xa3\xd7\xa1\xda\xb8\xe3\x80\x82\xe2\xb4\x88\xe2\x80\x8d", true); } // [B5, B6, V7]
18966test { try toUnicodeFail("xn--meb44b57607c.xn--zkj"); } // [B5, B6, V7]
18967test { try toAsciiFail("xn--meb44b57607c.xn--zkj", false); } // [B5, B6, V7]
18968test { try toAsciiFail("xn--meb44b57607c.xn--zkj", true); } // [B5, B6, V7]
18969test { try toUnicodeFail("xn--meb44b57607c.xn--1ug232c"); } // [B5, B6, C2, V7]
18970test { try toAsciiFail("xn--meb44b57607c.xn--1ug232c", false); } // [B5, B6, C2, V7]
18971test { try toAsciiFail("xn--meb44b57607c.xn--1ug232c", true); } // [B5, B6, C2, V7]
18972test { try toUnicodeFail("xn--meb44b57607c.xn--gnd"); } // [B5, B6, V7]
18973test { try toAsciiFail("xn--meb44b57607c.xn--gnd", false); } // [B5, B6, V7]
18974test { try toAsciiFail("xn--meb44b57607c.xn--gnd", true); } // [B5, B6, V7]
18975test { try toUnicodeFail("xn--meb44b57607c.xn--gnd699e"); } // [B5, B6, C2, V7]
18976test { try toAsciiFail("xn--meb44b57607c.xn--gnd699e", false); } // [B5, B6, C2, V7]
18977test { try toAsciiFail("xn--meb44b57607c.xn--gnd699e", true); } // [B5, B6, C2, V7]
18978test { try toUnicodeFail("\xf3\x80\x9a\xb6\xf0\x9d\xa8\xb1\xdf\xa6\xe2\x92\x88\xef\xbc\x8e\xf0\x91\x97\x9d\xe9\xab\xaf\xe2\x80\x8c"); } // [B1, B5, C1, V6, V7]
18979test { try toAsciiFail("\xf3\x80\x9a\xb6\xf0\x9d\xa8\xb1\xdf\xa6\xe2\x92\x88\xef\xbc\x8e\xf0\x91\x97\x9d\xe9\xab\xaf\xe2\x80\x8c", false); } // [B1, B5, C1, V6, V7]
18980test { try toAsciiFail("\xf3\x80\x9a\xb6\xf0\x9d\xa8\xb1\xdf\xa6\xe2\x92\x88\xef\xbc\x8e\xf0\x91\x97\x9d\xe9\xab\xaf\xe2\x80\x8c", true); } // [B1, B5, V6, V7]
18981test { try toUnicodeFail("\xf3\x80\x9a\xb6\xf0\x9d\xa8\xb1\xdf\xa61..\xf0\x91\x97\x9d\xe9\xab\xaf\xe2\x80\x8c"); } // [B1, B5, C1, V6, V7, X4_2]
18982test { try toAsciiFail("\xf3\x80\x9a\xb6\xf0\x9d\xa8\xb1\xdf\xa61..\xf0\x91\x97\x9d\xe9\xab\xaf\xe2\x80\x8c", false); } // [B1, B5, C1, V6, V7, A4_2]
18983test { try toAsciiFail("\xf3\x80\x9a\xb6\xf0\x9d\xa8\xb1\xdf\xa61..\xf0\x91\x97\x9d\xe9\xab\xaf\xe2\x80\x8c", true); } // [B1, B5, V6, V7, A4_2]
18984test { try toUnicodeFail("xn--1-idd62296a1fr6e..xn--uj6at43v"); } // [B1, B5, V6, V7, X4_2]
18985test { try toAsciiFail("xn--1-idd62296a1fr6e..xn--uj6at43v", false); } // [B1, B5, V6, V7, A4_2]
18986test { try toAsciiFail("xn--1-idd62296a1fr6e..xn--uj6at43v", true); } // [B1, B5, V6, V7, A4_2]
18987test { try toUnicodeFail("xn--1-idd62296a1fr6e..xn--0ugx259bocxd"); } // [B1, B5, C1, V6, V7, X4_2]
18988test { try toAsciiFail("xn--1-idd62296a1fr6e..xn--0ugx259bocxd", false); } // [B1, B5, C1, V6, V7, A4_2]
18989test { try toAsciiFail("xn--1-idd62296a1fr6e..xn--0ugx259bocxd", true); } // [B1, B5, C1, V6, V7, A4_2]
18990test { try toUnicodeFail("xn--etb477lq931a1f58e.xn--uj6at43v"); } // [B1, B5, V6, V7]
18991test { try toAsciiFail("xn--etb477lq931a1f58e.xn--uj6at43v", false); } // [B1, B5, V6, V7]
18992test { try toAsciiFail("xn--etb477lq931a1f58e.xn--uj6at43v", true); } // [B1, B5, V6, V7]
18993test { try toUnicodeFail("xn--etb477lq931a1f58e.xn--0ugx259bocxd"); } // [B1, B5, C1, V6, V7]
18994test { try toAsciiFail("xn--etb477lq931a1f58e.xn--0ugx259bocxd", false); } // [B1, B5, C1, V6, V7]
18995test { try toAsciiFail("xn--etb477lq931a1f58e.xn--0ugx259bocxd", true); } // [B1, B5, C1, V6, V7]
18996test { try toUnicodePass("\xf0\x90\xab\x80\xef\xbc\x8e\xda\x89\xf0\x91\x8c\x80", "\xf0\x90\xab\x80.\xda\x89\xf0\x91\x8c\x80"); }
18997test { try toAsciiPass("\xf0\x90\xab\x80\xef\xbc\x8e\xda\x89\xf0\x91\x8c\x80", "xn--pw9c.xn--fjb8658k", false); }
18998test { try toAsciiPass("\xf0\x90\xab\x80\xef\xbc\x8e\xda\x89\xf0\x91\x8c\x80", "xn--pw9c.xn--fjb8658k", true); }
18999test { try toUnicodePass("\xf0\x90\xab\x80.\xda\x89\xf0\x91\x8c\x80", "\xf0\x90\xab\x80.\xda\x89\xf0\x91\x8c\x80"); }
19000test { try toAsciiPass("\xf0\x90\xab\x80.\xda\x89\xf0\x91\x8c\x80", "xn--pw9c.xn--fjb8658k", false); }
19001test { try toAsciiPass("\xf0\x90\xab\x80.\xda\x89\xf0\x91\x8c\x80", "xn--pw9c.xn--fjb8658k", true); }
19002test { try toUnicodePass("xn--pw9c.xn--fjb8658k", "\xf0\x90\xab\x80.\xda\x89\xf0\x91\x8c\x80"); }
19003test { try toAsciiPass("xn--pw9c.xn--fjb8658k", "xn--pw9c.xn--fjb8658k", false); }
19004test { try toAsciiPass("xn--pw9c.xn--fjb8658k", "xn--pw9c.xn--fjb8658k", true); }
19005test { try toUnicodeFail("\xf0\x91\x8b\xaa\xef\xbc\x8e\xf0\x90\xb3\x9d"); } // [B1, V6]
19006test { try toAsciiFail("\xf0\x91\x8b\xaa\xef\xbc\x8e\xf0\x90\xb3\x9d", false); } // [B1, V6]
19007test { try toAsciiFail("\xf0\x91\x8b\xaa\xef\xbc\x8e\xf0\x90\xb3\x9d", true); } // [B1, V6]
19008test { try toUnicodeFail("\xf0\x91\x8b\xaa.\xf0\x90\xb3\x9d"); } // [B1, V6]
19009test { try toAsciiFail("\xf0\x91\x8b\xaa.\xf0\x90\xb3\x9d", false); } // [B1, V6]
19010test { try toAsciiFail("\xf0\x91\x8b\xaa.\xf0\x90\xb3\x9d", true); } // [B1, V6]
19011test { try toUnicodeFail("\xf0\x91\x8b\xaa.\xf0\x90\xb2\x9d"); } // [B1, V6]
19012test { try toAsciiFail("\xf0\x91\x8b\xaa.\xf0\x90\xb2\x9d", false); } // [B1, V6]
19013test { try toAsciiFail("\xf0\x91\x8b\xaa.\xf0\x90\xb2\x9d", true); } // [B1, V6]
19014test { try toUnicodeFail("xn--fm1d.xn--5c0d"); } // [B1, V6]
19015test { try toAsciiFail("xn--fm1d.xn--5c0d", false); } // [B1, V6]
19016test { try toAsciiFail("xn--fm1d.xn--5c0d", true); } // [B1, V6]
19017test { try toUnicodeFail("\xf0\x91\x8b\xaa\xef\xbc\x8e\xf0\x90\xb2\x9d"); } // [B1, V6]
19018test { try toAsciiFail("\xf0\x91\x8b\xaa\xef\xbc\x8e\xf0\x90\xb2\x9d", false); } // [B1, V6]
19019test { try toAsciiFail("\xf0\x91\x8b\xaa\xef\xbc\x8e\xf0\x90\xb2\x9d", true); } // [B1, V6]
19020test { try toUnicodeFail("\xe2\x89\xa0\xe8\x86\xa3\xe3\x80\x82\xe0\xbe\x83"); } // [V6]
19021test { try toAsciiFail("\xe2\x89\xa0\xe8\x86\xa3\xe3\x80\x82\xe0\xbe\x83", false); } // [V6]
19022test { try toAsciiFail("\xe2\x89\xa0\xe8\x86\xa3\xe3\x80\x82\xe0\xbe\x83", true); } // [V6]
19023test { try toUnicodeFail("=\xcc\xb8\xe8\x86\xa3\xe3\x80\x82\xe0\xbe\x83"); } // [V6]
19024test { try toAsciiFail("=\xcc\xb8\xe8\x86\xa3\xe3\x80\x82\xe0\xbe\x83", false); } // [V6]
19025test { try toAsciiFail("=\xcc\xb8\xe8\x86\xa3\xe3\x80\x82\xe0\xbe\x83", true); } // [V6]
19026test { try toUnicodeFail("xn--1chy468a.xn--2ed"); } // [V6]
19027test { try toAsciiFail("xn--1chy468a.xn--2ed", false); } // [V6]
19028test { try toAsciiFail("xn--1chy468a.xn--2ed", true); } // [V6]
19029test { try toUnicodeFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1\xc3\x9f"); } // [B5, B6, V7]
19030test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1\xc3\x9f", false); } // [B5, B6, V7]
19031test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1\xc3\x9f", true); } // [B5, B6, V7]
19032test { try toUnicodeFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82\xc3\x9f"); } // [B5, B6, V7]
19033test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82\xc3\x9f", false); } // [B5, B6, V7]
19034test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82\xc3\x9f", true); } // [B5, B6, V7]
19035test { try toUnicodeFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82SS"); } // [B5, B6, V7]
19036test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82SS", false); } // [B5, B6, V7]
19037test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82SS", true); } // [B5, B6, V7]
19038test { try toUnicodeFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82ss"); } // [B5, B6, V7]
19039test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82ss", false); } // [B5, B6, V7]
19040test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82ss", true); } // [B5, B6, V7]
19041test { try toUnicodeFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82Ss"); } // [B5, B6, V7]
19042test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82Ss", false); } // [B5, B6, V7]
19043test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xe3\x80\x82Ss", true); } // [B5, B6, V7]
19044test { try toUnicodeFail("xn----j6c95618k.ss"); } // [B5, B6, V7]
19045test { try toAsciiFail("xn----j6c95618k.ss", false); } // [B5, B6, V7]
19046test { try toAsciiFail("xn----j6c95618k.ss", true); } // [B5, B6, V7]
19047test { try toUnicodeFail("xn----j6c95618k.xn--zca"); } // [B5, B6, V7]
19048test { try toAsciiFail("xn----j6c95618k.xn--zca", false); } // [B5, B6, V7]
19049test { try toAsciiFail("xn----j6c95618k.xn--zca", true); } // [B5, B6, V7]
19050test { try toUnicodeFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1SS"); } // [B5, B6, V7]
19051test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1SS", false); } // [B5, B6, V7]
19052test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1SS", true); } // [B5, B6, V7]
19053test { try toUnicodeFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1ss"); } // [B5, B6, V7]
19054test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1ss", false); } // [B5, B6, V7]
19055test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1ss", true); } // [B5, B6, V7]
19056test { try toUnicodeFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1Ss"); } // [B5, B6, V7]
19057test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1Ss", false); } // [B5, B6, V7]
19058test { try toAsciiFail("\xf1\xb0\x80\x8e-\xdd\xbd\xef\xbd\xa1Ss", true); } // [B5, B6, V7]
19059test { try toUnicodeFail("\xcf\x82\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3\xef\xbc\x8e\xe2\xbe\xad\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c"); } // [B5, B6, V7]
19060test { try toAsciiFail("\xcf\x82\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3\xef\xbc\x8e\xe2\xbe\xad\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", false); } // [B5, B6, V7]
19061test { try toAsciiFail("\xcf\x82\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3\xef\xbc\x8e\xe2\xbe\xad\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", true); } // [B5, B6, V7]
19062test { try toUnicodeFail("\xcf\x82\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3.\xe9\x9d\x91\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c"); } // [B5, B6, V7]
19063test { try toAsciiFail("\xcf\x82\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3.\xe9\x9d\x91\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", false); } // [B5, B6, V7]
19064test { try toAsciiFail("\xcf\x82\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3.\xe9\x9d\x91\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", true); } // [B5, B6, V7]
19065test { try toUnicodeFail("\xce\xa3\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3.\xe9\x9d\x91\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c"); } // [B5, B6, V7]
19066test { try toAsciiFail("\xce\xa3\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3.\xe9\x9d\x91\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", false); } // [B5, B6, V7]
19067test { try toAsciiFail("\xce\xa3\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3.\xe9\x9d\x91\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", true); } // [B5, B6, V7]
19068test { try toUnicodeFail("\xcf\x83\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3.\xe9\x9d\x91\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c"); } // [B5, B6, V7]
19069test { try toAsciiFail("\xcf\x83\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3.\xe9\x9d\x91\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", false); } // [B5, B6, V7]
19070test { try toAsciiFail("\xcf\x83\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3.\xe9\x9d\x91\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", true); } // [B5, B6, V7]
19071test { try toUnicodeFail("xn--4xa656hp23pxmc.xn--es5a888tvjc2u15h"); } // [B5, B6, V7]
19072test { try toAsciiFail("xn--4xa656hp23pxmc.xn--es5a888tvjc2u15h", false); } // [B5, B6, V7]
19073test { try toAsciiFail("xn--4xa656hp23pxmc.xn--es5a888tvjc2u15h", true); } // [B5, B6, V7]
19074test { try toUnicodeFail("xn--3xa856hp23pxmc.xn--es5a888tvjc2u15h"); } // [B5, B6, V7]
19075test { try toAsciiFail("xn--3xa856hp23pxmc.xn--es5a888tvjc2u15h", false); } // [B5, B6, V7]
19076test { try toAsciiFail("xn--3xa856hp23pxmc.xn--es5a888tvjc2u15h", true); } // [B5, B6, V7]
19077test { try toUnicodeFail("\xce\xa3\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3\xef\xbc\x8e\xe2\xbe\xad\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c"); } // [B5, B6, V7]
19078test { try toAsciiFail("\xce\xa3\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3\xef\xbc\x8e\xe2\xbe\xad\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", false); } // [B5, B6, V7]
19079test { try toAsciiFail("\xce\xa3\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3\xef\xbc\x8e\xe2\xbe\xad\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", true); } // [B5, B6, V7]
19080test { try toUnicodeFail("\xcf\x83\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3\xef\xbc\x8e\xe2\xbe\xad\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c"); } // [B5, B6, V7]
19081test { try toAsciiFail("\xcf\x83\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3\xef\xbc\x8e\xe2\xbe\xad\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", false); } // [B5, B6, V7]
19082test { try toAsciiFail("\xcf\x83\xf0\x90\xb9\xa0\xe1\xa1\x9a\xf0\x91\x84\xb3\xef\xbc\x8e\xe2\xbe\xad\xf0\x90\xb9\xbd\xf0\xbd\x90\x96\xf0\x90\xab\x9c", true); } // [B5, B6, V7]
19083test { try toUnicodeFail("\xf0\x90\x8b\xb7\xe3\x80\x82\xe2\x80\x8d"); } // [C2]
19084test { try toAsciiFail("\xf0\x90\x8b\xb7\xe3\x80\x82\xe2\x80\x8d", false); } // [C2]
19085test { try toAsciiFail("\xf0\x90\x8b\xb7\xe3\x80\x82\xe2\x80\x8d", true); } // [A4_2]
19086test { try toUnicodePass("xn--r97c.", "\xf0\x90\x8b\xb7."); }
19087test { try toAsciiFail("xn--r97c.", false); } // [A4_2]
19088test { try toAsciiFail("xn--r97c.", true); } // [A4_2]
19089test { try toUnicodePass("\xf0\x90\x8b\xb7.", "\xf0\x90\x8b\xb7."); }
19090test { try toAsciiFail("\xf0\x90\x8b\xb7.", false); } // [A4_2]
19091test { try toAsciiFail("\xf0\x90\x8b\xb7.", true); } // [A4_2]
19092test { try toUnicodeFail("xn--r97c.xn--1ug"); } // [C2]
19093test { try toAsciiFail("xn--r97c.xn--1ug", false); } // [C2]
19094test { try toAsciiFail("xn--r97c.xn--1ug", true); } // [C2]
19095test { try toUnicodeFail("\xf0\x91\xb0\xb3\xf0\x91\x88\xaf\xe3\x80\x82\xe2\xa5\xaa"); } // [V6]
19096test { try toAsciiFail("\xf0\x91\xb0\xb3\xf0\x91\x88\xaf\xe3\x80\x82\xe2\xa5\xaa", false); } // [V6]
19097test { try toAsciiFail("\xf0\x91\xb0\xb3\xf0\x91\x88\xaf\xe3\x80\x82\xe2\xa5\xaa", true); } // [V6]
19098test { try toUnicodeFail("xn--2g1d14o.xn--jti"); } // [V6]
19099test { try toAsciiFail("xn--2g1d14o.xn--jti", false); } // [V6]
19100test { try toAsciiFail("xn--2g1d14o.xn--jti", true); } // [V6]
19101test { try toUnicodeFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3\xef\xbc\x8e\xe1\x82\xb5\xf0\x9d\x9f\x9c\xe2\x80\x8c\xcd\x88"); } // [C1, V6, V7]
19102test { try toAsciiFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3\xef\xbc\x8e\xe1\x82\xb5\xf0\x9d\x9f\x9c\xe2\x80\x8c\xcd\x88", false); } // [C1, V6, V7]
19103test { try toAsciiFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3\xef\xbc\x8e\xe1\x82\xb5\xf0\x9d\x9f\x9c\xe2\x80\x8c\xcd\x88", true); } // [V6, V7]
19104test { try toUnicodeFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3.\xe1\x82\xb54\xe2\x80\x8c\xcd\x88"); } // [C1, V6, V7]
19105test { try toAsciiFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3.\xe1\x82\xb54\xe2\x80\x8c\xcd\x88", false); } // [C1, V6, V7]
19106test { try toAsciiFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3.\xe1\x82\xb54\xe2\x80\x8c\xcd\x88", true); } // [V6, V7]
19107test { try toUnicodeFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3.\xe2\xb4\x954\xe2\x80\x8c\xcd\x88"); } // [C1, V6, V7]
19108test { try toAsciiFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3.\xe2\xb4\x954\xe2\x80\x8c\xcd\x88", false); } // [C1, V6, V7]
19109test { try toAsciiFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3.\xe2\xb4\x954\xe2\x80\x8c\xcd\x88", true); } // [V6, V7]
19110test { try toUnicodeFail("xn--1mnx647cg3x1b.xn--4-zfb5123a"); } // [V6, V7]
19111test { try toAsciiFail("xn--1mnx647cg3x1b.xn--4-zfb5123a", false); } // [V6, V7]
19112test { try toAsciiFail("xn--1mnx647cg3x1b.xn--4-zfb5123a", true); } // [V6, V7]
19113test { try toUnicodeFail("xn--1mnx647cg3x1b.xn--4-zfb502tlsl"); } // [C1, V6, V7]
19114test { try toAsciiFail("xn--1mnx647cg3x1b.xn--4-zfb502tlsl", false); } // [C1, V6, V7]
19115test { try toAsciiFail("xn--1mnx647cg3x1b.xn--4-zfb502tlsl", true); } // [C1, V6, V7]
19116test { try toUnicodeFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3\xef\xbc\x8e\xe2\xb4\x95\xf0\x9d\x9f\x9c\xe2\x80\x8c\xcd\x88"); } // [C1, V6, V7]
19117test { try toAsciiFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3\xef\xbc\x8e\xe2\xb4\x95\xf0\x9d\x9f\x9c\xe2\x80\x8c\xcd\x88", false); } // [C1, V6, V7]
19118test { try toAsciiFail("\xf0\x91\x86\x80\xe4\x81\xb4\xf1\xa4\xa7\xa3\xef\xbc\x8e\xe2\xb4\x95\xf0\x9d\x9f\x9c\xe2\x80\x8c\xcd\x88", true); } // [V6, V7]
19119test { try toUnicodeFail("xn--1mnx647cg3x1b.xn--4-zfb324h"); } // [V6, V7]
19120test { try toAsciiFail("xn--1mnx647cg3x1b.xn--4-zfb324h", false); } // [V6, V7]
19121test { try toAsciiFail("xn--1mnx647cg3x1b.xn--4-zfb324h", true); } // [V6, V7]
19122test { try toUnicodeFail("xn--1mnx647cg3x1b.xn--4-zfb324h32o"); } // [C1, V6, V7]
19123test { try toAsciiFail("xn--1mnx647cg3x1b.xn--4-zfb324h32o", false); } // [C1, V6, V7]
19124test { try toAsciiFail("xn--1mnx647cg3x1b.xn--4-zfb324h32o", true); } // [C1, V6, V7]
19125test { try toUnicodeFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.\xf0\x90\x8b\xae\xe2\x80\x8d\xe2\x89\xa0"); } // [C1, C2, U1]
19126test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.\xf0\x90\x8b\xae\xe2\x80\x8d\xe2\x89\xa0", false); } // [C1, C2, U1]
19127test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.\xf0\x90\x8b\xae\xe2\x80\x8d\xe2\x89\xa0", true); } // [U1]
19128test { try toUnicodeFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.\xf0\x90\x8b\xae\xe2\x80\x8d=\xcc\xb8"); } // [C1, C2, U1]
19129test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.\xf0\x90\x8b\xae\xe2\x80\x8d=\xcc\xb8", false); } // [C1, C2, U1]
19130test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.\xf0\x90\x8b\xae\xe2\x80\x8d=\xcc\xb8", true); } // [U1]
19131test { try toUnicodeFail("\xe6\x86\xa1?\xe2\x80\x8c\xe2\xb4\x94.\xf0\x90\x8b\xae\xe2\x80\x8d=\xcc\xb8"); } // [C1, C2, U1]
19132test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe2\xb4\x94.\xf0\x90\x8b\xae\xe2\x80\x8d=\xcc\xb8", false); } // [C1, C2, U1]
19133test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe2\xb4\x94.\xf0\x90\x8b\xae\xe2\x80\x8d=\xcc\xb8", true); } // [U1]
19134test { try toUnicodeFail("\xe6\x86\xa1?\xe2\x80\x8c\xe2\xb4\x94.\xf0\x90\x8b\xae\xe2\x80\x8d\xe2\x89\xa0"); } // [C1, C2, U1]
19135test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe2\xb4\x94.\xf0\x90\x8b\xae\xe2\x80\x8d\xe2\x89\xa0", false); } // [C1, C2, U1]
19136test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe2\xb4\x94.\xf0\x90\x8b\xae\xe2\x80\x8d\xe2\x89\xa0", true); } // [U1]
19137test { try toUnicodeFail("xn--?-fwsr13r.xn--1chz659f"); } // [U1]
19138test { try toAsciiFail("xn--?-fwsr13r.xn--1chz659f", false); } // [U1]
19139test { try toAsciiFail("xn--?-fwsr13r.xn--1chz659f", true); } // [U1]
19140test { try toUnicodeFail("xn--?-sgn310doh5c.xn--1ug73gl146a"); } // [C1, C2, U1]
19141test { try toAsciiFail("xn--?-sgn310doh5c.xn--1ug73gl146a", false); } // [C1, C2, U1]
19142test { try toAsciiFail("xn--?-sgn310doh5c.xn--1ug73gl146a", true); } // [C1, C2, U1]
19143test { try toUnicodeFail("xn--?-c1g3623d.xn--1chz659f"); } // [V7, U1]
19144test { try toAsciiFail("xn--?-c1g3623d.xn--1chz659f", false); } // [V7, U1]
19145test { try toAsciiFail("xn--?-c1g3623d.xn--1chz659f", true); } // [V7, U1]
19146test { try toUnicodeFail("xn--?-c1g798iy27d.xn--1ug73gl146a"); } // [C1, C2, V7, U1]
19147test { try toAsciiFail("xn--?-c1g798iy27d.xn--1ug73gl146a", false); } // [C1, C2, V7, U1]
19148test { try toAsciiFail("xn--?-c1g798iy27d.xn--1ug73gl146a", true); } // [C1, C2, V7, U1]
19149test { try toUnicodeFail("\xe6\x86\xa1?\xe2\xb4\x94.xn--1chz659f"); } // [U1]
19150test { try toAsciiFail("\xe6\x86\xa1?\xe2\xb4\x94.xn--1chz659f", false); } // [U1]
19151test { try toAsciiFail("\xe6\x86\xa1?\xe2\xb4\x94.xn--1chz659f", true); } // [U1]
19152test { try toUnicodeFail("\xe6\x86\xa1?\xe1\x82\xb4.XN--1CHZ659F"); } // [U1]
19153test { try toAsciiFail("\xe6\x86\xa1?\xe1\x82\xb4.XN--1CHZ659F", false); } // [U1]
19154test { try toAsciiFail("\xe6\x86\xa1?\xe1\x82\xb4.XN--1CHZ659F", true); } // [U1]
19155test { try toUnicodeFail("\xe6\x86\xa1?\xe1\x82\xb4.xn--1chz659f"); } // [U1]
19156test { try toAsciiFail("\xe6\x86\xa1?\xe1\x82\xb4.xn--1chz659f", false); } // [U1]
19157test { try toAsciiFail("\xe6\x86\xa1?\xe1\x82\xb4.xn--1chz659f", true); } // [U1]
19158test { try toUnicodeFail("\xe6\x86\xa1?\xe2\x80\x8c\xe2\xb4\x94.xn--1ug73gl146a"); } // [C1, C2, U1]
19159test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe2\xb4\x94.xn--1ug73gl146a", false); } // [C1, C2, U1]
19160test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe2\xb4\x94.xn--1ug73gl146a", true); } // [C2, U1]
19161test { try toUnicodeFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.XN--1UG73GL146A"); } // [C1, C2, U1]
19162test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.XN--1UG73GL146A", false); } // [C1, C2, U1]
19163test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.XN--1UG73GL146A", true); } // [C2, U1]
19164test { try toUnicodeFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.xn--1ug73gl146a"); } // [C1, C2, U1]
19165test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.xn--1ug73gl146a", false); } // [C1, C2, U1]
19166test { try toAsciiFail("\xe6\x86\xa1?\xe2\x80\x8c\xe1\x82\xb4.xn--1ug73gl146a", true); } // [C2, U1]
19167test { try toUnicodeFail("xn--?-fwsr13r.xn--1ug73gl146a"); } // [C2, U1]
19168test { try toAsciiFail("xn--?-fwsr13r.xn--1ug73gl146a", false); } // [C2, U1]
19169test { try toAsciiFail("xn--?-fwsr13r.xn--1ug73gl146a", true); } // [C2, U1]
19170test { try toUnicodeFail("xn--?-c1g3623d.xn--1ug73gl146a"); } // [C2, V7, U1]
19171test { try toAsciiFail("xn--?-c1g3623d.xn--1ug73gl146a", false); } // [C2, V7, U1]
19172test { try toAsciiFail("xn--?-c1g3623d.xn--1ug73gl146a", true); } // [C2, V7, U1]
19173test { try toUnicodeFail("\xe6\x86\xa1?\xe1\x82\xb4.xn--1ug73gl146a"); } // [C2, U1]
19174test { try toAsciiFail("\xe6\x86\xa1?\xe1\x82\xb4.xn--1ug73gl146a", false); } // [C2, U1]
19175test { try toAsciiFail("\xe6\x86\xa1?\xe1\x82\xb4.xn--1ug73gl146a", true); } // [C2, U1]
19176test { try toUnicodeFail("\xe6\x86\xa1?\xe2\xb4\x94.xn--1ug73gl146a"); } // [C2, U1]
19177test { try toAsciiFail("\xe6\x86\xa1?\xe2\xb4\x94.xn--1ug73gl146a", false); } // [C2, U1]
19178test { try toAsciiFail("\xe6\x86\xa1?\xe2\xb4\x94.xn--1ug73gl146a", true); } // [C2, U1]
19179test { try toUnicodeFail("\xe6\x86\xa1?\xe1\x82\xb4.XN--1UG73GL146A"); } // [C2, U1]
19180test { try toAsciiFail("\xe6\x86\xa1?\xe1\x82\xb4.XN--1UG73GL146A", false); } // [C2, U1]
19181test { try toAsciiFail("\xe6\x86\xa1?\xe1\x82\xb4.XN--1UG73GL146A", true); } // [C2, U1]