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:
2023-04-15 18:45:37 -07:00
parent 20e413742c
commit 3c30150a70
3 changed files with 72 additions and 44 deletions

View File

@@ -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);