mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
formatting
This commit is contained in:
@ -527,7 +527,8 @@ TEST_CASE("gappixels", "[.cmd]") {
|
||||
bool quad = det.getQuad().squash(false);
|
||||
bool fullModule = (det.getModuleGeometry().y % 2 == 0);
|
||||
|
||||
if (det_type == defs::JUNGFRAU || (det_type == defs::EIGER && (quad || fullModule))) {
|
||||
if (det_type == defs::JUNGFRAU ||
|
||||
(det_type == defs::EIGER && (quad || fullModule))) {
|
||||
auto prev_val = det.getGapPixelsinCallback();
|
||||
{
|
||||
std::ostringstream oss;
|
||||
|
@ -101,7 +101,8 @@ TEST_CASE("Move SharedMemory", "[detector]") {
|
||||
shm2 = std::move(shm); // shm is now a moved from object!
|
||||
|
||||
CHECK(shm2()->x == 9);
|
||||
REQUIRE_THROWS(shm()); // trying to access should throw instead of returning a nullptr
|
||||
REQUIRE_THROWS(
|
||||
shm()); // trying to access should throw instead of returning a nullptr
|
||||
CHECK(shm2.getName() == std::string("/slsDetectorPackage_detector_") +
|
||||
std::to_string(shm_id));
|
||||
shm2.removeSharedMemory();
|
||||
|
@ -9,5 +9,5 @@
|
||||
#define APIMYTHEN3 "7.0.0.rc3 0x230130"
|
||||
#define APIMOENCH "7.0.0.rc3 0x230130"
|
||||
#define APIEIGER "7.0.0.rc3 0x230130"
|
||||
#define APILIB "7.0.0.rc4 0x230214"
|
||||
#define APIRECEIVER "7.0.0.rc4 0x230214"
|
||||
#define APILIB "7.0.0.rc4 0x230214"
|
||||
#define APIRECEIVER "7.0.0.rc4 0x230214"
|
||||
|
Reference in New Issue
Block a user