Adds operator != to AbilityType.
Makes Abiites tests use the vector compare helper. Makes Abilities tests report "no errors" instead of "" for success.
This commit is contained in:
@@ -20,6 +20,10 @@ namespace SBF {
|
||||
left.plural == right.plural;
|
||||
}
|
||||
|
||||
bool operator!=(const AbilityType& left, const AbilityType& right) {
|
||||
return !(left == right);
|
||||
}
|
||||
|
||||
void FillAbilities(vector<AbilityType>& abilities) {
|
||||
abilities.clear();
|
||||
abilities.push_back(kAbilityGroupTalents);
|
||||
|
||||
Reference in New Issue
Block a user