blob: 3498045fe542bd402adcd3baa829c499d9e48753 [file] [log] [blame]
ap6241cec2006-04-08 17:21:52 +00001This test checks that toLowerCase and toUpperCase handle certain non-trivial cases correctly.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS String("A𐐀").toLowerCase() is "a𐐨"
7PASS String("a𐐨").toUpperCase() is "A𐐀"
8PASS String("ΚΟΣΜΟΣ ΚΟΣΜΟΣ").toLowerCase() is "κοσμος κοσμος"
9PASS String("ß").toUpperCase() is "SS"
10PASS String("ʼn").toUpperCase() is "ʼN"
11PASS String("ǰ").toUpperCase() is "J̌"
12PASS String("ffi").toUpperCase() is "FFI"
13PASS String("FFI").toLowerCase() is "ffi"
14PASS String("IJ").toLowerCase() is "ij"
msaboff@apple.comedda5672012-02-20 18:49:22 +000015PASS expected[String.fromCharCode(0xA78D).toLowerCase()] is true
16PASS expected[String.fromCharCode(0x0265).toUpperCase()] is true
17PASS expected[String.fromCharCode(0x10C7).toLowerCase()] is true
18PASS expected[String.fromCharCode(0x2D27).toUpperCase()] is true
19PASS expected[String.fromCharCode(0x2D2D).toLowerCase()] is true
20PASS expected[String.fromCharCode(0x10CD).toUpperCase()] is true
21PASS expected[String.fromCharCode(0x2CF2).toLowerCase()] is true
22PASS expected[String.fromCharCode(0x2CF3).toUpperCase()] is true
23PASS expected[String.fromCharCode(0xA792).toLowerCase()] is true
24PASS expected[String.fromCharCode(0xA793).toUpperCase()] is true
25PASS expected[String.fromCharCode(0xA7AA).toLowerCase()] is true
26PASS expected[String.fromCharCode(0x0266).toUpperCase()] is true
ap6241cec2006-04-08 17:21:52 +000027PASS successfullyParsed is true
28
29TEST COMPLETE
30