Create a comparison name that is used for printed output of comparisons.
str
Name of the first configuration.
Name of the second configuration.
When name1 and name2 are equal, the returned name is simply one of the names. When they are different the returned name is formatted as "{name1} / {name2}".
name1
name2
"{name1} / {name2}"
getComparisonName()