DiscreteInterval { public long getMin() { return min; } DiscreteInterval(long min, long max); long getMin(); long getMax(); long size(); DiscreteInterval plus(DiscreteInterval other); DiscreteInterval negate(); DiscreteInterval minus(DiscreteInterval other); boolean contains(DiscreteInterval other); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void canGetMinimum() { assertEquals(1, (new DiscreteInterval(1, 3)).getMin()); }