@Test
public void testEquals() {
Range myRange = new Range(1, 2);
Range myRange2 = new Range(1, 2);
Range myRange3 = new Range(2, 3);
Average avg = new Average(1, 2.0);
Assert.assertFalse(myRange.equals(avg));
Assert.assertFalse(myRange.equals(myRange3));
Assert.assertTrue(myRange.equals(myRange2));
}