Test Case Identifier
addNode
Test Items
The purpose of the test is to check that by calling the addNode method on an existing singleGraph object with different existing number of nodes, a new node will be added to the graph. The methods to be used is addNode(java.lang.String id).
Input Specification

The possible values of the different categories for the method's inputs and environment are defined in the following text file:
  • Categories definition

  • The combinations of the category values (generated with genpairs) to be used as input for the test cases to be generated are presented in the following csv file:
  • Categories' values
  • Output Specification
    Assert that the method creates and add correctly the Node to the SingleGraph instance.