reorder read settings func

This commit is contained in:
Erik Frojdh
2020-05-11 10:30:55 +02:00
parent 28bafb012a
commit 1998f9541e
3 changed files with 12 additions and 9 deletions

View File

@ -0,0 +1,8 @@
#include "Module.h"
#include "catch.hpp"
using dt = slsDetectorDefs::detectorType;
TEST_CASE("Construction with a defined detector type") {
sls::Module m(dt::EIGER);
REQUIRE(m.getDetectorType() == dt::EIGER);
}