almost done, need to pick up from last pr to get chipindex

This commit is contained in:
maliakal_d committed 2026-10-13 12:06:05 +02:00
1 parent ddeab6f66e
commit 8e26f36417
7 files changed
+137 -7

No files matched your search

+11
View File
@@ -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