scuffed-code/icu4c/source/test/testdata/casing.txt
2002-05-10 04:42:16 +00:00

27 lines
1.1 KiB
Plaintext

//*******************************************************************************
//*
//* Copyright (C) 2002, International Business Machines
//* Corporation and others. All Rights Reserved.
//*
//*******************************************************************************
casing {
TestPurpose { "This is test data file for string casing" }
TestDataParsing { "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"
}
TestData {
titlecasing {
TestCases {
{ " tHe QUIcK bRoWn", " The Quick Brown", "", "4" },
{ "DŽDždžLJLjljNJNjnj", "DžDžDžLjLjLjNjNjNj", "", "0" }, // UBRK_CHARACTER
{ "ljubav ljubav", "Ljubav Ljubav", "", "-1" }, // Lj vs. L+j
{ "'oH dOn'T tItLeCaSe AfTeR lEtTeR+'", "'Oh Don't Titlecase After Letter+'", "", "-1" }
}
}
}
}