From 64e28a0a240777e770e7bf22300846b8362a4521 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Tue, 23 Nov 2021 14:08:18 +0100
Subject: [PATCH] Meaningful Read SANSDRaw test passes

---
 Tests/Unit/Device/ReadSANSDRawTest.cpp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Tests/Unit/Device/ReadSANSDRawTest.cpp b/Tests/Unit/Device/ReadSANSDRawTest.cpp
index 8f5a6ce438d..514e015016b 100644
--- a/Tests/Unit/Device/ReadSANSDRawTest.cpp
+++ b/Tests/Unit/Device/ReadSANSDRawTest.cpp
@@ -2,7 +2,6 @@
 #include "Device/Data/OutputData.h"
 #include "BATesting.h"
 #include "Tests/GTestWrapper/google_test.h"
-#include <cstdio>
 
 class ReadSANSDRawTest : public ::testing::Test {
 };
@@ -17,7 +16,5 @@ TEST_F(ReadSANSDRawTest, Read)
         return;
     EXPECT_EQ(data->rank(), 2);
     EXPECT_EQ(data->getAllocatedSize(), 16384);
-    for(int i=0; i<16384; ++i)
-        printf("%5i %5i\n", i, (int)(*data)[i]);
-    EXPECT_EQ((*data)[64*64-1], 3);
+    EXPECT_EQ((*data)[128*70+62], 443);
 }
-- 
GitLab