From 37e641aa38735a2cb855bf79ec9feb3a15022fd3 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Fri, 11 Aug 2023 10:42:20 +0200
Subject: [PATCH] rm one GUI unit test

---
 Tests/Unit/GUI/TestDetectorItems.cpp | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/Tests/Unit/GUI/TestDetectorItems.cpp b/Tests/Unit/GUI/TestDetectorItems.cpp
index 8452aaa6d9e..351469e5bbf 100644
--- a/Tests/Unit/GUI/TestDetectorItems.cpp
+++ b/Tests/Unit/GUI/TestDetectorItems.cpp
@@ -11,24 +11,6 @@
 #include "GUI/Support/Type/Unit.h"
 #include "Tests/GTestWrapper/google_test.h"
 
-TEST(TestDetectorItems, resolutionFunction)
-{
-    InstrumentModel model;
-    auto* instrument = model.addInstrumentItem<GISASInstrumentItem>();
-
-    DetectorItem* detectorItem = instrument->detectorItem();
-
-    detectorItem->setResolutionFunctionType<ResolutionFunction2DGaussianItem>();
-
-    auto detector = detectorItem->createDetector();
-    const auto* convol =
-        dynamic_cast<const ConvolutionDetectorResolution*>(detector->detectorResolution());
-    const auto* gaussian =
-        dynamic_cast<const ResolutionFunction2DGaussian*>(convol->getResolutionFunction2D());
-
-    EXPECT_EQ(Units::rad2deg(gaussian->sigmaX()), 0.02);
-}
-
 TEST(TestDetectorItems, resolutionFunctionUnit)
 {
     const auto asString = [](const std::variant<QString, Unit>& unit) {
-- 
GitLab