Test Case Method Identifier
setAttribute
Test Items
The purpose of testing the setAttribute method is to check whether the method correctly sets a value for an attribute of the graph.
Input Specification
To test the setAttribute method, we passed the label of an already existing attribute to the method, along with a new value.
Output Specification
Assert that the specified attribute actually contains the value passed by setAttribute.