Home | History | Annotate | Download | only in format

Lines Matching refs:_test

52         _test(fmt);
56 _test(fmt);
60 _test(fmt);
74 _test(fmt);
77 _test(fmt);
80 _test(fmt);
97 private void _test(NumberFormat fmt) {
99 _test(fmt, Double.NaN);
100 _test(fmt, Double.POSITIVE_INFINITY);
101 _test(fmt, Double.NEGATIVE_INFINITY);
103 _test(fmt, 500);
104 _test(fmt, 0);
105 _test(fmt, -0);
106 _test(fmt, 0.0);
109 _test(fmt, negZero);
110 _test(fmt, 9223372036854775808.0d);
111 _test(fmt, -9223372036854775809.0d);
112 //_test(fmt, 6.936065876100493E74d);
114 // _test(fmt, 6.212122845281909E48d);
117 _test(fmt, randomDouble(1));
119 _test(fmt, randomDouble(10000));
121 _test(fmt, Math.floor((randomDouble(10000))));
123 _test(fmt, randomDouble(1e50));
125 _test(fmt, randomDouble(1e-50));
127 _test(fmt, randomDouble(1e100));
129 _test(fmt, randomDouble(1e75));
131 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier());
133 _test(fmt, randomDouble(1e75) / ((DecimalFormat) fmt).getMultiplier());
135 _test(fmt, randomDouble(1e65) / ((DecimalFormat) fmt).getMultiplier());
137 _test(fmt, randomDouble(1e-292));
139 _test(fmt, randomDouble(1e-78));
141 _test(fmt, randomDouble(1e-323));
143 _test(fmt, randomDouble(1e-100));
145 _test(fmt, randomDouble(1e-78));
149 private void _test(NumberFormat fmt, double value) {
150 _test(fmt, new Double(value));
153 private void _test(NumberFormat fmt, long value) {
154 _test(fmt, new Long(value));
157 private void _test(NumberFormat fmt, Number value) {