assertEquals(orig.value(5) - orig.value(2), result.instance(i).value(result.numAttributes() - 1), EXPR_DELTA);
if (orig.isMissing(5) || orig.isMissing(2)) { assert("Instance " + (i + 1) + " should have been ?" , result.instance(i).isMissing(result.numAttributes() - 1)); } else { assertEquals(orig.value(5) - orig.value(2), result.instance(i).value(result.numAttributes() - 1), EXPR_DELTA); }
  public void testTypical() {    m_Filter = getFilter("6,3");    Instances result = useFilter();    assertEquals(m_Instances.numAttributes() - 1, result.numAttributes());    for (int i = 0; i < result.numInstances(); i++) {      Instance orig = m_Instances.instance(i);      assertEquals(orig.value(5) - orig.value(2),                    result.instance(i).value(result.numAttributes() - 1),                    EXPR_DELTA);    }  }