ICU-4092 Fix for MSVC 6

X-SVN-Rev: 16987
This commit is contained in:
George Rhoten 2004-12-21 23:02:17 +00:00
parent 8ab45b2d62
commit ae9c08341d

View file

@ -102,10 +102,10 @@ void UVectorTest::UVector_API() {
status = U_ZERO_ERROR;
a = new UVector(status);
a->sortedInsert(10, UVectorTest_compareInt32, status);
a->sortedInsert(20, UVectorTest_compareInt32, status);
a->sortedInsert(30, UVectorTest_compareInt32, status);
a->sortedInsert(15, UVectorTest_compareInt32, status);
a->sortedInsert((int32_t)10, UVectorTest_compareInt32, status);
a->sortedInsert((int32_t)20, UVectorTest_compareInt32, status);
a->sortedInsert((int32_t)30, UVectorTest_compareInt32, status);
a->sortedInsert((int32_t)15, UVectorTest_compareInt32, status);
TEST_CHECK_STATUS(status);
TEST_ASSERT(a->elementAti(0) == 10);
TEST_ASSERT(a->elementAti(1) == 15);