@Test public void testIsPointRepresentative() { System.out.println("isPointRepresentative"); int limit = 5; GraphPanelChartAverageElement instance = new GraphPanelChartAverageElement(); for (int i = 0; i < 3; i++) { instance.add(10); } boolean expResult = false; boolean result = instance.isPointRepresentative(limit); Assert.assertEquals(expResult, result); for (int i = 0; i < 3; i++) { instance.add(10); } expResult = true; result = instance.isPointRepresentative(limit); Assert.assertEquals(expResult, result); }
@Override public boolean isPointRepresentative(int limit) { return count > limit; }
GraphPanelChartAverageElement extends AbstractGraphPanelChartElement { @Override public boolean isPointRepresentative(int limit) { return count > limit; } }
GraphPanelChartAverageElement extends AbstractGraphPanelChartElement { @Override public boolean isPointRepresentative(int limit) { return count > limit; } GraphPanelChartAverageElement(double yVal);  GraphPanelChartAverageElement(); }
GraphPanelChartAverageElement extends AbstractGraphPanelChartElement { @Override public boolean isPointRepresentative(int limit) { return count > limit; } GraphPanelChartAverageElement(double yVal);  GraphPanelChartAverageElement(); void add(double yVal); double getValue(); int getCount(); @Override boolean isPointRepresentative(int limit); }
GraphPanelChartAverageElement extends AbstractGraphPanelChartElement { @Override public boolean isPointRepresentative(int limit) { return count > limit; } GraphPanelChartAverageElement(double yVal);  GraphPanelChartAverageElement(); void add(double yVal); double getValue(); int getCount(); @Override boolean isPointRepresentative(int limit);  }