mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
reorder read settings func
This commit is contained in:
8
slsDetectorSoftware/tests/test-Module.cpp
Normal file
8
slsDetectorSoftware/tests/test-Module.cpp
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user