fix failing tests

idk how these werent failing before.  Seems to have been magic.
This commit is contained in:
David Markowitz 2024-03-31 04:53:46 -07:00
parent 1b84d3d514
commit 23d40d54fa

View File

@ -121,7 +121,7 @@ TEST(MagicEnumTest, eGameMessageTypeTest) {
namespace { namespace {
template <typename T> template <typename T>
void AssertEnumArraySorted(const T& eArray) { void AssertEnumArraySorted(const T& eArray) {
for (int i = 0; i < eArray->size(); ++i) { for (int i = 0; i < eArray->size() - 1; ++i) {
const auto entryCurr = eArray->at(i).first; const auto entryCurr = eArray->at(i).first;
LOG_EARRAY(eArray, i, entryCurr); LOG_EARRAY(eArray, i, entryCurr);
const auto entryNext = eArray->at(++i).first; const auto entryNext = eArray->at(++i).first;