for (int i = 0; i < result.numInstances(); i++) {
Instance inst = result.instance(i);
if (inst.isMissing(0) || inst.isMissing(1) ||
inst.isMissing(2) || inst.isMissing(3)) {
assertTrue("Instance " + (i + 1) + " should have been ?" ,
inst.isMissing(inst.numAttributes() - 1));
} else {
assertEquals("Instance " + (i + 1),
(inst.value(3) + inst.value(2)) *
((inst.value(1) - inst.value(0))/5),
inst.value(inst.numAttributes() - 1), EXPR_DELTA);