@Test
public void testRemove() throws Exception {

    CategorizedPoint ca = getCategorizedPoint();
    PointParameters tester = new PointParameters(Color.decode("#dd77ee"),.2,2.0,"1 1",Color.decode("#dd66ee"),.5,7.0,5.0,"STAR");
    PointParameters rm = ca.remove(70000.0);
    assertTrue(tester.equals(rm));
    tester = new PointParameters(Color.decode("#223344"),.2,2.0,"1 1",Color.decode("#113355"),.5,6.0,5.0,"SQUARE");
    assertTrue(ca.get(Double.NEGATIVE_INFINITY).equals(tester));
    tester = new PointParameters(Color.decode("#dd77ee"),.2,2.0,"1 1",Color.decode("#ffaa99"),.5,8.0,5.0,"CROSS");
    assertTrue(ca.get(100000.0).equals(tester));
    assertFalse(ca.containsKey(75000.0));
}