CBOR: Add summation to start message

This commit is contained in:
2023-04-19 09:30:14 +02:00
parent 43489525c6
commit f471e0925d
6 changed files with 10 additions and 3 deletions
+3 -1
View File
@@ -54,7 +54,8 @@ TEST_CASE("CBORSerialize_Start", "[CBOR]") {
.source_name_short = "SLS",
.instrument_name = "X06SA",
.instrument_name_short = "PXIII",
.rad_int_bin_number = 35
.rad_int_bin_number = 35,
.summation = 567
};
message.pixel_mask["sc0"] = std::vector<uint32_t>(456*457, 15);
@@ -108,6 +109,7 @@ TEST_CASE("CBORSerialize_Start", "[CBOR]") {
CHECK(output_message.instrument_name == message.instrument_name);
CHECK(output_message.instrument_name_short == message.instrument_name_short);
CHECK(output_message.rad_int_bin_number == message.rad_int_bin_number);
CHECK(output_message.summation == message.summation);
for (int i = 0; i < 3; i++)
CHECK(output_message.detector_translation[i] == message.detector_translation[i]);