Test Case Method Identifier
addEdge
Test Items
The purpose of testing the addEdge method is to check whether edges are created properly using different parameters of the addEdge methods such as multiple nodes or root nodes, testing their correct behaviours on multiple conditions.
Input Specification
To test the addEdge methods different inputs should be used such as a SingleGraph and multiple nodes, as well as a root node.
Output Specification
Assert that the size after the creation of the nodes is correct and the root is correctly inserted.