From 3fc1dc7eee4c70a7a732dcf73c3b82f98743050d Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Thu, 19 Jan 2023 21:49:16 +0000 Subject: [PATCH] Fix tests so that they actually run something --- test/tests/TileElementsView.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/tests/TileElementsView.cpp b/test/tests/TileElementsView.cpp index 631a06bd63..6e41affc55 100644 --- a/test/tests/TileElementsView.cpp +++ b/test/tests/TileElementsView.cpp @@ -59,7 +59,7 @@ uint8_t TileElementsViewTests::_gScreenFlags; template std::vector BuildListManual(const CoordsXY& pos) { - std::vector res; + std::vector res; TileElement* element = MapGetFirstElementAt(pos); if (element == nullptr) @@ -85,7 +85,7 @@ template std::vector BuildListManual(const CoordsXY& pos) template std::vector BuildListByView(const CoordsXY& pos) { - std::vector res; + std::vector res; for (auto* element : TileElementsView(pos)) { @@ -97,8 +97,8 @@ template std::vector BuildListByView(const CoordsXY& pos) template bool CompareLists(const CoordsXY& pos) { - auto listManual = BuildListManual(pos); - auto listView = BuildListByView(pos); + auto listManual = BuildListManual(pos); + auto listView = BuildListByView(pos); EXPECT_EQ(listManual.size(), listView.size()); if (listManual.size() != listView.size())