|
2 | 2 |
|
3 | 3 | use Test;
|
4 | 4 |
|
5 |
| -plan 148; |
6 |
| -#?niecza 148 skip "uniprop NYI" |
| 5 | +plan 150; |
| 6 | +#?niecza 150 skip "uniprop NYI" |
7 | 7 |
|
8 | 8 | #use unicode :v(6.3);
|
9 | 9 |
|
@@ -97,11 +97,12 @@ is "ᄁ".uniprop('Jamo_Short_Name'), 'GG', "uniprop for Jamo_Short_Name works";
|
97 | 97 | #?rakudo.moar todo 'moar returns a string containing the unicode codepoint instead of an integer for Bidi_Mirroring_Glyph'
|
98 | 98 | # https://github.com/MoarVM/MoarVM/issues/451
|
99 | 99 | is '('.uniprop('Bidi_Mirroring_Glyph'), ')', "'('.uniprop('Bidi_Mirroring_Glyph') returns ')'";
|
100 |
| -#?rakudo.moar 3 todo 'Bidi_Paired_Bracket_Type and Bidi_Paired_Bracket NYI in MoarVM' |
| 100 | +#?rakudo.moar 4 todo 'Bidi_Paired_Bracket_Type and Bidi_Paired_Bracket NYI in MoarVM' |
101 | 101 | # https://github.com/MoarVM/MoarVM/issues/465
|
102 | 102 | is '('.uniprop('Bidi_Paired_Bracket'), ')', "uniprop: returns matching Bidi_Paired_Bracket";
|
103 | 103 | is '('.uniprop('Bidi_Paired_Bracket_Type'), 'o', "'('.uniprop('Bidi_Paired_Bracket_Type') returns 'o'";
|
104 | 104 | is ')'.uniprop('Bidi_Paired_Bracket_Type'), 'c', "')'.uniprop('Bidi_Paired_Bracket_Type') returns 'c'";
|
| 105 | +is 'a'.uniprop('Bidi_Paired_Bracket_Type'), 'n', "uniprop for Bidi_Paired_Bracket_Type returns 'n' for codes without this property"; |
105 | 106 |
|
106 | 107 | ## Numeric Properties
|
107 | 108 | isa-ok "½".uniprop('Numeric_Value'), Rat, "'½'.uniprop('Numeric_Value') returns a Rat";
|
@@ -243,9 +244,11 @@ is 'a'.uniprop('NFKC_Quick_Check'), True, 'uniprop for NFKC_Quick_Check returns
|
243 | 244 | is 0x00A0.uniprop('NFKD_Quick_Check'), False, 'uniprop for NFKD_Quick_Check returns False for codes without this property';
|
244 | 245 | is 'a'.uniprop('NFKD_Quick_Check'), True, 'uniprop for NFKD_Quick_Check returns True for codes with this property';
|
245 | 246 |
|
246 |
| -#?rakudo.moar todo "Indic_Syllabic_Category NYI in MoarVM" |
| 247 | +#?rakudo.moar 2 todo "Indic_Syllabic_Category NYI in MoarVM" |
247 | 248 | # https://github.com/MoarVM/MoarVM/issues/466
|
248 | 249 | is 0x0374.uniprop('Indic_Syllabic_Category'), 'Bindu', 'uniprop for Indic_Syllabic_Category returns N for ‘No’ value codes';
|
| 250 | +is 'a'.uniprop('Indic_Syllabic_Category'), 'Other', 'uniprop for Indic_Syllabic_Category returns Other for codes without this property'; |
| 251 | + |
249 | 252 | #?rakudo.moar todo "MoarVM returns only int's but not Canonical_Combining_Class's string value"
|
250 | 253 | # https://github.com/MoarVM/MoarVM/issues/464
|
251 | 254 | is ' '.uniprop('Canonical_Combining_Class'), 'Not_Reordered', "uniprop for Canonical_Combining_Class works";
|
|
0 commit comments