31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
This test checks that toLowerCase and toUpperCase handle certain non-trivial cases correctly.
|
||
|
||
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
||
|
||
|
||
PASS String("A𐐀").toLowerCase() is "a𐐨"
|
||
PASS String("a𐐨").toUpperCase() is "A𐐀"
|
||
PASS String("ΚΟΣΜΟΣ ΚΟΣΜΟΣ").toLowerCase() is "κοσμος κοσμος"
|
||
PASS String("ß").toUpperCase() is "SS"
|
||
PASS String("ʼn").toUpperCase() is "ʼN"
|
||
PASS String("ǰ").toUpperCase() is "J̌"
|
||
PASS String("ffi").toUpperCase() is "FFI"
|
||
PASS String("FFI").toLowerCase() is "ffi"
|
||
PASS String("IJ").toLowerCase() is "ij"
|
||
PASS expected[String.fromCharCode(0xA78D).toLowerCase()] is true
|
||
PASS expected[String.fromCharCode(0x0265).toUpperCase()] is true
|
||
PASS expected[String.fromCharCode(0x10C7).toLowerCase()] is true
|
||
PASS expected[String.fromCharCode(0x2D27).toUpperCase()] is true
|
||
PASS expected[String.fromCharCode(0x2D2D).toLowerCase()] is true
|
||
PASS expected[String.fromCharCode(0x10CD).toUpperCase()] is true
|
||
PASS expected[String.fromCharCode(0x2CF2).toLowerCase()] is true
|
||
PASS expected[String.fromCharCode(0x2CF3).toUpperCase()] is true
|
||
PASS expected[String.fromCharCode(0xA792).toLowerCase()] is true
|
||
PASS expected[String.fromCharCode(0xA793).toUpperCase()] is true
|
||
PASS expected[String.fromCharCode(0xA7AA).toLowerCase()] is true
|
||
PASS expected[String.fromCharCode(0x0266).toUpperCase()] is true
|
||
PASS successfullyParsed is true
|
||
|
||
TEST COMPLETE
|
||
|