CBOR: Add summation to start message
This commit is contained in:
+3
-1
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user