Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Sep 10, 2023
1 parent d86373d commit 19c6571
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/automap_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ TEST(Automap, InitAutomap)
InitAutomapOnce();
EXPECT_EQ(AutomapActive, false);
EXPECT_EQ(AutoMapScale, 50);
EXPECT_EQ(AmLine(64), 32);
EXPECT_EQ(AmLine(32), 16);
EXPECT_EQ(AmLine(16), 8);
EXPECT_EQ(AmLine(8), 4);
EXPECT_EQ(AmLine(4), 2);
EXPECT_EQ(AmLine(AmLineLength::DoubleTile), AmLineLength::HalfTile);
EXPECT_EQ(AmLine(AmLineLength::FullAndHalfTile), static_cast<AmLineLength>(6));
EXPECT_EQ(AmLine(AmLineLength::FullTile), AmLineLength::QuarterTile);
EXPECT_EQ(AmLine(AmLineLength::HalfTile), static_cast<AmLineLength>(1));
EXPECT_EQ(AmLine(AmLineLength::QuarterTile), static_cast<AmLineLength>(0));
}

TEST(Automap, StartAutomap)
Expand Down

0 comments on commit 19c6571

Please sign in to comment.