You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
isuniprop(""), Nil, "uniprop an empty string yields Nil";
47
49
is"".uniprop, Nil, "''.uniprop yields Nil";
48
50
throws-like"uniprop Str", X::Multi::NoMatch, 'cannot call uniprop with a Str';
@@ -175,12 +177,41 @@ is-deeply 'a'.uniprop('Sentence_Terminal'), False, "uniprop for Sentence_Termina
175
177
is-deeply'🄡'.uniprop('Changes_When_NFKC_Casefolded'), True, "uniprop for Changes_When_NFKC_Casefolded property returns True for codes with this property";
176
178
is-deeply'a'.uniprop('Changes_When_NFKC_Casefolded'), False, "uniprop for Sentence_Terminal property returns False for codes without this property";
177
179
180
+
is-deeply'a'.uniprop('Cased'), True, "uniprop for Cased property returns True for codes with this property";
181
+
is-deeply'0'.uniprop('Cased'), False, "uniprop for Cased property returns False for codes without this property";
182
+
178
183
# The following two tests cannot be tested as strings/chars because of Unicode normalization.
179
184
# Encoding it as a string will change the codepoint, so do not try this! It will give the incorrect
180
185
# answer!
181
186
is-deeply0x0343.uniprop('Full_Composition_Exclusion'), True, "uniprop for Full_Composition_Exclusion property returns True for codes with this property";
182
187
is-deeply'a'.uniprop('Full_Composition_Exclusion'), False, "uniprop for Full_Composition_Exclusion property returns False for codes without this property";
183
188
189
+
is-deeply'A'.uniprop('Changes_When_Casefolded'), True, "uniprop for Changes_When_Casefolded property returns True for codes with this property";
190
+
is-deeply'a'.uniprop('Changes_When_Casefolded'), False, "uniprop for Changes_When_Casefolded property returns False for codes without this property";
191
+
192
+
is-deeply'A'.uniprop('Changes_When_Lowercased'), True, "uniprop for Changes_When_Lowercased property returns True for codes with this property";
193
+
is-deeply'a'.uniprop('Changes_When_Lowercased'), False, "uniprop for Changes_When_Lowercased property returns False for codes without this property";
194
+
195
+
is-deeply'A'.uniprop('Changes_When_Uppercased'), False, "uniprop for Changes_When_Uppercased property returns False for codes with this property";
196
+
is-deeply'a'.uniprop('Changes_When_Uppercased'), True, "uniprop for Changes_When_Uppercased property returns True for codes without this property";
197
+
198
+
is-deeply'A'.uniprop('Changes_When_Titlecased'), False, "uniprop for Changes_When_Titlecased property returns False for codes with this property";
199
+
is-deeply'a'.uniprop('Changes_When_Titlecased'), True, "uniprop for Changes_When_Titlecased property returns True for codes without this property";
200
+
201
+
is-deeply'ⓐ'.uniprop('Changes_When_Casemapped'), True, "uniprop for Changes_When_Casemapped property returns True for codes with this property";
202
+
is-deeply'☕'.uniprop('Changes_When_Casemapped'), False, "uniprop for Changes_When_Casemapped property returns False for codes without this property";
203
+
204
+
is-deeply'A'.uniprop('Uppercase'), True, "uniprop for 'Upper' property returns False for codes with this property";
205
+
is-deeply'a'.uniprop('Uppercase'), False, "uniprop for 'Upper' property returns True for codes without this property";
206
+
207
+
is-deeply'A'.uniprop('Lowercase'), False, "uniprop for 'Lowercase' property returns False for codes with this property";
208
+
is-deeply'a'.uniprop('Lowercase'), True, "uniprop for 'Lowercase' property returns True for codes without this property";
209
+
210
+
is-deeply'A'.uniprop('Terminal_Punctuation'), False, "uniprop for Terminal_Punctuation property returns False for codes with this property";
211
+
is-deeply'⁇'.uniprop('Terminal_Punctuation'), True, "uniprop for Terminal_Punctuation property returns True for codes without this property";
212
+
213
+
is-deeply'A'.uniprop('Bidi_Control'), False, "uniprop for 'Bidi_Control' property returns False for codes with this property";
214
+
is-deeply0x202D.uniprop('Bidi_Control'), True, "uniprop for 'Bidi_Control' property returns True for codes without this property";
0 commit comments