Function: createSet(string _name)
This function is used to create a new set.
Inputs
_name
Control: Arbitrary.
Constraints: Length of the
_name
should be less than 512.Impact: Name of the set.
Branches and code coverage
Intended branches
Add
_name
to thesetNames
mapping.
Negative behavior
Revert if the name of
set
already exists in thesets
orsetNames
mapping.Revert if the length of
setNames
is greater than 512.