### Question:
RangeEdge implements DecisionTreeEdge, Comparable<RangeEdge> { @Override public boolean decide(final Object object) { return d_boundedInterval.getRange().containsDouble((Double) object); } RangeEdge(
			final double lowerBound, final boolean isLowerBoundOpen,
			final double upperBound, final boolean isUpperBoundOpen); static RangeEdge createDefault(); static RangeEdge copy(RangeEdge edge); @Override boolean decide(final Object object); double getLowerBound(); boolean isLowerBoundOpen(); double getUpperBound(); boolean isUpperBoundOpen(); BoundedInterval getInterval(); @Override int compareTo(final RangeEdge other); @Override String toString(); static String format(final String variableName, final RangeEdge range); static String format(final String variableName,
			final double lowerBound, final boolean isLowerBoundOpen,
			final double upperBound, final boolean isUpperBoundOpen); @Override boolean equivalent(DecisionTreeEdge o);  }### Answer:
@Test public void testDecide() { RangeEdge edge = new RangeEdge(0.0, true, 40.0, false); assertTrue(edge.decide(15.0)); assertTrue(edge.decide(30.0)); assertFalse(edge.decide(50.0)); assertFalse(edge.decide(-0.1)); }
@Test public void testDecideBoundary() { RangeEdge edge = new RangeEdge(0.0, true, 40.0, false); assertFalse(edge.decide(0.0)); assertTrue(edge.decide(40.0)); }