### Question:
Range { @Override public boolean equals(Object object) { if (this == object) { return true; } if (object == null || object.getClass() != getClass()) { return false; } final Range other = (Range) object; return min == other.min && max == other.max; } 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 testEquals() { final Range range = new Range(1, 2); assertEquals(range, range); assertEquals(range, new Range(1, 2)); assertNotEquals(range, null); assertNotEquals(range, new Object()); assertNotEquals(range, new Range(2, 2)); assertNotEquals(range, new Range(1, 1)); }