Package UnitTests

Source Code of UnitTests.GraphTest

package UnitTests;

import junit.framework.TestCase;

import org.junit.Assert;

import vg.core.graph.Graph;

public class GraphTest extends TestCase {
  /**
   * Constructor
   * s - name of anyone methods of this class.
   */
  public GraphTest(String s) {
    super(s);
  }
  /**
   * This method tests of creating graph.
   */
  public void createGraph() {
    Graph gr = new Graph();
    Assert.assertTrue(gr!=null);
  }
}
TOP

Related Classes of UnitTests.GraphTest

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.