Class BasicGraphModelTest


  • public class BasicGraphModelTest
    extends TestSuite
    A test suite for the BasicGraphModel class.
    Version:
    $Id$
    Author:
    John Reekie
    • Method Detail

      • runSuite

        public void runSuite()
        Run the test.
        Specified by:
        runSuite in class TestSuite
      • main

        public static void main​(java.lang.String[] argv)
        Create a default test harness and run all tests on it.
      • testEmpty

        public void testEmpty()
        Perform tests on an empty graph.
      • testStarConnected

        public void testStarConnected()
        Test a star-connected graph.
      • testBig

        public void testBig()
        Test a large (64 knode) graph. Unfortunately, something seems to hang after running this test. Presumably there's a problem with the diva.graph package (apart from the bug that won't even let you get the number of nodes).