package kg.apc.charting.elements;
import kg.apc.charting.elements.GraphPanelChartExactElement;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
public class GraphPanelChartExactElementTest
{
/**
*
*/
public GraphPanelChartExactElementTest()
{
}
/**
*
* @throws Exception
*/
@BeforeClass
public static void setUpClass() throws Exception
{
}
/**
*
* @throws Exception
*/
@AfterClass
public static void tearDownClass() throws Exception
{
}
/**
*
*/
@Before
public void setUp()
{
}
/**
*
*/
@After
public void tearDown()
{
}
/**
* Test of getValue method, of class GraphPanelChartExactElement.
*/
@Test
public void testGetValue()
{
System.out.println("getValue");
GraphPanelChartExactElement instance = new GraphPanelChartExactElement(1, 1);
double expResult = 1.0;
double result = instance.getValue();
assertEquals(expResult, result, 0.0);
}
/**
* Test of getX method, of class GraphPanelChartExactElement.
*/
@Test
public void testGetX()
{
System.out.println("getX");
GraphPanelChartExactElement instance = new GraphPanelChartExactElement(1, 1);
long expResult = 1L;
long result = instance.getX();
assertEquals(expResult, result);
}
/**
* Test of add method, of class GraphPanelChartExactElement.
*/
@Test
public void testAdd() {
System.out.println("add");
double val = 0.0;
GraphPanelChartExactElement instance = new GraphPanelChartExactElement(0, 0);
instance.add(val);
}
}