khfaraaz82@gmail.com | c526fe9 | 2012-08-10 22:09:13 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Testcase Name : toLowerCas02.aql |
| 3 | * Description : Test lowercase(string) function |
| 4 | * : Positive tests |
| 5 | * Success : Yes |
| 6 | * Date : 19th April 2012 |
| 7 | */ |
| 8 | |
| 9 | write output to nc1:"rttest/string_toLowerCase02.adm"; |
| 10 | |
| 11 | for $a in [lowercase("a b c d e f g"), |
| 12 | lowercase("A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"), |
| 13 | lowercase("abcdefghij KLMNOP qrstu VWXYZ"), |
| 14 | lowercase("abcdefghijklmnopqrstuvwxyz"), |
| 15 | lowercase("this is a test string"), |
| 16 | lowercase("smaller string"), |
| 17 | lowercase("ABCD"), |
| 18 | lowercase("AbCdEfGhIjKlMnOpQrStUvWxYz"), |
| 19 | lowercase("abcdefghijkABCDEFGHIJK"), |
| 20 | lowercase("HIJKLMNOPQRhijklmnopqr"), |
| 21 | lowercase(substring2("ABCDEFghIJKLMnopQRSTuvwxYZ01234",0)), |
| 22 | lowercase("A33B2CD1EF78GHijk123LMNopqrstUVW3x2y01035Z")] |
| 23 | return $a |