Test Case Identifier
TC_MG_C10
Test Items
The purpose of the test is to check that if we add too many nodes and edges to a graph the out of memory error would occur. It is aimed at testing the constructor. Methods to be used: addNode(), addEdge(),getNodeCount(), getEdgeCount().
Input Specification
Test Case Specification:
Add an object of Multi Graph class, add 128,000 nodes to the created graph using a for loop and add 1,024,000 edges between random nodes using a for loop.
Output Specification
Expect Out of memory type of error when trying to count the number of nodes/edges in the graph.