*/
@Test
public void testGetMaxX()
{
System.out.println("getMaxX");
GraphRowSumValues instance = new GraphRowSumValues();
instance.setGranulationValue(100);
instance.setExcludeOutOfRangeValues(true);
instance.add(1000, 10);
instance.add(100000, 20);
long expResult = 1000L;
long result = instance.getMaxX();
assertEquals(expResult, result);
instance.setExcludeOutOfRangeValues(false);
expResult = 100000;
result = instance.getMaxX();
assertEquals(expResult, result);
}