org.jfree.chart.renderer.Outlier Java Examples
The following examples show how to use
org.jfree.chart.renderer.Outlier.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OutlierTests.java From astor with GNU General Public License v2.0 | 6 votes |
/** * A test for the equals() method. */ public void testEquals() { Outlier out1 = new Outlier(1.0, 2.0, 3.0); Outlier out2 = new Outlier(1.0, 2.0, 3.0); assertTrue(out1.equals(out2)); assertTrue(out2.equals(out1)); out1.setPoint(new Point2D.Double(2.0, 2.0)); assertFalse(out1.equals(out2)); out2.setPoint(new Point2D.Double(2.0, 2.0)); assertTrue(out1.equals(out2)); out1.setPoint(new Point2D.Double(2.0, 3.0)); assertFalse(out1.equals(out2)); out2.setPoint(new Point2D.Double(2.0, 3.0)); assertTrue(out1.equals(out2)); out1.setRadius(4.0); assertFalse(out1.equals(out2)); out2.setRadius(4.0); assertTrue(out1.equals(out2)); }
Example #2
Source File: OutlierTests.java From astor with GNU General Public License v2.0 | 6 votes |
/** * A test for the equals() method. */ public void testEquals() { Outlier out1 = new Outlier(1.0, 2.0, 3.0); Outlier out2 = new Outlier(1.0, 2.0, 3.0); assertTrue(out1.equals(out2)); assertTrue(out2.equals(out1)); out1.setPoint(new Point2D.Double(2.0, 2.0)); assertFalse(out1.equals(out2)); out2.setPoint(new Point2D.Double(2.0, 2.0)); assertTrue(out1.equals(out2)); out1.setPoint(new Point2D.Double(2.0, 3.0)); assertFalse(out1.equals(out2)); out2.setPoint(new Point2D.Double(2.0, 3.0)); assertTrue(out1.equals(out2)); out1.setRadius(4.0); assertFalse(out1.equals(out2)); out2.setRadius(4.0); assertTrue(out1.equals(out2)); }
Example #3
Source File: OutlierTests.java From astor with GNU General Public License v2.0 | 5 votes |
/** * Simple check for the default constructor. */ public void testConstructor() { Outlier out = new Outlier(1.0, 2.0, 3.0); assertEquals(-2.0, out.getX(), EPSILON); assertEquals(-1.0, out.getY(), EPSILON); assertEquals(3.0, out.getRadius(), EPSILON); }
Example #4
Source File: OutlierTests.java From astor with GNU General Public License v2.0 | 5 votes |
/** * Simple check for the default constructor. */ public void testConstructor() { Outlier out = new Outlier(1.0, 2.0, 3.0); assertEquals(-2.0, out.getX(), EPSILON); assertEquals(-1.0, out.getY(), EPSILON); assertEquals(3.0, out.getRadius(), EPSILON); }
Example #5
Source File: OutlierTests.java From astor with GNU General Public License v2.0 | 4 votes |
/** * Confirm that cloning is not implemented. */ public void testCloning() { Outlier out1 = new Outlier(1.0, 2.0, 3.0); assertFalse(out1 instanceof Cloneable); }
Example #6
Source File: OutlierTests.java From astor with GNU General Public License v2.0 | 4 votes |
/** * Confirm that serialization is not implemented. */ public void testSerialization() { Outlier out1 = new Outlier(1.0, 2.0, 3.0); assertFalse(out1 instanceof Serializable); }
Example #7
Source File: OutlierTests.java From astor with GNU General Public License v2.0 | 4 votes |
/** * Confirm that cloning is not implemented. */ public void testCloning() { Outlier out1 = new Outlier(1.0, 2.0, 3.0); assertFalse(out1 instanceof Cloneable); }
Example #8
Source File: OutlierTests.java From astor with GNU General Public License v2.0 | 4 votes |
/** * Confirm that serialization is not implemented. */ public void testSerialization() { Outlier out1 = new Outlier(1.0, 2.0, 3.0); assertFalse(out1 instanceof Serializable); }