Lines Matching refs:limits
44 double limits[] = {1,2,3,4,5,6,7}; in TestSimpleExample() local
46 ChoiceFormat* form = new ChoiceFormat(limits, monthNames, 7); in TestSimpleExample()
74 ChoiceFormat* formequal=new ChoiceFormat(limits, monthNames, 7); in TestSimpleExample()
104 if(gotLimits[ix] != limits[ix]){ in TestSimpleExample()
105 …errln((UnicodeString)"getLimits didn't get the limits correctly. Expected " + limits[ix] + " Got … in TestSimpleExample()
470 double limits[] = { 0, 1, 2, 3, 4, 5 }; in TestClosures() local
475 ChoiceFormat fmt1(limits, closures, fmts, 6); in TestClosures()
515 if(limits2[i] != limits[i]) { in TestClosures()
516 errln("FAIL: limit #%d = %g, should be %g\n", i, limits2[i], limits[i]); in TestClosures()
637 static const double limits[] = {0.1e-78, 1e13, 0.1e78}; in TestChoiceFormatToPatternOverflow() local
639 ChoiceFormat fmt(limits, monthNames, sizeof(limits)/sizeof(limits[0])); in TestChoiceFormatToPatternOverflow()