Java 类org.jfree.data.xy.XIntervalDataItem 实例源码

项目:parabuild-ci    文件:XIntervalDataItemTests.java   
/**
 * Some checks for the constructor.
 */
public void testConstructor1() {
    XIntervalDataItem item1 = new XIntervalDataItem(1.0, 2.0, 3.0, 4.0);
    assertEquals(new Double(1.0), item1.getX());
    assertEquals(2.0, item1.getXLowValue(), EPSILON);
    assertEquals(3.0, item1.getXHighValue(), EPSILON);
    assertEquals(4.0, item1.getYValue(), EPSILON);
}
项目:nabs    文件:XIntervalDataItemTests.java   
/**
 * Some checks for the constructor.
 */
public void testConstructor1() {
    XIntervalDataItem item1 = new XIntervalDataItem(1.0, 2.0, 3.0, 4.0);
    assertEquals(new Double(1.0), item1.getX());
    assertEquals(2.0, item1.getXLowValue(), EPSILON);
    assertEquals(3.0, item1.getXHighValue(), EPSILON);
    assertEquals(4.0, item1.getYValue(), EPSILON);
}
项目:astor    文件:XIntervalDataItemTests.java   
/**
 * Some checks for the constructor.
 */
public void testConstructor1() {
    XIntervalDataItem item1 = new XIntervalDataItem(1.0, 2.0, 3.0, 4.0);
    assertEquals(new Double(1.0), item1.getX());
    assertEquals(2.0, item1.getXLowValue(), EPSILON);
    assertEquals(3.0, item1.getXHighValue(), EPSILON);
    assertEquals(4.0, item1.getYValue(), EPSILON);
}