### Question:
NumericDecision extends Decision { @Override public String toString() { return "(#" + getFeatureNumber() + " >= " + threshold + ')'; } NumericDecision(int featureNumber, double threshold, boolean defaultDecision); double getThreshold(); @Override boolean getDefaultDecision(); @Override boolean isPositive(Example example); @Override FeatureType getType(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testToString() { NumericDecision decision = new NumericDecision(0, 0.5, true); assertEquals("(#0 >= 0.5)", decision.toString()); }