### Question:
DoubleRange implements Comparable<DoubleRange> { public Double getLow() { return low; } DoubleRange();  DoubleRange(Double low, Double high); Double getHigh(); void setHigh(Double high); Double getLow(); void setLow(Double low); @Override int compareTo(DoubleRange other); boolean contains(double d); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void getLow_shouldReturnCorrectValueOfLowIfLowWasSetPreviously() { DoubleRange dr = new DoubleRange(0.0, 4.0); assertEquals(0.0, dr.getLow(), 0); }
@Test public void getLow_shouldReturnNegativeInfinityIfLowWasNotSetPreviously() { DoubleRange dr = new DoubleRange(null, 0.0); assertEquals(Double.NEGATIVE_INFINITY, dr.getLow(), 0); }