OLD | NEW |
| (Empty) |
1 This test checks that toLowerCase and toUpperCase handle certain non-trivial cas
es correctly. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS String("A𐐀").toLowerCase() is "a𐐨" | |
7 PASS String("a𐐨").toUpperCase() is "A𐐀" | |
8 PASS String("ΚΟΣΜΟΣ ΚΟΣΜΟΣ").toLowerCase() is "κοσμος κοσμος" | |
9 PASS String("ß").toUpperCase() is "SS" | |
10 PASS String("ʼn").toUpperCase() is "ʼN" | |
11 PASS String("ǰ").toUpperCase() is "J̌" | |
12 PASS String("ffi").toUpperCase() is "FFI" | |
13 PASS String("FFI").toLowerCase() is "ffi" | |
14 PASS String("IJ").toLowerCase() is "ij" | |
15 PASS expected[String.fromCharCode(0xA78D).toLowerCase()] is true | |
16 PASS expected[String.fromCharCode(0x0265).toUpperCase()] is true | |
17 PASS expected[String.fromCharCode(0x10C7).toLowerCase()] is true | |
18 PASS expected[String.fromCharCode(0x2D27).toUpperCase()] is true | |
19 PASS expected[String.fromCharCode(0x2D2D).toLowerCase()] is true | |
20 PASS expected[String.fromCharCode(0x10CD).toUpperCase()] is true | |
21 PASS expected[String.fromCharCode(0x2CF2).toLowerCase()] is true | |
22 PASS expected[String.fromCharCode(0x2CF3).toUpperCase()] is true | |
23 PASS expected[String.fromCharCode(0xA792).toLowerCase()] is true | |
24 PASS expected[String.fromCharCode(0xA793).toUpperCase()] is true | |
25 PASS expected[String.fromCharCode(0xA7AA).toLowerCase()] is true | |
26 PASS expected[String.fromCharCode(0x0266).toUpperCase()] is true | |
27 PASS successfullyParsed is true | |
28 | |
29 TEST COMPLETE | |
30 | |
OLD | NEW |