Test Case Identifier
TC-SG_C12
Test Items
The purpose of the test is to check that the degree of a node is in accordance with the number of edges
which use that node as a source node.
Methods to be used: addNode(), addEdge(), getDegree().
Input Specification
Test Case Specification:
Add an object of Single Graph class, three nodes and two edges which will both use
the first node as a source node and the second / third node as a target node accordingly.
Output Specification
Assert that the degree of the first node is 2.