### Question:
Range { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + min; result = prime * result + max; return result; } Range();  Range(int min, int max); int getMin(); int getMax(); boolean includes(int value); boolean includes(double value); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final Range INT_POSITIVE; static final Range INT_POSITIVE_STRICT; }### Answer:
@Test void testHashCode() { final Range range = new Range(1, 2); assertHashEquals(range, new Range(1, 2)); assertHashNotEquals(range, new Object()); assertHashNotEquals(range, new Range(2, 2)); assertHashNotEquals(range, new Range(1, 1)); }