@Test public void testArithmeticMin() throws Exception { ChartManager.setLogarithmic(chart, false); assertEquals(0, yAxis.getMin()); }
@Test public void testLogarithmicMin() throws Exception { ChartManager.setLogarithmic(chart, true); assertNull(yAxis.getMin()); }
@Test public void testArithmeticMinorTickInterval() throws Exception { ChartManager.setLogarithmic(chart, false); assertNull(yAxis.getMinorTickInterval()); }
@Test public void testLogarithmicMinorTickInterval() throws Exception { ChartManager.setLogarithmic(chart, true); assertEquals(0.1, yAxis.getMinorTickInterval()); }
@Test public void testArithmeticType() throws Exception { ChartManager.setLogarithmic(chart, false); assertNull(yAxis.getType()); }
@Test public void testLogarithmicType() throws Exception { ChartManager.setLogarithmic(chart, true); assertEquals(AxisType.LOGARITHMIC, yAxis.getType()); }