result = useClassifier();
assertTrue(result.size() != 0);
double minp = 0;
double maxp = 0;
for (int i = 0; i < result.size(); i++) {
NominalPrediction p = (NominalPrediction)result.elementAt(i);
double prob = p.distribution()[cind];
if ((i == 0) || (prob < minp)) minp = prob;
if ((i == 0) || (prob > maxp)) maxp = prob;
}
assertTrue("Upper limit shouldn't increase", maxp <= 1.0);
assertTrue("Lower limit shouldn'd decrease", minp >= 0.25);