Test Case Identifier
TC-SG_C08
Test Items
The purpose of the test is to check that the method used to connect two existing nodes with an edge is functioning properly. Methods to be used: getNode(), getSourceNode(), getTargetNode().
Input Specification
Test Case Specification: Add an object of Single Graph class and two nodes. Add an object from the AbstractEdge class between the two nodes.
Output Specification
Assert that the assigned source and target node of the edge are returned when calling the getSourceNode() and getTargetNode() methods.