Test Case Method Identifier
removeNode
Test Items
The purpose of this test is to check if nodes are removed correctly.
Methods to be used: addNode(), addEdge(), removeNode(), getNodeCount(), getEdgeCount().
Input Specification
Add an object of MultiGraph class, three nodes and two edges. Remove one of the nodes.
Output Specification
Assert that after removing a node the number of nodes is two and the number of edges is one.