Lines Matching refs:tc
232 for(BigDecimal[] tc : testCases) {
234 if (! (quotient = tc[0].divide(tc[1])).equals(tc[2]) ) {
236 System.err.println("Unexpected quotient from " + tc[0] + " / " + tc[1] +
237 "; expected " + tc[2] + " got " + quotient);
253 for(BigDecimal[] tc : testCases) {
255 if (! (quotient = tc[0].divide(tc[1], mc)).equals(tc[2]) ) {
257 System.err.println("Unexpected quotient from " + tc[0] + " / " + tc[1] +
258 "; expected " + tc[2] + " got " + quotient);
316 for(BigDecimal tc[] : testCases) {
317 int scale = tc[2].scale();
318 int rm = tc[2].unscaledValue().intValue();
320 BigDecimal quotient = tc[0].divide(tc[1], scale, rm);
321 if (!quotient.equals(tc[3])) {
323 System.err.println("Unexpected quotient from " + tc[0] + " / " + tc[1] +
325 "; expected " + tc[3] + " got " + quotient);