Function: createSet(string _name)
This function is used to create a new set.
Inputs
_nameControl: Arbitrary.
Constraints: Length of the
_nameshould be less than 512.Impact: Name of the set.
Branches and code coverage
Intended branches
Add
_nameto thesetNamesmapping.
Negative behavior
Revert if the name of
setalready exists in thesetsorsetNamesmapping.Revert if the length of
setNamesis greater than 512.