Lines Matching refs:Formattable
220 test(fmt, Formattable(value));
226 test(fmt, Formattable(value));
230 NumberFormatRoundTripTest::test(NumberFormat *fmt, const Formattable& value)
244 Formattable n;
292 escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong())
299 NumberFormatRoundTripTest::proportionalError(const Formattable& a, const Formattable& b)
321 NumberFormatRoundTripTest::typeOf(const Formattable& n, UnicodeString& result)
323 if(n.getType() == Formattable::kLong) {
326 else if(n.getType() == Formattable::kDouble) {
329 else if(n.getType() == Formattable::kString) {