Package kg.apc.charting.elements

Source Code of kg.apc.charting.elements.GraphPanelChartSumElementTest

package kg.apc.charting.elements;

import kg.apc.charting.elements.GraphPanelChartSumElement;
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 GraphPanelChartSumElementTest
{
   /**
    *
    */
   public GraphPanelChartSumElementTest()
   {
   }

   /**
    *
    * @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 add method, of class GraphPanelChartAverageElement.
    */
   @Test
   public void testAdd()
   {
      System.out.println("add");
      double yVal = 0.0;
      GraphPanelChartSumElement instance = new GraphPanelChartSumElement();
      instance.add(yVal);
   }

   /**
    * Test of getValue method, of class GraphPanelChartAverageElement.
    */
   @Test
   public void testGetValue()
   {
      System.out.println("getValue");
      GraphPanelChartSumElement instance = new GraphPanelChartSumElement();
      double expResult = 0.0;
      double result = instance.getValue();
      assertEquals(expResult, result, 0.0);
   }

   /**
    * Test of getCount method, of class GraphPanelChartAverageElement.
    */
   @Test
   public void testGetCount()
   {
      System.out.println("getCount");
      GraphPanelChartSumElement instance = new GraphPanelChartSumElement();
      int expResult = 0;
      int result = instance.getCount();
      assertEquals(expResult, result);
   }
}
TOP

Related Classes of kg.apc.charting.elements.GraphPanelChartSumElementTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.