mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-10-30 18:21:27 +01:00
almost done, need to pick up from last pr to get chipindex
This commit is contained in:
1 parent
ddeab6f66e
commit
8e26f36417
7 files changed
+137
-7
No files matched your search
@@ -379,4 +379,15 @@ TEST_CASE("string to timingInfoDecoder") {
|
||||
defs::timingInfoDecoder::SHINE);
|
||||
}
|
||||
|
||||
TEST_CASE("operationMode to string") {
|
||||
REQUIRE(ToString(defs::operationMode::SYNCHROTRON) == "synchrotron");
|
||||
REQUIRE(ToString(defs::operationMode::FEL) == "fel");
|
||||
}
|
||||
|
||||
TEST_CASE("string to operationMode") {
|
||||
REQUIRE(StringTo<defs::operationMode>("synchrotron") ==
|
||||
defs::operationMode::SYNCHROTRON);
|
||||
REQUIRE(StringTo<defs::operationMode>("fel") == defs::operationMode::FEL);
|
||||
}
|
||||
|
||||
} // namespace sls
|
||||
Reference in new issue
Block a user