suvi.alg.util
Class NodeOrderingPoliciesTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--suvi.alg.util.NodeOrderingPoliciesTest
All Implemented Interfaces:
junit.framework.Test

public class NodeOrderingPoliciesTest
extends junit.framework.TestCase

A [JUnit] test for NodeOrderingPolicies.


Constructor Summary
NodeOrderingPoliciesTest()
           
 
Method Summary
 void testCrossings()
          Tests the NodeOrderingPolicies.crossings(javautils.graph.adt.Graph, suvi.alg.interfaces.AugmentedNodeRanking, javautils.maps.ObjectToIntMap)-method using a test case designed to exhibit most, if not all, possible cases and asserting that the actual result agrees with the expected result.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeOrderingPoliciesTest

public NodeOrderingPoliciesTest()
Method Detail

testCrossings

public void testCrossings()

Tests the NodeOrderingPolicies.crossings(javautils.graph.adt.Graph, suvi.alg.interfaces.AugmentedNodeRanking, javautils.maps.ObjectToIntMap)-method using a test case designed to exhibit most, if not all, possible cases and asserting that the actual result agrees with the expected result.