From 3dbedce54d2116b036ad337b10686e13a6af0da2 Mon Sep 17 00:00:00 2001
From: Joachim Wuttke <j.wuttke@fz-juelich.de>
Date: Mon, 16 Oct 2023 18:40:13 +0200
Subject: [PATCH] SimulationAreaTest: rm duplicate test

---
 Tests/Unit/Device/SimulationAreaTest.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Tests/Unit/Device/SimulationAreaTest.cpp b/Tests/Unit/Device/SimulationAreaTest.cpp
index 7b5bb9578d3..85230aba0b8 100644
--- a/Tests/Unit/Device/SimulationAreaTest.cpp
+++ b/Tests/Unit/Device/SimulationAreaTest.cpp
@@ -112,18 +112,15 @@ TEST(SimulationAreaTest, indexInRoi)
     detector.setRegionOfInterest(0.1, 1.1, 2.9, 3.9);
     detector.addMask(Rectangle(-0.9, 0.1, 0.9, 1.9), true);
 
-    std::vector<size_t> expectedIndexes = {1, 2, 3, 4, 5, 6, 7, 8};
     std::vector<size_t> expectedDetectorIndexes = {6, 7, 9, 10, 11, 13, 14, 15};
     std::vector<size_t> expectedRoi = {1, 2, 3, 4, 5, 6, 7, 8};
     std::vector<size_t> indexes;
     std::vector<size_t> roiIndexes;
     std::vector<size_t> detectorIndexes;
     detector.iterateOverNonMaskedPoints([&](const auto it) {
-        indexes.push_back(it.roiIndex());
         roiIndexes.push_back(it.roiIndex());
         detectorIndexes.push_back(it.detectorIndex());
     });
-    EXPECT_EQ(indexes, expectedIndexes);
     EXPECT_EQ(roiIndexes, expectedRoi);
     EXPECT_EQ(detectorIndexes, expectedDetectorIndexes);
 }
-- 
GitLab