Test Case Identifier
TC-SG_C13
Test Items
The purpose of the test is to check that a single graph does not have the properties of a multi graph i.e.
it does not allow multiple edges between two nodes.
Methods to be used: addNode(), addEdge(),getDegree().
Input Specification
Test Case Specification:
Add an object of Single Graph class and two nodes.Also add on one hand an edge that will use the first node as source node and
the second node as target, and on the other hand add another edge that will do the opposite i.e.
use the second node as source node and the first node as target node.
Output Specification
Assert that the degree of the second node is not 2 and assert return value null for the
second edge which means that the second edge has not been added to the graph thus the graph is not multi graph.