mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 15:42:14 +00:00
added utilities
X-SVN-Rev: 9933
This commit is contained in:
parent
ef407b98a6
commit
755eb841a9
2 changed files with 7 additions and 5 deletions
|
@ -5,8 +5,8 @@
|
|||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/unicodetools/com/ibm/text/UCD/Main.java,v $
|
||||
* $Date: 2002/09/25 06:40:13 $
|
||||
* $Revision: 1.23 $
|
||||
* $Date: 2002/10/01 01:19:16 $
|
||||
* $Revision: 1.24 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -81,6 +81,8 @@ public final class Main implements UCD_Types {
|
|||
else if (arg.equalsIgnoreCase("TestNormalization")) TestNormalization.main(null);
|
||||
|
||||
|
||||
else if (arg.equalsIgnoreCase("binary")) FastBinarySearch.test();
|
||||
|
||||
else if (arg.equalsIgnoreCase("GenerateCaseTest")) GenerateCaseTest.main(null);
|
||||
else if (arg.equalsIgnoreCase("checkDecompFolding")) VerifyUCD.checkDecompFolding();
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/unicodetools/com/ibm/text/utility/FastBinarySearch.java,v $
|
||||
* $Date: 2002/10/01 01:12:10 $
|
||||
* $Revision: 1.1 $
|
||||
* $Date: 2002/10/01 01:19:15 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -30,7 +30,7 @@ final public class FastBinarySearch {
|
|||
* Testing
|
||||
*/
|
||||
|
||||
static void test() {
|
||||
static public void test() {
|
||||
perfTest(100, 100); // warmup
|
||||
|
||||
// try different combinations of data size and iterations
|
||||
|
|
Loading…
Add table
Reference in a new issue