Savarese Software Research

com.savarese.algorithms.graph
Class EdgeTest

java.lang.Object
  extended by TestCase
      extended by com.savarese.algorithms.graph.EdgeTest

public class EdgeTest
extends TestCase

EdgeTest tests the Edge class.

Author:
Daniel F. Savarese

Constructor Summary
EdgeTest()
           
 
Method Summary
static com.savarese.algorithms.graph.Edge<java.lang.String,java.lang.Integer>[] createTestEdges()
          Creates an array of edges for use by tests.
 void testConstructor()
          Instantiates several Edge<String, Integer> instances in succession and verifies that all getter methods return results equivalent to the constructor parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeTest

public EdgeTest()
Method Detail

createTestEdges

public static com.savarese.algorithms.graph.Edge<java.lang.String,java.lang.Integer>[] createTestEdges()
Creates an array of edges for use by tests.


testConstructor

public void testConstructor()
Instantiates several Edge<String, Integer> instances in succession and verifies that all getter methods return results equivalent to the constructor parameters.


Savarese Software Research

Copyright © 2004-2005 Savarese Software Research and Daniel F. Savarese. All Rights Reserved.