Test Case Method Identifier
clearAttributes
Test Items
The purpose of testing the clearAttributes method is to check whether the method correctly removes all the attributes of a graph.
Input Specification
To test the clearAttributes method we used several inputs for 2 calls to the addAttribute method, and then called the clearAttributes methods on the whole graph.
Output Specification
Assert that all the attributes have been removed, by checking that the number of attributes has become equal to zero.