assertEquals("Instance " + (i + 1), (inst.value(3) + inst.value(2)) * ((inst.value(1) - inst.value(0))/5), inst.value(inst.numAttributes() - 1), EXPR_DELTA);
if (inst.isMissing(0) || inst.isMissing(1) || inst.isMissing(2) || inst.isMissing(3)) { assert("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); }
  public void testBracketing() {    m_Filter = getFilter("(a3+a4)*((a2-a1)/5)");    Instances result = useFilter();    for (int i = 0; i < result.numInstances(); i++) {      Instance inst = result.instance(i);      assertEquals("Instance " + (i + 1),                   (inst.value(3) + inst.value(2)) *                    ((inst.value(1) - inst.value(0))/5),                    inst.value(inst.numAttributes() - 1), EXPR_DELTA);    }  }