Lines Matching refs:actual
290 UnicodeString actual; in TestSignificantDigits() local
291 cdf->format(123456.0, actual); in TestSignificantDigits()
294 if (actual != expected) { in TestSignificantDigits()
295 errln(UnicodeString("Fail: Expected: ") + expected + UnicodeString(" Got: ") + actual); in TestSignificantDigits()
306 UnicodeString actual; in TestAPIVariants() local
312 actual.remove(); in TestAPIVariants()
315 cdf->format((double)123456.0, actual, pos); in TestAPIVariants()
316 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants()
318 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants()
321 actual.remove(); in TestAPIVariants()
325 cdf->format((double)123456.0, actual, pos, status); in TestAPIVariants()
326 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants()
328 … "Got: \"" + actual + "\", pos " + pos.getEndIndex() + ", status " + u_errorName(status)); in TestAPIVariants()
331 actual.remove(); in TestAPIVariants()
333 cdf->format((double)123456.0, actual, &posIter, status); in TestAPIVariants()
339 actual.remove(); in TestAPIVariants()
342 cdf->format((int32_t)123456, actual, pos); in TestAPIVariants()
343 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants()
345 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants()
348 actual.remove(); in TestAPIVariants()
352 cdf->format((int32_t)123456, actual, pos, status); in TestAPIVariants()
353 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants()
355 … "Got: \"" + actual + "\", pos " + pos.getEndIndex() + ", status " + u_errorName(status)); in TestAPIVariants()
358 actual.remove(); in TestAPIVariants()
360 cdf->format((int32_t)123456, actual, &posIter, status); in TestAPIVariants()
366 actual.remove(); in TestAPIVariants()
369 cdf->format((int64_t)123456, actual, pos); in TestAPIVariants()
370 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants()
372 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants()
375 actual.remove(); in TestAPIVariants()
379 cdf->format((int64_t)123456, actual, pos, status); in TestAPIVariants()
380 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants()
382 … "Got: \"" + actual + "\", pos " + pos.getEndIndex() + ", status " + u_errorName(status)); in TestAPIVariants()
385 actual.remove(); in TestAPIVariants()
387 cdf->format((int64_t)123456, actual, &posIter, status); in TestAPIVariants()
411 UnicodeString actual; in CheckExpectedResult() local
412 cdf->format(expectedResult->value, actual); in CheckExpectedResult()
415 if (actual != expected) { in CheckExpectedResult()
417 + UnicodeString(" Got: ") + actual in CheckExpectedResult()