From 28bafb012a8c5d31b0a20bc882e04c7956bcfa5f Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Fri, 8 May 2020 15:09:12 +0200 Subject: [PATCH] fixed test for new default values --- slsSupportLib/tests/test-sls_detector_defs.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/slsSupportLib/tests/test-sls_detector_defs.cpp b/slsSupportLib/tests/test-sls_detector_defs.cpp index dd5ab366d..0162d92b7 100644 --- a/slsSupportLib/tests/test-sls_detector_defs.cpp +++ b/slsSupportLib/tests/test-sls_detector_defs.cpp @@ -9,10 +9,10 @@ TEST_CASE("sls_detector_module default construction", "[support][new]") { CHECK(m.nchan == 0); CHECK(m.nchip == 0); CHECK(m.ndac == 0); - CHECK(m.reg == 0); + CHECK(m.reg == -1); CHECK(m.iodelay == 0); CHECK(m.tau == 0); - CHECK(m.eV == 0); + CHECK(m.eV == -1); CHECK(m.dacs == nullptr); CHECK(m.chanregs == nullptr); } @@ -23,10 +23,10 @@ TEST_CASE("sls_detector_module from type", "[support]") { CHECK(m.nchan == 256 * 256 * 4); CHECK(m.nchip == 4); CHECK(m.ndac == 16); - CHECK(m.reg == 0); + CHECK(m.reg == -1); CHECK(m.iodelay == 0); CHECK(m.tau == 0); - CHECK(m.eV == 0); + CHECK(m.eV == -1); CHECK(m.dacs != nullptr); CHECK(m.chanregs != nullptr); }