/** Test of getValue method, of class AbstractGraphPanelChartElement. */ @Test public void testGetValue() { System.out.println("getValue"); AbstractGraphPanelChartElement instance = new AbstractGraphPanelChartElementImpl(); double expResult = 0.0; double result = instance.getValue(); assertEquals(expResult, result, 0.0); }
/** Test of isPointRepresentative method, of class AbstractGraphPanelChartElement. */ @Test public void testIsPointRepresentative() { System.out.println("isPointRepresentative"); int limit = 10; AbstractGraphPanelChartElement instance = new AbstractGraphPanelChartElementImpl(); boolean expResult = true; boolean result = instance.isPointRepresentative(limit); assertEquals(expResult, result); }
/** Test of add method, of class AbstractGraphPanelChartElement. */ @Test public void testAdd() { System.out.println("add"); double val = 0.0; AbstractGraphPanelChartElement instance = new AbstractGraphPanelChartElementImpl(); try { instance.add(val); fail("Exception expected"); } catch (UnsupportedOperationException e) { } }