scuffed-code/icu4c/source/test/testdata/casing.txt
Markus Scherer ecd81a00fa ICU-1126 test titlecasing
X-SVN-Rev: 7998
2002-03-13 19:22:05 +00:00

22 lines
944 B
Plaintext

//*******************************************************************************
//*
//* Copyright (C) 2002, International Business Machines
//* Corporation and others. All Rights Reserved.
//*
//*******************************************************************************
// test data file for string casing
casing {
titlecasing {
// each item is an array with
// input string, result string, locale ID, break iterator
// the break iterator is specified as an int, same as in UBreakIteratorType:
// 0=UBRK_CHARACTER 1=UBRK_WORD 2=UBRK_LINE 3=UBRK_SENTENCE 4=UBRK_TITLE -1=default
{ {" tHe QUIcK bRoWn"} {" The Quick Brown"} {""} :int{4} }
{ {"DŽDždžLJLjljNJNjnj"} {"DžDžDžLjLjLjNjNjNj"} {""} :int{0} } // UBRK_CHARACTER
{ {"ljubav ljubav"} {"Ljubav Ljubav"} {""} :int{-1} } // Lj vs. L+j
{ {"'oH dOn'T tItLeCaSe AfTeR lEtTeR+'"} {"'Oh Don't Titlecase After Letter+'"} {""} :int{-1} }
}
}