Test Case Identifier
TC-SG_C11
Test Items
The purpose of the test is to check that it is possible to create a loop i.e. a node with an edge that leads to the same node. Methods to be used: addNode(), addEdge(), getTargetNode().
Input Specification
Test Case Specification: Ad an object of Single Graph class, a node and an edge which used the node both as a source node and as a target node parameter.
Output Specification
Assert that the node will be returned when calling the getTargetNode() method on the edge.