Test Case Method Identifier
addAttribute
Test Items
The purpose of the test is to check that the method addAttribute actually adds the specified attribute to the graph.
Input Specification
To test the method, we created a SingleGraph (in the setup() method) and created a new attribute for this graph by using the addAttribute method. To test addAttribute, we created 3 different calls to that method, each one with different number of values.
Output Specification
Assert that the attribute added to the graph has the right value/length.