• Home
  • Raw
  • Download

Lines Matching refs:actual

292   UnicodeString actual;  in TestSignificantDigits()  local
293 cdf->format(123456.0, actual); in TestSignificantDigits()
296 if (actual != expected) { in TestSignificantDigits()
297 errln(UnicodeString("Fail: Expected: ") + expected + UnicodeString(" Got: ") + actual); in TestSignificantDigits()
308 UnicodeString actual; in TestAPIVariants() local
314 actual.remove(); in TestAPIVariants()
317 cdf->format((double)123456.0, actual, pos); in TestAPIVariants()
318 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants()
320 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants()
323 actual.remove(); in TestAPIVariants()
327 cdf->format((double)123456.0, actual, pos, status); in TestAPIVariants()
328 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants()
330 … "Got: \"" + actual + "\", pos " + pos.getEndIndex() + ", status " + u_errorName(status)); in TestAPIVariants()
333 actual.remove(); in TestAPIVariants()
335 cdf->format((double)123456.0, actual, &posIter, status); in TestAPIVariants()
341 actual.remove(); in TestAPIVariants()
344 cdf->format((int32_t)123456, actual, pos); in TestAPIVariants()
345 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants()
347 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants()
350 actual.remove(); in TestAPIVariants()
354 cdf->format((int32_t)123456, actual, pos, status); in TestAPIVariants()
355 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants()
357 … "Got: \"" + actual + "\", pos " + pos.getEndIndex() + ", status " + u_errorName(status)); in TestAPIVariants()
360 actual.remove(); in TestAPIVariants()
362 cdf->format((int32_t)123456, actual, &posIter, status); in TestAPIVariants()
368 actual.remove(); in TestAPIVariants()
371 cdf->format((int64_t)123456, actual, pos); in TestAPIVariants()
372 if (actual != expected || pos.getEndIndex() != 3) { in TestAPIVariants()
374 … "Got: \"" + actual + "\", pos " + pos.getEndIndex()); in TestAPIVariants()
377 actual.remove(); in TestAPIVariants()
381 cdf->format((int64_t)123456, actual, pos, status); in TestAPIVariants()
382 if (actual != expected || pos.getEndIndex() != 3 || status != U_ZERO_ERROR) { in TestAPIVariants()
384 … "Got: \"" + actual + "\", pos " + pos.getEndIndex() + ", status " + u_errorName(status)); in TestAPIVariants()
387 actual.remove(); in TestAPIVariants()
389 cdf->format((int64_t)123456, actual, &posIter, status); in TestAPIVariants()
413 UnicodeString actual; in CheckExpectedResult() local
414 cdf->format(expectedResult->value, actual); in CheckExpectedResult()
417 if (actual != expected) { in CheckExpectedResult()
419 + UnicodeString(" Got: ") + actual in CheckExpectedResult()