DiffractionExperiment: Solid angle correction is saved with the master file
This commit is contained in:
+3
-1
@@ -59,7 +59,8 @@ TEST_CASE("CBORSerialize_Start", "[CBOR]") {
|
||||
.instrument_name_short = "PXIII",
|
||||
.rad_int_bin_number = 35,
|
||||
.summation = 567,
|
||||
.rad_int_bin_to_q = {0.1, 0.2, 0.3, 0.5}
|
||||
.rad_int_bin_to_q = {0.1, 0.2, 0.3, 0.5},
|
||||
.rad_int_solid_angle_corr = {10, 20, 30, 50}
|
||||
};
|
||||
message.pixel_mask["sc0"] = std::vector<uint32_t>(456*457, 15);
|
||||
|
||||
@@ -113,6 +114,7 @@ TEST_CASE("CBORSerialize_Start", "[CBOR]") {
|
||||
CHECK(output_message.rad_int_bin_number == message.rad_int_bin_number);
|
||||
CHECK(output_message.summation == message.summation);
|
||||
CHECK(output_message.rad_int_bin_to_q == message.rad_int_bin_to_q);
|
||||
CHECK(output_message.rad_int_solid_angle_corr == message.rad_int_solid_angle_corr);
|
||||
|
||||
for (int i = 0; i < 3; i++)
|
||||
CHECK(output_message.detector_translation[i] == message.detector_translation[i]);
|
||||
|
||||
Reference in New Issue
Block a user