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