diff --git a/generator/sbpg/targets/resources/rust/sbp2json_cargo.toml b/generator/sbpg/targets/resources/rust/sbp2json_cargo.toml index 4674d8f318..44d537c022 100644 --- a/generator/sbpg/targets/resources/rust/sbp2json_cargo.toml +++ b/generator/sbpg/targets/resources/rust/sbp2json_cargo.toml @@ -18,7 +18,7 @@ categories = ["parsing"] keywords = ["encoding", "parsing"] [dependencies.sbp] -path = "../sbp" # TODO: replace with published `sbp` crate version +path = "../sbp" # TODO: replace with published `sbp` crate version features = ["json", "float_roundtrip"] [dependencies] @@ -44,9 +44,6 @@ predicates-core = "=1.0.3" serde_json = "1.0.82" assert-json-diff = "2.0" -[profile.release] -lto = true -codegen-units = 1 [lib] name = "converters" diff --git a/generator/sbpg/targets/resources/rust/sbp_cargo.toml b/generator/sbpg/targets/resources/rust/sbp_cargo.toml index 101954439e..30f19c3bbd 100644 --- a/generator/sbpg/targets/resources/rust/sbp_cargo.toml +++ b/generator/sbpg/targets/resources/rust/sbp_cargo.toml @@ -13,7 +13,7 @@ authors = ["Swift Navigation "] repository = "https://github.com/swift-nav/libsbp" license = "MIT" categories = ["parsing"] -edition = "2018" +edition = "2024" keywords = ["encoding", "parsing"] readme = "../../README.md" @@ -29,37 +29,37 @@ link = ["slotmap"] path = "src/lib.rs" [dependencies] -bytes = "1" +bytes = "1.10.1" crc16 = "0.4" -log = "0.4" +log = "0.4.28" [dependencies.swiftnav] version = "0.10" optional = true [dependencies.slotmap] -version = "1" +version = "1.0.7" optional = true [dependencies.serde] -version = "1" +version = "1.0.228" features = ["derive"] optional = true [dependencies.serde_json] -version = "1" +version = "1.0.145" optional = true [dependencies.serde-big-array] -version = "0.4" +version = "0.5.1" optional = true [dependencies.base64] -version = "0.13" +version = "0.22.1" optional = true [dependencies.futures] -version = "0.3" +version = "0.3.31" optional = true [dependencies.dencode] diff --git a/rust/sbp/Cargo.toml b/rust/sbp/Cargo.toml index 6bdd03d622..30d18cd683 100644 --- a/rust/sbp/Cargo.toml +++ b/rust/sbp/Cargo.toml @@ -13,7 +13,7 @@ authors = ["Swift Navigation "] repository = "https://github.com/swift-nav/libsbp" license = "MIT" categories = ["parsing"] -edition = "2018" +edition = "2024" keywords = ["encoding", "parsing"] readme = "../../README.md" @@ -29,37 +29,37 @@ link = ["slotmap"] path = "src/lib.rs" [dependencies] -bytes = "1" +bytes = "1.10.1" crc16 = "0.4" -log = "0.4" +log = "0.4.28" [dependencies.swiftnav] version = "0.10" optional = true [dependencies.slotmap] -version = "1" +version = "1.0.7" optional = true [dependencies.serde] -version = "1" +version = "1.0.228" features = ["derive"] optional = true [dependencies.serde_json] -version = "1" +version = "1.0.145" optional = true [dependencies.serde-big-array] -version = "0.4" +version = "0.5.1" optional = true [dependencies.base64] -version = "0.22" +version = "0.22.1" optional = true [dependencies.futures] -version = "0.3" +version = "0.3.31" optional = true [dependencies.dencode] diff --git a/rust/sbp/examples/serial.rs b/rust/sbp/examples/serial.rs index 07da18c414..9b40dbbd89 100644 --- a/rust/sbp/examples/serial.rs +++ b/rust/sbp/examples/serial.rs @@ -7,7 +7,7 @@ use std::time::Duration; use serialport::prelude::*; -use sbp::{iter_messages, Sbp}; +use sbp::{Sbp, iter_messages}; fn main() { let s = SerialPortSettings { diff --git a/rust/sbp/src/de.rs b/rust/sbp/src/de.rs index e7a9a493ab..b151795e73 100644 --- a/rust/sbp/src/de.rs +++ b/rust/sbp/src/de.rs @@ -11,8 +11,8 @@ use dencode::FramedRead; use futures::StreamExt; use crate::{ - messages::{invalid::Invalid, SbpMsgParseError}, - HandleParseError, Sbp, CRC_LEN, HEADER_LEN, MAX_FRAME_LEN, PAYLOAD_INDEX, PREAMBLE, + CRC_LEN, HEADER_LEN, HandleParseError, MAX_FRAME_LEN, PAYLOAD_INDEX, PREAMBLE, Sbp, + messages::{SbpMsgParseError, invalid::Invalid}, }; /// Deserialize the IO stream into an iterator of messages. diff --git a/rust/sbp/src/json/de.rs b/rust/sbp/src/json/de.rs index 195ff54577..01ac68e45a 100644 --- a/rust/sbp/src/json/de.rs +++ b/rust/sbp/src/json/de.rs @@ -1,15 +1,15 @@ use std::io; -use base64::{prelude::BASE64_STANDARD, Engine}; +use base64::{Engine, prelude::BASE64_STANDARD}; use bytes::{Buf, BytesMut}; use dencode::{Decoder, FramedRead}; use serde::de::DeserializeOwned; use serde_json::Deserializer; use crate::{ + BUFLEN, json::{Json2JsonInput, JsonError, JsonInput}, messages::Sbp, - BUFLEN, }; /// Deserialize the IO stream into an iterator of messages. diff --git a/rust/sbp/src/json/mod.rs b/rust/sbp/src/json/mod.rs index 680de10150..df7ccf0c3a 100644 --- a/rust/sbp/src/json/mod.rs +++ b/rust/sbp/src/json/mod.rs @@ -7,19 +7,19 @@ mod ser; use std::collections::HashMap; use std::io; -use base64::{prelude::BASE64_STANDARD, Engine}; +use base64::{Engine, prelude::BASE64_STANDARD}; use bytes::BytesMut; use serde::{Deserialize, Serialize}; -use serde_json::{ser::Formatter, Value}; +use serde_json::{Value, ser::Formatter}; pub use serde_json::ser::CompactFormatter; -use crate::{messages::invalid::Invalid, HandleParseError, Sbp}; +use crate::{HandleParseError, Sbp, messages::invalid::Invalid}; #[cfg(feature = "async")] pub use de::stream_messages; pub use de::{iter_json2json_messages, iter_messages, iter_messages_from_fields}; -pub use ser::{to_vec, to_writer, Json2JsonEncoder, JsonEncoder}; +pub use ser::{Json2JsonEncoder, JsonEncoder, to_vec, to_writer}; use crate::SbpMessage; pub use convert::JsonMap; diff --git a/rust/sbp/src/json/ser.rs b/rust/sbp/src/json/ser.rs index 285c8eff1c..43a8949379 100644 --- a/rust/sbp/src/json/ser.rs +++ b/rust/sbp/src/json/ser.rs @@ -1,18 +1,18 @@ use std::{borrow::Borrow, convert::TryInto, io}; -use base64::{prelude::BASE64_STANDARD, Engine}; +use base64::{Engine, prelude::BASE64_STANDARD}; use bytes::{BufMut, BytesMut}; use dencode::{Encoder, FramedWrite, IterSinkExt}; use serde::Serialize; -use serde_json::{ser::Formatter, Serializer}; +use serde_json::{Serializer, ser::Formatter}; use crate::{ + BUFLEN, CRC_LEN, HEADER_LEN, MIN_FRAME_LEN, PREAMBLE, SbpMessage, json::{ CommonJson, HaskellishFloatFormatter, Json2JsonInput, Json2JsonOutput, JsonError, JsonOutput, }, messages::Sbp, - SbpMessage, BUFLEN, CRC_LEN, HEADER_LEN, MIN_FRAME_LEN, PREAMBLE, }; const BASE64_BUFLEN: usize = BUFLEN * 4; diff --git a/rust/sbp/src/lib.rs b/rust/sbp/src/lib.rs index 29663900fe..2de4fca4b2 100644 --- a/rust/sbp/src/lib.rs +++ b/rust/sbp/src/lib.rs @@ -193,7 +193,7 @@ pub use messages::Sbp; pub use crate::messages::SbpMessage; #[doc(inline)] -pub use ser::{to_vec, to_writer, Error as SerializeError, SbpEncoder}; +pub use ser::{Error as SerializeError, SbpEncoder, to_vec, to_writer}; #[doc(inline)] pub use de::{Error as DeserializeError, *}; diff --git a/rust/sbp/src/messages/invalid.rs b/rust/sbp/src/messages/invalid.rs index 84beac0ede..0923ee19f9 100644 --- a/rust/sbp/src/messages/invalid.rs +++ b/rust/sbp/src/messages/invalid.rs @@ -7,7 +7,7 @@ use bytes::{Buf, BufMut}; -use crate::{de::CrcError, messages::SbpMsgParseError, wire_format::WireFormat, SbpMessage}; +use crate::{SbpMessage, de::CrcError, messages::SbpMsgParseError, wire_format::WireFormat}; /// Invalid messages occur when either the frame or message payload doesn't have enough bytes or /// the CRC does not match the messages payload. If the message is well formed with a message diff --git a/rust/sbp/src/messages/unknown.rs b/rust/sbp/src/messages/unknown.rs index 3f9a06e3b5..9ac63d800d 100644 --- a/rust/sbp/src/messages/unknown.rs +++ b/rust/sbp/src/messages/unknown.rs @@ -2,7 +2,7 @@ use bytes::{Buf, BufMut}; -use crate::{wire_format::WireFormat, SbpMessage}; +use crate::{SbpMessage, wire_format::WireFormat}; /// The message returned by the parser when the message type does not correspond to a known message. /// diff --git a/rust/sbp/src/sbp_iter_ext.rs b/rust/sbp/src/sbp_iter_ext.rs index a237ef5722..6414cc3ead 100644 --- a/rust/sbp/src/sbp_iter_ext.rs +++ b/rust/sbp/src/sbp_iter_ext.rs @@ -120,9 +120,9 @@ mod swiftnav_impl { use swiftnav::time::GpsTime; use crate::{ + Frame, Sbp, messages::SbpMessage, time::{GpsTimeError, MessageTime, RoverTime}, - Frame, Sbp, }; /// See [SbpIterExt::with_rover_time] for more information. diff --git a/rust/sbp/src/sbp_string.rs b/rust/sbp/src/sbp_string.rs index 0256b46ab7..a80e61f9f8 100644 --- a/rust/sbp/src/sbp_string.rs +++ b/rust/sbp/src/sbp_string.rs @@ -101,10 +101,11 @@ impl SbpString, DoubleNullTerminated> { data: impl Into>, ) -> Result { let vec = data.into(); - if let [.., two, one] = vec.as_slice() { - if two == &0 && one == &0 { - return Ok(SbpString::new(vec)); - } + if let [.., two, one] = vec.as_slice() + && two == &0 + && one == &0 + { + return Ok(SbpString::new(vec)); }; Err(DoubleNullTerminatedError) } diff --git a/rust/sbp/src/ser.rs b/rust/sbp/src/ser.rs index 34472958b9..e8a17326e6 100644 --- a/rust/sbp/src/ser.rs +++ b/rust/sbp/src/ser.rs @@ -5,8 +5,8 @@ use bytes::BytesMut; use dencode::{Encoder, FramedWrite, IterSinkExt}; use crate::wire_format::WireFormat; -use crate::{Sbp, SbpMessage}; use crate::{BUFLEN, MAX_PAYLOAD_LEN, PREAMBLE}; +use crate::{Sbp, SbpMessage}; /// Serialize the given message into the IO stream. /// diff --git a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs index 4201795d16..7f67380c2a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_file_io_msg_fileio_remove.rs @@ -47,9 +47,13 @@ fn test_auto_check_sbp_file_io_msg_fileio_remove() { ); assert_eq!( msg.filename.as_bytes(), - &[47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0], + &[ + 47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0 + ], "incorrect value for msg.filename, expected string '{:?}', is '{:?}'", - &[47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0], + &[ + 47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0 + ], msg.filename.as_bytes() ); } @@ -105,9 +109,13 @@ fn test_json2sbp_auto_check_sbp_file_io_msg_fileio_remove() { ); assert_eq!( msg.filename.as_bytes(), - &[47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0], + &[ + 47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0 + ], "incorrect value for msg.filename, expected string '{:?}', is '{:?}'", - &[47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0], + &[ + 47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0 + ], msg.filename.as_bytes() ); } @@ -171,9 +179,13 @@ fn test_sbp2json_auto_check_sbp_file_io_msg_fileio_remove() { ); assert_eq!( msg.filename.as_bytes(), - &[47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0], + &[ + 47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0 + ], "incorrect value for msg.filename, expected string '{:?}', is '{:?}'", - &[47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0], + &[ + 47, 112, 97, 116, 104, 47, 116, 111, 47, 102, 105, 108, 101, 0 + ], msg.filename.as_bytes() ); } diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs index a02dd400a4..d3d084bd08 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state.rs @@ -90,9 +90,13 @@ fn test_auto_check_sbp_linux_msg_linux_cpu_state() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } @@ -188,9 +192,13 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_cpu_state() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } @@ -297,9 +305,13 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_cpu_state() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs index 840a13cc86..9596e20206 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_cpu_state_dep_a.rs @@ -79,9 +79,13 @@ fn test_auto_check_sbp_linux_msg_linux_cpu_state_dep_a() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } @@ -167,9 +171,13 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_cpu_state_dep_a() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } @@ -265,9 +273,13 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_cpu_state_dep_a() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs index 4f675b96f7..3bef0e3eb1 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state.rs @@ -89,9 +89,13 @@ fn test_auto_check_sbp_linux_msg_linux_mem_state() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } @@ -187,9 +191,13 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_mem_state() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } @@ -295,9 +303,13 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_mem_state() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } diff --git a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs index 4d2af66c44..5214732cb0 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_linux_msg_linux_mem_state_dep_a.rs @@ -79,9 +79,13 @@ fn test_auto_check_sbp_linux_msg_linux_mem_state_dep_a() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } @@ -167,9 +171,13 @@ fn test_json2sbp_auto_check_sbp_linux_msg_linux_mem_state_dep_a() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } @@ -265,9 +273,13 @@ fn test_sbp2json_auto_check_sbp_linux_msg_linux_mem_state_dep_a() { ); assert_eq!( msg.tname.as_bytes(), - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], "incorrect value for msg.tname, expected string '{:?}', is '{:?}'", - &[112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0], + &[ + 112, 114, 111, 99, 101, 115, 115, 45, 110, 97, 109, 101, 0, 0, 0 + ], msg.tname.as_bytes() ); } diff --git a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs index cd4ac07900..2fbc84c280 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_navigation_msg_pos_llh_acc.rs @@ -72,9 +72,21 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_acc() { "incorrect value for h_accuracy, expected 2.41019995117187500e+03, is {:e}", msg.h_accuracy ); - assert!(msg.h_ellipse.orientation.almost_eq( 2.55019995117187500e+03 ), "incorrect value for h_ellipse.orientation, expected 2.55019995117187500e+03, is {:e}", msg.h_ellipse.orientation); - assert!(msg.h_ellipse.semi_major.almost_eq( 8.24820019531250000e+03 ), "incorrect value for h_ellipse.semi_major, expected 8.24820019531250000e+03, is {:e}", msg.h_ellipse.semi_major); - assert!(msg.h_ellipse.semi_minor.almost_eq( 3.20219995117187500e+03 ), "incorrect value for h_ellipse.semi_minor, expected 3.20219995117187500e+03, is {:e}", msg.h_ellipse.semi_minor); + assert!( + msg.h_ellipse.orientation.almost_eq(2.55019995117187500e+03), + "incorrect value for h_ellipse.orientation, expected 2.55019995117187500e+03, is {:e}", + msg.h_ellipse.orientation + ); + assert!( + msg.h_ellipse.semi_major.almost_eq(8.24820019531250000e+03), + "incorrect value for h_ellipse.semi_major, expected 8.24820019531250000e+03, is {:e}", + msg.h_ellipse.semi_major + ); + assert!( + msg.h_ellipse.semi_minor.almost_eq(3.20219995117187500e+03), + "incorrect value for h_ellipse.semi_minor, expected 3.20219995117187500e+03, is {:e}", + msg.h_ellipse.semi_minor + ); assert!( msg.height.almost_eq(4.25719999999999982e+03), "incorrect value for height, expected 4.25719999999999982e+03, is {:e}", @@ -95,7 +107,11 @@ fn test_auto_check_sbp_navigation_msg_pos_llh_acc() { "incorrect value for n_sats, expected 27, is {}", msg.n_sats ); - assert!(msg.orthometric_height.almost_eq( 4.96519999999999982e+03 ), "incorrect value for orthometric_height, expected 4.96519999999999982e+03, is {:e}", msg.orthometric_height); + assert!( + msg.orthometric_height.almost_eq(4.96519999999999982e+03), + "incorrect value for orthometric_height, expected 4.96519999999999982e+03, is {:e}", + msg.orthometric_height + ); assert_eq!( msg.tow, 309229607, "incorrect value for tow, expected 309229607, is {}", @@ -182,9 +198,21 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_acc() { "incorrect value for h_accuracy, expected 2.41019995117187500e+03, is {:e}", msg.h_accuracy ); - assert!(msg.h_ellipse.orientation.almost_eq( 2.55019995117187500e+03 ), "incorrect value for h_ellipse.orientation, expected 2.55019995117187500e+03, is {:e}", msg.h_ellipse.orientation); - assert!(msg.h_ellipse.semi_major.almost_eq( 8.24820019531250000e+03 ), "incorrect value for h_ellipse.semi_major, expected 8.24820019531250000e+03, is {:e}", msg.h_ellipse.semi_major); - assert!(msg.h_ellipse.semi_minor.almost_eq( 3.20219995117187500e+03 ), "incorrect value for h_ellipse.semi_minor, expected 3.20219995117187500e+03, is {:e}", msg.h_ellipse.semi_minor); + assert!( + msg.h_ellipse.orientation.almost_eq(2.55019995117187500e+03), + "incorrect value for h_ellipse.orientation, expected 2.55019995117187500e+03, is {:e}", + msg.h_ellipse.orientation + ); + assert!( + msg.h_ellipse.semi_major.almost_eq(8.24820019531250000e+03), + "incorrect value for h_ellipse.semi_major, expected 8.24820019531250000e+03, is {:e}", + msg.h_ellipse.semi_major + ); + assert!( + msg.h_ellipse.semi_minor.almost_eq(3.20219995117187500e+03), + "incorrect value for h_ellipse.semi_minor, expected 3.20219995117187500e+03, is {:e}", + msg.h_ellipse.semi_minor + ); assert!( msg.height.almost_eq(4.25719999999999982e+03), "incorrect value for height, expected 4.25719999999999982e+03, is {:e}", @@ -205,7 +233,11 @@ fn test_json2sbp_auto_check_sbp_navigation_msg_pos_llh_acc() { "incorrect value for n_sats, expected 27, is {}", msg.n_sats ); - assert!(msg.orthometric_height.almost_eq( 4.96519999999999982e+03 ), "incorrect value for orthometric_height, expected 4.96519999999999982e+03, is {:e}", msg.orthometric_height); + assert!( + msg.orthometric_height.almost_eq(4.96519999999999982e+03), + "incorrect value for orthometric_height, expected 4.96519999999999982e+03, is {:e}", + msg.orthometric_height + ); assert_eq!( msg.tow, 309229607, "incorrect value for tow, expected 309229607, is {}", @@ -302,9 +334,21 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_acc() { "incorrect value for h_accuracy, expected 2.41019995117187500e+03, is {:e}", msg.h_accuracy ); - assert!(msg.h_ellipse.orientation.almost_eq( 2.55019995117187500e+03 ), "incorrect value for h_ellipse.orientation, expected 2.55019995117187500e+03, is {:e}", msg.h_ellipse.orientation); - assert!(msg.h_ellipse.semi_major.almost_eq( 8.24820019531250000e+03 ), "incorrect value for h_ellipse.semi_major, expected 8.24820019531250000e+03, is {:e}", msg.h_ellipse.semi_major); - assert!(msg.h_ellipse.semi_minor.almost_eq( 3.20219995117187500e+03 ), "incorrect value for h_ellipse.semi_minor, expected 3.20219995117187500e+03, is {:e}", msg.h_ellipse.semi_minor); + assert!( + msg.h_ellipse.orientation.almost_eq(2.55019995117187500e+03), + "incorrect value for h_ellipse.orientation, expected 2.55019995117187500e+03, is {:e}", + msg.h_ellipse.orientation + ); + assert!( + msg.h_ellipse.semi_major.almost_eq(8.24820019531250000e+03), + "incorrect value for h_ellipse.semi_major, expected 8.24820019531250000e+03, is {:e}", + msg.h_ellipse.semi_major + ); + assert!( + msg.h_ellipse.semi_minor.almost_eq(3.20219995117187500e+03), + "incorrect value for h_ellipse.semi_minor, expected 3.20219995117187500e+03, is {:e}", + msg.h_ellipse.semi_minor + ); assert!( msg.height.almost_eq(4.25719999999999982e+03), "incorrect value for height, expected 4.25719999999999982e+03, is {:e}", @@ -325,7 +369,11 @@ fn test_sbp2json_auto_check_sbp_navigation_msg_pos_llh_acc() { "incorrect value for n_sats, expected 27, is {}", msg.n_sats ); - assert!(msg.orthometric_height.almost_eq( 4.96519999999999982e+03 ), "incorrect value for orthometric_height, expected 4.96519999999999982e+03, is {:e}", msg.orthometric_height); + assert!( + msg.orthometric_height.almost_eq(4.96519999999999982e+03), + "incorrect value for orthometric_height, expected 4.96519999999999982e+03, is {:e}", + msg.orthometric_height + ); assert_eq!( msg.tow, 309229607, "incorrect value for tow, expected 309229607, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs index c4e3e12c4c..b84ec21ef2 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_cell_modem_status.rs @@ -1307,7 +1307,11 @@ fn test_auto_check_sbp_piksi_msg_cell_modem_status() { "incorrect value for reserved[249], expected 80, is {}", msg.reserved[249] ); - assert!(msg.signal_error_rate.almost_eq( 8.58820019531250000e+03 ), "incorrect value for signal_error_rate, expected 8.58820019531250000e+03, is {:e}", msg.signal_error_rate); + assert!( + msg.signal_error_rate.almost_eq(8.58820019531250000e+03), + "incorrect value for signal_error_rate, expected 8.58820019531250000e+03, is {:e}", + msg.signal_error_rate + ); assert_eq!( msg.signal_strength, 103, "incorrect value for signal_strength, expected 103, is {}", @@ -2614,7 +2618,11 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_cell_modem_status() { "incorrect value for reserved[249], expected 80, is {}", msg.reserved[249] ); - assert!(msg.signal_error_rate.almost_eq( 8.58820019531250000e+03 ), "incorrect value for signal_error_rate, expected 8.58820019531250000e+03, is {:e}", msg.signal_error_rate); + assert!( + msg.signal_error_rate.almost_eq(8.58820019531250000e+03), + "incorrect value for signal_error_rate, expected 8.58820019531250000e+03, is {:e}", + msg.signal_error_rate + ); assert_eq!( msg.signal_strength, 103, "incorrect value for signal_strength, expected 103, is {}", @@ -3941,7 +3949,11 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_cell_modem_status() { "incorrect value for reserved[249], expected 80, is {}", msg.reserved[249] ); - assert!(msg.signal_error_rate.almost_eq( 8.58820019531250000e+03 ), "incorrect value for signal_error_rate, expected 8.58820019531250000e+03, is {:e}", msg.signal_error_rate); + assert!( + msg.signal_error_rate.almost_eq(8.58820019531250000e+03), + "incorrect value for signal_error_rate, expected 8.58820019531250000e+03, is {:e}", + msg.signal_error_rate + ); assert_eq!( msg.signal_strength, 103, "incorrect value for signal_strength, expected 103, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs index 7cfe265a35..70969d227e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_command_output.rs @@ -47,9 +47,13 @@ fn test_auto_check_sbp_piksi_msg_command_output() { ); assert_eq!( msg.line.as_bytes(), - &[83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116], + &[ + 83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116 + ], "incorrect value for msg.line, expected string '{:?}', is '{:?}'", - &[83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116], + &[ + 83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116 + ], msg.line.as_bytes() ); assert_eq!( @@ -110,9 +114,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_command_output() { ); assert_eq!( msg.line.as_bytes(), - &[83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116], + &[ + 83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116 + ], "incorrect value for msg.line, expected string '{:?}', is '{:?}'", - &[83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116], + &[ + 83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116 + ], msg.line.as_bytes() ); assert_eq!( @@ -181,9 +189,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_command_output() { ); assert_eq!( msg.line.as_bytes(), - &[83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116], + &[ + 83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116 + ], "incorrect value for msg.line, expected string '{:?}', is '{:?}'", - &[83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116], + &[ + 83, 111, 109, 101, 32, 111, 117, 116, 112, 117, 116, 32, 116, 101, 120, 116 + ], msg.line.as_bytes() ); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs index 9a38d02961..8402d7204e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_network_bandwidth_usage.rs @@ -57,7 +57,13 @@ fn test_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[0].duration, expected 2159176030, is {}", msg.interfaces[0].duration ); - assert_eq!(msg.interfaces[0].interface_name.as_bytes(), &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[0].interface_name, expected string '{:?}', is '{:?}'", &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[0].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[0].interface_name.as_bytes(), + &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[0].interface_name, expected string '{:?}', is '{:?}'", + &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[0].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[0].rx_bytes, 0, "incorrect value for interfaces[0].rx_bytes, expected 0, is {}", @@ -78,7 +84,13 @@ fn test_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[1].duration, expected 2159176030, is {}", msg.interfaces[1].duration ); - assert_eq!(msg.interfaces[1].interface_name.as_bytes(), &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[1].interface_name, expected string '{:?}', is '{:?}'", &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[1].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[1].interface_name.as_bytes(), + &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[1].interface_name, expected string '{:?}', is '{:?}'", + &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[1].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[1].rx_bytes, 0, "incorrect value for interfaces[1].rx_bytes, expected 0, is {}", @@ -99,7 +111,13 @@ fn test_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[2].duration, expected 2159176030, is {}", msg.interfaces[2].duration ); - assert_eq!(msg.interfaces[2].interface_name.as_bytes(), &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[2].interface_name, expected string '{:?}', is '{:?}'", &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[2].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[2].interface_name.as_bytes(), + &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[2].interface_name, expected string '{:?}', is '{:?}'", + &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[2].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[2].rx_bytes, 4036234989, "incorrect value for interfaces[2].rx_bytes, expected 4036234989, is {}", @@ -120,7 +138,13 @@ fn test_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[3].duration, expected 2159176030, is {}", msg.interfaces[3].duration ); - assert_eq!(msg.interfaces[3].interface_name.as_bytes(), &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[3].interface_name, expected string '{:?}', is '{:?}'", &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[3].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[3].interface_name.as_bytes(), + &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[3].interface_name, expected string '{:?}', is '{:?}'", + &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[3].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[3].rx_bytes, 0, "incorrect value for interfaces[3].rx_bytes, expected 0, is {}", @@ -141,7 +165,13 @@ fn test_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[4].duration, expected 2159176030, is {}", msg.interfaces[4].duration ); - assert_eq!(msg.interfaces[4].interface_name.as_bytes(), &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[4].interface_name, expected string '{:?}', is '{:?}'", &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[4].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[4].interface_name.as_bytes(), + &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[4].interface_name, expected string '{:?}', is '{:?}'", + &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[4].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[4].rx_bytes, 0, "incorrect value for interfaces[4].rx_bytes, expected 0, is {}", @@ -213,7 +243,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[0].duration, expected 2159176030, is {}", msg.interfaces[0].duration ); - assert_eq!(msg.interfaces[0].interface_name.as_bytes(), &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[0].interface_name, expected string '{:?}', is '{:?}'", &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[0].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[0].interface_name.as_bytes(), + &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[0].interface_name, expected string '{:?}', is '{:?}'", + &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[0].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[0].rx_bytes, 0, "incorrect value for interfaces[0].rx_bytes, expected 0, is {}", @@ -234,7 +270,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[1].duration, expected 2159176030, is {}", msg.interfaces[1].duration ); - assert_eq!(msg.interfaces[1].interface_name.as_bytes(), &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[1].interface_name, expected string '{:?}', is '{:?}'", &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[1].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[1].interface_name.as_bytes(), + &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[1].interface_name, expected string '{:?}', is '{:?}'", + &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[1].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[1].rx_bytes, 0, "incorrect value for interfaces[1].rx_bytes, expected 0, is {}", @@ -255,7 +297,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[2].duration, expected 2159176030, is {}", msg.interfaces[2].duration ); - assert_eq!(msg.interfaces[2].interface_name.as_bytes(), &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[2].interface_name, expected string '{:?}', is '{:?}'", &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[2].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[2].interface_name.as_bytes(), + &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[2].interface_name, expected string '{:?}', is '{:?}'", + &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[2].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[2].rx_bytes, 4036234989, "incorrect value for interfaces[2].rx_bytes, expected 4036234989, is {}", @@ -276,7 +324,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[3].duration, expected 2159176030, is {}", msg.interfaces[3].duration ); - assert_eq!(msg.interfaces[3].interface_name.as_bytes(), &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[3].interface_name, expected string '{:?}', is '{:?}'", &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[3].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[3].interface_name.as_bytes(), + &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[3].interface_name, expected string '{:?}', is '{:?}'", + &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[3].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[3].rx_bytes, 0, "incorrect value for interfaces[3].rx_bytes, expected 0, is {}", @@ -297,7 +351,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[4].duration, expected 2159176030, is {}", msg.interfaces[4].duration ); - assert_eq!(msg.interfaces[4].interface_name.as_bytes(), &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[4].interface_name, expected string '{:?}', is '{:?}'", &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[4].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[4].interface_name.as_bytes(), + &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[4].interface_name, expected string '{:?}', is '{:?}'", + &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[4].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[4].rx_bytes, 0, "incorrect value for interfaces[4].rx_bytes, expected 0, is {}", @@ -384,7 +444,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[0].duration, expected 2159176030, is {}", msg.interfaces[0].duration ); - assert_eq!(msg.interfaces[0].interface_name.as_bytes(), &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[0].interface_name, expected string '{:?}', is '{:?}'", &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[0].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[0].interface_name.as_bytes(), + &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[0].interface_name, expected string '{:?}', is '{:?}'", + &[99, 97, 110, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[0].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[0].rx_bytes, 0, "incorrect value for interfaces[0].rx_bytes, expected 0, is {}", @@ -405,7 +471,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[1].duration, expected 2159176030, is {}", msg.interfaces[1].duration ); - assert_eq!(msg.interfaces[1].interface_name.as_bytes(), &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[1].interface_name, expected string '{:?}', is '{:?}'", &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[1].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[1].interface_name.as_bytes(), + &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[1].interface_name, expected string '{:?}', is '{:?}'", + &[99, 97, 110, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[1].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[1].rx_bytes, 0, "incorrect value for interfaces[1].rx_bytes, expected 0, is {}", @@ -426,7 +498,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[2].duration, expected 2159176030, is {}", msg.interfaces[2].duration ); - assert_eq!(msg.interfaces[2].interface_name.as_bytes(), &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[2].interface_name, expected string '{:?}', is '{:?}'", &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[2].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[2].interface_name.as_bytes(), + &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[2].interface_name, expected string '{:?}', is '{:?}'", + &[101, 116, 104, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[2].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[2].rx_bytes, 4036234989, "incorrect value for interfaces[2].rx_bytes, expected 4036234989, is {}", @@ -447,7 +525,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[3].duration, expected 2159176030, is {}", msg.interfaces[3].duration ); - assert_eq!(msg.interfaces[3].interface_name.as_bytes(), &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[3].interface_name, expected string '{:?}', is '{:?}'", &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[3].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[3].interface_name.as_bytes(), + &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[3].interface_name, expected string '{:?}', is '{:?}'", + &[108, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[3].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[3].rx_bytes, 0, "incorrect value for interfaces[3].rx_bytes, expected 0, is {}", @@ -468,7 +552,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_network_bandwidth_usage() { "incorrect value for interfaces[4].duration, expected 2159176030, is {}", msg.interfaces[4].duration ); - assert_eq!(msg.interfaces[4].interface_name.as_bytes(), &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "incorrect value for msg.interfaces[4].interface_name, expected string '{:?}', is '{:?}'", &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], msg.interfaces[4].interface_name.as_bytes()); + assert_eq!( + msg.interfaces[4].interface_name.as_bytes(), + &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "incorrect value for msg.interfaces[4].interface_name, expected string '{:?}', is '{:?}'", + &[115, 105, 116, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + msg.interfaces[4].interface_name.as_bytes() + ); assert_eq!( msg.interfaces[4].rx_bytes, 0, "incorrect value for interfaces[4].rx_bytes, expected 0, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs index a69095df7e..8dc5433e6a 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_thread_state.rs @@ -52,9 +52,13 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -100,9 +104,13 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -148,9 +156,13 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -196,9 +208,13 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -244,9 +260,13 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -292,9 +312,13 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -340,9 +364,13 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -388,9 +416,13 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -436,9 +468,13 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -484,9 +520,13 @@ fn test_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -606,9 +646,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -660,9 +704,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -714,9 +762,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -768,9 +820,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -822,9 +878,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -876,9 +936,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -930,9 +994,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -984,9 +1052,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1038,9 +1110,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1092,9 +1168,13 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1228,9 +1308,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1295,9 +1379,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1362,9 +1450,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1429,9 +1521,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1496,9 +1592,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1563,9 +1663,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1630,9 +1734,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 105, 100, 108, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1697,9 +1805,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 78, 65, 80, 32, 73, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1764,9 +1876,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 66, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -1831,9 +1947,13 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_thread_state() { ); assert_eq!( msg.name.as_bytes(), - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 109, 97, 110, 97, 103, 101, 32, 97, 99, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.name.as_bytes() ); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs index 37d22d6690..eface831af 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state.rs @@ -103,13 +103,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_a.rx_buffer_level, expected 244, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 1.85319995117187500e+03 ), "incorrect value for uart_a.rx_throughput, expected 1.85319995117187500e+03, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(1.85319995117187500e+03), + "incorrect value for uart_a.rx_throughput, expected 1.85319995117187500e+03, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 138, "incorrect value for uart_a.tx_buffer_level, expected 138, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 7.76520019531250000e+03 ), "incorrect value for uart_a.tx_throughput, expected 7.76520019531250000e+03, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(7.76520019531250000e+03), + "incorrect value for uart_a.tx_throughput, expected 7.76520019531250000e+03, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 4297, "incorrect value for uart_b.crc_error_count, expected 4297, is {}", @@ -125,13 +133,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_b.rx_buffer_level, expected 161, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 6.76020019531250000e+03 ), "incorrect value for uart_b.rx_throughput, expected 6.76020019531250000e+03, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(6.76020019531250000e+03), + "incorrect value for uart_b.rx_throughput, expected 6.76020019531250000e+03, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 143, "incorrect value for uart_b.tx_buffer_level, expected 143, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 6.44120019531250000e+03 ), "incorrect value for uart_b.tx_throughput, expected 6.44120019531250000e+03, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(6.44120019531250000e+03), + "incorrect value for uart_b.tx_throughput, expected 6.44120019531250000e+03, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 38359, "incorrect value for uart_ftdi.crc_error_count, expected 38359, is {}", @@ -147,13 +163,25 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_ftdi.rx_buffer_level, expected 24, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 2.17319995117187500e+03 ), "incorrect value for uart_ftdi.rx_throughput, expected 2.17319995117187500e+03, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(2.17319995117187500e+03), + "incorrect value for uart_ftdi.rx_throughput, expected 2.17319995117187500e+03, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 218, "incorrect value for uart_ftdi.tx_buffer_level, expected 218, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 5.95420019531250000e+03 ), "incorrect value for uart_ftdi.tx_throughput, expected 5.95420019531250000e+03, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(5.95420019531250000e+03), + "incorrect value for uart_ftdi.tx_throughput, expected 5.95420019531250000e+03, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartState"), }; @@ -221,13 +249,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 24, "incorrect value for uart_a.tx_buffer_level, expected 24, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 8.66197228431701660e-01 ), "incorrect value for uart_a.tx_throughput, expected 8.66197228431701660e-01, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(8.66197228431701660e-01), + "incorrect value for uart_a.tx_throughput, expected 8.66197228431701660e-01, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -243,13 +279,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 40, "incorrect value for uart_b.tx_buffer_level, expected 40, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 2.97183108329772949e+00 ), "incorrect value for uart_b.tx_throughput, expected 2.97183108329772949e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(2.97183108329772949e+00), + "incorrect value for uart_b.tx_throughput, expected 2.97183108329772949e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -265,13 +309,25 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_ftdi.rx_buffer_level, expected 1, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 3.52112688124179840e-02 ), "incorrect value for uart_ftdi.rx_throughput, expected 3.52112688124179840e-02, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(3.52112688124179840e-02), + "incorrect value for uart_ftdi.rx_throughput, expected 3.52112688124179840e-02, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 81, "incorrect value for uart_ftdi.tx_buffer_level, expected 81, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 5.06338024139404297e+00 ), "incorrect value for uart_ftdi.tx_throughput, expected 5.06338024139404297e+00, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(5.06338024139404297e+00), + "incorrect value for uart_ftdi.tx_throughput, expected 5.06338024139404297e+00, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -339,13 +395,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 24, "incorrect value for uart_a.tx_buffer_level, expected 24, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 8.74647915363311768e-01 ), "incorrect value for uart_a.tx_throughput, expected 8.74647915363311768e-01, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(8.74647915363311768e-01), + "incorrect value for uart_a.tx_throughput, expected 8.74647915363311768e-01, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -361,13 +425,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 40, "incorrect value for uart_b.tx_buffer_level, expected 40, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 2.99577474594116211e+00 ), "incorrect value for uart_b.tx_throughput, expected 2.99577474594116211e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(2.99577474594116211e+00), + "incorrect value for uart_b.tx_throughput, expected 2.99577474594116211e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -383,13 +455,25 @@ fn test_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_ftdi.rx_buffer_level, expected 1, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 3.52112680673599243e-01 ), "incorrect value for uart_ftdi.rx_throughput, expected 3.52112680673599243e-01, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(3.52112680673599243e-01), + "incorrect value for uart_ftdi.rx_throughput, expected 3.52112680673599243e-01, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 85, "incorrect value for uart_ftdi.tx_buffer_level, expected 85, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 6.79014110565185547e+00 ), "incorrect value for uart_ftdi.tx_throughput, expected 6.79014110565185547e+00, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(6.79014110565185547e+00), + "incorrect value for uart_ftdi.tx_throughput, expected 6.79014110565185547e+00, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -496,13 +580,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_a.rx_buffer_level, expected 244, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 1.85319995117187500e+03 ), "incorrect value for uart_a.rx_throughput, expected 1.85319995117187500e+03, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(1.85319995117187500e+03), + "incorrect value for uart_a.rx_throughput, expected 1.85319995117187500e+03, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 138, "incorrect value for uart_a.tx_buffer_level, expected 138, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 7.76520019531250000e+03 ), "incorrect value for uart_a.tx_throughput, expected 7.76520019531250000e+03, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(7.76520019531250000e+03), + "incorrect value for uart_a.tx_throughput, expected 7.76520019531250000e+03, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 4297, "incorrect value for uart_b.crc_error_count, expected 4297, is {}", @@ -518,13 +610,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_b.rx_buffer_level, expected 161, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 6.76020019531250000e+03 ), "incorrect value for uart_b.rx_throughput, expected 6.76020019531250000e+03, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(6.76020019531250000e+03), + "incorrect value for uart_b.rx_throughput, expected 6.76020019531250000e+03, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 143, "incorrect value for uart_b.tx_buffer_level, expected 143, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 6.44120019531250000e+03 ), "incorrect value for uart_b.tx_throughput, expected 6.44120019531250000e+03, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(6.44120019531250000e+03), + "incorrect value for uart_b.tx_throughput, expected 6.44120019531250000e+03, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 38359, "incorrect value for uart_ftdi.crc_error_count, expected 38359, is {}", @@ -540,13 +640,25 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_ftdi.rx_buffer_level, expected 24, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 2.17319995117187500e+03 ), "incorrect value for uart_ftdi.rx_throughput, expected 2.17319995117187500e+03, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(2.17319995117187500e+03), + "incorrect value for uart_ftdi.rx_throughput, expected 2.17319995117187500e+03, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 218, "incorrect value for uart_ftdi.tx_buffer_level, expected 218, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 5.95420019531250000e+03 ), "incorrect value for uart_ftdi.tx_throughput, expected 5.95420019531250000e+03, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(5.95420019531250000e+03), + "incorrect value for uart_ftdi.tx_throughput, expected 5.95420019531250000e+03, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartState"), }; @@ -619,13 +731,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 24, "incorrect value for uart_a.tx_buffer_level, expected 24, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 8.66197228431701660e-01 ), "incorrect value for uart_a.tx_throughput, expected 8.66197228431701660e-01, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(8.66197228431701660e-01), + "incorrect value for uart_a.tx_throughput, expected 8.66197228431701660e-01, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -641,13 +761,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 40, "incorrect value for uart_b.tx_buffer_level, expected 40, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 2.97183108329772949e+00 ), "incorrect value for uart_b.tx_throughput, expected 2.97183108329772949e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(2.97183108329772949e+00), + "incorrect value for uart_b.tx_throughput, expected 2.97183108329772949e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -663,13 +791,25 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_ftdi.rx_buffer_level, expected 1, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 3.52112688124179840e-02 ), "incorrect value for uart_ftdi.rx_throughput, expected 3.52112688124179840e-02, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(3.52112688124179840e-02), + "incorrect value for uart_ftdi.rx_throughput, expected 3.52112688124179840e-02, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 81, "incorrect value for uart_ftdi.tx_buffer_level, expected 81, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 5.06338024139404297e+00 ), "incorrect value for uart_ftdi.tx_throughput, expected 5.06338024139404297e+00, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(5.06338024139404297e+00), + "incorrect value for uart_ftdi.tx_throughput, expected 5.06338024139404297e+00, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -742,13 +882,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 24, "incorrect value for uart_a.tx_buffer_level, expected 24, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 8.74647915363311768e-01 ), "incorrect value for uart_a.tx_throughput, expected 8.74647915363311768e-01, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(8.74647915363311768e-01), + "incorrect value for uart_a.tx_throughput, expected 8.74647915363311768e-01, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -764,13 +912,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 40, "incorrect value for uart_b.tx_buffer_level, expected 40, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 2.99577474594116211e+00 ), "incorrect value for uart_b.tx_throughput, expected 2.99577474594116211e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(2.99577474594116211e+00), + "incorrect value for uart_b.tx_throughput, expected 2.99577474594116211e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -786,13 +942,25 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_ftdi.rx_buffer_level, expected 1, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 3.52112680673599243e-01 ), "incorrect value for uart_ftdi.rx_throughput, expected 3.52112680673599243e-01, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(3.52112680673599243e-01), + "incorrect value for uart_ftdi.rx_throughput, expected 3.52112680673599243e-01, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 85, "incorrect value for uart_ftdi.tx_buffer_level, expected 85, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 6.79014110565185547e+00 ), "incorrect value for uart_ftdi.tx_throughput, expected 6.79014110565185547e+00, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(6.79014110565185547e+00), + "incorrect value for uart_ftdi.tx_throughput, expected 6.79014110565185547e+00, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -910,13 +1078,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_a.rx_buffer_level, expected 244, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 1.85319995117187500e+03 ), "incorrect value for uart_a.rx_throughput, expected 1.85319995117187500e+03, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(1.85319995117187500e+03), + "incorrect value for uart_a.rx_throughput, expected 1.85319995117187500e+03, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 138, "incorrect value for uart_a.tx_buffer_level, expected 138, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 7.76520019531250000e+03 ), "incorrect value for uart_a.tx_throughput, expected 7.76520019531250000e+03, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(7.76520019531250000e+03), + "incorrect value for uart_a.tx_throughput, expected 7.76520019531250000e+03, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 4297, "incorrect value for uart_b.crc_error_count, expected 4297, is {}", @@ -932,13 +1108,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_b.rx_buffer_level, expected 161, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 6.76020019531250000e+03 ), "incorrect value for uart_b.rx_throughput, expected 6.76020019531250000e+03, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(6.76020019531250000e+03), + "incorrect value for uart_b.rx_throughput, expected 6.76020019531250000e+03, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 143, "incorrect value for uart_b.tx_buffer_level, expected 143, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 6.44120019531250000e+03 ), "incorrect value for uart_b.tx_throughput, expected 6.44120019531250000e+03, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(6.44120019531250000e+03), + "incorrect value for uart_b.tx_throughput, expected 6.44120019531250000e+03, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 38359, "incorrect value for uart_ftdi.crc_error_count, expected 38359, is {}", @@ -954,13 +1138,25 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_ftdi.rx_buffer_level, expected 24, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 2.17319995117187500e+03 ), "incorrect value for uart_ftdi.rx_throughput, expected 2.17319995117187500e+03, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(2.17319995117187500e+03), + "incorrect value for uart_ftdi.rx_throughput, expected 2.17319995117187500e+03, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 218, "incorrect value for uart_ftdi.tx_buffer_level, expected 218, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 5.95420019531250000e+03 ), "incorrect value for uart_ftdi.tx_throughput, expected 5.95420019531250000e+03, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(5.95420019531250000e+03), + "incorrect value for uart_ftdi.tx_throughput, expected 5.95420019531250000e+03, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartState"), }; @@ -1047,13 +1243,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 24, "incorrect value for uart_a.tx_buffer_level, expected 24, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 8.66197228431701660e-01 ), "incorrect value for uart_a.tx_throughput, expected 8.66197228431701660e-01, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(8.66197228431701660e-01), + "incorrect value for uart_a.tx_throughput, expected 8.66197228431701660e-01, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -1069,13 +1273,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 40, "incorrect value for uart_b.tx_buffer_level, expected 40, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 2.97183108329772949e+00 ), "incorrect value for uart_b.tx_throughput, expected 2.97183108329772949e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(2.97183108329772949e+00), + "incorrect value for uart_b.tx_throughput, expected 2.97183108329772949e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -1091,13 +1303,25 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_ftdi.rx_buffer_level, expected 1, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 3.52112688124179840e-02 ), "incorrect value for uart_ftdi.rx_throughput, expected 3.52112688124179840e-02, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(3.52112688124179840e-02), + "incorrect value for uart_ftdi.rx_throughput, expected 3.52112688124179840e-02, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 81, "incorrect value for uart_ftdi.tx_buffer_level, expected 81, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 5.06338024139404297e+00 ), "incorrect value for uart_ftdi.tx_throughput, expected 5.06338024139404297e+00, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(5.06338024139404297e+00), + "incorrect value for uart_ftdi.tx_throughput, expected 5.06338024139404297e+00, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -1184,13 +1408,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 24, "incorrect value for uart_a.tx_buffer_level, expected 24, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 8.74647915363311768e-01 ), "incorrect value for uart_a.tx_throughput, expected 8.74647915363311768e-01, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(8.74647915363311768e-01), + "incorrect value for uart_a.tx_throughput, expected 8.74647915363311768e-01, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -1206,13 +1438,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 40, "incorrect value for uart_b.tx_buffer_level, expected 40, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 2.99577474594116211e+00 ), "incorrect value for uart_b.tx_throughput, expected 2.99577474594116211e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(2.99577474594116211e+00), + "incorrect value for uart_b.tx_throughput, expected 2.99577474594116211e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -1228,13 +1468,25 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state() { "incorrect value for uart_ftdi.rx_buffer_level, expected 1, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 3.52112680673599243e-01 ), "incorrect value for uart_ftdi.rx_throughput, expected 3.52112680673599243e-01, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(3.52112680673599243e-01), + "incorrect value for uart_ftdi.rx_throughput, expected 3.52112680673599243e-01, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 85, "incorrect value for uart_ftdi.tx_buffer_level, expected 85, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 6.79014110565185547e+00 ), "incorrect value for uart_ftdi.tx_throughput, expected 6.79014110565185547e+00, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(6.79014110565185547e+00), + "incorrect value for uart_ftdi.tx_throughput, expected 6.79014110565185547e+00, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; diff --git a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs index 628d128a94..37ce43ad6e 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_piksi_msg_uart_state_dep_a.rs @@ -81,13 +81,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -103,13 +111,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -125,13 +141,25 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 15, "incorrect value for uart_ftdi.tx_buffer_level, expected 15, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 1.16000003814697266e+01 ), "incorrect value for uart_ftdi.tx_throughput, expected 1.16000003814697266e+01, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(1.16000003814697266e+01), + "incorrect value for uart_ftdi.tx_throughput, expected 1.16000003814697266e+01, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -199,13 +227,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -221,13 +257,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -243,13 +287,25 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 0, "incorrect value for uart_ftdi.tx_buffer_level, expected 0, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 6.59999996423721313e-02 ), "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(6.59999996423721313e-02), + "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -317,13 +373,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -339,13 +403,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -361,13 +433,25 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 10, "incorrect value for uart_ftdi.tx_buffer_level, expected 10, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 1.38999998569488525e-01 ), "incorrect value for uart_ftdi.tx_throughput, expected 1.38999998569488525e-01, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(1.38999998569488525e-01), + "incorrect value for uart_ftdi.tx_throughput, expected 1.38999998569488525e-01, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -435,13 +519,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -457,13 +549,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -479,13 +579,25 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 0, "incorrect value for uart_ftdi.tx_buffer_level, expected 0, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 6.59999996423721313e-02 ), "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(6.59999996423721313e-02), + "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -553,13 +665,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 8.19672085344791412e-03 ), "incorrect value for uart_a.rx_throughput, expected 8.19672085344791412e-03, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(8.19672085344791412e-03), + "incorrect value for uart_a.rx_throughput, expected 8.19672085344791412e-03, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -575,13 +695,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 2, "incorrect value for uart_b.tx_buffer_level, expected 2, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 9.83606576919555664e-02 ), "incorrect value for uart_b.tx_throughput, expected 9.83606576919555664e-02, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(9.83606576919555664e-02), + "incorrect value for uart_b.tx_throughput, expected 9.83606576919555664e-02, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -597,13 +725,25 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 38, "incorrect value for uart_ftdi.tx_buffer_level, expected 38, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 4.93999987840652466e-01 ), "incorrect value for uart_ftdi.tx_throughput, expected 4.93999987840652466e-01, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(4.93999987840652466e-01), + "incorrect value for uart_ftdi.tx_throughput, expected 4.93999987840652466e-01, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -671,13 +811,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 2, "incorrect value for uart_a.tx_buffer_level, expected 2, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 1.20000001043081284e-02 ), "incorrect value for uart_a.tx_throughput, expected 1.20000001043081284e-02, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(1.20000001043081284e-02), + "incorrect value for uart_a.tx_throughput, expected 1.20000001043081284e-02, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -693,13 +841,21 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 2, "incorrect value for uart_b.tx_buffer_level, expected 2, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 1.20000001043081284e-02 ), "incorrect value for uart_b.tx_throughput, expected 1.20000001043081284e-02, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(1.20000001043081284e-02), + "incorrect value for uart_b.tx_throughput, expected 1.20000001043081284e-02, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -715,13 +871,25 @@ fn test_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 50, "incorrect value for uart_ftdi.tx_buffer_level, expected 50, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 1.31500005722045898e+00 ), "incorrect value for uart_ftdi.tx_throughput, expected 1.31500005722045898e+00, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(1.31500005722045898e+00), + "incorrect value for uart_ftdi.tx_throughput, expected 1.31500005722045898e+00, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -808,13 +976,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -830,13 +1006,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -852,13 +1036,25 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 15, "incorrect value for uart_ftdi.tx_buffer_level, expected 15, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 1.16000003814697266e+01 ), "incorrect value for uart_ftdi.tx_throughput, expected 1.16000003814697266e+01, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(1.16000003814697266e+01), + "incorrect value for uart_ftdi.tx_throughput, expected 1.16000003814697266e+01, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -931,13 +1127,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -953,13 +1157,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -975,13 +1187,25 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 0, "incorrect value for uart_ftdi.tx_buffer_level, expected 0, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 6.59999996423721313e-02 ), "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(6.59999996423721313e-02), + "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -1054,13 +1278,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -1076,13 +1308,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -1098,13 +1338,25 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 10, "incorrect value for uart_ftdi.tx_buffer_level, expected 10, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 1.38999998569488525e-01 ), "incorrect value for uart_ftdi.tx_throughput, expected 1.38999998569488525e-01, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(1.38999998569488525e-01), + "incorrect value for uart_ftdi.tx_throughput, expected 1.38999998569488525e-01, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -1177,13 +1429,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -1199,13 +1459,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -1221,13 +1489,25 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 0, "incorrect value for uart_ftdi.tx_buffer_level, expected 0, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 6.59999996423721313e-02 ), "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(6.59999996423721313e-02), + "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -1300,13 +1580,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 8.19672085344791412e-03 ), "incorrect value for uart_a.rx_throughput, expected 8.19672085344791412e-03, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(8.19672085344791412e-03), + "incorrect value for uart_a.rx_throughput, expected 8.19672085344791412e-03, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -1322,13 +1610,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 2, "incorrect value for uart_b.tx_buffer_level, expected 2, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 9.83606576919555664e-02 ), "incorrect value for uart_b.tx_throughput, expected 9.83606576919555664e-02, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(9.83606576919555664e-02), + "incorrect value for uart_b.tx_throughput, expected 9.83606576919555664e-02, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -1344,13 +1640,25 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 38, "incorrect value for uart_ftdi.tx_buffer_level, expected 38, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 4.93999987840652466e-01 ), "incorrect value for uart_ftdi.tx_throughput, expected 4.93999987840652466e-01, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(4.93999987840652466e-01), + "incorrect value for uart_ftdi.tx_throughput, expected 4.93999987840652466e-01, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -1423,13 +1731,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 2, "incorrect value for uart_a.tx_buffer_level, expected 2, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 1.20000001043081284e-02 ), "incorrect value for uart_a.tx_throughput, expected 1.20000001043081284e-02, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(1.20000001043081284e-02), + "incorrect value for uart_a.tx_throughput, expected 1.20000001043081284e-02, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -1445,13 +1761,21 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 2, "incorrect value for uart_b.tx_buffer_level, expected 2, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 1.20000001043081284e-02 ), "incorrect value for uart_b.tx_throughput, expected 1.20000001043081284e-02, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(1.20000001043081284e-02), + "incorrect value for uart_b.tx_throughput, expected 1.20000001043081284e-02, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -1467,13 +1791,25 @@ fn test_json2sbp_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 50, "incorrect value for uart_ftdi.tx_buffer_level, expected 50, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 1.31500005722045898e+00 ), "incorrect value for uart_ftdi.tx_throughput, expected 1.31500005722045898e+00, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(1.31500005722045898e+00), + "incorrect value for uart_ftdi.tx_throughput, expected 1.31500005722045898e+00, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -1569,13 +1905,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -1591,13 +1935,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -1613,13 +1965,25 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 15, "incorrect value for uart_ftdi.tx_buffer_level, expected 15, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 1.16000003814697266e+01 ), "incorrect value for uart_ftdi.tx_throughput, expected 1.16000003814697266e+01, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(1.16000003814697266e+01), + "incorrect value for uart_ftdi.tx_throughput, expected 1.16000003814697266e+01, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -1706,13 +2070,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -1728,13 +2100,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -1750,13 +2130,25 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 0, "incorrect value for uart_ftdi.tx_buffer_level, expected 0, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 6.59999996423721313e-02 ), "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(6.59999996423721313e-02), + "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -1843,13 +2235,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -1865,13 +2265,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -1887,13 +2295,25 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 10, "incorrect value for uart_ftdi.tx_buffer_level, expected 10, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 1.38999998569488525e-01 ), "incorrect value for uart_ftdi.tx_throughput, expected 1.38999998569488525e-01, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(1.38999998569488525e-01), + "incorrect value for uart_ftdi.tx_throughput, expected 1.38999998569488525e-01, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -1980,13 +2400,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -2002,13 +2430,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 0, "incorrect value for uart_b.tx_buffer_level, expected 0, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -2024,13 +2460,25 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 0, "incorrect value for uart_ftdi.tx_buffer_level, expected 0, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 6.59999996423721313e-02 ), "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(6.59999996423721313e-02), + "incorrect value for uart_ftdi.tx_throughput, expected 6.59999996423721313e-02, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -2117,13 +2565,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 8.19672085344791412e-03 ), "incorrect value for uart_a.rx_throughput, expected 8.19672085344791412e-03, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(8.19672085344791412e-03), + "incorrect value for uart_a.rx_throughput, expected 8.19672085344791412e-03, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 0, "incorrect value for uart_a.tx_buffer_level, expected 0, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.tx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -2139,13 +2595,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 2, "incorrect value for uart_b.tx_buffer_level, expected 2, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 9.83606576919555664e-02 ), "incorrect value for uart_b.tx_throughput, expected 9.83606576919555664e-02, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(9.83606576919555664e-02), + "incorrect value for uart_b.tx_throughput, expected 9.83606576919555664e-02, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -2161,13 +2625,25 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 38, "incorrect value for uart_ftdi.tx_buffer_level, expected 38, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 4.93999987840652466e-01 ), "incorrect value for uart_ftdi.tx_throughput, expected 4.93999987840652466e-01, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(4.93999987840652466e-01), + "incorrect value for uart_ftdi.tx_throughput, expected 4.93999987840652466e-01, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; @@ -2254,13 +2730,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_a.rx_buffer_level, expected 0, is {}", msg.uart_a.rx_buffer_level ); - assert!(msg.uart_a.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_a.rx_throughput); + assert!( + msg.uart_a.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_a.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_a.rx_throughput + ); assert_eq!( msg.uart_a.tx_buffer_level, 2, "incorrect value for uart_a.tx_buffer_level, expected 2, is {}", msg.uart_a.tx_buffer_level ); - assert!(msg.uart_a.tx_throughput.almost_eq( 1.20000001043081284e-02 ), "incorrect value for uart_a.tx_throughput, expected 1.20000001043081284e-02, is {:e}", msg.uart_a.tx_throughput); + assert!( + msg.uart_a.tx_throughput.almost_eq(1.20000001043081284e-02), + "incorrect value for uart_a.tx_throughput, expected 1.20000001043081284e-02, is {:e}", + msg.uart_a.tx_throughput + ); assert_eq!( msg.uart_b.crc_error_count, 0, "incorrect value for uart_b.crc_error_count, expected 0, is {}", @@ -2276,13 +2760,21 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_b.rx_buffer_level, expected 0, is {}", msg.uart_b.rx_buffer_level ); - assert!(msg.uart_b.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_b.rx_throughput); + assert!( + msg.uart_b.rx_throughput.almost_eq(0.00000000000000000e+00), + "incorrect value for uart_b.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_b.rx_throughput + ); assert_eq!( msg.uart_b.tx_buffer_level, 2, "incorrect value for uart_b.tx_buffer_level, expected 2, is {}", msg.uart_b.tx_buffer_level ); - assert!(msg.uart_b.tx_throughput.almost_eq( 1.20000001043081284e-02 ), "incorrect value for uart_b.tx_throughput, expected 1.20000001043081284e-02, is {:e}", msg.uart_b.tx_throughput); + assert!( + msg.uart_b.tx_throughput.almost_eq(1.20000001043081284e-02), + "incorrect value for uart_b.tx_throughput, expected 1.20000001043081284e-02, is {:e}", + msg.uart_b.tx_throughput + ); assert_eq!( msg.uart_ftdi.crc_error_count, 0, "incorrect value for uart_ftdi.crc_error_count, expected 0, is {}", @@ -2298,13 +2790,25 @@ fn test_sbp2json_auto_check_sbp_piksi_msg_uart_state_dep_a() { "incorrect value for uart_ftdi.rx_buffer_level, expected 0, is {}", msg.uart_ftdi.rx_buffer_level ); - assert!(msg.uart_ftdi.rx_throughput.almost_eq( 0.00000000000000000e+00 ), "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", msg.uart_ftdi.rx_throughput); + assert!( + msg.uart_ftdi + .rx_throughput + .almost_eq(0.00000000000000000e+00), + "incorrect value for uart_ftdi.rx_throughput, expected 0.00000000000000000e+00, is {:e}", + msg.uart_ftdi.rx_throughput + ); assert_eq!( msg.uart_ftdi.tx_buffer_level, 50, "incorrect value for uart_ftdi.tx_buffer_level, expected 50, is {}", msg.uart_ftdi.tx_buffer_level ); - assert!(msg.uart_ftdi.tx_throughput.almost_eq( 1.31500005722045898e+00 ), "incorrect value for uart_ftdi.tx_throughput, expected 1.31500005722045898e+00, is {:e}", msg.uart_ftdi.tx_throughput); + assert!( + msg.uart_ftdi + .tx_throughput + .almost_eq(1.31500005722045898e+00), + "incorrect value for uart_ftdi.tx_throughput, expected 1.31500005722045898e+00, is {:e}", + msg.uart_ftdi.tx_throughput + ); } _ => panic!("Invalid message type! Expected a MsgUartStateDepa"), }; diff --git a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs index a4976f4f9d..aac54672d4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_resource_counter.rs @@ -197,9 +197,13 @@ fn test_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[2].name.as_bytes(), - &[83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[2].name, expected string '{:?}', is '{:?}'", - &[83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[2].name.as_bytes() ); assert_eq!( @@ -244,9 +248,13 @@ fn test_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[3].name.as_bytes(), - &[80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[3].name, expected string '{:?}', is '{:?}'", - &[80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[3].name.as_bytes() ); assert_eq!( @@ -291,9 +299,13 @@ fn test_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[4].name.as_bytes(), - &[73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[4].name, expected string '{:?}', is '{:?}'", - &[73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[4].name.as_bytes() ); assert_eq!( @@ -338,9 +350,13 @@ fn test_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[5].name.as_bytes(), - &[115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[5].name, expected string '{:?}', is '{:?}'", - &[115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[5].name.as_bytes() ); assert_eq!( @@ -553,9 +569,13 @@ fn test_json2sbp_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[2].name.as_bytes(), - &[83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[2].name, expected string '{:?}', is '{:?}'", - &[83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[2].name.as_bytes() ); assert_eq!( @@ -600,9 +620,13 @@ fn test_json2sbp_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[3].name.as_bytes(), - &[80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[3].name, expected string '{:?}', is '{:?}'", - &[80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[3].name.as_bytes() ); assert_eq!( @@ -647,9 +671,13 @@ fn test_json2sbp_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[4].name.as_bytes(), - &[73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[4].name, expected string '{:?}', is '{:?}'", - &[73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[4].name.as_bytes() ); assert_eq!( @@ -694,9 +722,13 @@ fn test_json2sbp_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[5].name.as_bytes(), - &[115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[5].name, expected string '{:?}', is '{:?}'", - &[115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[5].name.as_bytes() ); assert_eq!( @@ -925,9 +957,13 @@ fn test_sbp2json_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[2].name.as_bytes(), - &[83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[2].name, expected string '{:?}', is '{:?}'", - &[83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 83, 83, 82, 50, 79, 83, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[2].name.as_bytes() ); assert_eq!( @@ -972,9 +1008,13 @@ fn test_sbp2json_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[3].name.as_bytes(), - &[80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[3].name, expected string '{:?}', is '{:?}'", - &[80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 80, 101, 114, 105, 111, 100, 105, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[3].name.as_bytes() ); assert_eq!( @@ -1019,9 +1059,13 @@ fn test_sbp2json_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[4].name.as_bytes(), - &[73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[4].name, expected string '{:?}', is '{:?}'", - &[73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 73, 77, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[4].name.as_bytes() ); assert_eq!( @@ -1066,9 +1110,13 @@ fn test_sbp2json_auto_check_sbp_profiling_msg_profiling_resource_counter() { ); assert_eq!( msg.buckets[5].name.as_bytes(), - &[115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], "incorrect value for msg.buckets[5].name, expected string '{:?}', is '{:?}'", - &[115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + &[ + 115, 98, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + ], msg.buckets[5].name.as_bytes() ); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs index b3222938a7..9b562f085b 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_profiling_msg_profiling_thread_info.rs @@ -53,9 +53,13 @@ fn test_auto_check_sbp_profiling_msg_profiling_thread_info() { ); assert_eq!( msg.name.as_bytes(), - &[70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0], + &[ + 70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0], + &[ + 70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -137,9 +141,13 @@ fn test_json2sbp_auto_check_sbp_profiling_msg_profiling_thread_info() { ); assert_eq!( msg.name.as_bytes(), - &[70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0], + &[ + 70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0], + &[ + 70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0 + ], msg.name.as_bytes() ); assert_eq!( @@ -229,9 +237,13 @@ fn test_sbp2json_auto_check_sbp_profiling_msg_profiling_thread_info() { ); assert_eq!( msg.name.as_bytes(), - &[70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0], + &[ + 70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0 + ], "incorrect value for msg.name, expected string '{:?}', is '{:?}'", - &[70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0], + &[ + 70, 117, 115, 105, 111, 110, 32, 101, 110, 103, 105, 110, 101, 0 + ], msg.name.as_bytes() ); assert_eq!( diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs index 95ff7eaf1b..e5d08dfd37 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds.rs @@ -85,10 +85,26 @@ fn test_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { "incorrect value for n_sats_signals, expected 3, is {}", msg.n_sats_signals ); - assert_eq!(msg.satellites_signals[0].code_bias_bound_mu, 39, "incorrect value for satellites_signals[0].code_bias_bound_mu, expected 39, is {}", msg.satellites_signals[0].code_bias_bound_mu); - assert_eq!(msg.satellites_signals[0].code_bias_bound_sig, 1, "incorrect value for satellites_signals[0].code_bias_bound_sig, expected 1, is {}", msg.satellites_signals[0].code_bias_bound_sig); - assert_eq!(msg.satellites_signals[0].phase_bias_bound_mu, 39, "incorrect value for satellites_signals[0].phase_bias_bound_mu, expected 39, is {}", msg.satellites_signals[0].phase_bias_bound_mu); - assert_eq!(msg.satellites_signals[0].phase_bias_bound_sig, 1, "incorrect value for satellites_signals[0].phase_bias_bound_sig, expected 1, is {}", msg.satellites_signals[0].phase_bias_bound_sig); + assert_eq!( + msg.satellites_signals[0].code_bias_bound_mu, 39, + "incorrect value for satellites_signals[0].code_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[0].code_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[0].code_bias_bound_sig, 1, + "incorrect value for satellites_signals[0].code_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[0].code_bias_bound_sig + ); + assert_eq!( + msg.satellites_signals[0].phase_bias_bound_mu, 39, + "incorrect value for satellites_signals[0].phase_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[0].phase_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[0].phase_bias_bound_sig, 1, + "incorrect value for satellites_signals[0].phase_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[0].phase_bias_bound_sig + ); assert_eq!( msg.satellites_signals[0].sat_id, 0, "incorrect value for satellites_signals[0].sat_id, expected 0, is {}", @@ -99,10 +115,26 @@ fn test_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { "incorrect value for satellites_signals[0].signal_id, expected 3, is {}", msg.satellites_signals[0].signal_id ); - assert_eq!(msg.satellites_signals[1].code_bias_bound_mu, 39, "incorrect value for satellites_signals[1].code_bias_bound_mu, expected 39, is {}", msg.satellites_signals[1].code_bias_bound_mu); - assert_eq!(msg.satellites_signals[1].code_bias_bound_sig, 1, "incorrect value for satellites_signals[1].code_bias_bound_sig, expected 1, is {}", msg.satellites_signals[1].code_bias_bound_sig); - assert_eq!(msg.satellites_signals[1].phase_bias_bound_mu, 39, "incorrect value for satellites_signals[1].phase_bias_bound_mu, expected 39, is {}", msg.satellites_signals[1].phase_bias_bound_mu); - assert_eq!(msg.satellites_signals[1].phase_bias_bound_sig, 1, "incorrect value for satellites_signals[1].phase_bias_bound_sig, expected 1, is {}", msg.satellites_signals[1].phase_bias_bound_sig); + assert_eq!( + msg.satellites_signals[1].code_bias_bound_mu, 39, + "incorrect value for satellites_signals[1].code_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[1].code_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[1].code_bias_bound_sig, 1, + "incorrect value for satellites_signals[1].code_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[1].code_bias_bound_sig + ); + assert_eq!( + msg.satellites_signals[1].phase_bias_bound_mu, 39, + "incorrect value for satellites_signals[1].phase_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[1].phase_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[1].phase_bias_bound_sig, 1, + "incorrect value for satellites_signals[1].phase_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[1].phase_bias_bound_sig + ); assert_eq!( msg.satellites_signals[1].sat_id, 1, "incorrect value for satellites_signals[1].sat_id, expected 1, is {}", @@ -113,10 +145,26 @@ fn test_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { "incorrect value for satellites_signals[1].signal_id, expected 3, is {}", msg.satellites_signals[1].signal_id ); - assert_eq!(msg.satellites_signals[2].code_bias_bound_mu, 39, "incorrect value for satellites_signals[2].code_bias_bound_mu, expected 39, is {}", msg.satellites_signals[2].code_bias_bound_mu); - assert_eq!(msg.satellites_signals[2].code_bias_bound_sig, 1, "incorrect value for satellites_signals[2].code_bias_bound_sig, expected 1, is {}", msg.satellites_signals[2].code_bias_bound_sig); - assert_eq!(msg.satellites_signals[2].phase_bias_bound_mu, 39, "incorrect value for satellites_signals[2].phase_bias_bound_mu, expected 39, is {}", msg.satellites_signals[2].phase_bias_bound_mu); - assert_eq!(msg.satellites_signals[2].phase_bias_bound_sig, 1, "incorrect value for satellites_signals[2].phase_bias_bound_sig, expected 1, is {}", msg.satellites_signals[2].phase_bias_bound_sig); + assert_eq!( + msg.satellites_signals[2].code_bias_bound_mu, 39, + "incorrect value for satellites_signals[2].code_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[2].code_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[2].code_bias_bound_sig, 1, + "incorrect value for satellites_signals[2].code_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[2].code_bias_bound_sig + ); + assert_eq!( + msg.satellites_signals[2].phase_bias_bound_mu, 39, + "incorrect value for satellites_signals[2].phase_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[2].phase_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[2].phase_bias_bound_sig, 1, + "incorrect value for satellites_signals[2].phase_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[2].phase_bias_bound_sig + ); assert_eq!( msg.satellites_signals[2].sat_id, 1, "incorrect value for satellites_signals[2].sat_id, expected 1, is {}", @@ -223,10 +271,26 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { "incorrect value for n_sats_signals, expected 3, is {}", msg.n_sats_signals ); - assert_eq!(msg.satellites_signals[0].code_bias_bound_mu, 39, "incorrect value for satellites_signals[0].code_bias_bound_mu, expected 39, is {}", msg.satellites_signals[0].code_bias_bound_mu); - assert_eq!(msg.satellites_signals[0].code_bias_bound_sig, 1, "incorrect value for satellites_signals[0].code_bias_bound_sig, expected 1, is {}", msg.satellites_signals[0].code_bias_bound_sig); - assert_eq!(msg.satellites_signals[0].phase_bias_bound_mu, 39, "incorrect value for satellites_signals[0].phase_bias_bound_mu, expected 39, is {}", msg.satellites_signals[0].phase_bias_bound_mu); - assert_eq!(msg.satellites_signals[0].phase_bias_bound_sig, 1, "incorrect value for satellites_signals[0].phase_bias_bound_sig, expected 1, is {}", msg.satellites_signals[0].phase_bias_bound_sig); + assert_eq!( + msg.satellites_signals[0].code_bias_bound_mu, 39, + "incorrect value for satellites_signals[0].code_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[0].code_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[0].code_bias_bound_sig, 1, + "incorrect value for satellites_signals[0].code_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[0].code_bias_bound_sig + ); + assert_eq!( + msg.satellites_signals[0].phase_bias_bound_mu, 39, + "incorrect value for satellites_signals[0].phase_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[0].phase_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[0].phase_bias_bound_sig, 1, + "incorrect value for satellites_signals[0].phase_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[0].phase_bias_bound_sig + ); assert_eq!( msg.satellites_signals[0].sat_id, 0, "incorrect value for satellites_signals[0].sat_id, expected 0, is {}", @@ -237,10 +301,26 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { "incorrect value for satellites_signals[0].signal_id, expected 3, is {}", msg.satellites_signals[0].signal_id ); - assert_eq!(msg.satellites_signals[1].code_bias_bound_mu, 39, "incorrect value for satellites_signals[1].code_bias_bound_mu, expected 39, is {}", msg.satellites_signals[1].code_bias_bound_mu); - assert_eq!(msg.satellites_signals[1].code_bias_bound_sig, 1, "incorrect value for satellites_signals[1].code_bias_bound_sig, expected 1, is {}", msg.satellites_signals[1].code_bias_bound_sig); - assert_eq!(msg.satellites_signals[1].phase_bias_bound_mu, 39, "incorrect value for satellites_signals[1].phase_bias_bound_mu, expected 39, is {}", msg.satellites_signals[1].phase_bias_bound_mu); - assert_eq!(msg.satellites_signals[1].phase_bias_bound_sig, 1, "incorrect value for satellites_signals[1].phase_bias_bound_sig, expected 1, is {}", msg.satellites_signals[1].phase_bias_bound_sig); + assert_eq!( + msg.satellites_signals[1].code_bias_bound_mu, 39, + "incorrect value for satellites_signals[1].code_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[1].code_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[1].code_bias_bound_sig, 1, + "incorrect value for satellites_signals[1].code_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[1].code_bias_bound_sig + ); + assert_eq!( + msg.satellites_signals[1].phase_bias_bound_mu, 39, + "incorrect value for satellites_signals[1].phase_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[1].phase_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[1].phase_bias_bound_sig, 1, + "incorrect value for satellites_signals[1].phase_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[1].phase_bias_bound_sig + ); assert_eq!( msg.satellites_signals[1].sat_id, 1, "incorrect value for satellites_signals[1].sat_id, expected 1, is {}", @@ -251,10 +331,26 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { "incorrect value for satellites_signals[1].signal_id, expected 3, is {}", msg.satellites_signals[1].signal_id ); - assert_eq!(msg.satellites_signals[2].code_bias_bound_mu, 39, "incorrect value for satellites_signals[2].code_bias_bound_mu, expected 39, is {}", msg.satellites_signals[2].code_bias_bound_mu); - assert_eq!(msg.satellites_signals[2].code_bias_bound_sig, 1, "incorrect value for satellites_signals[2].code_bias_bound_sig, expected 1, is {}", msg.satellites_signals[2].code_bias_bound_sig); - assert_eq!(msg.satellites_signals[2].phase_bias_bound_mu, 39, "incorrect value for satellites_signals[2].phase_bias_bound_mu, expected 39, is {}", msg.satellites_signals[2].phase_bias_bound_mu); - assert_eq!(msg.satellites_signals[2].phase_bias_bound_sig, 1, "incorrect value for satellites_signals[2].phase_bias_bound_sig, expected 1, is {}", msg.satellites_signals[2].phase_bias_bound_sig); + assert_eq!( + msg.satellites_signals[2].code_bias_bound_mu, 39, + "incorrect value for satellites_signals[2].code_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[2].code_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[2].code_bias_bound_sig, 1, + "incorrect value for satellites_signals[2].code_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[2].code_bias_bound_sig + ); + assert_eq!( + msg.satellites_signals[2].phase_bias_bound_mu, 39, + "incorrect value for satellites_signals[2].phase_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[2].phase_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[2].phase_bias_bound_sig, 1, + "incorrect value for satellites_signals[2].phase_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[2].phase_bias_bound_sig + ); assert_eq!( msg.satellites_signals[2].sat_id, 1, "incorrect value for satellites_signals[2].sat_id, expected 1, is {}", @@ -369,10 +465,26 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { "incorrect value for n_sats_signals, expected 3, is {}", msg.n_sats_signals ); - assert_eq!(msg.satellites_signals[0].code_bias_bound_mu, 39, "incorrect value for satellites_signals[0].code_bias_bound_mu, expected 39, is {}", msg.satellites_signals[0].code_bias_bound_mu); - assert_eq!(msg.satellites_signals[0].code_bias_bound_sig, 1, "incorrect value for satellites_signals[0].code_bias_bound_sig, expected 1, is {}", msg.satellites_signals[0].code_bias_bound_sig); - assert_eq!(msg.satellites_signals[0].phase_bias_bound_mu, 39, "incorrect value for satellites_signals[0].phase_bias_bound_mu, expected 39, is {}", msg.satellites_signals[0].phase_bias_bound_mu); - assert_eq!(msg.satellites_signals[0].phase_bias_bound_sig, 1, "incorrect value for satellites_signals[0].phase_bias_bound_sig, expected 1, is {}", msg.satellites_signals[0].phase_bias_bound_sig); + assert_eq!( + msg.satellites_signals[0].code_bias_bound_mu, 39, + "incorrect value for satellites_signals[0].code_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[0].code_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[0].code_bias_bound_sig, 1, + "incorrect value for satellites_signals[0].code_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[0].code_bias_bound_sig + ); + assert_eq!( + msg.satellites_signals[0].phase_bias_bound_mu, 39, + "incorrect value for satellites_signals[0].phase_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[0].phase_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[0].phase_bias_bound_sig, 1, + "incorrect value for satellites_signals[0].phase_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[0].phase_bias_bound_sig + ); assert_eq!( msg.satellites_signals[0].sat_id, 0, "incorrect value for satellites_signals[0].sat_id, expected 0, is {}", @@ -383,10 +495,26 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { "incorrect value for satellites_signals[0].signal_id, expected 3, is {}", msg.satellites_signals[0].signal_id ); - assert_eq!(msg.satellites_signals[1].code_bias_bound_mu, 39, "incorrect value for satellites_signals[1].code_bias_bound_mu, expected 39, is {}", msg.satellites_signals[1].code_bias_bound_mu); - assert_eq!(msg.satellites_signals[1].code_bias_bound_sig, 1, "incorrect value for satellites_signals[1].code_bias_bound_sig, expected 1, is {}", msg.satellites_signals[1].code_bias_bound_sig); - assert_eq!(msg.satellites_signals[1].phase_bias_bound_mu, 39, "incorrect value for satellites_signals[1].phase_bias_bound_mu, expected 39, is {}", msg.satellites_signals[1].phase_bias_bound_mu); - assert_eq!(msg.satellites_signals[1].phase_bias_bound_sig, 1, "incorrect value for satellites_signals[1].phase_bias_bound_sig, expected 1, is {}", msg.satellites_signals[1].phase_bias_bound_sig); + assert_eq!( + msg.satellites_signals[1].code_bias_bound_mu, 39, + "incorrect value for satellites_signals[1].code_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[1].code_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[1].code_bias_bound_sig, 1, + "incorrect value for satellites_signals[1].code_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[1].code_bias_bound_sig + ); + assert_eq!( + msg.satellites_signals[1].phase_bias_bound_mu, 39, + "incorrect value for satellites_signals[1].phase_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[1].phase_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[1].phase_bias_bound_sig, 1, + "incorrect value for satellites_signals[1].phase_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[1].phase_bias_bound_sig + ); assert_eq!( msg.satellites_signals[1].sat_id, 1, "incorrect value for satellites_signals[1].sat_id, expected 1, is {}", @@ -397,10 +525,26 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_code_phase_biases_bounds() { "incorrect value for satellites_signals[1].signal_id, expected 3, is {}", msg.satellites_signals[1].signal_id ); - assert_eq!(msg.satellites_signals[2].code_bias_bound_mu, 39, "incorrect value for satellites_signals[2].code_bias_bound_mu, expected 39, is {}", msg.satellites_signals[2].code_bias_bound_mu); - assert_eq!(msg.satellites_signals[2].code_bias_bound_sig, 1, "incorrect value for satellites_signals[2].code_bias_bound_sig, expected 1, is {}", msg.satellites_signals[2].code_bias_bound_sig); - assert_eq!(msg.satellites_signals[2].phase_bias_bound_mu, 39, "incorrect value for satellites_signals[2].phase_bias_bound_mu, expected 39, is {}", msg.satellites_signals[2].phase_bias_bound_mu); - assert_eq!(msg.satellites_signals[2].phase_bias_bound_sig, 1, "incorrect value for satellites_signals[2].phase_bias_bound_sig, expected 1, is {}", msg.satellites_signals[2].phase_bias_bound_sig); + assert_eq!( + msg.satellites_signals[2].code_bias_bound_mu, 39, + "incorrect value for satellites_signals[2].code_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[2].code_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[2].code_bias_bound_sig, 1, + "incorrect value for satellites_signals[2].code_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[2].code_bias_bound_sig + ); + assert_eq!( + msg.satellites_signals[2].phase_bias_bound_mu, 39, + "incorrect value for satellites_signals[2].phase_bias_bound_mu, expected 39, is {}", + msg.satellites_signals[2].phase_bias_bound_mu + ); + assert_eq!( + msg.satellites_signals[2].phase_bias_bound_sig, 1, + "incorrect value for satellites_signals[2].phase_bias_bound_sig, expected 1, is {}", + msg.satellites_signals[2].phase_bias_bound_sig + ); assert_eq!( msg.satellites_signals[2].sat_id, 1, "incorrect value for satellites_signals[2].sat_id, expected 1, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs index a3a78f9a72..d042ea0cf4 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction.rs @@ -117,7 +117,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[0].stddev, expected 88, is {}", msg.stec_residuals[0].stddev ); - assert_eq!(msg.stec_residuals[0].sv_id.constellation, 101, "incorrect value for stec_residuals[0].sv_id.constellation, expected 101, is {}", msg.stec_residuals[0].sv_id.constellation); + assert_eq!( + msg.stec_residuals[0].sv_id.constellation, 101, + "incorrect value for stec_residuals[0].sv_id.constellation, expected 101, is {}", + msg.stec_residuals[0].sv_id.constellation + ); assert_eq!( msg.stec_residuals[0].sv_id.sat_id, 140, "incorrect value for stec_residuals[0].sv_id.sat_id, expected 140, is {}", @@ -133,7 +137,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[1].stddev, expected 115, is {}", msg.stec_residuals[1].stddev ); - assert_eq!(msg.stec_residuals[1].sv_id.constellation, 180, "incorrect value for stec_residuals[1].sv_id.constellation, expected 180, is {}", msg.stec_residuals[1].sv_id.constellation); + assert_eq!( + msg.stec_residuals[1].sv_id.constellation, 180, + "incorrect value for stec_residuals[1].sv_id.constellation, expected 180, is {}", + msg.stec_residuals[1].sv_id.constellation + ); assert_eq!( msg.stec_residuals[1].sv_id.sat_id, 70, "incorrect value for stec_residuals[1].sv_id.sat_id, expected 70, is {}", @@ -149,7 +157,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[2].stddev, expected 135, is {}", msg.stec_residuals[2].stddev ); - assert_eq!(msg.stec_residuals[2].sv_id.constellation, 201, "incorrect value for stec_residuals[2].sv_id.constellation, expected 201, is {}", msg.stec_residuals[2].sv_id.constellation); + assert_eq!( + msg.stec_residuals[2].sv_id.constellation, 201, + "incorrect value for stec_residuals[2].sv_id.constellation, expected 201, is {}", + msg.stec_residuals[2].sv_id.constellation + ); assert_eq!( msg.stec_residuals[2].sv_id.sat_id, 78, "incorrect value for stec_residuals[2].sv_id.sat_id, expected 78, is {}", @@ -185,7 +197,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[4].stddev, expected 58, is {}", msg.stec_residuals[4].stddev ); - assert_eq!(msg.stec_residuals[4].sv_id.constellation, 229, "incorrect value for stec_residuals[4].sv_id.constellation, expected 229, is {}", msg.stec_residuals[4].sv_id.constellation); + assert_eq!( + msg.stec_residuals[4].sv_id.constellation, 229, + "incorrect value for stec_residuals[4].sv_id.constellation, expected 229, is {}", + msg.stec_residuals[4].sv_id.constellation + ); assert_eq!( msg.stec_residuals[4].sv_id.sat_id, 120, "incorrect value for stec_residuals[4].sv_id.sat_id, expected 120, is {}", @@ -201,7 +217,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[5].stddev, expected 172, is {}", msg.stec_residuals[5].stddev ); - assert_eq!(msg.stec_residuals[5].sv_id.constellation, 234, "incorrect value for stec_residuals[5].sv_id.constellation, expected 234, is {}", msg.stec_residuals[5].sv_id.constellation); + assert_eq!( + msg.stec_residuals[5].sv_id.constellation, 234, + "incorrect value for stec_residuals[5].sv_id.constellation, expected 234, is {}", + msg.stec_residuals[5].sv_id.constellation + ); assert_eq!( msg.stec_residuals[5].sv_id.sat_id, 169, "incorrect value for stec_residuals[5].sv_id.sat_id, expected 169, is {}", @@ -217,7 +237,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[6].stddev, expected 150, is {}", msg.stec_residuals[6].stddev ); - assert_eq!(msg.stec_residuals[6].sv_id.constellation, 127, "incorrect value for stec_residuals[6].sv_id.constellation, expected 127, is {}", msg.stec_residuals[6].sv_id.constellation); + assert_eq!( + msg.stec_residuals[6].sv_id.constellation, 127, + "incorrect value for stec_residuals[6].sv_id.constellation, expected 127, is {}", + msg.stec_residuals[6].sv_id.constellation + ); assert_eq!( msg.stec_residuals[6].sv_id.sat_id, 191, "incorrect value for stec_residuals[6].sv_id.sat_id, expected 191, is {}", @@ -233,7 +257,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[7].stddev, expected 17, is {}", msg.stec_residuals[7].stddev ); - assert_eq!(msg.stec_residuals[7].sv_id.constellation, 111, "incorrect value for stec_residuals[7].sv_id.constellation, expected 111, is {}", msg.stec_residuals[7].sv_id.constellation); + assert_eq!( + msg.stec_residuals[7].sv_id.constellation, 111, + "incorrect value for stec_residuals[7].sv_id.constellation, expected 111, is {}", + msg.stec_residuals[7].sv_id.constellation + ); assert_eq!( msg.stec_residuals[7].sv_id.sat_id, 91, "incorrect value for stec_residuals[7].sv_id.sat_id, expected 91, is {}", @@ -269,7 +297,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[9].stddev, expected 156, is {}", msg.stec_residuals[9].stddev ); - assert_eq!(msg.stec_residuals[9].sv_id.constellation, 221, "incorrect value for stec_residuals[9].sv_id.constellation, expected 221, is {}", msg.stec_residuals[9].sv_id.constellation); + assert_eq!( + msg.stec_residuals[9].sv_id.constellation, 221, + "incorrect value for stec_residuals[9].sv_id.constellation, expected 221, is {}", + msg.stec_residuals[9].sv_id.constellation + ); assert_eq!( msg.stec_residuals[9].sv_id.sat_id, 57, "incorrect value for stec_residuals[9].sv_id.sat_id, expected 57, is {}", @@ -285,7 +317,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[10].stddev, expected 8, is {}", msg.stec_residuals[10].stddev ); - assert_eq!(msg.stec_residuals[10].sv_id.constellation, 156, "incorrect value for stec_residuals[10].sv_id.constellation, expected 156, is {}", msg.stec_residuals[10].sv_id.constellation); + assert_eq!( + msg.stec_residuals[10].sv_id.constellation, 156, + "incorrect value for stec_residuals[10].sv_id.constellation, expected 156, is {}", + msg.stec_residuals[10].sv_id.constellation + ); assert_eq!( msg.stec_residuals[10].sv_id.sat_id, 70, "incorrect value for stec_residuals[10].sv_id.sat_id, expected 70, is {}", @@ -301,7 +337,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[11].stddev, expected 115, is {}", msg.stec_residuals[11].stddev ); - assert_eq!(msg.stec_residuals[11].sv_id.constellation, 58, "incorrect value for stec_residuals[11].sv_id.constellation, expected 58, is {}", msg.stec_residuals[11].sv_id.constellation); + assert_eq!( + msg.stec_residuals[11].sv_id.constellation, 58, + "incorrect value for stec_residuals[11].sv_id.constellation, expected 58, is {}", + msg.stec_residuals[11].sv_id.constellation + ); assert_eq!( msg.stec_residuals[11].sv_id.sat_id, 127, "incorrect value for stec_residuals[11].sv_id.sat_id, expected 127, is {}", @@ -317,7 +357,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[12].stddev, expected 124, is {}", msg.stec_residuals[12].stddev ); - assert_eq!(msg.stec_residuals[12].sv_id.constellation, 157, "incorrect value for stec_residuals[12].sv_id.constellation, expected 157, is {}", msg.stec_residuals[12].sv_id.constellation); + assert_eq!( + msg.stec_residuals[12].sv_id.constellation, 157, + "incorrect value for stec_residuals[12].sv_id.constellation, expected 157, is {}", + msg.stec_residuals[12].sv_id.constellation + ); assert_eq!( msg.stec_residuals[12].sv_id.sat_id, 80, "incorrect value for stec_residuals[12].sv_id.sat_id, expected 80, is {}", @@ -333,7 +377,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[13].stddev, expected 204, is {}", msg.stec_residuals[13].stddev ); - assert_eq!(msg.stec_residuals[13].sv_id.constellation, 128, "incorrect value for stec_residuals[13].sv_id.constellation, expected 128, is {}", msg.stec_residuals[13].sv_id.constellation); + assert_eq!( + msg.stec_residuals[13].sv_id.constellation, 128, + "incorrect value for stec_residuals[13].sv_id.constellation, expected 128, is {}", + msg.stec_residuals[13].sv_id.constellation + ); assert_eq!( msg.stec_residuals[13].sv_id.sat_id, 27, "incorrect value for stec_residuals[13].sv_id.sat_id, expected 27, is {}", @@ -349,7 +397,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[14].stddev, expected 148, is {}", msg.stec_residuals[14].stddev ); - assert_eq!(msg.stec_residuals[14].sv_id.constellation, 238, "incorrect value for stec_residuals[14].sv_id.constellation, expected 238, is {}", msg.stec_residuals[14].sv_id.constellation); + assert_eq!( + msg.stec_residuals[14].sv_id.constellation, 238, + "incorrect value for stec_residuals[14].sv_id.constellation, expected 238, is {}", + msg.stec_residuals[14].sv_id.constellation + ); assert_eq!( msg.stec_residuals[14].sv_id.sat_id, 75, "incorrect value for stec_residuals[14].sv_id.sat_id, expected 75, is {}", @@ -365,7 +417,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[15].stddev, expected 149, is {}", msg.stec_residuals[15].stddev ); - assert_eq!(msg.stec_residuals[15].sv_id.constellation, 61, "incorrect value for stec_residuals[15].sv_id.constellation, expected 61, is {}", msg.stec_residuals[15].sv_id.constellation); + assert_eq!( + msg.stec_residuals[15].sv_id.constellation, 61, + "incorrect value for stec_residuals[15].sv_id.constellation, expected 61, is {}", + msg.stec_residuals[15].sv_id.constellation + ); assert_eq!( msg.stec_residuals[15].sv_id.sat_id, 248, "incorrect value for stec_residuals[15].sv_id.sat_id, expected 248, is {}", @@ -381,7 +437,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[16].stddev, expected 186, is {}", msg.stec_residuals[16].stddev ); - assert_eq!(msg.stec_residuals[16].sv_id.constellation, 224, "incorrect value for stec_residuals[16].sv_id.constellation, expected 224, is {}", msg.stec_residuals[16].sv_id.constellation); + assert_eq!( + msg.stec_residuals[16].sv_id.constellation, 224, + "incorrect value for stec_residuals[16].sv_id.constellation, expected 224, is {}", + msg.stec_residuals[16].sv_id.constellation + ); assert_eq!( msg.stec_residuals[16].sv_id.sat_id, 167, "incorrect value for stec_residuals[16].sv_id.sat_id, expected 167, is {}", @@ -397,7 +457,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[17].stddev, expected 100, is {}", msg.stec_residuals[17].stddev ); - assert_eq!(msg.stec_residuals[17].sv_id.constellation, 227, "incorrect value for stec_residuals[17].sv_id.constellation, expected 227, is {}", msg.stec_residuals[17].sv_id.constellation); + assert_eq!( + msg.stec_residuals[17].sv_id.constellation, 227, + "incorrect value for stec_residuals[17].sv_id.constellation, expected 227, is {}", + msg.stec_residuals[17].sv_id.constellation + ); assert_eq!( msg.stec_residuals[17].sv_id.sat_id, 157, "incorrect value for stec_residuals[17].sv_id.sat_id, expected 157, is {}", @@ -413,7 +477,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[18].stddev, expected 59, is {}", msg.stec_residuals[18].stddev ); - assert_eq!(msg.stec_residuals[18].sv_id.constellation, 12, "incorrect value for stec_residuals[18].sv_id.constellation, expected 12, is {}", msg.stec_residuals[18].sv_id.constellation); + assert_eq!( + msg.stec_residuals[18].sv_id.constellation, 12, + "incorrect value for stec_residuals[18].sv_id.constellation, expected 12, is {}", + msg.stec_residuals[18].sv_id.constellation + ); assert_eq!( msg.stec_residuals[18].sv_id.sat_id, 35, "incorrect value for stec_residuals[18].sv_id.sat_id, expected 35, is {}", @@ -429,7 +497,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[19].stddev, expected 24, is {}", msg.stec_residuals[19].stddev ); - assert_eq!(msg.stec_residuals[19].sv_id.constellation, 81, "incorrect value for stec_residuals[19].sv_id.constellation, expected 81, is {}", msg.stec_residuals[19].sv_id.constellation); + assert_eq!( + msg.stec_residuals[19].sv_id.constellation, 81, + "incorrect value for stec_residuals[19].sv_id.constellation, expected 81, is {}", + msg.stec_residuals[19].sv_id.constellation + ); assert_eq!( msg.stec_residuals[19].sv_id.sat_id, 176, "incorrect value for stec_residuals[19].sv_id.sat_id, expected 176, is {}", @@ -445,7 +517,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[20].stddev, expected 45, is {}", msg.stec_residuals[20].stddev ); - assert_eq!(msg.stec_residuals[20].sv_id.constellation, 67, "incorrect value for stec_residuals[20].sv_id.constellation, expected 67, is {}", msg.stec_residuals[20].sv_id.constellation); + assert_eq!( + msg.stec_residuals[20].sv_id.constellation, 67, + "incorrect value for stec_residuals[20].sv_id.constellation, expected 67, is {}", + msg.stec_residuals[20].sv_id.constellation + ); assert_eq!( msg.stec_residuals[20].sv_id.sat_id, 155, "incorrect value for stec_residuals[20].sv_id.sat_id, expected 155, is {}", @@ -461,7 +537,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[21].stddev, expected 183, is {}", msg.stec_residuals[21].stddev ); - assert_eq!(msg.stec_residuals[21].sv_id.constellation, 44, "incorrect value for stec_residuals[21].sv_id.constellation, expected 44, is {}", msg.stec_residuals[21].sv_id.constellation); + assert_eq!( + msg.stec_residuals[21].sv_id.constellation, 44, + "incorrect value for stec_residuals[21].sv_id.constellation, expected 44, is {}", + msg.stec_residuals[21].sv_id.constellation + ); assert_eq!( msg.stec_residuals[21].sv_id.sat_id, 203, "incorrect value for stec_residuals[21].sv_id.sat_id, expected 203, is {}", @@ -477,7 +557,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[22].stddev, expected 253, is {}", msg.stec_residuals[22].stddev ); - assert_eq!(msg.stec_residuals[22].sv_id.constellation, 176, "incorrect value for stec_residuals[22].sv_id.constellation, expected 176, is {}", msg.stec_residuals[22].sv_id.constellation); + assert_eq!( + msg.stec_residuals[22].sv_id.constellation, 176, + "incorrect value for stec_residuals[22].sv_id.constellation, expected 176, is {}", + msg.stec_residuals[22].sv_id.constellation + ); assert_eq!( msg.stec_residuals[22].sv_id.sat_id, 231, "incorrect value for stec_residuals[22].sv_id.sat_id, expected 231, is {}", @@ -493,7 +577,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[23].stddev, expected 116, is {}", msg.stec_residuals[23].stddev ); - assert_eq!(msg.stec_residuals[23].sv_id.constellation, 103, "incorrect value for stec_residuals[23].sv_id.constellation, expected 103, is {}", msg.stec_residuals[23].sv_id.constellation); + assert_eq!( + msg.stec_residuals[23].sv_id.constellation, 103, + "incorrect value for stec_residuals[23].sv_id.constellation, expected 103, is {}", + msg.stec_residuals[23].sv_id.constellation + ); assert_eq!( msg.stec_residuals[23].sv_id.sat_id, 247, "incorrect value for stec_residuals[23].sv_id.sat_id, expected 247, is {}", @@ -509,7 +597,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[24].stddev, expected 240, is {}", msg.stec_residuals[24].stddev ); - assert_eq!(msg.stec_residuals[24].sv_id.constellation, 23, "incorrect value for stec_residuals[24].sv_id.constellation, expected 23, is {}", msg.stec_residuals[24].sv_id.constellation); + assert_eq!( + msg.stec_residuals[24].sv_id.constellation, 23, + "incorrect value for stec_residuals[24].sv_id.constellation, expected 23, is {}", + msg.stec_residuals[24].sv_id.constellation + ); assert_eq!( msg.stec_residuals[24].sv_id.sat_id, 148, "incorrect value for stec_residuals[24].sv_id.sat_id, expected 148, is {}", @@ -525,7 +617,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[25].stddev, expected 242, is {}", msg.stec_residuals[25].stddev ); - assert_eq!(msg.stec_residuals[25].sv_id.constellation, 219, "incorrect value for stec_residuals[25].sv_id.constellation, expected 219, is {}", msg.stec_residuals[25].sv_id.constellation); + assert_eq!( + msg.stec_residuals[25].sv_id.constellation, 219, + "incorrect value for stec_residuals[25].sv_id.constellation, expected 219, is {}", + msg.stec_residuals[25].sv_id.constellation + ); assert_eq!( msg.stec_residuals[25].sv_id.sat_id, 29, "incorrect value for stec_residuals[25].sv_id.sat_id, expected 29, is {}", @@ -541,7 +637,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[26].stddev, expected 37, is {}", msg.stec_residuals[26].stddev ); - assert_eq!(msg.stec_residuals[26].sv_id.constellation, 72, "incorrect value for stec_residuals[26].sv_id.constellation, expected 72, is {}", msg.stec_residuals[26].sv_id.constellation); + assert_eq!( + msg.stec_residuals[26].sv_id.constellation, 72, + "incorrect value for stec_residuals[26].sv_id.constellation, expected 72, is {}", + msg.stec_residuals[26].sv_id.constellation + ); assert_eq!( msg.stec_residuals[26].sv_id.sat_id, 207, "incorrect value for stec_residuals[26].sv_id.sat_id, expected 207, is {}", @@ -557,7 +657,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[27].stddev, expected 91, is {}", msg.stec_residuals[27].stddev ); - assert_eq!(msg.stec_residuals[27].sv_id.constellation, 176, "incorrect value for stec_residuals[27].sv_id.constellation, expected 176, is {}", msg.stec_residuals[27].sv_id.constellation); + assert_eq!( + msg.stec_residuals[27].sv_id.constellation, 176, + "incorrect value for stec_residuals[27].sv_id.constellation, expected 176, is {}", + msg.stec_residuals[27].sv_id.constellation + ); assert_eq!( msg.stec_residuals[27].sv_id.sat_id, 42, "incorrect value for stec_residuals[27].sv_id.sat_id, expected 42, is {}", @@ -573,7 +677,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[28].stddev, expected 110, is {}", msg.stec_residuals[28].stddev ); - assert_eq!(msg.stec_residuals[28].sv_id.constellation, 115, "incorrect value for stec_residuals[28].sv_id.constellation, expected 115, is {}", msg.stec_residuals[28].sv_id.constellation); + assert_eq!( + msg.stec_residuals[28].sv_id.constellation, 115, + "incorrect value for stec_residuals[28].sv_id.constellation, expected 115, is {}", + msg.stec_residuals[28].sv_id.constellation + ); assert_eq!( msg.stec_residuals[28].sv_id.sat_id, 105, "incorrect value for stec_residuals[28].sv_id.sat_id, expected 105, is {}", @@ -589,7 +697,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[29].stddev, expected 185, is {}", msg.stec_residuals[29].stddev ); - assert_eq!(msg.stec_residuals[29].sv_id.constellation, 109, "incorrect value for stec_residuals[29].sv_id.constellation, expected 109, is {}", msg.stec_residuals[29].sv_id.constellation); + assert_eq!( + msg.stec_residuals[29].sv_id.constellation, 109, + "incorrect value for stec_residuals[29].sv_id.constellation, expected 109, is {}", + msg.stec_residuals[29].sv_id.constellation + ); assert_eq!( msg.stec_residuals[29].sv_id.sat_id, 44, "incorrect value for stec_residuals[29].sv_id.sat_id, expected 44, is {}", @@ -605,7 +717,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[30].stddev, expected 79, is {}", msg.stec_residuals[30].stddev ); - assert_eq!(msg.stec_residuals[30].sv_id.constellation, 31, "incorrect value for stec_residuals[30].sv_id.constellation, expected 31, is {}", msg.stec_residuals[30].sv_id.constellation); + assert_eq!( + msg.stec_residuals[30].sv_id.constellation, 31, + "incorrect value for stec_residuals[30].sv_id.constellation, expected 31, is {}", + msg.stec_residuals[30].sv_id.constellation + ); assert_eq!( msg.stec_residuals[30].sv_id.sat_id, 67, "incorrect value for stec_residuals[30].sv_id.sat_id, expected 67, is {}", @@ -621,7 +737,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[31].stddev, expected 162, is {}", msg.stec_residuals[31].stddev ); - assert_eq!(msg.stec_residuals[31].sv_id.constellation, 180, "incorrect value for stec_residuals[31].sv_id.constellation, expected 180, is {}", msg.stec_residuals[31].sv_id.constellation); + assert_eq!( + msg.stec_residuals[31].sv_id.constellation, 180, + "incorrect value for stec_residuals[31].sv_id.constellation, expected 180, is {}", + msg.stec_residuals[31].sv_id.constellation + ); assert_eq!( msg.stec_residuals[31].sv_id.sat_id, 189, "incorrect value for stec_residuals[31].sv_id.sat_id, expected 189, is {}", @@ -637,7 +757,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[32].stddev, expected 7, is {}", msg.stec_residuals[32].stddev ); - assert_eq!(msg.stec_residuals[32].sv_id.constellation, 156, "incorrect value for stec_residuals[32].sv_id.constellation, expected 156, is {}", msg.stec_residuals[32].sv_id.constellation); + assert_eq!( + msg.stec_residuals[32].sv_id.constellation, 156, + "incorrect value for stec_residuals[32].sv_id.constellation, expected 156, is {}", + msg.stec_residuals[32].sv_id.constellation + ); assert_eq!( msg.stec_residuals[32].sv_id.sat_id, 121, "incorrect value for stec_residuals[32].sv_id.sat_id, expected 121, is {}", @@ -653,7 +777,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[33].stddev, expected 241, is {}", msg.stec_residuals[33].stddev ); - assert_eq!(msg.stec_residuals[33].sv_id.constellation, 205, "incorrect value for stec_residuals[33].sv_id.constellation, expected 205, is {}", msg.stec_residuals[33].sv_id.constellation); + assert_eq!( + msg.stec_residuals[33].sv_id.constellation, 205, + "incorrect value for stec_residuals[33].sv_id.constellation, expected 205, is {}", + msg.stec_residuals[33].sv_id.constellation + ); assert_eq!( msg.stec_residuals[33].sv_id.sat_id, 7, "incorrect value for stec_residuals[33].sv_id.sat_id, expected 7, is {}", @@ -669,7 +797,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[34].stddev, expected 186, is {}", msg.stec_residuals[34].stddev ); - assert_eq!(msg.stec_residuals[34].sv_id.constellation, 210, "incorrect value for stec_residuals[34].sv_id.constellation, expected 210, is {}", msg.stec_residuals[34].sv_id.constellation); + assert_eq!( + msg.stec_residuals[34].sv_id.constellation, 210, + "incorrect value for stec_residuals[34].sv_id.constellation, expected 210, is {}", + msg.stec_residuals[34].sv_id.constellation + ); assert_eq!( msg.stec_residuals[34].sv_id.sat_id, 129, "incorrect value for stec_residuals[34].sv_id.sat_id, expected 129, is {}", @@ -685,7 +817,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[35].stddev, expected 187, is {}", msg.stec_residuals[35].stddev ); - assert_eq!(msg.stec_residuals[35].sv_id.constellation, 195, "incorrect value for stec_residuals[35].sv_id.constellation, expected 195, is {}", msg.stec_residuals[35].sv_id.constellation); + assert_eq!( + msg.stec_residuals[35].sv_id.constellation, 195, + "incorrect value for stec_residuals[35].sv_id.constellation, expected 195, is {}", + msg.stec_residuals[35].sv_id.constellation + ); assert_eq!( msg.stec_residuals[35].sv_id.sat_id, 208, "incorrect value for stec_residuals[35].sv_id.sat_id, expected 208, is {}", @@ -701,7 +837,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[36].stddev, expected 102, is {}", msg.stec_residuals[36].stddev ); - assert_eq!(msg.stec_residuals[36].sv_id.constellation, 160, "incorrect value for stec_residuals[36].sv_id.constellation, expected 160, is {}", msg.stec_residuals[36].sv_id.constellation); + assert_eq!( + msg.stec_residuals[36].sv_id.constellation, 160, + "incorrect value for stec_residuals[36].sv_id.constellation, expected 160, is {}", + msg.stec_residuals[36].sv_id.constellation + ); assert_eq!( msg.stec_residuals[36].sv_id.sat_id, 219, "incorrect value for stec_residuals[36].sv_id.sat_id, expected 219, is {}", @@ -717,7 +857,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[37].stddev, expected 94, is {}", msg.stec_residuals[37].stddev ); - assert_eq!(msg.stec_residuals[37].sv_id.constellation, 42, "incorrect value for stec_residuals[37].sv_id.constellation, expected 42, is {}", msg.stec_residuals[37].sv_id.constellation); + assert_eq!( + msg.stec_residuals[37].sv_id.constellation, 42, + "incorrect value for stec_residuals[37].sv_id.constellation, expected 42, is {}", + msg.stec_residuals[37].sv_id.constellation + ); assert_eq!( msg.stec_residuals[37].sv_id.sat_id, 166, "incorrect value for stec_residuals[37].sv_id.sat_id, expected 166, is {}", @@ -733,7 +877,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[38].stddev, expected 35, is {}", msg.stec_residuals[38].stddev ); - assert_eq!(msg.stec_residuals[38].sv_id.constellation, 156, "incorrect value for stec_residuals[38].sv_id.constellation, expected 156, is {}", msg.stec_residuals[38].sv_id.constellation); + assert_eq!( + msg.stec_residuals[38].sv_id.constellation, 156, + "incorrect value for stec_residuals[38].sv_id.constellation, expected 156, is {}", + msg.stec_residuals[38].sv_id.constellation + ); assert_eq!( msg.stec_residuals[38].sv_id.sat_id, 102, "incorrect value for stec_residuals[38].sv_id.sat_id, expected 102, is {}", @@ -749,7 +897,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[39].stddev, expected 204, is {}", msg.stec_residuals[39].stddev ); - assert_eq!(msg.stec_residuals[39].sv_id.constellation, 64, "incorrect value for stec_residuals[39].sv_id.constellation, expected 64, is {}", msg.stec_residuals[39].sv_id.constellation); + assert_eq!( + msg.stec_residuals[39].sv_id.constellation, 64, + "incorrect value for stec_residuals[39].sv_id.constellation, expected 64, is {}", + msg.stec_residuals[39].sv_id.constellation + ); assert_eq!( msg.stec_residuals[39].sv_id.sat_id, 247, "incorrect value for stec_residuals[39].sv_id.sat_id, expected 247, is {}", @@ -765,7 +917,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[40].stddev, expected 222, is {}", msg.stec_residuals[40].stddev ); - assert_eq!(msg.stec_residuals[40].sv_id.constellation, 32, "incorrect value for stec_residuals[40].sv_id.constellation, expected 32, is {}", msg.stec_residuals[40].sv_id.constellation); + assert_eq!( + msg.stec_residuals[40].sv_id.constellation, 32, + "incorrect value for stec_residuals[40].sv_id.constellation, expected 32, is {}", + msg.stec_residuals[40].sv_id.constellation + ); assert_eq!( msg.stec_residuals[40].sv_id.sat_id, 220, "incorrect value for stec_residuals[40].sv_id.sat_id, expected 220, is {}", @@ -781,7 +937,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[41].stddev, expected 45, is {}", msg.stec_residuals[41].stddev ); - assert_eq!(msg.stec_residuals[41].sv_id.constellation, 246, "incorrect value for stec_residuals[41].sv_id.constellation, expected 246, is {}", msg.stec_residuals[41].sv_id.constellation); + assert_eq!( + msg.stec_residuals[41].sv_id.constellation, 246, + "incorrect value for stec_residuals[41].sv_id.constellation, expected 246, is {}", + msg.stec_residuals[41].sv_id.constellation + ); assert_eq!( msg.stec_residuals[41].sv_id.sat_id, 201, "incorrect value for stec_residuals[41].sv_id.sat_id, expected 201, is {}", @@ -797,7 +957,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[42].stddev, expected 218, is {}", msg.stec_residuals[42].stddev ); - assert_eq!(msg.stec_residuals[42].sv_id.constellation, 239, "incorrect value for stec_residuals[42].sv_id.constellation, expected 239, is {}", msg.stec_residuals[42].sv_id.constellation); + assert_eq!( + msg.stec_residuals[42].sv_id.constellation, 239, + "incorrect value for stec_residuals[42].sv_id.constellation, expected 239, is {}", + msg.stec_residuals[42].sv_id.constellation + ); assert_eq!( msg.stec_residuals[42].sv_id.sat_id, 251, "incorrect value for stec_residuals[42].sv_id.sat_id, expected 251, is {}", @@ -813,7 +977,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[43].stddev, expected 175, is {}", msg.stec_residuals[43].stddev ); - assert_eq!(msg.stec_residuals[43].sv_id.constellation, 209, "incorrect value for stec_residuals[43].sv_id.constellation, expected 209, is {}", msg.stec_residuals[43].sv_id.constellation); + assert_eq!( + msg.stec_residuals[43].sv_id.constellation, 209, + "incorrect value for stec_residuals[43].sv_id.constellation, expected 209, is {}", + msg.stec_residuals[43].sv_id.constellation + ); assert_eq!( msg.stec_residuals[43].sv_id.sat_id, 10, "incorrect value for stec_residuals[43].sv_id.sat_id, expected 10, is {}", @@ -829,7 +997,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[44].stddev, expected 137, is {}", msg.stec_residuals[44].stddev ); - assert_eq!(msg.stec_residuals[44].sv_id.constellation, 194, "incorrect value for stec_residuals[44].sv_id.constellation, expected 194, is {}", msg.stec_residuals[44].sv_id.constellation); + assert_eq!( + msg.stec_residuals[44].sv_id.constellation, 194, + "incorrect value for stec_residuals[44].sv_id.constellation, expected 194, is {}", + msg.stec_residuals[44].sv_id.constellation + ); assert_eq!( msg.stec_residuals[44].sv_id.sat_id, 131, "incorrect value for stec_residuals[44].sv_id.sat_id, expected 131, is {}", @@ -845,7 +1017,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[45].stddev, expected 42, is {}", msg.stec_residuals[45].stddev ); - assert_eq!(msg.stec_residuals[45].sv_id.constellation, 68, "incorrect value for stec_residuals[45].sv_id.constellation, expected 68, is {}", msg.stec_residuals[45].sv_id.constellation); + assert_eq!( + msg.stec_residuals[45].sv_id.constellation, 68, + "incorrect value for stec_residuals[45].sv_id.constellation, expected 68, is {}", + msg.stec_residuals[45].sv_id.constellation + ); assert_eq!( msg.stec_residuals[45].sv_id.sat_id, 17, "incorrect value for stec_residuals[45].sv_id.sat_id, expected 17, is {}", @@ -977,7 +1153,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[0].stddev, expected 88, is {}", msg.stec_residuals[0].stddev ); - assert_eq!(msg.stec_residuals[0].sv_id.constellation, 101, "incorrect value for stec_residuals[0].sv_id.constellation, expected 101, is {}", msg.stec_residuals[0].sv_id.constellation); + assert_eq!( + msg.stec_residuals[0].sv_id.constellation, 101, + "incorrect value for stec_residuals[0].sv_id.constellation, expected 101, is {}", + msg.stec_residuals[0].sv_id.constellation + ); assert_eq!( msg.stec_residuals[0].sv_id.sat_id, 140, "incorrect value for stec_residuals[0].sv_id.sat_id, expected 140, is {}", @@ -993,7 +1173,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[1].stddev, expected 115, is {}", msg.stec_residuals[1].stddev ); - assert_eq!(msg.stec_residuals[1].sv_id.constellation, 180, "incorrect value for stec_residuals[1].sv_id.constellation, expected 180, is {}", msg.stec_residuals[1].sv_id.constellation); + assert_eq!( + msg.stec_residuals[1].sv_id.constellation, 180, + "incorrect value for stec_residuals[1].sv_id.constellation, expected 180, is {}", + msg.stec_residuals[1].sv_id.constellation + ); assert_eq!( msg.stec_residuals[1].sv_id.sat_id, 70, "incorrect value for stec_residuals[1].sv_id.sat_id, expected 70, is {}", @@ -1009,7 +1193,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[2].stddev, expected 135, is {}", msg.stec_residuals[2].stddev ); - assert_eq!(msg.stec_residuals[2].sv_id.constellation, 201, "incorrect value for stec_residuals[2].sv_id.constellation, expected 201, is {}", msg.stec_residuals[2].sv_id.constellation); + assert_eq!( + msg.stec_residuals[2].sv_id.constellation, 201, + "incorrect value for stec_residuals[2].sv_id.constellation, expected 201, is {}", + msg.stec_residuals[2].sv_id.constellation + ); assert_eq!( msg.stec_residuals[2].sv_id.sat_id, 78, "incorrect value for stec_residuals[2].sv_id.sat_id, expected 78, is {}", @@ -1045,7 +1233,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[4].stddev, expected 58, is {}", msg.stec_residuals[4].stddev ); - assert_eq!(msg.stec_residuals[4].sv_id.constellation, 229, "incorrect value for stec_residuals[4].sv_id.constellation, expected 229, is {}", msg.stec_residuals[4].sv_id.constellation); + assert_eq!( + msg.stec_residuals[4].sv_id.constellation, 229, + "incorrect value for stec_residuals[4].sv_id.constellation, expected 229, is {}", + msg.stec_residuals[4].sv_id.constellation + ); assert_eq!( msg.stec_residuals[4].sv_id.sat_id, 120, "incorrect value for stec_residuals[4].sv_id.sat_id, expected 120, is {}", @@ -1061,7 +1253,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[5].stddev, expected 172, is {}", msg.stec_residuals[5].stddev ); - assert_eq!(msg.stec_residuals[5].sv_id.constellation, 234, "incorrect value for stec_residuals[5].sv_id.constellation, expected 234, is {}", msg.stec_residuals[5].sv_id.constellation); + assert_eq!( + msg.stec_residuals[5].sv_id.constellation, 234, + "incorrect value for stec_residuals[5].sv_id.constellation, expected 234, is {}", + msg.stec_residuals[5].sv_id.constellation + ); assert_eq!( msg.stec_residuals[5].sv_id.sat_id, 169, "incorrect value for stec_residuals[5].sv_id.sat_id, expected 169, is {}", @@ -1077,7 +1273,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[6].stddev, expected 150, is {}", msg.stec_residuals[6].stddev ); - assert_eq!(msg.stec_residuals[6].sv_id.constellation, 127, "incorrect value for stec_residuals[6].sv_id.constellation, expected 127, is {}", msg.stec_residuals[6].sv_id.constellation); + assert_eq!( + msg.stec_residuals[6].sv_id.constellation, 127, + "incorrect value for stec_residuals[6].sv_id.constellation, expected 127, is {}", + msg.stec_residuals[6].sv_id.constellation + ); assert_eq!( msg.stec_residuals[6].sv_id.sat_id, 191, "incorrect value for stec_residuals[6].sv_id.sat_id, expected 191, is {}", @@ -1093,7 +1293,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[7].stddev, expected 17, is {}", msg.stec_residuals[7].stddev ); - assert_eq!(msg.stec_residuals[7].sv_id.constellation, 111, "incorrect value for stec_residuals[7].sv_id.constellation, expected 111, is {}", msg.stec_residuals[7].sv_id.constellation); + assert_eq!( + msg.stec_residuals[7].sv_id.constellation, 111, + "incorrect value for stec_residuals[7].sv_id.constellation, expected 111, is {}", + msg.stec_residuals[7].sv_id.constellation + ); assert_eq!( msg.stec_residuals[7].sv_id.sat_id, 91, "incorrect value for stec_residuals[7].sv_id.sat_id, expected 91, is {}", @@ -1129,7 +1333,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[9].stddev, expected 156, is {}", msg.stec_residuals[9].stddev ); - assert_eq!(msg.stec_residuals[9].sv_id.constellation, 221, "incorrect value for stec_residuals[9].sv_id.constellation, expected 221, is {}", msg.stec_residuals[9].sv_id.constellation); + assert_eq!( + msg.stec_residuals[9].sv_id.constellation, 221, + "incorrect value for stec_residuals[9].sv_id.constellation, expected 221, is {}", + msg.stec_residuals[9].sv_id.constellation + ); assert_eq!( msg.stec_residuals[9].sv_id.sat_id, 57, "incorrect value for stec_residuals[9].sv_id.sat_id, expected 57, is {}", @@ -1145,7 +1353,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[10].stddev, expected 8, is {}", msg.stec_residuals[10].stddev ); - assert_eq!(msg.stec_residuals[10].sv_id.constellation, 156, "incorrect value for stec_residuals[10].sv_id.constellation, expected 156, is {}", msg.stec_residuals[10].sv_id.constellation); + assert_eq!( + msg.stec_residuals[10].sv_id.constellation, 156, + "incorrect value for stec_residuals[10].sv_id.constellation, expected 156, is {}", + msg.stec_residuals[10].sv_id.constellation + ); assert_eq!( msg.stec_residuals[10].sv_id.sat_id, 70, "incorrect value for stec_residuals[10].sv_id.sat_id, expected 70, is {}", @@ -1161,7 +1373,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[11].stddev, expected 115, is {}", msg.stec_residuals[11].stddev ); - assert_eq!(msg.stec_residuals[11].sv_id.constellation, 58, "incorrect value for stec_residuals[11].sv_id.constellation, expected 58, is {}", msg.stec_residuals[11].sv_id.constellation); + assert_eq!( + msg.stec_residuals[11].sv_id.constellation, 58, + "incorrect value for stec_residuals[11].sv_id.constellation, expected 58, is {}", + msg.stec_residuals[11].sv_id.constellation + ); assert_eq!( msg.stec_residuals[11].sv_id.sat_id, 127, "incorrect value for stec_residuals[11].sv_id.sat_id, expected 127, is {}", @@ -1177,7 +1393,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[12].stddev, expected 124, is {}", msg.stec_residuals[12].stddev ); - assert_eq!(msg.stec_residuals[12].sv_id.constellation, 157, "incorrect value for stec_residuals[12].sv_id.constellation, expected 157, is {}", msg.stec_residuals[12].sv_id.constellation); + assert_eq!( + msg.stec_residuals[12].sv_id.constellation, 157, + "incorrect value for stec_residuals[12].sv_id.constellation, expected 157, is {}", + msg.stec_residuals[12].sv_id.constellation + ); assert_eq!( msg.stec_residuals[12].sv_id.sat_id, 80, "incorrect value for stec_residuals[12].sv_id.sat_id, expected 80, is {}", @@ -1193,7 +1413,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[13].stddev, expected 204, is {}", msg.stec_residuals[13].stddev ); - assert_eq!(msg.stec_residuals[13].sv_id.constellation, 128, "incorrect value for stec_residuals[13].sv_id.constellation, expected 128, is {}", msg.stec_residuals[13].sv_id.constellation); + assert_eq!( + msg.stec_residuals[13].sv_id.constellation, 128, + "incorrect value for stec_residuals[13].sv_id.constellation, expected 128, is {}", + msg.stec_residuals[13].sv_id.constellation + ); assert_eq!( msg.stec_residuals[13].sv_id.sat_id, 27, "incorrect value for stec_residuals[13].sv_id.sat_id, expected 27, is {}", @@ -1209,7 +1433,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[14].stddev, expected 148, is {}", msg.stec_residuals[14].stddev ); - assert_eq!(msg.stec_residuals[14].sv_id.constellation, 238, "incorrect value for stec_residuals[14].sv_id.constellation, expected 238, is {}", msg.stec_residuals[14].sv_id.constellation); + assert_eq!( + msg.stec_residuals[14].sv_id.constellation, 238, + "incorrect value for stec_residuals[14].sv_id.constellation, expected 238, is {}", + msg.stec_residuals[14].sv_id.constellation + ); assert_eq!( msg.stec_residuals[14].sv_id.sat_id, 75, "incorrect value for stec_residuals[14].sv_id.sat_id, expected 75, is {}", @@ -1225,7 +1453,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[15].stddev, expected 149, is {}", msg.stec_residuals[15].stddev ); - assert_eq!(msg.stec_residuals[15].sv_id.constellation, 61, "incorrect value for stec_residuals[15].sv_id.constellation, expected 61, is {}", msg.stec_residuals[15].sv_id.constellation); + assert_eq!( + msg.stec_residuals[15].sv_id.constellation, 61, + "incorrect value for stec_residuals[15].sv_id.constellation, expected 61, is {}", + msg.stec_residuals[15].sv_id.constellation + ); assert_eq!( msg.stec_residuals[15].sv_id.sat_id, 248, "incorrect value for stec_residuals[15].sv_id.sat_id, expected 248, is {}", @@ -1241,7 +1473,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[16].stddev, expected 186, is {}", msg.stec_residuals[16].stddev ); - assert_eq!(msg.stec_residuals[16].sv_id.constellation, 224, "incorrect value for stec_residuals[16].sv_id.constellation, expected 224, is {}", msg.stec_residuals[16].sv_id.constellation); + assert_eq!( + msg.stec_residuals[16].sv_id.constellation, 224, + "incorrect value for stec_residuals[16].sv_id.constellation, expected 224, is {}", + msg.stec_residuals[16].sv_id.constellation + ); assert_eq!( msg.stec_residuals[16].sv_id.sat_id, 167, "incorrect value for stec_residuals[16].sv_id.sat_id, expected 167, is {}", @@ -1257,7 +1493,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[17].stddev, expected 100, is {}", msg.stec_residuals[17].stddev ); - assert_eq!(msg.stec_residuals[17].sv_id.constellation, 227, "incorrect value for stec_residuals[17].sv_id.constellation, expected 227, is {}", msg.stec_residuals[17].sv_id.constellation); + assert_eq!( + msg.stec_residuals[17].sv_id.constellation, 227, + "incorrect value for stec_residuals[17].sv_id.constellation, expected 227, is {}", + msg.stec_residuals[17].sv_id.constellation + ); assert_eq!( msg.stec_residuals[17].sv_id.sat_id, 157, "incorrect value for stec_residuals[17].sv_id.sat_id, expected 157, is {}", @@ -1273,7 +1513,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[18].stddev, expected 59, is {}", msg.stec_residuals[18].stddev ); - assert_eq!(msg.stec_residuals[18].sv_id.constellation, 12, "incorrect value for stec_residuals[18].sv_id.constellation, expected 12, is {}", msg.stec_residuals[18].sv_id.constellation); + assert_eq!( + msg.stec_residuals[18].sv_id.constellation, 12, + "incorrect value for stec_residuals[18].sv_id.constellation, expected 12, is {}", + msg.stec_residuals[18].sv_id.constellation + ); assert_eq!( msg.stec_residuals[18].sv_id.sat_id, 35, "incorrect value for stec_residuals[18].sv_id.sat_id, expected 35, is {}", @@ -1289,7 +1533,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[19].stddev, expected 24, is {}", msg.stec_residuals[19].stddev ); - assert_eq!(msg.stec_residuals[19].sv_id.constellation, 81, "incorrect value for stec_residuals[19].sv_id.constellation, expected 81, is {}", msg.stec_residuals[19].sv_id.constellation); + assert_eq!( + msg.stec_residuals[19].sv_id.constellation, 81, + "incorrect value for stec_residuals[19].sv_id.constellation, expected 81, is {}", + msg.stec_residuals[19].sv_id.constellation + ); assert_eq!( msg.stec_residuals[19].sv_id.sat_id, 176, "incorrect value for stec_residuals[19].sv_id.sat_id, expected 176, is {}", @@ -1305,7 +1553,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[20].stddev, expected 45, is {}", msg.stec_residuals[20].stddev ); - assert_eq!(msg.stec_residuals[20].sv_id.constellation, 67, "incorrect value for stec_residuals[20].sv_id.constellation, expected 67, is {}", msg.stec_residuals[20].sv_id.constellation); + assert_eq!( + msg.stec_residuals[20].sv_id.constellation, 67, + "incorrect value for stec_residuals[20].sv_id.constellation, expected 67, is {}", + msg.stec_residuals[20].sv_id.constellation + ); assert_eq!( msg.stec_residuals[20].sv_id.sat_id, 155, "incorrect value for stec_residuals[20].sv_id.sat_id, expected 155, is {}", @@ -1321,7 +1573,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[21].stddev, expected 183, is {}", msg.stec_residuals[21].stddev ); - assert_eq!(msg.stec_residuals[21].sv_id.constellation, 44, "incorrect value for stec_residuals[21].sv_id.constellation, expected 44, is {}", msg.stec_residuals[21].sv_id.constellation); + assert_eq!( + msg.stec_residuals[21].sv_id.constellation, 44, + "incorrect value for stec_residuals[21].sv_id.constellation, expected 44, is {}", + msg.stec_residuals[21].sv_id.constellation + ); assert_eq!( msg.stec_residuals[21].sv_id.sat_id, 203, "incorrect value for stec_residuals[21].sv_id.sat_id, expected 203, is {}", @@ -1337,7 +1593,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[22].stddev, expected 253, is {}", msg.stec_residuals[22].stddev ); - assert_eq!(msg.stec_residuals[22].sv_id.constellation, 176, "incorrect value for stec_residuals[22].sv_id.constellation, expected 176, is {}", msg.stec_residuals[22].sv_id.constellation); + assert_eq!( + msg.stec_residuals[22].sv_id.constellation, 176, + "incorrect value for stec_residuals[22].sv_id.constellation, expected 176, is {}", + msg.stec_residuals[22].sv_id.constellation + ); assert_eq!( msg.stec_residuals[22].sv_id.sat_id, 231, "incorrect value for stec_residuals[22].sv_id.sat_id, expected 231, is {}", @@ -1353,7 +1613,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[23].stddev, expected 116, is {}", msg.stec_residuals[23].stddev ); - assert_eq!(msg.stec_residuals[23].sv_id.constellation, 103, "incorrect value for stec_residuals[23].sv_id.constellation, expected 103, is {}", msg.stec_residuals[23].sv_id.constellation); + assert_eq!( + msg.stec_residuals[23].sv_id.constellation, 103, + "incorrect value for stec_residuals[23].sv_id.constellation, expected 103, is {}", + msg.stec_residuals[23].sv_id.constellation + ); assert_eq!( msg.stec_residuals[23].sv_id.sat_id, 247, "incorrect value for stec_residuals[23].sv_id.sat_id, expected 247, is {}", @@ -1369,7 +1633,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[24].stddev, expected 240, is {}", msg.stec_residuals[24].stddev ); - assert_eq!(msg.stec_residuals[24].sv_id.constellation, 23, "incorrect value for stec_residuals[24].sv_id.constellation, expected 23, is {}", msg.stec_residuals[24].sv_id.constellation); + assert_eq!( + msg.stec_residuals[24].sv_id.constellation, 23, + "incorrect value for stec_residuals[24].sv_id.constellation, expected 23, is {}", + msg.stec_residuals[24].sv_id.constellation + ); assert_eq!( msg.stec_residuals[24].sv_id.sat_id, 148, "incorrect value for stec_residuals[24].sv_id.sat_id, expected 148, is {}", @@ -1385,7 +1653,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[25].stddev, expected 242, is {}", msg.stec_residuals[25].stddev ); - assert_eq!(msg.stec_residuals[25].sv_id.constellation, 219, "incorrect value for stec_residuals[25].sv_id.constellation, expected 219, is {}", msg.stec_residuals[25].sv_id.constellation); + assert_eq!( + msg.stec_residuals[25].sv_id.constellation, 219, + "incorrect value for stec_residuals[25].sv_id.constellation, expected 219, is {}", + msg.stec_residuals[25].sv_id.constellation + ); assert_eq!( msg.stec_residuals[25].sv_id.sat_id, 29, "incorrect value for stec_residuals[25].sv_id.sat_id, expected 29, is {}", @@ -1401,7 +1673,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[26].stddev, expected 37, is {}", msg.stec_residuals[26].stddev ); - assert_eq!(msg.stec_residuals[26].sv_id.constellation, 72, "incorrect value for stec_residuals[26].sv_id.constellation, expected 72, is {}", msg.stec_residuals[26].sv_id.constellation); + assert_eq!( + msg.stec_residuals[26].sv_id.constellation, 72, + "incorrect value for stec_residuals[26].sv_id.constellation, expected 72, is {}", + msg.stec_residuals[26].sv_id.constellation + ); assert_eq!( msg.stec_residuals[26].sv_id.sat_id, 207, "incorrect value for stec_residuals[26].sv_id.sat_id, expected 207, is {}", @@ -1417,7 +1693,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[27].stddev, expected 91, is {}", msg.stec_residuals[27].stddev ); - assert_eq!(msg.stec_residuals[27].sv_id.constellation, 176, "incorrect value for stec_residuals[27].sv_id.constellation, expected 176, is {}", msg.stec_residuals[27].sv_id.constellation); + assert_eq!( + msg.stec_residuals[27].sv_id.constellation, 176, + "incorrect value for stec_residuals[27].sv_id.constellation, expected 176, is {}", + msg.stec_residuals[27].sv_id.constellation + ); assert_eq!( msg.stec_residuals[27].sv_id.sat_id, 42, "incorrect value for stec_residuals[27].sv_id.sat_id, expected 42, is {}", @@ -1433,7 +1713,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[28].stddev, expected 110, is {}", msg.stec_residuals[28].stddev ); - assert_eq!(msg.stec_residuals[28].sv_id.constellation, 115, "incorrect value for stec_residuals[28].sv_id.constellation, expected 115, is {}", msg.stec_residuals[28].sv_id.constellation); + assert_eq!( + msg.stec_residuals[28].sv_id.constellation, 115, + "incorrect value for stec_residuals[28].sv_id.constellation, expected 115, is {}", + msg.stec_residuals[28].sv_id.constellation + ); assert_eq!( msg.stec_residuals[28].sv_id.sat_id, 105, "incorrect value for stec_residuals[28].sv_id.sat_id, expected 105, is {}", @@ -1449,7 +1733,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[29].stddev, expected 185, is {}", msg.stec_residuals[29].stddev ); - assert_eq!(msg.stec_residuals[29].sv_id.constellation, 109, "incorrect value for stec_residuals[29].sv_id.constellation, expected 109, is {}", msg.stec_residuals[29].sv_id.constellation); + assert_eq!( + msg.stec_residuals[29].sv_id.constellation, 109, + "incorrect value for stec_residuals[29].sv_id.constellation, expected 109, is {}", + msg.stec_residuals[29].sv_id.constellation + ); assert_eq!( msg.stec_residuals[29].sv_id.sat_id, 44, "incorrect value for stec_residuals[29].sv_id.sat_id, expected 44, is {}", @@ -1465,7 +1753,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[30].stddev, expected 79, is {}", msg.stec_residuals[30].stddev ); - assert_eq!(msg.stec_residuals[30].sv_id.constellation, 31, "incorrect value for stec_residuals[30].sv_id.constellation, expected 31, is {}", msg.stec_residuals[30].sv_id.constellation); + assert_eq!( + msg.stec_residuals[30].sv_id.constellation, 31, + "incorrect value for stec_residuals[30].sv_id.constellation, expected 31, is {}", + msg.stec_residuals[30].sv_id.constellation + ); assert_eq!( msg.stec_residuals[30].sv_id.sat_id, 67, "incorrect value for stec_residuals[30].sv_id.sat_id, expected 67, is {}", @@ -1481,7 +1773,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[31].stddev, expected 162, is {}", msg.stec_residuals[31].stddev ); - assert_eq!(msg.stec_residuals[31].sv_id.constellation, 180, "incorrect value for stec_residuals[31].sv_id.constellation, expected 180, is {}", msg.stec_residuals[31].sv_id.constellation); + assert_eq!( + msg.stec_residuals[31].sv_id.constellation, 180, + "incorrect value for stec_residuals[31].sv_id.constellation, expected 180, is {}", + msg.stec_residuals[31].sv_id.constellation + ); assert_eq!( msg.stec_residuals[31].sv_id.sat_id, 189, "incorrect value for stec_residuals[31].sv_id.sat_id, expected 189, is {}", @@ -1497,7 +1793,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[32].stddev, expected 7, is {}", msg.stec_residuals[32].stddev ); - assert_eq!(msg.stec_residuals[32].sv_id.constellation, 156, "incorrect value for stec_residuals[32].sv_id.constellation, expected 156, is {}", msg.stec_residuals[32].sv_id.constellation); + assert_eq!( + msg.stec_residuals[32].sv_id.constellation, 156, + "incorrect value for stec_residuals[32].sv_id.constellation, expected 156, is {}", + msg.stec_residuals[32].sv_id.constellation + ); assert_eq!( msg.stec_residuals[32].sv_id.sat_id, 121, "incorrect value for stec_residuals[32].sv_id.sat_id, expected 121, is {}", @@ -1513,7 +1813,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[33].stddev, expected 241, is {}", msg.stec_residuals[33].stddev ); - assert_eq!(msg.stec_residuals[33].sv_id.constellation, 205, "incorrect value for stec_residuals[33].sv_id.constellation, expected 205, is {}", msg.stec_residuals[33].sv_id.constellation); + assert_eq!( + msg.stec_residuals[33].sv_id.constellation, 205, + "incorrect value for stec_residuals[33].sv_id.constellation, expected 205, is {}", + msg.stec_residuals[33].sv_id.constellation + ); assert_eq!( msg.stec_residuals[33].sv_id.sat_id, 7, "incorrect value for stec_residuals[33].sv_id.sat_id, expected 7, is {}", @@ -1529,7 +1833,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[34].stddev, expected 186, is {}", msg.stec_residuals[34].stddev ); - assert_eq!(msg.stec_residuals[34].sv_id.constellation, 210, "incorrect value for stec_residuals[34].sv_id.constellation, expected 210, is {}", msg.stec_residuals[34].sv_id.constellation); + assert_eq!( + msg.stec_residuals[34].sv_id.constellation, 210, + "incorrect value for stec_residuals[34].sv_id.constellation, expected 210, is {}", + msg.stec_residuals[34].sv_id.constellation + ); assert_eq!( msg.stec_residuals[34].sv_id.sat_id, 129, "incorrect value for stec_residuals[34].sv_id.sat_id, expected 129, is {}", @@ -1545,7 +1853,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[35].stddev, expected 187, is {}", msg.stec_residuals[35].stddev ); - assert_eq!(msg.stec_residuals[35].sv_id.constellation, 195, "incorrect value for stec_residuals[35].sv_id.constellation, expected 195, is {}", msg.stec_residuals[35].sv_id.constellation); + assert_eq!( + msg.stec_residuals[35].sv_id.constellation, 195, + "incorrect value for stec_residuals[35].sv_id.constellation, expected 195, is {}", + msg.stec_residuals[35].sv_id.constellation + ); assert_eq!( msg.stec_residuals[35].sv_id.sat_id, 208, "incorrect value for stec_residuals[35].sv_id.sat_id, expected 208, is {}", @@ -1561,7 +1873,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[36].stddev, expected 102, is {}", msg.stec_residuals[36].stddev ); - assert_eq!(msg.stec_residuals[36].sv_id.constellation, 160, "incorrect value for stec_residuals[36].sv_id.constellation, expected 160, is {}", msg.stec_residuals[36].sv_id.constellation); + assert_eq!( + msg.stec_residuals[36].sv_id.constellation, 160, + "incorrect value for stec_residuals[36].sv_id.constellation, expected 160, is {}", + msg.stec_residuals[36].sv_id.constellation + ); assert_eq!( msg.stec_residuals[36].sv_id.sat_id, 219, "incorrect value for stec_residuals[36].sv_id.sat_id, expected 219, is {}", @@ -1577,7 +1893,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[37].stddev, expected 94, is {}", msg.stec_residuals[37].stddev ); - assert_eq!(msg.stec_residuals[37].sv_id.constellation, 42, "incorrect value for stec_residuals[37].sv_id.constellation, expected 42, is {}", msg.stec_residuals[37].sv_id.constellation); + assert_eq!( + msg.stec_residuals[37].sv_id.constellation, 42, + "incorrect value for stec_residuals[37].sv_id.constellation, expected 42, is {}", + msg.stec_residuals[37].sv_id.constellation + ); assert_eq!( msg.stec_residuals[37].sv_id.sat_id, 166, "incorrect value for stec_residuals[37].sv_id.sat_id, expected 166, is {}", @@ -1593,7 +1913,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[38].stddev, expected 35, is {}", msg.stec_residuals[38].stddev ); - assert_eq!(msg.stec_residuals[38].sv_id.constellation, 156, "incorrect value for stec_residuals[38].sv_id.constellation, expected 156, is {}", msg.stec_residuals[38].sv_id.constellation); + assert_eq!( + msg.stec_residuals[38].sv_id.constellation, 156, + "incorrect value for stec_residuals[38].sv_id.constellation, expected 156, is {}", + msg.stec_residuals[38].sv_id.constellation + ); assert_eq!( msg.stec_residuals[38].sv_id.sat_id, 102, "incorrect value for stec_residuals[38].sv_id.sat_id, expected 102, is {}", @@ -1609,7 +1933,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[39].stddev, expected 204, is {}", msg.stec_residuals[39].stddev ); - assert_eq!(msg.stec_residuals[39].sv_id.constellation, 64, "incorrect value for stec_residuals[39].sv_id.constellation, expected 64, is {}", msg.stec_residuals[39].sv_id.constellation); + assert_eq!( + msg.stec_residuals[39].sv_id.constellation, 64, + "incorrect value for stec_residuals[39].sv_id.constellation, expected 64, is {}", + msg.stec_residuals[39].sv_id.constellation + ); assert_eq!( msg.stec_residuals[39].sv_id.sat_id, 247, "incorrect value for stec_residuals[39].sv_id.sat_id, expected 247, is {}", @@ -1625,7 +1953,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[40].stddev, expected 222, is {}", msg.stec_residuals[40].stddev ); - assert_eq!(msg.stec_residuals[40].sv_id.constellation, 32, "incorrect value for stec_residuals[40].sv_id.constellation, expected 32, is {}", msg.stec_residuals[40].sv_id.constellation); + assert_eq!( + msg.stec_residuals[40].sv_id.constellation, 32, + "incorrect value for stec_residuals[40].sv_id.constellation, expected 32, is {}", + msg.stec_residuals[40].sv_id.constellation + ); assert_eq!( msg.stec_residuals[40].sv_id.sat_id, 220, "incorrect value for stec_residuals[40].sv_id.sat_id, expected 220, is {}", @@ -1641,7 +1973,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[41].stddev, expected 45, is {}", msg.stec_residuals[41].stddev ); - assert_eq!(msg.stec_residuals[41].sv_id.constellation, 246, "incorrect value for stec_residuals[41].sv_id.constellation, expected 246, is {}", msg.stec_residuals[41].sv_id.constellation); + assert_eq!( + msg.stec_residuals[41].sv_id.constellation, 246, + "incorrect value for stec_residuals[41].sv_id.constellation, expected 246, is {}", + msg.stec_residuals[41].sv_id.constellation + ); assert_eq!( msg.stec_residuals[41].sv_id.sat_id, 201, "incorrect value for stec_residuals[41].sv_id.sat_id, expected 201, is {}", @@ -1657,7 +1993,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[42].stddev, expected 218, is {}", msg.stec_residuals[42].stddev ); - assert_eq!(msg.stec_residuals[42].sv_id.constellation, 239, "incorrect value for stec_residuals[42].sv_id.constellation, expected 239, is {}", msg.stec_residuals[42].sv_id.constellation); + assert_eq!( + msg.stec_residuals[42].sv_id.constellation, 239, + "incorrect value for stec_residuals[42].sv_id.constellation, expected 239, is {}", + msg.stec_residuals[42].sv_id.constellation + ); assert_eq!( msg.stec_residuals[42].sv_id.sat_id, 251, "incorrect value for stec_residuals[42].sv_id.sat_id, expected 251, is {}", @@ -1673,7 +2013,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[43].stddev, expected 175, is {}", msg.stec_residuals[43].stddev ); - assert_eq!(msg.stec_residuals[43].sv_id.constellation, 209, "incorrect value for stec_residuals[43].sv_id.constellation, expected 209, is {}", msg.stec_residuals[43].sv_id.constellation); + assert_eq!( + msg.stec_residuals[43].sv_id.constellation, 209, + "incorrect value for stec_residuals[43].sv_id.constellation, expected 209, is {}", + msg.stec_residuals[43].sv_id.constellation + ); assert_eq!( msg.stec_residuals[43].sv_id.sat_id, 10, "incorrect value for stec_residuals[43].sv_id.sat_id, expected 10, is {}", @@ -1689,7 +2033,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[44].stddev, expected 137, is {}", msg.stec_residuals[44].stddev ); - assert_eq!(msg.stec_residuals[44].sv_id.constellation, 194, "incorrect value for stec_residuals[44].sv_id.constellation, expected 194, is {}", msg.stec_residuals[44].sv_id.constellation); + assert_eq!( + msg.stec_residuals[44].sv_id.constellation, 194, + "incorrect value for stec_residuals[44].sv_id.constellation, expected 194, is {}", + msg.stec_residuals[44].sv_id.constellation + ); assert_eq!( msg.stec_residuals[44].sv_id.sat_id, 131, "incorrect value for stec_residuals[44].sv_id.sat_id, expected 131, is {}", @@ -1705,7 +2053,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[45].stddev, expected 42, is {}", msg.stec_residuals[45].stddev ); - assert_eq!(msg.stec_residuals[45].sv_id.constellation, 68, "incorrect value for stec_residuals[45].sv_id.constellation, expected 68, is {}", msg.stec_residuals[45].sv_id.constellation); + assert_eq!( + msg.stec_residuals[45].sv_id.constellation, 68, + "incorrect value for stec_residuals[45].sv_id.constellation, expected 68, is {}", + msg.stec_residuals[45].sv_id.constellation + ); assert_eq!( msg.stec_residuals[45].sv_id.sat_id, 17, "incorrect value for stec_residuals[45].sv_id.sat_id, expected 17, is {}", @@ -1857,7 +2209,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[0].stddev, expected 88, is {}", msg.stec_residuals[0].stddev ); - assert_eq!(msg.stec_residuals[0].sv_id.constellation, 101, "incorrect value for stec_residuals[0].sv_id.constellation, expected 101, is {}", msg.stec_residuals[0].sv_id.constellation); + assert_eq!( + msg.stec_residuals[0].sv_id.constellation, 101, + "incorrect value for stec_residuals[0].sv_id.constellation, expected 101, is {}", + msg.stec_residuals[0].sv_id.constellation + ); assert_eq!( msg.stec_residuals[0].sv_id.sat_id, 140, "incorrect value for stec_residuals[0].sv_id.sat_id, expected 140, is {}", @@ -1873,7 +2229,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[1].stddev, expected 115, is {}", msg.stec_residuals[1].stddev ); - assert_eq!(msg.stec_residuals[1].sv_id.constellation, 180, "incorrect value for stec_residuals[1].sv_id.constellation, expected 180, is {}", msg.stec_residuals[1].sv_id.constellation); + assert_eq!( + msg.stec_residuals[1].sv_id.constellation, 180, + "incorrect value for stec_residuals[1].sv_id.constellation, expected 180, is {}", + msg.stec_residuals[1].sv_id.constellation + ); assert_eq!( msg.stec_residuals[1].sv_id.sat_id, 70, "incorrect value for stec_residuals[1].sv_id.sat_id, expected 70, is {}", @@ -1889,7 +2249,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[2].stddev, expected 135, is {}", msg.stec_residuals[2].stddev ); - assert_eq!(msg.stec_residuals[2].sv_id.constellation, 201, "incorrect value for stec_residuals[2].sv_id.constellation, expected 201, is {}", msg.stec_residuals[2].sv_id.constellation); + assert_eq!( + msg.stec_residuals[2].sv_id.constellation, 201, + "incorrect value for stec_residuals[2].sv_id.constellation, expected 201, is {}", + msg.stec_residuals[2].sv_id.constellation + ); assert_eq!( msg.stec_residuals[2].sv_id.sat_id, 78, "incorrect value for stec_residuals[2].sv_id.sat_id, expected 78, is {}", @@ -1925,7 +2289,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[4].stddev, expected 58, is {}", msg.stec_residuals[4].stddev ); - assert_eq!(msg.stec_residuals[4].sv_id.constellation, 229, "incorrect value for stec_residuals[4].sv_id.constellation, expected 229, is {}", msg.stec_residuals[4].sv_id.constellation); + assert_eq!( + msg.stec_residuals[4].sv_id.constellation, 229, + "incorrect value for stec_residuals[4].sv_id.constellation, expected 229, is {}", + msg.stec_residuals[4].sv_id.constellation + ); assert_eq!( msg.stec_residuals[4].sv_id.sat_id, 120, "incorrect value for stec_residuals[4].sv_id.sat_id, expected 120, is {}", @@ -1941,7 +2309,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[5].stddev, expected 172, is {}", msg.stec_residuals[5].stddev ); - assert_eq!(msg.stec_residuals[5].sv_id.constellation, 234, "incorrect value for stec_residuals[5].sv_id.constellation, expected 234, is {}", msg.stec_residuals[5].sv_id.constellation); + assert_eq!( + msg.stec_residuals[5].sv_id.constellation, 234, + "incorrect value for stec_residuals[5].sv_id.constellation, expected 234, is {}", + msg.stec_residuals[5].sv_id.constellation + ); assert_eq!( msg.stec_residuals[5].sv_id.sat_id, 169, "incorrect value for stec_residuals[5].sv_id.sat_id, expected 169, is {}", @@ -1957,7 +2329,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[6].stddev, expected 150, is {}", msg.stec_residuals[6].stddev ); - assert_eq!(msg.stec_residuals[6].sv_id.constellation, 127, "incorrect value for stec_residuals[6].sv_id.constellation, expected 127, is {}", msg.stec_residuals[6].sv_id.constellation); + assert_eq!( + msg.stec_residuals[6].sv_id.constellation, 127, + "incorrect value for stec_residuals[6].sv_id.constellation, expected 127, is {}", + msg.stec_residuals[6].sv_id.constellation + ); assert_eq!( msg.stec_residuals[6].sv_id.sat_id, 191, "incorrect value for stec_residuals[6].sv_id.sat_id, expected 191, is {}", @@ -1973,7 +2349,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[7].stddev, expected 17, is {}", msg.stec_residuals[7].stddev ); - assert_eq!(msg.stec_residuals[7].sv_id.constellation, 111, "incorrect value for stec_residuals[7].sv_id.constellation, expected 111, is {}", msg.stec_residuals[7].sv_id.constellation); + assert_eq!( + msg.stec_residuals[7].sv_id.constellation, 111, + "incorrect value for stec_residuals[7].sv_id.constellation, expected 111, is {}", + msg.stec_residuals[7].sv_id.constellation + ); assert_eq!( msg.stec_residuals[7].sv_id.sat_id, 91, "incorrect value for stec_residuals[7].sv_id.sat_id, expected 91, is {}", @@ -2009,7 +2389,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[9].stddev, expected 156, is {}", msg.stec_residuals[9].stddev ); - assert_eq!(msg.stec_residuals[9].sv_id.constellation, 221, "incorrect value for stec_residuals[9].sv_id.constellation, expected 221, is {}", msg.stec_residuals[9].sv_id.constellation); + assert_eq!( + msg.stec_residuals[9].sv_id.constellation, 221, + "incorrect value for stec_residuals[9].sv_id.constellation, expected 221, is {}", + msg.stec_residuals[9].sv_id.constellation + ); assert_eq!( msg.stec_residuals[9].sv_id.sat_id, 57, "incorrect value for stec_residuals[9].sv_id.sat_id, expected 57, is {}", @@ -2025,7 +2409,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[10].stddev, expected 8, is {}", msg.stec_residuals[10].stddev ); - assert_eq!(msg.stec_residuals[10].sv_id.constellation, 156, "incorrect value for stec_residuals[10].sv_id.constellation, expected 156, is {}", msg.stec_residuals[10].sv_id.constellation); + assert_eq!( + msg.stec_residuals[10].sv_id.constellation, 156, + "incorrect value for stec_residuals[10].sv_id.constellation, expected 156, is {}", + msg.stec_residuals[10].sv_id.constellation + ); assert_eq!( msg.stec_residuals[10].sv_id.sat_id, 70, "incorrect value for stec_residuals[10].sv_id.sat_id, expected 70, is {}", @@ -2041,7 +2429,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[11].stddev, expected 115, is {}", msg.stec_residuals[11].stddev ); - assert_eq!(msg.stec_residuals[11].sv_id.constellation, 58, "incorrect value for stec_residuals[11].sv_id.constellation, expected 58, is {}", msg.stec_residuals[11].sv_id.constellation); + assert_eq!( + msg.stec_residuals[11].sv_id.constellation, 58, + "incorrect value for stec_residuals[11].sv_id.constellation, expected 58, is {}", + msg.stec_residuals[11].sv_id.constellation + ); assert_eq!( msg.stec_residuals[11].sv_id.sat_id, 127, "incorrect value for stec_residuals[11].sv_id.sat_id, expected 127, is {}", @@ -2057,7 +2449,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[12].stddev, expected 124, is {}", msg.stec_residuals[12].stddev ); - assert_eq!(msg.stec_residuals[12].sv_id.constellation, 157, "incorrect value for stec_residuals[12].sv_id.constellation, expected 157, is {}", msg.stec_residuals[12].sv_id.constellation); + assert_eq!( + msg.stec_residuals[12].sv_id.constellation, 157, + "incorrect value for stec_residuals[12].sv_id.constellation, expected 157, is {}", + msg.stec_residuals[12].sv_id.constellation + ); assert_eq!( msg.stec_residuals[12].sv_id.sat_id, 80, "incorrect value for stec_residuals[12].sv_id.sat_id, expected 80, is {}", @@ -2073,7 +2469,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[13].stddev, expected 204, is {}", msg.stec_residuals[13].stddev ); - assert_eq!(msg.stec_residuals[13].sv_id.constellation, 128, "incorrect value for stec_residuals[13].sv_id.constellation, expected 128, is {}", msg.stec_residuals[13].sv_id.constellation); + assert_eq!( + msg.stec_residuals[13].sv_id.constellation, 128, + "incorrect value for stec_residuals[13].sv_id.constellation, expected 128, is {}", + msg.stec_residuals[13].sv_id.constellation + ); assert_eq!( msg.stec_residuals[13].sv_id.sat_id, 27, "incorrect value for stec_residuals[13].sv_id.sat_id, expected 27, is {}", @@ -2089,7 +2489,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[14].stddev, expected 148, is {}", msg.stec_residuals[14].stddev ); - assert_eq!(msg.stec_residuals[14].sv_id.constellation, 238, "incorrect value for stec_residuals[14].sv_id.constellation, expected 238, is {}", msg.stec_residuals[14].sv_id.constellation); + assert_eq!( + msg.stec_residuals[14].sv_id.constellation, 238, + "incorrect value for stec_residuals[14].sv_id.constellation, expected 238, is {}", + msg.stec_residuals[14].sv_id.constellation + ); assert_eq!( msg.stec_residuals[14].sv_id.sat_id, 75, "incorrect value for stec_residuals[14].sv_id.sat_id, expected 75, is {}", @@ -2105,7 +2509,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[15].stddev, expected 149, is {}", msg.stec_residuals[15].stddev ); - assert_eq!(msg.stec_residuals[15].sv_id.constellation, 61, "incorrect value for stec_residuals[15].sv_id.constellation, expected 61, is {}", msg.stec_residuals[15].sv_id.constellation); + assert_eq!( + msg.stec_residuals[15].sv_id.constellation, 61, + "incorrect value for stec_residuals[15].sv_id.constellation, expected 61, is {}", + msg.stec_residuals[15].sv_id.constellation + ); assert_eq!( msg.stec_residuals[15].sv_id.sat_id, 248, "incorrect value for stec_residuals[15].sv_id.sat_id, expected 248, is {}", @@ -2121,7 +2529,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[16].stddev, expected 186, is {}", msg.stec_residuals[16].stddev ); - assert_eq!(msg.stec_residuals[16].sv_id.constellation, 224, "incorrect value for stec_residuals[16].sv_id.constellation, expected 224, is {}", msg.stec_residuals[16].sv_id.constellation); + assert_eq!( + msg.stec_residuals[16].sv_id.constellation, 224, + "incorrect value for stec_residuals[16].sv_id.constellation, expected 224, is {}", + msg.stec_residuals[16].sv_id.constellation + ); assert_eq!( msg.stec_residuals[16].sv_id.sat_id, 167, "incorrect value for stec_residuals[16].sv_id.sat_id, expected 167, is {}", @@ -2137,7 +2549,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[17].stddev, expected 100, is {}", msg.stec_residuals[17].stddev ); - assert_eq!(msg.stec_residuals[17].sv_id.constellation, 227, "incorrect value for stec_residuals[17].sv_id.constellation, expected 227, is {}", msg.stec_residuals[17].sv_id.constellation); + assert_eq!( + msg.stec_residuals[17].sv_id.constellation, 227, + "incorrect value for stec_residuals[17].sv_id.constellation, expected 227, is {}", + msg.stec_residuals[17].sv_id.constellation + ); assert_eq!( msg.stec_residuals[17].sv_id.sat_id, 157, "incorrect value for stec_residuals[17].sv_id.sat_id, expected 157, is {}", @@ -2153,7 +2569,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[18].stddev, expected 59, is {}", msg.stec_residuals[18].stddev ); - assert_eq!(msg.stec_residuals[18].sv_id.constellation, 12, "incorrect value for stec_residuals[18].sv_id.constellation, expected 12, is {}", msg.stec_residuals[18].sv_id.constellation); + assert_eq!( + msg.stec_residuals[18].sv_id.constellation, 12, + "incorrect value for stec_residuals[18].sv_id.constellation, expected 12, is {}", + msg.stec_residuals[18].sv_id.constellation + ); assert_eq!( msg.stec_residuals[18].sv_id.sat_id, 35, "incorrect value for stec_residuals[18].sv_id.sat_id, expected 35, is {}", @@ -2169,7 +2589,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[19].stddev, expected 24, is {}", msg.stec_residuals[19].stddev ); - assert_eq!(msg.stec_residuals[19].sv_id.constellation, 81, "incorrect value for stec_residuals[19].sv_id.constellation, expected 81, is {}", msg.stec_residuals[19].sv_id.constellation); + assert_eq!( + msg.stec_residuals[19].sv_id.constellation, 81, + "incorrect value for stec_residuals[19].sv_id.constellation, expected 81, is {}", + msg.stec_residuals[19].sv_id.constellation + ); assert_eq!( msg.stec_residuals[19].sv_id.sat_id, 176, "incorrect value for stec_residuals[19].sv_id.sat_id, expected 176, is {}", @@ -2185,7 +2609,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[20].stddev, expected 45, is {}", msg.stec_residuals[20].stddev ); - assert_eq!(msg.stec_residuals[20].sv_id.constellation, 67, "incorrect value for stec_residuals[20].sv_id.constellation, expected 67, is {}", msg.stec_residuals[20].sv_id.constellation); + assert_eq!( + msg.stec_residuals[20].sv_id.constellation, 67, + "incorrect value for stec_residuals[20].sv_id.constellation, expected 67, is {}", + msg.stec_residuals[20].sv_id.constellation + ); assert_eq!( msg.stec_residuals[20].sv_id.sat_id, 155, "incorrect value for stec_residuals[20].sv_id.sat_id, expected 155, is {}", @@ -2201,7 +2629,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[21].stddev, expected 183, is {}", msg.stec_residuals[21].stddev ); - assert_eq!(msg.stec_residuals[21].sv_id.constellation, 44, "incorrect value for stec_residuals[21].sv_id.constellation, expected 44, is {}", msg.stec_residuals[21].sv_id.constellation); + assert_eq!( + msg.stec_residuals[21].sv_id.constellation, 44, + "incorrect value for stec_residuals[21].sv_id.constellation, expected 44, is {}", + msg.stec_residuals[21].sv_id.constellation + ); assert_eq!( msg.stec_residuals[21].sv_id.sat_id, 203, "incorrect value for stec_residuals[21].sv_id.sat_id, expected 203, is {}", @@ -2217,7 +2649,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[22].stddev, expected 253, is {}", msg.stec_residuals[22].stddev ); - assert_eq!(msg.stec_residuals[22].sv_id.constellation, 176, "incorrect value for stec_residuals[22].sv_id.constellation, expected 176, is {}", msg.stec_residuals[22].sv_id.constellation); + assert_eq!( + msg.stec_residuals[22].sv_id.constellation, 176, + "incorrect value for stec_residuals[22].sv_id.constellation, expected 176, is {}", + msg.stec_residuals[22].sv_id.constellation + ); assert_eq!( msg.stec_residuals[22].sv_id.sat_id, 231, "incorrect value for stec_residuals[22].sv_id.sat_id, expected 231, is {}", @@ -2233,7 +2669,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[23].stddev, expected 116, is {}", msg.stec_residuals[23].stddev ); - assert_eq!(msg.stec_residuals[23].sv_id.constellation, 103, "incorrect value for stec_residuals[23].sv_id.constellation, expected 103, is {}", msg.stec_residuals[23].sv_id.constellation); + assert_eq!( + msg.stec_residuals[23].sv_id.constellation, 103, + "incorrect value for stec_residuals[23].sv_id.constellation, expected 103, is {}", + msg.stec_residuals[23].sv_id.constellation + ); assert_eq!( msg.stec_residuals[23].sv_id.sat_id, 247, "incorrect value for stec_residuals[23].sv_id.sat_id, expected 247, is {}", @@ -2249,7 +2689,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[24].stddev, expected 240, is {}", msg.stec_residuals[24].stddev ); - assert_eq!(msg.stec_residuals[24].sv_id.constellation, 23, "incorrect value for stec_residuals[24].sv_id.constellation, expected 23, is {}", msg.stec_residuals[24].sv_id.constellation); + assert_eq!( + msg.stec_residuals[24].sv_id.constellation, 23, + "incorrect value for stec_residuals[24].sv_id.constellation, expected 23, is {}", + msg.stec_residuals[24].sv_id.constellation + ); assert_eq!( msg.stec_residuals[24].sv_id.sat_id, 148, "incorrect value for stec_residuals[24].sv_id.sat_id, expected 148, is {}", @@ -2265,7 +2709,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[25].stddev, expected 242, is {}", msg.stec_residuals[25].stddev ); - assert_eq!(msg.stec_residuals[25].sv_id.constellation, 219, "incorrect value for stec_residuals[25].sv_id.constellation, expected 219, is {}", msg.stec_residuals[25].sv_id.constellation); + assert_eq!( + msg.stec_residuals[25].sv_id.constellation, 219, + "incorrect value for stec_residuals[25].sv_id.constellation, expected 219, is {}", + msg.stec_residuals[25].sv_id.constellation + ); assert_eq!( msg.stec_residuals[25].sv_id.sat_id, 29, "incorrect value for stec_residuals[25].sv_id.sat_id, expected 29, is {}", @@ -2281,7 +2729,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[26].stddev, expected 37, is {}", msg.stec_residuals[26].stddev ); - assert_eq!(msg.stec_residuals[26].sv_id.constellation, 72, "incorrect value for stec_residuals[26].sv_id.constellation, expected 72, is {}", msg.stec_residuals[26].sv_id.constellation); + assert_eq!( + msg.stec_residuals[26].sv_id.constellation, 72, + "incorrect value for stec_residuals[26].sv_id.constellation, expected 72, is {}", + msg.stec_residuals[26].sv_id.constellation + ); assert_eq!( msg.stec_residuals[26].sv_id.sat_id, 207, "incorrect value for stec_residuals[26].sv_id.sat_id, expected 207, is {}", @@ -2297,7 +2749,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[27].stddev, expected 91, is {}", msg.stec_residuals[27].stddev ); - assert_eq!(msg.stec_residuals[27].sv_id.constellation, 176, "incorrect value for stec_residuals[27].sv_id.constellation, expected 176, is {}", msg.stec_residuals[27].sv_id.constellation); + assert_eq!( + msg.stec_residuals[27].sv_id.constellation, 176, + "incorrect value for stec_residuals[27].sv_id.constellation, expected 176, is {}", + msg.stec_residuals[27].sv_id.constellation + ); assert_eq!( msg.stec_residuals[27].sv_id.sat_id, 42, "incorrect value for stec_residuals[27].sv_id.sat_id, expected 42, is {}", @@ -2313,7 +2769,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[28].stddev, expected 110, is {}", msg.stec_residuals[28].stddev ); - assert_eq!(msg.stec_residuals[28].sv_id.constellation, 115, "incorrect value for stec_residuals[28].sv_id.constellation, expected 115, is {}", msg.stec_residuals[28].sv_id.constellation); + assert_eq!( + msg.stec_residuals[28].sv_id.constellation, 115, + "incorrect value for stec_residuals[28].sv_id.constellation, expected 115, is {}", + msg.stec_residuals[28].sv_id.constellation + ); assert_eq!( msg.stec_residuals[28].sv_id.sat_id, 105, "incorrect value for stec_residuals[28].sv_id.sat_id, expected 105, is {}", @@ -2329,7 +2789,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[29].stddev, expected 185, is {}", msg.stec_residuals[29].stddev ); - assert_eq!(msg.stec_residuals[29].sv_id.constellation, 109, "incorrect value for stec_residuals[29].sv_id.constellation, expected 109, is {}", msg.stec_residuals[29].sv_id.constellation); + assert_eq!( + msg.stec_residuals[29].sv_id.constellation, 109, + "incorrect value for stec_residuals[29].sv_id.constellation, expected 109, is {}", + msg.stec_residuals[29].sv_id.constellation + ); assert_eq!( msg.stec_residuals[29].sv_id.sat_id, 44, "incorrect value for stec_residuals[29].sv_id.sat_id, expected 44, is {}", @@ -2345,7 +2809,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[30].stddev, expected 79, is {}", msg.stec_residuals[30].stddev ); - assert_eq!(msg.stec_residuals[30].sv_id.constellation, 31, "incorrect value for stec_residuals[30].sv_id.constellation, expected 31, is {}", msg.stec_residuals[30].sv_id.constellation); + assert_eq!( + msg.stec_residuals[30].sv_id.constellation, 31, + "incorrect value for stec_residuals[30].sv_id.constellation, expected 31, is {}", + msg.stec_residuals[30].sv_id.constellation + ); assert_eq!( msg.stec_residuals[30].sv_id.sat_id, 67, "incorrect value for stec_residuals[30].sv_id.sat_id, expected 67, is {}", @@ -2361,7 +2829,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[31].stddev, expected 162, is {}", msg.stec_residuals[31].stddev ); - assert_eq!(msg.stec_residuals[31].sv_id.constellation, 180, "incorrect value for stec_residuals[31].sv_id.constellation, expected 180, is {}", msg.stec_residuals[31].sv_id.constellation); + assert_eq!( + msg.stec_residuals[31].sv_id.constellation, 180, + "incorrect value for stec_residuals[31].sv_id.constellation, expected 180, is {}", + msg.stec_residuals[31].sv_id.constellation + ); assert_eq!( msg.stec_residuals[31].sv_id.sat_id, 189, "incorrect value for stec_residuals[31].sv_id.sat_id, expected 189, is {}", @@ -2377,7 +2849,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[32].stddev, expected 7, is {}", msg.stec_residuals[32].stddev ); - assert_eq!(msg.stec_residuals[32].sv_id.constellation, 156, "incorrect value for stec_residuals[32].sv_id.constellation, expected 156, is {}", msg.stec_residuals[32].sv_id.constellation); + assert_eq!( + msg.stec_residuals[32].sv_id.constellation, 156, + "incorrect value for stec_residuals[32].sv_id.constellation, expected 156, is {}", + msg.stec_residuals[32].sv_id.constellation + ); assert_eq!( msg.stec_residuals[32].sv_id.sat_id, 121, "incorrect value for stec_residuals[32].sv_id.sat_id, expected 121, is {}", @@ -2393,7 +2869,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[33].stddev, expected 241, is {}", msg.stec_residuals[33].stddev ); - assert_eq!(msg.stec_residuals[33].sv_id.constellation, 205, "incorrect value for stec_residuals[33].sv_id.constellation, expected 205, is {}", msg.stec_residuals[33].sv_id.constellation); + assert_eq!( + msg.stec_residuals[33].sv_id.constellation, 205, + "incorrect value for stec_residuals[33].sv_id.constellation, expected 205, is {}", + msg.stec_residuals[33].sv_id.constellation + ); assert_eq!( msg.stec_residuals[33].sv_id.sat_id, 7, "incorrect value for stec_residuals[33].sv_id.sat_id, expected 7, is {}", @@ -2409,7 +2889,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[34].stddev, expected 186, is {}", msg.stec_residuals[34].stddev ); - assert_eq!(msg.stec_residuals[34].sv_id.constellation, 210, "incorrect value for stec_residuals[34].sv_id.constellation, expected 210, is {}", msg.stec_residuals[34].sv_id.constellation); + assert_eq!( + msg.stec_residuals[34].sv_id.constellation, 210, + "incorrect value for stec_residuals[34].sv_id.constellation, expected 210, is {}", + msg.stec_residuals[34].sv_id.constellation + ); assert_eq!( msg.stec_residuals[34].sv_id.sat_id, 129, "incorrect value for stec_residuals[34].sv_id.sat_id, expected 129, is {}", @@ -2425,7 +2909,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[35].stddev, expected 187, is {}", msg.stec_residuals[35].stddev ); - assert_eq!(msg.stec_residuals[35].sv_id.constellation, 195, "incorrect value for stec_residuals[35].sv_id.constellation, expected 195, is {}", msg.stec_residuals[35].sv_id.constellation); + assert_eq!( + msg.stec_residuals[35].sv_id.constellation, 195, + "incorrect value for stec_residuals[35].sv_id.constellation, expected 195, is {}", + msg.stec_residuals[35].sv_id.constellation + ); assert_eq!( msg.stec_residuals[35].sv_id.sat_id, 208, "incorrect value for stec_residuals[35].sv_id.sat_id, expected 208, is {}", @@ -2441,7 +2929,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[36].stddev, expected 102, is {}", msg.stec_residuals[36].stddev ); - assert_eq!(msg.stec_residuals[36].sv_id.constellation, 160, "incorrect value for stec_residuals[36].sv_id.constellation, expected 160, is {}", msg.stec_residuals[36].sv_id.constellation); + assert_eq!( + msg.stec_residuals[36].sv_id.constellation, 160, + "incorrect value for stec_residuals[36].sv_id.constellation, expected 160, is {}", + msg.stec_residuals[36].sv_id.constellation + ); assert_eq!( msg.stec_residuals[36].sv_id.sat_id, 219, "incorrect value for stec_residuals[36].sv_id.sat_id, expected 219, is {}", @@ -2457,7 +2949,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[37].stddev, expected 94, is {}", msg.stec_residuals[37].stddev ); - assert_eq!(msg.stec_residuals[37].sv_id.constellation, 42, "incorrect value for stec_residuals[37].sv_id.constellation, expected 42, is {}", msg.stec_residuals[37].sv_id.constellation); + assert_eq!( + msg.stec_residuals[37].sv_id.constellation, 42, + "incorrect value for stec_residuals[37].sv_id.constellation, expected 42, is {}", + msg.stec_residuals[37].sv_id.constellation + ); assert_eq!( msg.stec_residuals[37].sv_id.sat_id, 166, "incorrect value for stec_residuals[37].sv_id.sat_id, expected 166, is {}", @@ -2473,7 +2969,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[38].stddev, expected 35, is {}", msg.stec_residuals[38].stddev ); - assert_eq!(msg.stec_residuals[38].sv_id.constellation, 156, "incorrect value for stec_residuals[38].sv_id.constellation, expected 156, is {}", msg.stec_residuals[38].sv_id.constellation); + assert_eq!( + msg.stec_residuals[38].sv_id.constellation, 156, + "incorrect value for stec_residuals[38].sv_id.constellation, expected 156, is {}", + msg.stec_residuals[38].sv_id.constellation + ); assert_eq!( msg.stec_residuals[38].sv_id.sat_id, 102, "incorrect value for stec_residuals[38].sv_id.sat_id, expected 102, is {}", @@ -2489,7 +2989,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[39].stddev, expected 204, is {}", msg.stec_residuals[39].stddev ); - assert_eq!(msg.stec_residuals[39].sv_id.constellation, 64, "incorrect value for stec_residuals[39].sv_id.constellation, expected 64, is {}", msg.stec_residuals[39].sv_id.constellation); + assert_eq!( + msg.stec_residuals[39].sv_id.constellation, 64, + "incorrect value for stec_residuals[39].sv_id.constellation, expected 64, is {}", + msg.stec_residuals[39].sv_id.constellation + ); assert_eq!( msg.stec_residuals[39].sv_id.sat_id, 247, "incorrect value for stec_residuals[39].sv_id.sat_id, expected 247, is {}", @@ -2505,7 +3009,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[40].stddev, expected 222, is {}", msg.stec_residuals[40].stddev ); - assert_eq!(msg.stec_residuals[40].sv_id.constellation, 32, "incorrect value for stec_residuals[40].sv_id.constellation, expected 32, is {}", msg.stec_residuals[40].sv_id.constellation); + assert_eq!( + msg.stec_residuals[40].sv_id.constellation, 32, + "incorrect value for stec_residuals[40].sv_id.constellation, expected 32, is {}", + msg.stec_residuals[40].sv_id.constellation + ); assert_eq!( msg.stec_residuals[40].sv_id.sat_id, 220, "incorrect value for stec_residuals[40].sv_id.sat_id, expected 220, is {}", @@ -2521,7 +3029,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[41].stddev, expected 45, is {}", msg.stec_residuals[41].stddev ); - assert_eq!(msg.stec_residuals[41].sv_id.constellation, 246, "incorrect value for stec_residuals[41].sv_id.constellation, expected 246, is {}", msg.stec_residuals[41].sv_id.constellation); + assert_eq!( + msg.stec_residuals[41].sv_id.constellation, 246, + "incorrect value for stec_residuals[41].sv_id.constellation, expected 246, is {}", + msg.stec_residuals[41].sv_id.constellation + ); assert_eq!( msg.stec_residuals[41].sv_id.sat_id, 201, "incorrect value for stec_residuals[41].sv_id.sat_id, expected 201, is {}", @@ -2537,7 +3049,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[42].stddev, expected 218, is {}", msg.stec_residuals[42].stddev ); - assert_eq!(msg.stec_residuals[42].sv_id.constellation, 239, "incorrect value for stec_residuals[42].sv_id.constellation, expected 239, is {}", msg.stec_residuals[42].sv_id.constellation); + assert_eq!( + msg.stec_residuals[42].sv_id.constellation, 239, + "incorrect value for stec_residuals[42].sv_id.constellation, expected 239, is {}", + msg.stec_residuals[42].sv_id.constellation + ); assert_eq!( msg.stec_residuals[42].sv_id.sat_id, 251, "incorrect value for stec_residuals[42].sv_id.sat_id, expected 251, is {}", @@ -2553,7 +3069,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[43].stddev, expected 175, is {}", msg.stec_residuals[43].stddev ); - assert_eq!(msg.stec_residuals[43].sv_id.constellation, 209, "incorrect value for stec_residuals[43].sv_id.constellation, expected 209, is {}", msg.stec_residuals[43].sv_id.constellation); + assert_eq!( + msg.stec_residuals[43].sv_id.constellation, 209, + "incorrect value for stec_residuals[43].sv_id.constellation, expected 209, is {}", + msg.stec_residuals[43].sv_id.constellation + ); assert_eq!( msg.stec_residuals[43].sv_id.sat_id, 10, "incorrect value for stec_residuals[43].sv_id.sat_id, expected 10, is {}", @@ -2569,7 +3089,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[44].stddev, expected 137, is {}", msg.stec_residuals[44].stddev ); - assert_eq!(msg.stec_residuals[44].sv_id.constellation, 194, "incorrect value for stec_residuals[44].sv_id.constellation, expected 194, is {}", msg.stec_residuals[44].sv_id.constellation); + assert_eq!( + msg.stec_residuals[44].sv_id.constellation, 194, + "incorrect value for stec_residuals[44].sv_id.constellation, expected 194, is {}", + msg.stec_residuals[44].sv_id.constellation + ); assert_eq!( msg.stec_residuals[44].sv_id.sat_id, 131, "incorrect value for stec_residuals[44].sv_id.sat_id, expected 131, is {}", @@ -2585,7 +3109,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction() { "incorrect value for stec_residuals[45].stddev, expected 42, is {}", msg.stec_residuals[45].stddev ); - assert_eq!(msg.stec_residuals[45].sv_id.constellation, 68, "incorrect value for stec_residuals[45].sv_id.constellation, expected 68, is {}", msg.stec_residuals[45].sv_id.constellation); + assert_eq!( + msg.stec_residuals[45].sv_id.constellation, 68, + "incorrect value for stec_residuals[45].sv_id.constellation, expected 68, is {}", + msg.stec_residuals[45].sv_id.constellation + ); assert_eq!( msg.stec_residuals[45].sv_id.sat_id, 17, "incorrect value for stec_residuals[45].sv_id.sat_id, expected 17, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs index 927077e12d..6e162a78c6 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds.rs @@ -111,14 +111,26 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { "incorrect value for stec_sat_list[0].stec_bound_sig_dot, expected 21, is {}", msg.stec_sat_list[0].stec_bound_sig_dot ); - assert_eq!(msg.stec_sat_list[0].stec_residual.residual, 16, "incorrect value for stec_sat_list[0].stec_residual.residual, expected 16, is {}", msg.stec_sat_list[0].stec_residual.residual); + assert_eq!( + msg.stec_sat_list[0].stec_residual.residual, 16, + "incorrect value for stec_sat_list[0].stec_residual.residual, expected 16, is {}", + msg.stec_sat_list[0].stec_residual.residual + ); assert_eq!( msg.stec_sat_list[0].stec_residual.stddev, 17, "incorrect value for stec_sat_list[0].stec_residual.stddev, expected 17, is {}", msg.stec_sat_list[0].stec_residual.stddev ); - assert_eq!(msg.stec_sat_list[0].stec_residual.sv_id.constellation, 10, "incorrect value for stec_sat_list[0].stec_residual.sv_id.constellation, expected 10, is {}", msg.stec_sat_list[0].stec_residual.sv_id.constellation); - assert_eq!(msg.stec_sat_list[0].stec_residual.sv_id.sat_id, 5, "incorrect value for stec_sat_list[0].stec_residual.sv_id.sat_id, expected 5, is {}", msg.stec_sat_list[0].stec_residual.sv_id.sat_id); + assert_eq!( + msg.stec_sat_list[0].stec_residual.sv_id.constellation, 10, + "incorrect value for stec_sat_list[0].stec_residual.sv_id.constellation, expected 10, is {}", + msg.stec_sat_list[0].stec_residual.sv_id.constellation + ); + assert_eq!( + msg.stec_sat_list[0].stec_residual.sv_id.sat_id, 5, + "incorrect value for stec_sat_list[0].stec_residual.sv_id.sat_id, expected 5, is {}", + msg.stec_sat_list[0].stec_residual.sv_id.sat_id + ); assert_eq!( msg.stec_sat_list[1].stec_bound_mu, 24, "incorrect value for stec_sat_list[1].stec_bound_mu, expected 24, is {}", @@ -139,14 +151,26 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { "incorrect value for stec_sat_list[1].stec_bound_sig_dot, expected 27, is {}", msg.stec_sat_list[1].stec_bound_sig_dot ); - assert_eq!(msg.stec_sat_list[1].stec_residual.residual, 22, "incorrect value for stec_sat_list[1].stec_residual.residual, expected 22, is {}", msg.stec_sat_list[1].stec_residual.residual); + assert_eq!( + msg.stec_sat_list[1].stec_residual.residual, 22, + "incorrect value for stec_sat_list[1].stec_residual.residual, expected 22, is {}", + msg.stec_sat_list[1].stec_residual.residual + ); assert_eq!( msg.stec_sat_list[1].stec_residual.stddev, 23, "incorrect value for stec_sat_list[1].stec_residual.stddev, expected 23, is {}", msg.stec_sat_list[1].stec_residual.stddev ); - assert_eq!(msg.stec_sat_list[1].stec_residual.sv_id.constellation, 10, "incorrect value for stec_sat_list[1].stec_residual.sv_id.constellation, expected 10, is {}", msg.stec_sat_list[1].stec_residual.sv_id.constellation); - assert_eq!(msg.stec_sat_list[1].stec_residual.sv_id.sat_id, 6, "incorrect value for stec_sat_list[1].stec_residual.sv_id.sat_id, expected 6, is {}", msg.stec_sat_list[1].stec_residual.sv_id.sat_id); + assert_eq!( + msg.stec_sat_list[1].stec_residual.sv_id.constellation, 10, + "incorrect value for stec_sat_list[1].stec_residual.sv_id.constellation, expected 10, is {}", + msg.stec_sat_list[1].stec_residual.sv_id.constellation + ); + assert_eq!( + msg.stec_sat_list[1].stec_residual.sv_id.sat_id, 6, + "incorrect value for stec_sat_list[1].stec_residual.sv_id.sat_id, expected 6, is {}", + msg.stec_sat_list[1].stec_residual.sv_id.sat_id + ); assert_eq!( msg.tile_id, 10, "incorrect value for tile_id, expected 10, is {}", @@ -439,14 +463,26 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { "incorrect value for stec_sat_list[0].stec_bound_sig_dot, expected 21, is {}", msg.stec_sat_list[0].stec_bound_sig_dot ); - assert_eq!(msg.stec_sat_list[0].stec_residual.residual, 16, "incorrect value for stec_sat_list[0].stec_residual.residual, expected 16, is {}", msg.stec_sat_list[0].stec_residual.residual); + assert_eq!( + msg.stec_sat_list[0].stec_residual.residual, 16, + "incorrect value for stec_sat_list[0].stec_residual.residual, expected 16, is {}", + msg.stec_sat_list[0].stec_residual.residual + ); assert_eq!( msg.stec_sat_list[0].stec_residual.stddev, 17, "incorrect value for stec_sat_list[0].stec_residual.stddev, expected 17, is {}", msg.stec_sat_list[0].stec_residual.stddev ); - assert_eq!(msg.stec_sat_list[0].stec_residual.sv_id.constellation, 10, "incorrect value for stec_sat_list[0].stec_residual.sv_id.constellation, expected 10, is {}", msg.stec_sat_list[0].stec_residual.sv_id.constellation); - assert_eq!(msg.stec_sat_list[0].stec_residual.sv_id.sat_id, 5, "incorrect value for stec_sat_list[0].stec_residual.sv_id.sat_id, expected 5, is {}", msg.stec_sat_list[0].stec_residual.sv_id.sat_id); + assert_eq!( + msg.stec_sat_list[0].stec_residual.sv_id.constellation, 10, + "incorrect value for stec_sat_list[0].stec_residual.sv_id.constellation, expected 10, is {}", + msg.stec_sat_list[0].stec_residual.sv_id.constellation + ); + assert_eq!( + msg.stec_sat_list[0].stec_residual.sv_id.sat_id, 5, + "incorrect value for stec_sat_list[0].stec_residual.sv_id.sat_id, expected 5, is {}", + msg.stec_sat_list[0].stec_residual.sv_id.sat_id + ); assert_eq!( msg.stec_sat_list[1].stec_bound_mu, 24, "incorrect value for stec_sat_list[1].stec_bound_mu, expected 24, is {}", @@ -467,14 +503,26 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { "incorrect value for stec_sat_list[1].stec_bound_sig_dot, expected 27, is {}", msg.stec_sat_list[1].stec_bound_sig_dot ); - assert_eq!(msg.stec_sat_list[1].stec_residual.residual, 22, "incorrect value for stec_sat_list[1].stec_residual.residual, expected 22, is {}", msg.stec_sat_list[1].stec_residual.residual); + assert_eq!( + msg.stec_sat_list[1].stec_residual.residual, 22, + "incorrect value for stec_sat_list[1].stec_residual.residual, expected 22, is {}", + msg.stec_sat_list[1].stec_residual.residual + ); assert_eq!( msg.stec_sat_list[1].stec_residual.stddev, 23, "incorrect value for stec_sat_list[1].stec_residual.stddev, expected 23, is {}", msg.stec_sat_list[1].stec_residual.stddev ); - assert_eq!(msg.stec_sat_list[1].stec_residual.sv_id.constellation, 10, "incorrect value for stec_sat_list[1].stec_residual.sv_id.constellation, expected 10, is {}", msg.stec_sat_list[1].stec_residual.sv_id.constellation); - assert_eq!(msg.stec_sat_list[1].stec_residual.sv_id.sat_id, 6, "incorrect value for stec_sat_list[1].stec_residual.sv_id.sat_id, expected 6, is {}", msg.stec_sat_list[1].stec_residual.sv_id.sat_id); + assert_eq!( + msg.stec_sat_list[1].stec_residual.sv_id.constellation, 10, + "incorrect value for stec_sat_list[1].stec_residual.sv_id.constellation, expected 10, is {}", + msg.stec_sat_list[1].stec_residual.sv_id.constellation + ); + assert_eq!( + msg.stec_sat_list[1].stec_residual.sv_id.sat_id, 6, + "incorrect value for stec_sat_list[1].stec_residual.sv_id.sat_id, expected 6, is {}", + msg.stec_sat_list[1].stec_residual.sv_id.sat_id + ); assert_eq!( msg.tile_id, 10, "incorrect value for tile_id, expected 10, is {}", @@ -782,14 +830,26 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { "incorrect value for stec_sat_list[0].stec_bound_sig_dot, expected 21, is {}", msg.stec_sat_list[0].stec_bound_sig_dot ); - assert_eq!(msg.stec_sat_list[0].stec_residual.residual, 16, "incorrect value for stec_sat_list[0].stec_residual.residual, expected 16, is {}", msg.stec_sat_list[0].stec_residual.residual); + assert_eq!( + msg.stec_sat_list[0].stec_residual.residual, 16, + "incorrect value for stec_sat_list[0].stec_residual.residual, expected 16, is {}", + msg.stec_sat_list[0].stec_residual.residual + ); assert_eq!( msg.stec_sat_list[0].stec_residual.stddev, 17, "incorrect value for stec_sat_list[0].stec_residual.stddev, expected 17, is {}", msg.stec_sat_list[0].stec_residual.stddev ); - assert_eq!(msg.stec_sat_list[0].stec_residual.sv_id.constellation, 10, "incorrect value for stec_sat_list[0].stec_residual.sv_id.constellation, expected 10, is {}", msg.stec_sat_list[0].stec_residual.sv_id.constellation); - assert_eq!(msg.stec_sat_list[0].stec_residual.sv_id.sat_id, 5, "incorrect value for stec_sat_list[0].stec_residual.sv_id.sat_id, expected 5, is {}", msg.stec_sat_list[0].stec_residual.sv_id.sat_id); + assert_eq!( + msg.stec_sat_list[0].stec_residual.sv_id.constellation, 10, + "incorrect value for stec_sat_list[0].stec_residual.sv_id.constellation, expected 10, is {}", + msg.stec_sat_list[0].stec_residual.sv_id.constellation + ); + assert_eq!( + msg.stec_sat_list[0].stec_residual.sv_id.sat_id, 5, + "incorrect value for stec_sat_list[0].stec_residual.sv_id.sat_id, expected 5, is {}", + msg.stec_sat_list[0].stec_residual.sv_id.sat_id + ); assert_eq!( msg.stec_sat_list[1].stec_bound_mu, 24, "incorrect value for stec_sat_list[1].stec_bound_mu, expected 24, is {}", @@ -810,14 +870,26 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_bounds() { "incorrect value for stec_sat_list[1].stec_bound_sig_dot, expected 27, is {}", msg.stec_sat_list[1].stec_bound_sig_dot ); - assert_eq!(msg.stec_sat_list[1].stec_residual.residual, 22, "incorrect value for stec_sat_list[1].stec_residual.residual, expected 22, is {}", msg.stec_sat_list[1].stec_residual.residual); + assert_eq!( + msg.stec_sat_list[1].stec_residual.residual, 22, + "incorrect value for stec_sat_list[1].stec_residual.residual, expected 22, is {}", + msg.stec_sat_list[1].stec_residual.residual + ); assert_eq!( msg.stec_sat_list[1].stec_residual.stddev, 23, "incorrect value for stec_sat_list[1].stec_residual.stddev, expected 23, is {}", msg.stec_sat_list[1].stec_residual.stddev ); - assert_eq!(msg.stec_sat_list[1].stec_residual.sv_id.constellation, 10, "incorrect value for stec_sat_list[1].stec_residual.sv_id.constellation, expected 10, is {}", msg.stec_sat_list[1].stec_residual.sv_id.constellation); - assert_eq!(msg.stec_sat_list[1].stec_residual.sv_id.sat_id, 6, "incorrect value for stec_sat_list[1].stec_residual.sv_id.sat_id, expected 6, is {}", msg.stec_sat_list[1].stec_residual.sv_id.sat_id); + assert_eq!( + msg.stec_sat_list[1].stec_residual.sv_id.constellation, 10, + "incorrect value for stec_sat_list[1].stec_residual.sv_id.constellation, expected 10, is {}", + msg.stec_sat_list[1].stec_residual.sv_id.constellation + ); + assert_eq!( + msg.stec_sat_list[1].stec_residual.sv_id.sat_id, 6, + "incorrect value for stec_sat_list[1].stec_residual.sv_id.sat_id, expected 6, is {}", + msg.stec_sat_list[1].stec_residual.sv_id.sat_id + ); assert_eq!( msg.tile_id, 10, "incorrect value for tile_id, expected 10, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs index 4fc48c0fdf..a8a96a3a29 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a.rs @@ -167,7 +167,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[3].stddev, expected 220, is {}", msg.stec_residuals[3].stddev ); - assert_eq!(msg.stec_residuals[3].sv_id.constellation, 224, "incorrect value for stec_residuals[3].sv_id.constellation, expected 224, is {}", msg.stec_residuals[3].sv_id.constellation); + assert_eq!( + msg.stec_residuals[3].sv_id.constellation, 224, + "incorrect value for stec_residuals[3].sv_id.constellation, expected 224, is {}", + msg.stec_residuals[3].sv_id.constellation + ); assert_eq!( msg.stec_residuals[3].sv_id.sat_id, 116, "incorrect value for stec_residuals[3].sv_id.sat_id, expected 116, is {}", @@ -183,7 +187,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[4].stddev, expected 178, is {}", msg.stec_residuals[4].stddev ); - assert_eq!(msg.stec_residuals[4].sv_id.constellation, 176, "incorrect value for stec_residuals[4].sv_id.constellation, expected 176, is {}", msg.stec_residuals[4].sv_id.constellation); + assert_eq!( + msg.stec_residuals[4].sv_id.constellation, 176, + "incorrect value for stec_residuals[4].sv_id.constellation, expected 176, is {}", + msg.stec_residuals[4].sv_id.constellation + ); assert_eq!( msg.stec_residuals[4].sv_id.sat_id, 23, "incorrect value for stec_residuals[4].sv_id.sat_id, expected 23, is {}", @@ -199,7 +207,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[5].stddev, expected 15, is {}", msg.stec_residuals[5].stddev ); - assert_eq!(msg.stec_residuals[5].sv_id.constellation, 160, "incorrect value for stec_residuals[5].sv_id.constellation, expected 160, is {}", msg.stec_residuals[5].sv_id.constellation); + assert_eq!( + msg.stec_residuals[5].sv_id.constellation, 160, + "incorrect value for stec_residuals[5].sv_id.constellation, expected 160, is {}", + msg.stec_residuals[5].sv_id.constellation + ); assert_eq!( msg.stec_residuals[5].sv_id.sat_id, 79, "incorrect value for stec_residuals[5].sv_id.sat_id, expected 79, is {}", @@ -215,7 +227,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[6].stddev, expected 22, is {}", msg.stec_residuals[6].stddev ); - assert_eq!(msg.stec_residuals[6].sv_id.constellation, 206, "incorrect value for stec_residuals[6].sv_id.constellation, expected 206, is {}", msg.stec_residuals[6].sv_id.constellation); + assert_eq!( + msg.stec_residuals[6].sv_id.constellation, 206, + "incorrect value for stec_residuals[6].sv_id.constellation, expected 206, is {}", + msg.stec_residuals[6].sv_id.constellation + ); assert_eq!( msg.stec_residuals[6].sv_id.sat_id, 53, "incorrect value for stec_residuals[6].sv_id.sat_id, expected 53, is {}", @@ -231,7 +247,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[7].stddev, expected 82, is {}", msg.stec_residuals[7].stddev ); - assert_eq!(msg.stec_residuals[7].sv_id.constellation, 184, "incorrect value for stec_residuals[7].sv_id.constellation, expected 184, is {}", msg.stec_residuals[7].sv_id.constellation); + assert_eq!( + msg.stec_residuals[7].sv_id.constellation, 184, + "incorrect value for stec_residuals[7].sv_id.constellation, expected 184, is {}", + msg.stec_residuals[7].sv_id.constellation + ); assert_eq!( msg.stec_residuals[7].sv_id.sat_id, 117, "incorrect value for stec_residuals[7].sv_id.sat_id, expected 117, is {}", @@ -287,7 +307,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[10].stddev, expected 169, is {}", msg.stec_residuals[10].stddev ); - assert_eq!(msg.stec_residuals[10].sv_id.constellation, 238, "incorrect value for stec_residuals[10].sv_id.constellation, expected 238, is {}", msg.stec_residuals[10].sv_id.constellation); + assert_eq!( + msg.stec_residuals[10].sv_id.constellation, 238, + "incorrect value for stec_residuals[10].sv_id.constellation, expected 238, is {}", + msg.stec_residuals[10].sv_id.constellation + ); assert_eq!( msg.stec_residuals[10].sv_id.sat_id, 19, "incorrect value for stec_residuals[10].sv_id.sat_id, expected 19, is {}", @@ -303,7 +327,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[11].stddev, expected 183, is {}", msg.stec_residuals[11].stddev ); - assert_eq!(msg.stec_residuals[11].sv_id.constellation, 146, "incorrect value for stec_residuals[11].sv_id.constellation, expected 146, is {}", msg.stec_residuals[11].sv_id.constellation); + assert_eq!( + msg.stec_residuals[11].sv_id.constellation, 146, + "incorrect value for stec_residuals[11].sv_id.constellation, expected 146, is {}", + msg.stec_residuals[11].sv_id.constellation + ); assert_eq!( msg.stec_residuals[11].sv_id.sat_id, 164, "incorrect value for stec_residuals[11].sv_id.sat_id, expected 164, is {}", @@ -319,7 +347,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[12].stddev, expected 114, is {}", msg.stec_residuals[12].stddev ); - assert_eq!(msg.stec_residuals[12].sv_id.constellation, 71, "incorrect value for stec_residuals[12].sv_id.constellation, expected 71, is {}", msg.stec_residuals[12].sv_id.constellation); + assert_eq!( + msg.stec_residuals[12].sv_id.constellation, 71, + "incorrect value for stec_residuals[12].sv_id.constellation, expected 71, is {}", + msg.stec_residuals[12].sv_id.constellation + ); assert_eq!( msg.stec_residuals[12].sv_id.sat_id, 85, "incorrect value for stec_residuals[12].sv_id.sat_id, expected 85, is {}", @@ -335,7 +367,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[13].stddev, expected 60, is {}", msg.stec_residuals[13].stddev ); - assert_eq!(msg.stec_residuals[13].sv_id.constellation, 105, "incorrect value for stec_residuals[13].sv_id.constellation, expected 105, is {}", msg.stec_residuals[13].sv_id.constellation); + assert_eq!( + msg.stec_residuals[13].sv_id.constellation, 105, + "incorrect value for stec_residuals[13].sv_id.constellation, expected 105, is {}", + msg.stec_residuals[13].sv_id.constellation + ); assert_eq!( msg.stec_residuals[13].sv_id.sat_id, 211, "incorrect value for stec_residuals[13].sv_id.sat_id, expected 211, is {}", @@ -351,7 +387,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[14].stddev, expected 172, is {}", msg.stec_residuals[14].stddev ); - assert_eq!(msg.stec_residuals[14].sv_id.constellation, 230, "incorrect value for stec_residuals[14].sv_id.constellation, expected 230, is {}", msg.stec_residuals[14].sv_id.constellation); + assert_eq!( + msg.stec_residuals[14].sv_id.constellation, 230, + "incorrect value for stec_residuals[14].sv_id.constellation, expected 230, is {}", + msg.stec_residuals[14].sv_id.constellation + ); assert_eq!( msg.stec_residuals[14].sv_id.sat_id, 18, "incorrect value for stec_residuals[14].sv_id.sat_id, expected 18, is {}", @@ -367,7 +407,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[15].stddev, expected 106, is {}", msg.stec_residuals[15].stddev ); - assert_eq!(msg.stec_residuals[15].sv_id.constellation, 39, "incorrect value for stec_residuals[15].sv_id.constellation, expected 39, is {}", msg.stec_residuals[15].sv_id.constellation); + assert_eq!( + msg.stec_residuals[15].sv_id.constellation, 39, + "incorrect value for stec_residuals[15].sv_id.constellation, expected 39, is {}", + msg.stec_residuals[15].sv_id.constellation + ); assert_eq!( msg.stec_residuals[15].sv_id.sat_id, 16, "incorrect value for stec_residuals[15].sv_id.sat_id, expected 16, is {}", @@ -383,7 +427,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[16].stddev, expected 162, is {}", msg.stec_residuals[16].stddev ); - assert_eq!(msg.stec_residuals[16].sv_id.constellation, 188, "incorrect value for stec_residuals[16].sv_id.constellation, expected 188, is {}", msg.stec_residuals[16].sv_id.constellation); + assert_eq!( + msg.stec_residuals[16].sv_id.constellation, 188, + "incorrect value for stec_residuals[16].sv_id.constellation, expected 188, is {}", + msg.stec_residuals[16].sv_id.constellation + ); assert_eq!( msg.stec_residuals[16].sv_id.sat_id, 99, "incorrect value for stec_residuals[16].sv_id.sat_id, expected 99, is {}", @@ -399,7 +447,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[17].stddev, expected 12, is {}", msg.stec_residuals[17].stddev ); - assert_eq!(msg.stec_residuals[17].sv_id.constellation, 138, "incorrect value for stec_residuals[17].sv_id.constellation, expected 138, is {}", msg.stec_residuals[17].sv_id.constellation); + assert_eq!( + msg.stec_residuals[17].sv_id.constellation, 138, + "incorrect value for stec_residuals[17].sv_id.constellation, expected 138, is {}", + msg.stec_residuals[17].sv_id.constellation + ); assert_eq!( msg.stec_residuals[17].sv_id.sat_id, 197, "incorrect value for stec_residuals[17].sv_id.sat_id, expected 197, is {}", @@ -415,7 +467,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[18].stddev, expected 93, is {}", msg.stec_residuals[18].stddev ); - assert_eq!(msg.stec_residuals[18].sv_id.constellation, 67, "incorrect value for stec_residuals[18].sv_id.constellation, expected 67, is {}", msg.stec_residuals[18].sv_id.constellation); + assert_eq!( + msg.stec_residuals[18].sv_id.constellation, 67, + "incorrect value for stec_residuals[18].sv_id.constellation, expected 67, is {}", + msg.stec_residuals[18].sv_id.constellation + ); assert_eq!( msg.stec_residuals[18].sv_id.sat_id, 54, "incorrect value for stec_residuals[18].sv_id.sat_id, expected 54, is {}", @@ -431,7 +487,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[19].stddev, expected 46, is {}", msg.stec_residuals[19].stddev ); - assert_eq!(msg.stec_residuals[19].sv_id.constellation, 207, "incorrect value for stec_residuals[19].sv_id.constellation, expected 207, is {}", msg.stec_residuals[19].sv_id.constellation); + assert_eq!( + msg.stec_residuals[19].sv_id.constellation, 207, + "incorrect value for stec_residuals[19].sv_id.constellation, expected 207, is {}", + msg.stec_residuals[19].sv_id.constellation + ); assert_eq!( msg.stec_residuals[19].sv_id.sat_id, 1, "incorrect value for stec_residuals[19].sv_id.sat_id, expected 1, is {}", @@ -447,7 +507,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[20].stddev, expected 127, is {}", msg.stec_residuals[20].stddev ); - assert_eq!(msg.stec_residuals[20].sv_id.constellation, 49, "incorrect value for stec_residuals[20].sv_id.constellation, expected 49, is {}", msg.stec_residuals[20].sv_id.constellation); + assert_eq!( + msg.stec_residuals[20].sv_id.constellation, 49, + "incorrect value for stec_residuals[20].sv_id.constellation, expected 49, is {}", + msg.stec_residuals[20].sv_id.constellation + ); assert_eq!( msg.stec_residuals[20].sv_id.sat_id, 115, "incorrect value for stec_residuals[20].sv_id.sat_id, expected 115, is {}", @@ -463,7 +527,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[21].stddev, expected 202, is {}", msg.stec_residuals[21].stddev ); - assert_eq!(msg.stec_residuals[21].sv_id.constellation, 200, "incorrect value for stec_residuals[21].sv_id.constellation, expected 200, is {}", msg.stec_residuals[21].sv_id.constellation); + assert_eq!( + msg.stec_residuals[21].sv_id.constellation, 200, + "incorrect value for stec_residuals[21].sv_id.constellation, expected 200, is {}", + msg.stec_residuals[21].sv_id.constellation + ); assert_eq!( msg.stec_residuals[21].sv_id.sat_id, 156, "incorrect value for stec_residuals[21].sv_id.sat_id, expected 156, is {}", @@ -479,7 +547,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[22].stddev, expected 81, is {}", msg.stec_residuals[22].stddev ); - assert_eq!(msg.stec_residuals[22].sv_id.constellation, 245, "incorrect value for stec_residuals[22].sv_id.constellation, expected 245, is {}", msg.stec_residuals[22].sv_id.constellation); + assert_eq!( + msg.stec_residuals[22].sv_id.constellation, 245, + "incorrect value for stec_residuals[22].sv_id.constellation, expected 245, is {}", + msg.stec_residuals[22].sv_id.constellation + ); assert_eq!( msg.stec_residuals[22].sv_id.sat_id, 15, "incorrect value for stec_residuals[22].sv_id.sat_id, expected 15, is {}", @@ -495,7 +567,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[23].stddev, expected 82, is {}", msg.stec_residuals[23].stddev ); - assert_eq!(msg.stec_residuals[23].sv_id.constellation, 132, "incorrect value for stec_residuals[23].sv_id.constellation, expected 132, is {}", msg.stec_residuals[23].sv_id.constellation); + assert_eq!( + msg.stec_residuals[23].sv_id.constellation, 132, + "incorrect value for stec_residuals[23].sv_id.constellation, expected 132, is {}", + msg.stec_residuals[23].sv_id.constellation + ); assert_eq!( msg.stec_residuals[23].sv_id.sat_id, 218, "incorrect value for stec_residuals[23].sv_id.sat_id, expected 218, is {}", @@ -511,7 +587,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[24].stddev, expected 134, is {}", msg.stec_residuals[24].stddev ); - assert_eq!(msg.stec_residuals[24].sv_id.constellation, 26, "incorrect value for stec_residuals[24].sv_id.constellation, expected 26, is {}", msg.stec_residuals[24].sv_id.constellation); + assert_eq!( + msg.stec_residuals[24].sv_id.constellation, 26, + "incorrect value for stec_residuals[24].sv_id.constellation, expected 26, is {}", + msg.stec_residuals[24].sv_id.constellation + ); assert_eq!( msg.stec_residuals[24].sv_id.sat_id, 147, "incorrect value for stec_residuals[24].sv_id.sat_id, expected 147, is {}", @@ -527,7 +607,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[25].stddev, expected 83, is {}", msg.stec_residuals[25].stddev ); - assert_eq!(msg.stec_residuals[25].sv_id.constellation, 138, "incorrect value for stec_residuals[25].sv_id.constellation, expected 138, is {}", msg.stec_residuals[25].sv_id.constellation); + assert_eq!( + msg.stec_residuals[25].sv_id.constellation, 138, + "incorrect value for stec_residuals[25].sv_id.constellation, expected 138, is {}", + msg.stec_residuals[25].sv_id.constellation + ); assert_eq!( msg.stec_residuals[25].sv_id.sat_id, 96, "incorrect value for stec_residuals[25].sv_id.sat_id, expected 96, is {}", @@ -543,7 +627,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[26].stddev, expected 173, is {}", msg.stec_residuals[26].stddev ); - assert_eq!(msg.stec_residuals[26].sv_id.constellation, 170, "incorrect value for stec_residuals[26].sv_id.constellation, expected 170, is {}", msg.stec_residuals[26].sv_id.constellation); + assert_eq!( + msg.stec_residuals[26].sv_id.constellation, 170, + "incorrect value for stec_residuals[26].sv_id.constellation, expected 170, is {}", + msg.stec_residuals[26].sv_id.constellation + ); assert_eq!( msg.stec_residuals[26].sv_id.sat_id, 156, "incorrect value for stec_residuals[26].sv_id.sat_id, expected 156, is {}", @@ -559,7 +647,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[27].stddev, expected 107, is {}", msg.stec_residuals[27].stddev ); - assert_eq!(msg.stec_residuals[27].sv_id.constellation, 115, "incorrect value for stec_residuals[27].sv_id.constellation, expected 115, is {}", msg.stec_residuals[27].sv_id.constellation); + assert_eq!( + msg.stec_residuals[27].sv_id.constellation, 115, + "incorrect value for stec_residuals[27].sv_id.constellation, expected 115, is {}", + msg.stec_residuals[27].sv_id.constellation + ); assert_eq!( msg.stec_residuals[27].sv_id.sat_id, 228, "incorrect value for stec_residuals[27].sv_id.sat_id, expected 228, is {}", @@ -575,7 +667,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[28].stddev, expected 10, is {}", msg.stec_residuals[28].stddev ); - assert_eq!(msg.stec_residuals[28].sv_id.constellation, 112, "incorrect value for stec_residuals[28].sv_id.constellation, expected 112, is {}", msg.stec_residuals[28].sv_id.constellation); + assert_eq!( + msg.stec_residuals[28].sv_id.constellation, 112, + "incorrect value for stec_residuals[28].sv_id.constellation, expected 112, is {}", + msg.stec_residuals[28].sv_id.constellation + ); assert_eq!( msg.stec_residuals[28].sv_id.sat_id, 245, "incorrect value for stec_residuals[28].sv_id.sat_id, expected 245, is {}", @@ -591,7 +687,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[29].stddev, expected 108, is {}", msg.stec_residuals[29].stddev ); - assert_eq!(msg.stec_residuals[29].sv_id.constellation, 117, "incorrect value for stec_residuals[29].sv_id.constellation, expected 117, is {}", msg.stec_residuals[29].sv_id.constellation); + assert_eq!( + msg.stec_residuals[29].sv_id.constellation, 117, + "incorrect value for stec_residuals[29].sv_id.constellation, expected 117, is {}", + msg.stec_residuals[29].sv_id.constellation + ); assert_eq!( msg.stec_residuals[29].sv_id.sat_id, 5, "incorrect value for stec_residuals[29].sv_id.sat_id, expected 5, is {}", @@ -607,7 +707,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[30].stddev, expected 226, is {}", msg.stec_residuals[30].stddev ); - assert_eq!(msg.stec_residuals[30].sv_id.constellation, 212, "incorrect value for stec_residuals[30].sv_id.constellation, expected 212, is {}", msg.stec_residuals[30].sv_id.constellation); + assert_eq!( + msg.stec_residuals[30].sv_id.constellation, 212, + "incorrect value for stec_residuals[30].sv_id.constellation, expected 212, is {}", + msg.stec_residuals[30].sv_id.constellation + ); assert_eq!( msg.stec_residuals[30].sv_id.sat_id, 248, "incorrect value for stec_residuals[30].sv_id.sat_id, expected 248, is {}", @@ -643,7 +747,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[32].stddev, expected 243, is {}", msg.stec_residuals[32].stddev ); - assert_eq!(msg.stec_residuals[32].sv_id.constellation, 60, "incorrect value for stec_residuals[32].sv_id.constellation, expected 60, is {}", msg.stec_residuals[32].sv_id.constellation); + assert_eq!( + msg.stec_residuals[32].sv_id.constellation, 60, + "incorrect value for stec_residuals[32].sv_id.constellation, expected 60, is {}", + msg.stec_residuals[32].sv_id.constellation + ); assert_eq!( msg.stec_residuals[32].sv_id.sat_id, 0, "incorrect value for stec_residuals[32].sv_id.sat_id, expected 0, is {}", @@ -659,7 +767,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[33].stddev, expected 137, is {}", msg.stec_residuals[33].stddev ); - assert_eq!(msg.stec_residuals[33].sv_id.constellation, 216, "incorrect value for stec_residuals[33].sv_id.constellation, expected 216, is {}", msg.stec_residuals[33].sv_id.constellation); + assert_eq!( + msg.stec_residuals[33].sv_id.constellation, 216, + "incorrect value for stec_residuals[33].sv_id.constellation, expected 216, is {}", + msg.stec_residuals[33].sv_id.constellation + ); assert_eq!( msg.stec_residuals[33].sv_id.sat_id, 203, "incorrect value for stec_residuals[33].sv_id.sat_id, expected 203, is {}", @@ -675,7 +787,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[34].stddev, expected 152, is {}", msg.stec_residuals[34].stddev ); - assert_eq!(msg.stec_residuals[34].sv_id.constellation, 28, "incorrect value for stec_residuals[34].sv_id.constellation, expected 28, is {}", msg.stec_residuals[34].sv_id.constellation); + assert_eq!( + msg.stec_residuals[34].sv_id.constellation, 28, + "incorrect value for stec_residuals[34].sv_id.constellation, expected 28, is {}", + msg.stec_residuals[34].sv_id.constellation + ); assert_eq!( msg.stec_residuals[34].sv_id.sat_id, 16, "incorrect value for stec_residuals[34].sv_id.sat_id, expected 16, is {}", @@ -691,7 +807,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[35].stddev, expected 203, is {}", msg.stec_residuals[35].stddev ); - assert_eq!(msg.stec_residuals[35].sv_id.constellation, 119, "incorrect value for stec_residuals[35].sv_id.constellation, expected 119, is {}", msg.stec_residuals[35].sv_id.constellation); + assert_eq!( + msg.stec_residuals[35].sv_id.constellation, 119, + "incorrect value for stec_residuals[35].sv_id.constellation, expected 119, is {}", + msg.stec_residuals[35].sv_id.constellation + ); assert_eq!( msg.stec_residuals[35].sv_id.sat_id, 181, "incorrect value for stec_residuals[35].sv_id.sat_id, expected 181, is {}", @@ -707,7 +827,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[36].stddev, expected 32, is {}", msg.stec_residuals[36].stddev ); - assert_eq!(msg.stec_residuals[36].sv_id.constellation, 34, "incorrect value for stec_residuals[36].sv_id.constellation, expected 34, is {}", msg.stec_residuals[36].sv_id.constellation); + assert_eq!( + msg.stec_residuals[36].sv_id.constellation, 34, + "incorrect value for stec_residuals[36].sv_id.constellation, expected 34, is {}", + msg.stec_residuals[36].sv_id.constellation + ); assert_eq!( msg.stec_residuals[36].sv_id.sat_id, 236, "incorrect value for stec_residuals[36].sv_id.sat_id, expected 236, is {}", @@ -743,7 +867,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[38].stddev, expected 137, is {}", msg.stec_residuals[38].stddev ); - assert_eq!(msg.stec_residuals[38].sv_id.constellation, 94, "incorrect value for stec_residuals[38].sv_id.constellation, expected 94, is {}", msg.stec_residuals[38].sv_id.constellation); + assert_eq!( + msg.stec_residuals[38].sv_id.constellation, 94, + "incorrect value for stec_residuals[38].sv_id.constellation, expected 94, is {}", + msg.stec_residuals[38].sv_id.constellation + ); assert_eq!( msg.stec_residuals[38].sv_id.sat_id, 25, "incorrect value for stec_residuals[38].sv_id.sat_id, expected 25, is {}", @@ -779,7 +907,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[40].stddev, expected 126, is {}", msg.stec_residuals[40].stddev ); - assert_eq!(msg.stec_residuals[40].sv_id.constellation, 132, "incorrect value for stec_residuals[40].sv_id.constellation, expected 132, is {}", msg.stec_residuals[40].sv_id.constellation); + assert_eq!( + msg.stec_residuals[40].sv_id.constellation, 132, + "incorrect value for stec_residuals[40].sv_id.constellation, expected 132, is {}", + msg.stec_residuals[40].sv_id.constellation + ); assert_eq!( msg.stec_residuals[40].sv_id.sat_id, 48, "incorrect value for stec_residuals[40].sv_id.sat_id, expected 48, is {}", @@ -795,7 +927,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[41].stddev, expected 21, is {}", msg.stec_residuals[41].stddev ); - assert_eq!(msg.stec_residuals[41].sv_id.constellation, 68, "incorrect value for stec_residuals[41].sv_id.constellation, expected 68, is {}", msg.stec_residuals[41].sv_id.constellation); + assert_eq!( + msg.stec_residuals[41].sv_id.constellation, 68, + "incorrect value for stec_residuals[41].sv_id.constellation, expected 68, is {}", + msg.stec_residuals[41].sv_id.constellation + ); assert_eq!( msg.stec_residuals[41].sv_id.sat_id, 186, "incorrect value for stec_residuals[41].sv_id.sat_id, expected 186, is {}", @@ -811,7 +947,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[42].stddev, expected 148, is {}", msg.stec_residuals[42].stddev ); - assert_eq!(msg.stec_residuals[42].sv_id.constellation, 180, "incorrect value for stec_residuals[42].sv_id.constellation, expected 180, is {}", msg.stec_residuals[42].sv_id.constellation); + assert_eq!( + msg.stec_residuals[42].sv_id.constellation, 180, + "incorrect value for stec_residuals[42].sv_id.constellation, expected 180, is {}", + msg.stec_residuals[42].sv_id.constellation + ); assert_eq!( msg.stec_residuals[42].sv_id.sat_id, 0, "incorrect value for stec_residuals[42].sv_id.sat_id, expected 0, is {}", @@ -827,7 +967,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[43].stddev, expected 177, is {}", msg.stec_residuals[43].stddev ); - assert_eq!(msg.stec_residuals[43].sv_id.constellation, 149, "incorrect value for stec_residuals[43].sv_id.constellation, expected 149, is {}", msg.stec_residuals[43].sv_id.constellation); + assert_eq!( + msg.stec_residuals[43].sv_id.constellation, 149, + "incorrect value for stec_residuals[43].sv_id.constellation, expected 149, is {}", + msg.stec_residuals[43].sv_id.constellation + ); assert_eq!( msg.stec_residuals[43].sv_id.sat_id, 119, "incorrect value for stec_residuals[43].sv_id.sat_id, expected 119, is {}", @@ -843,7 +987,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[44].stddev, expected 10, is {}", msg.stec_residuals[44].stddev ); - assert_eq!(msg.stec_residuals[44].sv_id.constellation, 80, "incorrect value for stec_residuals[44].sv_id.constellation, expected 80, is {}", msg.stec_residuals[44].sv_id.constellation); + assert_eq!( + msg.stec_residuals[44].sv_id.constellation, 80, + "incorrect value for stec_residuals[44].sv_id.constellation, expected 80, is {}", + msg.stec_residuals[44].sv_id.constellation + ); assert_eq!( msg.stec_residuals[44].sv_id.sat_id, 201, "incorrect value for stec_residuals[44].sv_id.sat_id, expected 201, is {}", @@ -859,7 +1007,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[45].stddev, expected 233, is {}", msg.stec_residuals[45].stddev ); - assert_eq!(msg.stec_residuals[45].sv_id.constellation, 118, "incorrect value for stec_residuals[45].sv_id.constellation, expected 118, is {}", msg.stec_residuals[45].sv_id.constellation); + assert_eq!( + msg.stec_residuals[45].sv_id.constellation, 118, + "incorrect value for stec_residuals[45].sv_id.constellation, expected 118, is {}", + msg.stec_residuals[45].sv_id.constellation + ); assert_eq!( msg.stec_residuals[45].sv_id.sat_id, 136, "incorrect value for stec_residuals[45].sv_id.sat_id, expected 136, is {}", @@ -875,7 +1027,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[46].stddev, expected 103, is {}", msg.stec_residuals[46].stddev ); - assert_eq!(msg.stec_residuals[46].sv_id.constellation, 227, "incorrect value for stec_residuals[46].sv_id.constellation, expected 227, is {}", msg.stec_residuals[46].sv_id.constellation); + assert_eq!( + msg.stec_residuals[46].sv_id.constellation, 227, + "incorrect value for stec_residuals[46].sv_id.constellation, expected 227, is {}", + msg.stec_residuals[46].sv_id.constellation + ); assert_eq!( msg.stec_residuals[46].sv_id.sat_id, 233, "incorrect value for stec_residuals[46].sv_id.sat_id, expected 233, is {}", @@ -1057,7 +1213,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[3].stddev, expected 220, is {}", msg.stec_residuals[3].stddev ); - assert_eq!(msg.stec_residuals[3].sv_id.constellation, 224, "incorrect value for stec_residuals[3].sv_id.constellation, expected 224, is {}", msg.stec_residuals[3].sv_id.constellation); + assert_eq!( + msg.stec_residuals[3].sv_id.constellation, 224, + "incorrect value for stec_residuals[3].sv_id.constellation, expected 224, is {}", + msg.stec_residuals[3].sv_id.constellation + ); assert_eq!( msg.stec_residuals[3].sv_id.sat_id, 116, "incorrect value for stec_residuals[3].sv_id.sat_id, expected 116, is {}", @@ -1073,7 +1233,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[4].stddev, expected 178, is {}", msg.stec_residuals[4].stddev ); - assert_eq!(msg.stec_residuals[4].sv_id.constellation, 176, "incorrect value for stec_residuals[4].sv_id.constellation, expected 176, is {}", msg.stec_residuals[4].sv_id.constellation); + assert_eq!( + msg.stec_residuals[4].sv_id.constellation, 176, + "incorrect value for stec_residuals[4].sv_id.constellation, expected 176, is {}", + msg.stec_residuals[4].sv_id.constellation + ); assert_eq!( msg.stec_residuals[4].sv_id.sat_id, 23, "incorrect value for stec_residuals[4].sv_id.sat_id, expected 23, is {}", @@ -1089,7 +1253,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[5].stddev, expected 15, is {}", msg.stec_residuals[5].stddev ); - assert_eq!(msg.stec_residuals[5].sv_id.constellation, 160, "incorrect value for stec_residuals[5].sv_id.constellation, expected 160, is {}", msg.stec_residuals[5].sv_id.constellation); + assert_eq!( + msg.stec_residuals[5].sv_id.constellation, 160, + "incorrect value for stec_residuals[5].sv_id.constellation, expected 160, is {}", + msg.stec_residuals[5].sv_id.constellation + ); assert_eq!( msg.stec_residuals[5].sv_id.sat_id, 79, "incorrect value for stec_residuals[5].sv_id.sat_id, expected 79, is {}", @@ -1105,7 +1273,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[6].stddev, expected 22, is {}", msg.stec_residuals[6].stddev ); - assert_eq!(msg.stec_residuals[6].sv_id.constellation, 206, "incorrect value for stec_residuals[6].sv_id.constellation, expected 206, is {}", msg.stec_residuals[6].sv_id.constellation); + assert_eq!( + msg.stec_residuals[6].sv_id.constellation, 206, + "incorrect value for stec_residuals[6].sv_id.constellation, expected 206, is {}", + msg.stec_residuals[6].sv_id.constellation + ); assert_eq!( msg.stec_residuals[6].sv_id.sat_id, 53, "incorrect value for stec_residuals[6].sv_id.sat_id, expected 53, is {}", @@ -1121,7 +1293,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[7].stddev, expected 82, is {}", msg.stec_residuals[7].stddev ); - assert_eq!(msg.stec_residuals[7].sv_id.constellation, 184, "incorrect value for stec_residuals[7].sv_id.constellation, expected 184, is {}", msg.stec_residuals[7].sv_id.constellation); + assert_eq!( + msg.stec_residuals[7].sv_id.constellation, 184, + "incorrect value for stec_residuals[7].sv_id.constellation, expected 184, is {}", + msg.stec_residuals[7].sv_id.constellation + ); assert_eq!( msg.stec_residuals[7].sv_id.sat_id, 117, "incorrect value for stec_residuals[7].sv_id.sat_id, expected 117, is {}", @@ -1177,7 +1353,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[10].stddev, expected 169, is {}", msg.stec_residuals[10].stddev ); - assert_eq!(msg.stec_residuals[10].sv_id.constellation, 238, "incorrect value for stec_residuals[10].sv_id.constellation, expected 238, is {}", msg.stec_residuals[10].sv_id.constellation); + assert_eq!( + msg.stec_residuals[10].sv_id.constellation, 238, + "incorrect value for stec_residuals[10].sv_id.constellation, expected 238, is {}", + msg.stec_residuals[10].sv_id.constellation + ); assert_eq!( msg.stec_residuals[10].sv_id.sat_id, 19, "incorrect value for stec_residuals[10].sv_id.sat_id, expected 19, is {}", @@ -1193,7 +1373,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[11].stddev, expected 183, is {}", msg.stec_residuals[11].stddev ); - assert_eq!(msg.stec_residuals[11].sv_id.constellation, 146, "incorrect value for stec_residuals[11].sv_id.constellation, expected 146, is {}", msg.stec_residuals[11].sv_id.constellation); + assert_eq!( + msg.stec_residuals[11].sv_id.constellation, 146, + "incorrect value for stec_residuals[11].sv_id.constellation, expected 146, is {}", + msg.stec_residuals[11].sv_id.constellation + ); assert_eq!( msg.stec_residuals[11].sv_id.sat_id, 164, "incorrect value for stec_residuals[11].sv_id.sat_id, expected 164, is {}", @@ -1209,7 +1393,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[12].stddev, expected 114, is {}", msg.stec_residuals[12].stddev ); - assert_eq!(msg.stec_residuals[12].sv_id.constellation, 71, "incorrect value for stec_residuals[12].sv_id.constellation, expected 71, is {}", msg.stec_residuals[12].sv_id.constellation); + assert_eq!( + msg.stec_residuals[12].sv_id.constellation, 71, + "incorrect value for stec_residuals[12].sv_id.constellation, expected 71, is {}", + msg.stec_residuals[12].sv_id.constellation + ); assert_eq!( msg.stec_residuals[12].sv_id.sat_id, 85, "incorrect value for stec_residuals[12].sv_id.sat_id, expected 85, is {}", @@ -1225,7 +1413,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[13].stddev, expected 60, is {}", msg.stec_residuals[13].stddev ); - assert_eq!(msg.stec_residuals[13].sv_id.constellation, 105, "incorrect value for stec_residuals[13].sv_id.constellation, expected 105, is {}", msg.stec_residuals[13].sv_id.constellation); + assert_eq!( + msg.stec_residuals[13].sv_id.constellation, 105, + "incorrect value for stec_residuals[13].sv_id.constellation, expected 105, is {}", + msg.stec_residuals[13].sv_id.constellation + ); assert_eq!( msg.stec_residuals[13].sv_id.sat_id, 211, "incorrect value for stec_residuals[13].sv_id.sat_id, expected 211, is {}", @@ -1241,7 +1433,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[14].stddev, expected 172, is {}", msg.stec_residuals[14].stddev ); - assert_eq!(msg.stec_residuals[14].sv_id.constellation, 230, "incorrect value for stec_residuals[14].sv_id.constellation, expected 230, is {}", msg.stec_residuals[14].sv_id.constellation); + assert_eq!( + msg.stec_residuals[14].sv_id.constellation, 230, + "incorrect value for stec_residuals[14].sv_id.constellation, expected 230, is {}", + msg.stec_residuals[14].sv_id.constellation + ); assert_eq!( msg.stec_residuals[14].sv_id.sat_id, 18, "incorrect value for stec_residuals[14].sv_id.sat_id, expected 18, is {}", @@ -1257,7 +1453,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[15].stddev, expected 106, is {}", msg.stec_residuals[15].stddev ); - assert_eq!(msg.stec_residuals[15].sv_id.constellation, 39, "incorrect value for stec_residuals[15].sv_id.constellation, expected 39, is {}", msg.stec_residuals[15].sv_id.constellation); + assert_eq!( + msg.stec_residuals[15].sv_id.constellation, 39, + "incorrect value for stec_residuals[15].sv_id.constellation, expected 39, is {}", + msg.stec_residuals[15].sv_id.constellation + ); assert_eq!( msg.stec_residuals[15].sv_id.sat_id, 16, "incorrect value for stec_residuals[15].sv_id.sat_id, expected 16, is {}", @@ -1273,7 +1473,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[16].stddev, expected 162, is {}", msg.stec_residuals[16].stddev ); - assert_eq!(msg.stec_residuals[16].sv_id.constellation, 188, "incorrect value for stec_residuals[16].sv_id.constellation, expected 188, is {}", msg.stec_residuals[16].sv_id.constellation); + assert_eq!( + msg.stec_residuals[16].sv_id.constellation, 188, + "incorrect value for stec_residuals[16].sv_id.constellation, expected 188, is {}", + msg.stec_residuals[16].sv_id.constellation + ); assert_eq!( msg.stec_residuals[16].sv_id.sat_id, 99, "incorrect value for stec_residuals[16].sv_id.sat_id, expected 99, is {}", @@ -1289,7 +1493,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[17].stddev, expected 12, is {}", msg.stec_residuals[17].stddev ); - assert_eq!(msg.stec_residuals[17].sv_id.constellation, 138, "incorrect value for stec_residuals[17].sv_id.constellation, expected 138, is {}", msg.stec_residuals[17].sv_id.constellation); + assert_eq!( + msg.stec_residuals[17].sv_id.constellation, 138, + "incorrect value for stec_residuals[17].sv_id.constellation, expected 138, is {}", + msg.stec_residuals[17].sv_id.constellation + ); assert_eq!( msg.stec_residuals[17].sv_id.sat_id, 197, "incorrect value for stec_residuals[17].sv_id.sat_id, expected 197, is {}", @@ -1305,7 +1513,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[18].stddev, expected 93, is {}", msg.stec_residuals[18].stddev ); - assert_eq!(msg.stec_residuals[18].sv_id.constellation, 67, "incorrect value for stec_residuals[18].sv_id.constellation, expected 67, is {}", msg.stec_residuals[18].sv_id.constellation); + assert_eq!( + msg.stec_residuals[18].sv_id.constellation, 67, + "incorrect value for stec_residuals[18].sv_id.constellation, expected 67, is {}", + msg.stec_residuals[18].sv_id.constellation + ); assert_eq!( msg.stec_residuals[18].sv_id.sat_id, 54, "incorrect value for stec_residuals[18].sv_id.sat_id, expected 54, is {}", @@ -1321,7 +1533,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[19].stddev, expected 46, is {}", msg.stec_residuals[19].stddev ); - assert_eq!(msg.stec_residuals[19].sv_id.constellation, 207, "incorrect value for stec_residuals[19].sv_id.constellation, expected 207, is {}", msg.stec_residuals[19].sv_id.constellation); + assert_eq!( + msg.stec_residuals[19].sv_id.constellation, 207, + "incorrect value for stec_residuals[19].sv_id.constellation, expected 207, is {}", + msg.stec_residuals[19].sv_id.constellation + ); assert_eq!( msg.stec_residuals[19].sv_id.sat_id, 1, "incorrect value for stec_residuals[19].sv_id.sat_id, expected 1, is {}", @@ -1337,7 +1553,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[20].stddev, expected 127, is {}", msg.stec_residuals[20].stddev ); - assert_eq!(msg.stec_residuals[20].sv_id.constellation, 49, "incorrect value for stec_residuals[20].sv_id.constellation, expected 49, is {}", msg.stec_residuals[20].sv_id.constellation); + assert_eq!( + msg.stec_residuals[20].sv_id.constellation, 49, + "incorrect value for stec_residuals[20].sv_id.constellation, expected 49, is {}", + msg.stec_residuals[20].sv_id.constellation + ); assert_eq!( msg.stec_residuals[20].sv_id.sat_id, 115, "incorrect value for stec_residuals[20].sv_id.sat_id, expected 115, is {}", @@ -1353,7 +1573,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[21].stddev, expected 202, is {}", msg.stec_residuals[21].stddev ); - assert_eq!(msg.stec_residuals[21].sv_id.constellation, 200, "incorrect value for stec_residuals[21].sv_id.constellation, expected 200, is {}", msg.stec_residuals[21].sv_id.constellation); + assert_eq!( + msg.stec_residuals[21].sv_id.constellation, 200, + "incorrect value for stec_residuals[21].sv_id.constellation, expected 200, is {}", + msg.stec_residuals[21].sv_id.constellation + ); assert_eq!( msg.stec_residuals[21].sv_id.sat_id, 156, "incorrect value for stec_residuals[21].sv_id.sat_id, expected 156, is {}", @@ -1369,7 +1593,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[22].stddev, expected 81, is {}", msg.stec_residuals[22].stddev ); - assert_eq!(msg.stec_residuals[22].sv_id.constellation, 245, "incorrect value for stec_residuals[22].sv_id.constellation, expected 245, is {}", msg.stec_residuals[22].sv_id.constellation); + assert_eq!( + msg.stec_residuals[22].sv_id.constellation, 245, + "incorrect value for stec_residuals[22].sv_id.constellation, expected 245, is {}", + msg.stec_residuals[22].sv_id.constellation + ); assert_eq!( msg.stec_residuals[22].sv_id.sat_id, 15, "incorrect value for stec_residuals[22].sv_id.sat_id, expected 15, is {}", @@ -1385,7 +1613,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[23].stddev, expected 82, is {}", msg.stec_residuals[23].stddev ); - assert_eq!(msg.stec_residuals[23].sv_id.constellation, 132, "incorrect value for stec_residuals[23].sv_id.constellation, expected 132, is {}", msg.stec_residuals[23].sv_id.constellation); + assert_eq!( + msg.stec_residuals[23].sv_id.constellation, 132, + "incorrect value for stec_residuals[23].sv_id.constellation, expected 132, is {}", + msg.stec_residuals[23].sv_id.constellation + ); assert_eq!( msg.stec_residuals[23].sv_id.sat_id, 218, "incorrect value for stec_residuals[23].sv_id.sat_id, expected 218, is {}", @@ -1401,7 +1633,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[24].stddev, expected 134, is {}", msg.stec_residuals[24].stddev ); - assert_eq!(msg.stec_residuals[24].sv_id.constellation, 26, "incorrect value for stec_residuals[24].sv_id.constellation, expected 26, is {}", msg.stec_residuals[24].sv_id.constellation); + assert_eq!( + msg.stec_residuals[24].sv_id.constellation, 26, + "incorrect value for stec_residuals[24].sv_id.constellation, expected 26, is {}", + msg.stec_residuals[24].sv_id.constellation + ); assert_eq!( msg.stec_residuals[24].sv_id.sat_id, 147, "incorrect value for stec_residuals[24].sv_id.sat_id, expected 147, is {}", @@ -1417,7 +1653,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[25].stddev, expected 83, is {}", msg.stec_residuals[25].stddev ); - assert_eq!(msg.stec_residuals[25].sv_id.constellation, 138, "incorrect value for stec_residuals[25].sv_id.constellation, expected 138, is {}", msg.stec_residuals[25].sv_id.constellation); + assert_eq!( + msg.stec_residuals[25].sv_id.constellation, 138, + "incorrect value for stec_residuals[25].sv_id.constellation, expected 138, is {}", + msg.stec_residuals[25].sv_id.constellation + ); assert_eq!( msg.stec_residuals[25].sv_id.sat_id, 96, "incorrect value for stec_residuals[25].sv_id.sat_id, expected 96, is {}", @@ -1433,7 +1673,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[26].stddev, expected 173, is {}", msg.stec_residuals[26].stddev ); - assert_eq!(msg.stec_residuals[26].sv_id.constellation, 170, "incorrect value for stec_residuals[26].sv_id.constellation, expected 170, is {}", msg.stec_residuals[26].sv_id.constellation); + assert_eq!( + msg.stec_residuals[26].sv_id.constellation, 170, + "incorrect value for stec_residuals[26].sv_id.constellation, expected 170, is {}", + msg.stec_residuals[26].sv_id.constellation + ); assert_eq!( msg.stec_residuals[26].sv_id.sat_id, 156, "incorrect value for stec_residuals[26].sv_id.sat_id, expected 156, is {}", @@ -1449,7 +1693,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[27].stddev, expected 107, is {}", msg.stec_residuals[27].stddev ); - assert_eq!(msg.stec_residuals[27].sv_id.constellation, 115, "incorrect value for stec_residuals[27].sv_id.constellation, expected 115, is {}", msg.stec_residuals[27].sv_id.constellation); + assert_eq!( + msg.stec_residuals[27].sv_id.constellation, 115, + "incorrect value for stec_residuals[27].sv_id.constellation, expected 115, is {}", + msg.stec_residuals[27].sv_id.constellation + ); assert_eq!( msg.stec_residuals[27].sv_id.sat_id, 228, "incorrect value for stec_residuals[27].sv_id.sat_id, expected 228, is {}", @@ -1465,7 +1713,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[28].stddev, expected 10, is {}", msg.stec_residuals[28].stddev ); - assert_eq!(msg.stec_residuals[28].sv_id.constellation, 112, "incorrect value for stec_residuals[28].sv_id.constellation, expected 112, is {}", msg.stec_residuals[28].sv_id.constellation); + assert_eq!( + msg.stec_residuals[28].sv_id.constellation, 112, + "incorrect value for stec_residuals[28].sv_id.constellation, expected 112, is {}", + msg.stec_residuals[28].sv_id.constellation + ); assert_eq!( msg.stec_residuals[28].sv_id.sat_id, 245, "incorrect value for stec_residuals[28].sv_id.sat_id, expected 245, is {}", @@ -1481,7 +1733,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[29].stddev, expected 108, is {}", msg.stec_residuals[29].stddev ); - assert_eq!(msg.stec_residuals[29].sv_id.constellation, 117, "incorrect value for stec_residuals[29].sv_id.constellation, expected 117, is {}", msg.stec_residuals[29].sv_id.constellation); + assert_eq!( + msg.stec_residuals[29].sv_id.constellation, 117, + "incorrect value for stec_residuals[29].sv_id.constellation, expected 117, is {}", + msg.stec_residuals[29].sv_id.constellation + ); assert_eq!( msg.stec_residuals[29].sv_id.sat_id, 5, "incorrect value for stec_residuals[29].sv_id.sat_id, expected 5, is {}", @@ -1497,7 +1753,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[30].stddev, expected 226, is {}", msg.stec_residuals[30].stddev ); - assert_eq!(msg.stec_residuals[30].sv_id.constellation, 212, "incorrect value for stec_residuals[30].sv_id.constellation, expected 212, is {}", msg.stec_residuals[30].sv_id.constellation); + assert_eq!( + msg.stec_residuals[30].sv_id.constellation, 212, + "incorrect value for stec_residuals[30].sv_id.constellation, expected 212, is {}", + msg.stec_residuals[30].sv_id.constellation + ); assert_eq!( msg.stec_residuals[30].sv_id.sat_id, 248, "incorrect value for stec_residuals[30].sv_id.sat_id, expected 248, is {}", @@ -1533,7 +1793,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[32].stddev, expected 243, is {}", msg.stec_residuals[32].stddev ); - assert_eq!(msg.stec_residuals[32].sv_id.constellation, 60, "incorrect value for stec_residuals[32].sv_id.constellation, expected 60, is {}", msg.stec_residuals[32].sv_id.constellation); + assert_eq!( + msg.stec_residuals[32].sv_id.constellation, 60, + "incorrect value for stec_residuals[32].sv_id.constellation, expected 60, is {}", + msg.stec_residuals[32].sv_id.constellation + ); assert_eq!( msg.stec_residuals[32].sv_id.sat_id, 0, "incorrect value for stec_residuals[32].sv_id.sat_id, expected 0, is {}", @@ -1549,7 +1813,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[33].stddev, expected 137, is {}", msg.stec_residuals[33].stddev ); - assert_eq!(msg.stec_residuals[33].sv_id.constellation, 216, "incorrect value for stec_residuals[33].sv_id.constellation, expected 216, is {}", msg.stec_residuals[33].sv_id.constellation); + assert_eq!( + msg.stec_residuals[33].sv_id.constellation, 216, + "incorrect value for stec_residuals[33].sv_id.constellation, expected 216, is {}", + msg.stec_residuals[33].sv_id.constellation + ); assert_eq!( msg.stec_residuals[33].sv_id.sat_id, 203, "incorrect value for stec_residuals[33].sv_id.sat_id, expected 203, is {}", @@ -1565,7 +1833,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[34].stddev, expected 152, is {}", msg.stec_residuals[34].stddev ); - assert_eq!(msg.stec_residuals[34].sv_id.constellation, 28, "incorrect value for stec_residuals[34].sv_id.constellation, expected 28, is {}", msg.stec_residuals[34].sv_id.constellation); + assert_eq!( + msg.stec_residuals[34].sv_id.constellation, 28, + "incorrect value for stec_residuals[34].sv_id.constellation, expected 28, is {}", + msg.stec_residuals[34].sv_id.constellation + ); assert_eq!( msg.stec_residuals[34].sv_id.sat_id, 16, "incorrect value for stec_residuals[34].sv_id.sat_id, expected 16, is {}", @@ -1581,7 +1853,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[35].stddev, expected 203, is {}", msg.stec_residuals[35].stddev ); - assert_eq!(msg.stec_residuals[35].sv_id.constellation, 119, "incorrect value for stec_residuals[35].sv_id.constellation, expected 119, is {}", msg.stec_residuals[35].sv_id.constellation); + assert_eq!( + msg.stec_residuals[35].sv_id.constellation, 119, + "incorrect value for stec_residuals[35].sv_id.constellation, expected 119, is {}", + msg.stec_residuals[35].sv_id.constellation + ); assert_eq!( msg.stec_residuals[35].sv_id.sat_id, 181, "incorrect value for stec_residuals[35].sv_id.sat_id, expected 181, is {}", @@ -1597,7 +1873,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[36].stddev, expected 32, is {}", msg.stec_residuals[36].stddev ); - assert_eq!(msg.stec_residuals[36].sv_id.constellation, 34, "incorrect value for stec_residuals[36].sv_id.constellation, expected 34, is {}", msg.stec_residuals[36].sv_id.constellation); + assert_eq!( + msg.stec_residuals[36].sv_id.constellation, 34, + "incorrect value for stec_residuals[36].sv_id.constellation, expected 34, is {}", + msg.stec_residuals[36].sv_id.constellation + ); assert_eq!( msg.stec_residuals[36].sv_id.sat_id, 236, "incorrect value for stec_residuals[36].sv_id.sat_id, expected 236, is {}", @@ -1633,7 +1913,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[38].stddev, expected 137, is {}", msg.stec_residuals[38].stddev ); - assert_eq!(msg.stec_residuals[38].sv_id.constellation, 94, "incorrect value for stec_residuals[38].sv_id.constellation, expected 94, is {}", msg.stec_residuals[38].sv_id.constellation); + assert_eq!( + msg.stec_residuals[38].sv_id.constellation, 94, + "incorrect value for stec_residuals[38].sv_id.constellation, expected 94, is {}", + msg.stec_residuals[38].sv_id.constellation + ); assert_eq!( msg.stec_residuals[38].sv_id.sat_id, 25, "incorrect value for stec_residuals[38].sv_id.sat_id, expected 25, is {}", @@ -1669,7 +1953,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[40].stddev, expected 126, is {}", msg.stec_residuals[40].stddev ); - assert_eq!(msg.stec_residuals[40].sv_id.constellation, 132, "incorrect value for stec_residuals[40].sv_id.constellation, expected 132, is {}", msg.stec_residuals[40].sv_id.constellation); + assert_eq!( + msg.stec_residuals[40].sv_id.constellation, 132, + "incorrect value for stec_residuals[40].sv_id.constellation, expected 132, is {}", + msg.stec_residuals[40].sv_id.constellation + ); assert_eq!( msg.stec_residuals[40].sv_id.sat_id, 48, "incorrect value for stec_residuals[40].sv_id.sat_id, expected 48, is {}", @@ -1685,7 +1973,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[41].stddev, expected 21, is {}", msg.stec_residuals[41].stddev ); - assert_eq!(msg.stec_residuals[41].sv_id.constellation, 68, "incorrect value for stec_residuals[41].sv_id.constellation, expected 68, is {}", msg.stec_residuals[41].sv_id.constellation); + assert_eq!( + msg.stec_residuals[41].sv_id.constellation, 68, + "incorrect value for stec_residuals[41].sv_id.constellation, expected 68, is {}", + msg.stec_residuals[41].sv_id.constellation + ); assert_eq!( msg.stec_residuals[41].sv_id.sat_id, 186, "incorrect value for stec_residuals[41].sv_id.sat_id, expected 186, is {}", @@ -1701,7 +1993,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[42].stddev, expected 148, is {}", msg.stec_residuals[42].stddev ); - assert_eq!(msg.stec_residuals[42].sv_id.constellation, 180, "incorrect value for stec_residuals[42].sv_id.constellation, expected 180, is {}", msg.stec_residuals[42].sv_id.constellation); + assert_eq!( + msg.stec_residuals[42].sv_id.constellation, 180, + "incorrect value for stec_residuals[42].sv_id.constellation, expected 180, is {}", + msg.stec_residuals[42].sv_id.constellation + ); assert_eq!( msg.stec_residuals[42].sv_id.sat_id, 0, "incorrect value for stec_residuals[42].sv_id.sat_id, expected 0, is {}", @@ -1717,7 +2013,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[43].stddev, expected 177, is {}", msg.stec_residuals[43].stddev ); - assert_eq!(msg.stec_residuals[43].sv_id.constellation, 149, "incorrect value for stec_residuals[43].sv_id.constellation, expected 149, is {}", msg.stec_residuals[43].sv_id.constellation); + assert_eq!( + msg.stec_residuals[43].sv_id.constellation, 149, + "incorrect value for stec_residuals[43].sv_id.constellation, expected 149, is {}", + msg.stec_residuals[43].sv_id.constellation + ); assert_eq!( msg.stec_residuals[43].sv_id.sat_id, 119, "incorrect value for stec_residuals[43].sv_id.sat_id, expected 119, is {}", @@ -1733,7 +2033,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[44].stddev, expected 10, is {}", msg.stec_residuals[44].stddev ); - assert_eq!(msg.stec_residuals[44].sv_id.constellation, 80, "incorrect value for stec_residuals[44].sv_id.constellation, expected 80, is {}", msg.stec_residuals[44].sv_id.constellation); + assert_eq!( + msg.stec_residuals[44].sv_id.constellation, 80, + "incorrect value for stec_residuals[44].sv_id.constellation, expected 80, is {}", + msg.stec_residuals[44].sv_id.constellation + ); assert_eq!( msg.stec_residuals[44].sv_id.sat_id, 201, "incorrect value for stec_residuals[44].sv_id.sat_id, expected 201, is {}", @@ -1749,7 +2053,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[45].stddev, expected 233, is {}", msg.stec_residuals[45].stddev ); - assert_eq!(msg.stec_residuals[45].sv_id.constellation, 118, "incorrect value for stec_residuals[45].sv_id.constellation, expected 118, is {}", msg.stec_residuals[45].sv_id.constellation); + assert_eq!( + msg.stec_residuals[45].sv_id.constellation, 118, + "incorrect value for stec_residuals[45].sv_id.constellation, expected 118, is {}", + msg.stec_residuals[45].sv_id.constellation + ); assert_eq!( msg.stec_residuals[45].sv_id.sat_id, 136, "incorrect value for stec_residuals[45].sv_id.sat_id, expected 136, is {}", @@ -1765,7 +2073,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[46].stddev, expected 103, is {}", msg.stec_residuals[46].stddev ); - assert_eq!(msg.stec_residuals[46].sv_id.constellation, 227, "incorrect value for stec_residuals[46].sv_id.constellation, expected 227, is {}", msg.stec_residuals[46].sv_id.constellation); + assert_eq!( + msg.stec_residuals[46].sv_id.constellation, 227, + "incorrect value for stec_residuals[46].sv_id.constellation, expected 227, is {}", + msg.stec_residuals[46].sv_id.constellation + ); assert_eq!( msg.stec_residuals[46].sv_id.sat_id, 233, "incorrect value for stec_residuals[46].sv_id.sat_id, expected 233, is {}", @@ -1967,7 +2279,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[3].stddev, expected 220, is {}", msg.stec_residuals[3].stddev ); - assert_eq!(msg.stec_residuals[3].sv_id.constellation, 224, "incorrect value for stec_residuals[3].sv_id.constellation, expected 224, is {}", msg.stec_residuals[3].sv_id.constellation); + assert_eq!( + msg.stec_residuals[3].sv_id.constellation, 224, + "incorrect value for stec_residuals[3].sv_id.constellation, expected 224, is {}", + msg.stec_residuals[3].sv_id.constellation + ); assert_eq!( msg.stec_residuals[3].sv_id.sat_id, 116, "incorrect value for stec_residuals[3].sv_id.sat_id, expected 116, is {}", @@ -1983,7 +2299,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[4].stddev, expected 178, is {}", msg.stec_residuals[4].stddev ); - assert_eq!(msg.stec_residuals[4].sv_id.constellation, 176, "incorrect value for stec_residuals[4].sv_id.constellation, expected 176, is {}", msg.stec_residuals[4].sv_id.constellation); + assert_eq!( + msg.stec_residuals[4].sv_id.constellation, 176, + "incorrect value for stec_residuals[4].sv_id.constellation, expected 176, is {}", + msg.stec_residuals[4].sv_id.constellation + ); assert_eq!( msg.stec_residuals[4].sv_id.sat_id, 23, "incorrect value for stec_residuals[4].sv_id.sat_id, expected 23, is {}", @@ -1999,7 +2319,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[5].stddev, expected 15, is {}", msg.stec_residuals[5].stddev ); - assert_eq!(msg.stec_residuals[5].sv_id.constellation, 160, "incorrect value for stec_residuals[5].sv_id.constellation, expected 160, is {}", msg.stec_residuals[5].sv_id.constellation); + assert_eq!( + msg.stec_residuals[5].sv_id.constellation, 160, + "incorrect value for stec_residuals[5].sv_id.constellation, expected 160, is {}", + msg.stec_residuals[5].sv_id.constellation + ); assert_eq!( msg.stec_residuals[5].sv_id.sat_id, 79, "incorrect value for stec_residuals[5].sv_id.sat_id, expected 79, is {}", @@ -2015,7 +2339,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[6].stddev, expected 22, is {}", msg.stec_residuals[6].stddev ); - assert_eq!(msg.stec_residuals[6].sv_id.constellation, 206, "incorrect value for stec_residuals[6].sv_id.constellation, expected 206, is {}", msg.stec_residuals[6].sv_id.constellation); + assert_eq!( + msg.stec_residuals[6].sv_id.constellation, 206, + "incorrect value for stec_residuals[6].sv_id.constellation, expected 206, is {}", + msg.stec_residuals[6].sv_id.constellation + ); assert_eq!( msg.stec_residuals[6].sv_id.sat_id, 53, "incorrect value for stec_residuals[6].sv_id.sat_id, expected 53, is {}", @@ -2031,7 +2359,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[7].stddev, expected 82, is {}", msg.stec_residuals[7].stddev ); - assert_eq!(msg.stec_residuals[7].sv_id.constellation, 184, "incorrect value for stec_residuals[7].sv_id.constellation, expected 184, is {}", msg.stec_residuals[7].sv_id.constellation); + assert_eq!( + msg.stec_residuals[7].sv_id.constellation, 184, + "incorrect value for stec_residuals[7].sv_id.constellation, expected 184, is {}", + msg.stec_residuals[7].sv_id.constellation + ); assert_eq!( msg.stec_residuals[7].sv_id.sat_id, 117, "incorrect value for stec_residuals[7].sv_id.sat_id, expected 117, is {}", @@ -2087,7 +2419,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[10].stddev, expected 169, is {}", msg.stec_residuals[10].stddev ); - assert_eq!(msg.stec_residuals[10].sv_id.constellation, 238, "incorrect value for stec_residuals[10].sv_id.constellation, expected 238, is {}", msg.stec_residuals[10].sv_id.constellation); + assert_eq!( + msg.stec_residuals[10].sv_id.constellation, 238, + "incorrect value for stec_residuals[10].sv_id.constellation, expected 238, is {}", + msg.stec_residuals[10].sv_id.constellation + ); assert_eq!( msg.stec_residuals[10].sv_id.sat_id, 19, "incorrect value for stec_residuals[10].sv_id.sat_id, expected 19, is {}", @@ -2103,7 +2439,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[11].stddev, expected 183, is {}", msg.stec_residuals[11].stddev ); - assert_eq!(msg.stec_residuals[11].sv_id.constellation, 146, "incorrect value for stec_residuals[11].sv_id.constellation, expected 146, is {}", msg.stec_residuals[11].sv_id.constellation); + assert_eq!( + msg.stec_residuals[11].sv_id.constellation, 146, + "incorrect value for stec_residuals[11].sv_id.constellation, expected 146, is {}", + msg.stec_residuals[11].sv_id.constellation + ); assert_eq!( msg.stec_residuals[11].sv_id.sat_id, 164, "incorrect value for stec_residuals[11].sv_id.sat_id, expected 164, is {}", @@ -2119,7 +2459,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[12].stddev, expected 114, is {}", msg.stec_residuals[12].stddev ); - assert_eq!(msg.stec_residuals[12].sv_id.constellation, 71, "incorrect value for stec_residuals[12].sv_id.constellation, expected 71, is {}", msg.stec_residuals[12].sv_id.constellation); + assert_eq!( + msg.stec_residuals[12].sv_id.constellation, 71, + "incorrect value for stec_residuals[12].sv_id.constellation, expected 71, is {}", + msg.stec_residuals[12].sv_id.constellation + ); assert_eq!( msg.stec_residuals[12].sv_id.sat_id, 85, "incorrect value for stec_residuals[12].sv_id.sat_id, expected 85, is {}", @@ -2135,7 +2479,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[13].stddev, expected 60, is {}", msg.stec_residuals[13].stddev ); - assert_eq!(msg.stec_residuals[13].sv_id.constellation, 105, "incorrect value for stec_residuals[13].sv_id.constellation, expected 105, is {}", msg.stec_residuals[13].sv_id.constellation); + assert_eq!( + msg.stec_residuals[13].sv_id.constellation, 105, + "incorrect value for stec_residuals[13].sv_id.constellation, expected 105, is {}", + msg.stec_residuals[13].sv_id.constellation + ); assert_eq!( msg.stec_residuals[13].sv_id.sat_id, 211, "incorrect value for stec_residuals[13].sv_id.sat_id, expected 211, is {}", @@ -2151,7 +2499,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[14].stddev, expected 172, is {}", msg.stec_residuals[14].stddev ); - assert_eq!(msg.stec_residuals[14].sv_id.constellation, 230, "incorrect value for stec_residuals[14].sv_id.constellation, expected 230, is {}", msg.stec_residuals[14].sv_id.constellation); + assert_eq!( + msg.stec_residuals[14].sv_id.constellation, 230, + "incorrect value for stec_residuals[14].sv_id.constellation, expected 230, is {}", + msg.stec_residuals[14].sv_id.constellation + ); assert_eq!( msg.stec_residuals[14].sv_id.sat_id, 18, "incorrect value for stec_residuals[14].sv_id.sat_id, expected 18, is {}", @@ -2167,7 +2519,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[15].stddev, expected 106, is {}", msg.stec_residuals[15].stddev ); - assert_eq!(msg.stec_residuals[15].sv_id.constellation, 39, "incorrect value for stec_residuals[15].sv_id.constellation, expected 39, is {}", msg.stec_residuals[15].sv_id.constellation); + assert_eq!( + msg.stec_residuals[15].sv_id.constellation, 39, + "incorrect value for stec_residuals[15].sv_id.constellation, expected 39, is {}", + msg.stec_residuals[15].sv_id.constellation + ); assert_eq!( msg.stec_residuals[15].sv_id.sat_id, 16, "incorrect value for stec_residuals[15].sv_id.sat_id, expected 16, is {}", @@ -2183,7 +2539,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[16].stddev, expected 162, is {}", msg.stec_residuals[16].stddev ); - assert_eq!(msg.stec_residuals[16].sv_id.constellation, 188, "incorrect value for stec_residuals[16].sv_id.constellation, expected 188, is {}", msg.stec_residuals[16].sv_id.constellation); + assert_eq!( + msg.stec_residuals[16].sv_id.constellation, 188, + "incorrect value for stec_residuals[16].sv_id.constellation, expected 188, is {}", + msg.stec_residuals[16].sv_id.constellation + ); assert_eq!( msg.stec_residuals[16].sv_id.sat_id, 99, "incorrect value for stec_residuals[16].sv_id.sat_id, expected 99, is {}", @@ -2199,7 +2559,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[17].stddev, expected 12, is {}", msg.stec_residuals[17].stddev ); - assert_eq!(msg.stec_residuals[17].sv_id.constellation, 138, "incorrect value for stec_residuals[17].sv_id.constellation, expected 138, is {}", msg.stec_residuals[17].sv_id.constellation); + assert_eq!( + msg.stec_residuals[17].sv_id.constellation, 138, + "incorrect value for stec_residuals[17].sv_id.constellation, expected 138, is {}", + msg.stec_residuals[17].sv_id.constellation + ); assert_eq!( msg.stec_residuals[17].sv_id.sat_id, 197, "incorrect value for stec_residuals[17].sv_id.sat_id, expected 197, is {}", @@ -2215,7 +2579,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[18].stddev, expected 93, is {}", msg.stec_residuals[18].stddev ); - assert_eq!(msg.stec_residuals[18].sv_id.constellation, 67, "incorrect value for stec_residuals[18].sv_id.constellation, expected 67, is {}", msg.stec_residuals[18].sv_id.constellation); + assert_eq!( + msg.stec_residuals[18].sv_id.constellation, 67, + "incorrect value for stec_residuals[18].sv_id.constellation, expected 67, is {}", + msg.stec_residuals[18].sv_id.constellation + ); assert_eq!( msg.stec_residuals[18].sv_id.sat_id, 54, "incorrect value for stec_residuals[18].sv_id.sat_id, expected 54, is {}", @@ -2231,7 +2599,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[19].stddev, expected 46, is {}", msg.stec_residuals[19].stddev ); - assert_eq!(msg.stec_residuals[19].sv_id.constellation, 207, "incorrect value for stec_residuals[19].sv_id.constellation, expected 207, is {}", msg.stec_residuals[19].sv_id.constellation); + assert_eq!( + msg.stec_residuals[19].sv_id.constellation, 207, + "incorrect value for stec_residuals[19].sv_id.constellation, expected 207, is {}", + msg.stec_residuals[19].sv_id.constellation + ); assert_eq!( msg.stec_residuals[19].sv_id.sat_id, 1, "incorrect value for stec_residuals[19].sv_id.sat_id, expected 1, is {}", @@ -2247,7 +2619,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[20].stddev, expected 127, is {}", msg.stec_residuals[20].stddev ); - assert_eq!(msg.stec_residuals[20].sv_id.constellation, 49, "incorrect value for stec_residuals[20].sv_id.constellation, expected 49, is {}", msg.stec_residuals[20].sv_id.constellation); + assert_eq!( + msg.stec_residuals[20].sv_id.constellation, 49, + "incorrect value for stec_residuals[20].sv_id.constellation, expected 49, is {}", + msg.stec_residuals[20].sv_id.constellation + ); assert_eq!( msg.stec_residuals[20].sv_id.sat_id, 115, "incorrect value for stec_residuals[20].sv_id.sat_id, expected 115, is {}", @@ -2263,7 +2639,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[21].stddev, expected 202, is {}", msg.stec_residuals[21].stddev ); - assert_eq!(msg.stec_residuals[21].sv_id.constellation, 200, "incorrect value for stec_residuals[21].sv_id.constellation, expected 200, is {}", msg.stec_residuals[21].sv_id.constellation); + assert_eq!( + msg.stec_residuals[21].sv_id.constellation, 200, + "incorrect value for stec_residuals[21].sv_id.constellation, expected 200, is {}", + msg.stec_residuals[21].sv_id.constellation + ); assert_eq!( msg.stec_residuals[21].sv_id.sat_id, 156, "incorrect value for stec_residuals[21].sv_id.sat_id, expected 156, is {}", @@ -2279,7 +2659,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[22].stddev, expected 81, is {}", msg.stec_residuals[22].stddev ); - assert_eq!(msg.stec_residuals[22].sv_id.constellation, 245, "incorrect value for stec_residuals[22].sv_id.constellation, expected 245, is {}", msg.stec_residuals[22].sv_id.constellation); + assert_eq!( + msg.stec_residuals[22].sv_id.constellation, 245, + "incorrect value for stec_residuals[22].sv_id.constellation, expected 245, is {}", + msg.stec_residuals[22].sv_id.constellation + ); assert_eq!( msg.stec_residuals[22].sv_id.sat_id, 15, "incorrect value for stec_residuals[22].sv_id.sat_id, expected 15, is {}", @@ -2295,7 +2679,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[23].stddev, expected 82, is {}", msg.stec_residuals[23].stddev ); - assert_eq!(msg.stec_residuals[23].sv_id.constellation, 132, "incorrect value for stec_residuals[23].sv_id.constellation, expected 132, is {}", msg.stec_residuals[23].sv_id.constellation); + assert_eq!( + msg.stec_residuals[23].sv_id.constellation, 132, + "incorrect value for stec_residuals[23].sv_id.constellation, expected 132, is {}", + msg.stec_residuals[23].sv_id.constellation + ); assert_eq!( msg.stec_residuals[23].sv_id.sat_id, 218, "incorrect value for stec_residuals[23].sv_id.sat_id, expected 218, is {}", @@ -2311,7 +2699,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[24].stddev, expected 134, is {}", msg.stec_residuals[24].stddev ); - assert_eq!(msg.stec_residuals[24].sv_id.constellation, 26, "incorrect value for stec_residuals[24].sv_id.constellation, expected 26, is {}", msg.stec_residuals[24].sv_id.constellation); + assert_eq!( + msg.stec_residuals[24].sv_id.constellation, 26, + "incorrect value for stec_residuals[24].sv_id.constellation, expected 26, is {}", + msg.stec_residuals[24].sv_id.constellation + ); assert_eq!( msg.stec_residuals[24].sv_id.sat_id, 147, "incorrect value for stec_residuals[24].sv_id.sat_id, expected 147, is {}", @@ -2327,7 +2719,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[25].stddev, expected 83, is {}", msg.stec_residuals[25].stddev ); - assert_eq!(msg.stec_residuals[25].sv_id.constellation, 138, "incorrect value for stec_residuals[25].sv_id.constellation, expected 138, is {}", msg.stec_residuals[25].sv_id.constellation); + assert_eq!( + msg.stec_residuals[25].sv_id.constellation, 138, + "incorrect value for stec_residuals[25].sv_id.constellation, expected 138, is {}", + msg.stec_residuals[25].sv_id.constellation + ); assert_eq!( msg.stec_residuals[25].sv_id.sat_id, 96, "incorrect value for stec_residuals[25].sv_id.sat_id, expected 96, is {}", @@ -2343,7 +2739,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[26].stddev, expected 173, is {}", msg.stec_residuals[26].stddev ); - assert_eq!(msg.stec_residuals[26].sv_id.constellation, 170, "incorrect value for stec_residuals[26].sv_id.constellation, expected 170, is {}", msg.stec_residuals[26].sv_id.constellation); + assert_eq!( + msg.stec_residuals[26].sv_id.constellation, 170, + "incorrect value for stec_residuals[26].sv_id.constellation, expected 170, is {}", + msg.stec_residuals[26].sv_id.constellation + ); assert_eq!( msg.stec_residuals[26].sv_id.sat_id, 156, "incorrect value for stec_residuals[26].sv_id.sat_id, expected 156, is {}", @@ -2359,7 +2759,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[27].stddev, expected 107, is {}", msg.stec_residuals[27].stddev ); - assert_eq!(msg.stec_residuals[27].sv_id.constellation, 115, "incorrect value for stec_residuals[27].sv_id.constellation, expected 115, is {}", msg.stec_residuals[27].sv_id.constellation); + assert_eq!( + msg.stec_residuals[27].sv_id.constellation, 115, + "incorrect value for stec_residuals[27].sv_id.constellation, expected 115, is {}", + msg.stec_residuals[27].sv_id.constellation + ); assert_eq!( msg.stec_residuals[27].sv_id.sat_id, 228, "incorrect value for stec_residuals[27].sv_id.sat_id, expected 228, is {}", @@ -2375,7 +2779,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[28].stddev, expected 10, is {}", msg.stec_residuals[28].stddev ); - assert_eq!(msg.stec_residuals[28].sv_id.constellation, 112, "incorrect value for stec_residuals[28].sv_id.constellation, expected 112, is {}", msg.stec_residuals[28].sv_id.constellation); + assert_eq!( + msg.stec_residuals[28].sv_id.constellation, 112, + "incorrect value for stec_residuals[28].sv_id.constellation, expected 112, is {}", + msg.stec_residuals[28].sv_id.constellation + ); assert_eq!( msg.stec_residuals[28].sv_id.sat_id, 245, "incorrect value for stec_residuals[28].sv_id.sat_id, expected 245, is {}", @@ -2391,7 +2799,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[29].stddev, expected 108, is {}", msg.stec_residuals[29].stddev ); - assert_eq!(msg.stec_residuals[29].sv_id.constellation, 117, "incorrect value for stec_residuals[29].sv_id.constellation, expected 117, is {}", msg.stec_residuals[29].sv_id.constellation); + assert_eq!( + msg.stec_residuals[29].sv_id.constellation, 117, + "incorrect value for stec_residuals[29].sv_id.constellation, expected 117, is {}", + msg.stec_residuals[29].sv_id.constellation + ); assert_eq!( msg.stec_residuals[29].sv_id.sat_id, 5, "incorrect value for stec_residuals[29].sv_id.sat_id, expected 5, is {}", @@ -2407,7 +2819,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[30].stddev, expected 226, is {}", msg.stec_residuals[30].stddev ); - assert_eq!(msg.stec_residuals[30].sv_id.constellation, 212, "incorrect value for stec_residuals[30].sv_id.constellation, expected 212, is {}", msg.stec_residuals[30].sv_id.constellation); + assert_eq!( + msg.stec_residuals[30].sv_id.constellation, 212, + "incorrect value for stec_residuals[30].sv_id.constellation, expected 212, is {}", + msg.stec_residuals[30].sv_id.constellation + ); assert_eq!( msg.stec_residuals[30].sv_id.sat_id, 248, "incorrect value for stec_residuals[30].sv_id.sat_id, expected 248, is {}", @@ -2443,7 +2859,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[32].stddev, expected 243, is {}", msg.stec_residuals[32].stddev ); - assert_eq!(msg.stec_residuals[32].sv_id.constellation, 60, "incorrect value for stec_residuals[32].sv_id.constellation, expected 60, is {}", msg.stec_residuals[32].sv_id.constellation); + assert_eq!( + msg.stec_residuals[32].sv_id.constellation, 60, + "incorrect value for stec_residuals[32].sv_id.constellation, expected 60, is {}", + msg.stec_residuals[32].sv_id.constellation + ); assert_eq!( msg.stec_residuals[32].sv_id.sat_id, 0, "incorrect value for stec_residuals[32].sv_id.sat_id, expected 0, is {}", @@ -2459,7 +2879,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[33].stddev, expected 137, is {}", msg.stec_residuals[33].stddev ); - assert_eq!(msg.stec_residuals[33].sv_id.constellation, 216, "incorrect value for stec_residuals[33].sv_id.constellation, expected 216, is {}", msg.stec_residuals[33].sv_id.constellation); + assert_eq!( + msg.stec_residuals[33].sv_id.constellation, 216, + "incorrect value for stec_residuals[33].sv_id.constellation, expected 216, is {}", + msg.stec_residuals[33].sv_id.constellation + ); assert_eq!( msg.stec_residuals[33].sv_id.sat_id, 203, "incorrect value for stec_residuals[33].sv_id.sat_id, expected 203, is {}", @@ -2475,7 +2899,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[34].stddev, expected 152, is {}", msg.stec_residuals[34].stddev ); - assert_eq!(msg.stec_residuals[34].sv_id.constellation, 28, "incorrect value for stec_residuals[34].sv_id.constellation, expected 28, is {}", msg.stec_residuals[34].sv_id.constellation); + assert_eq!( + msg.stec_residuals[34].sv_id.constellation, 28, + "incorrect value for stec_residuals[34].sv_id.constellation, expected 28, is {}", + msg.stec_residuals[34].sv_id.constellation + ); assert_eq!( msg.stec_residuals[34].sv_id.sat_id, 16, "incorrect value for stec_residuals[34].sv_id.sat_id, expected 16, is {}", @@ -2491,7 +2919,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[35].stddev, expected 203, is {}", msg.stec_residuals[35].stddev ); - assert_eq!(msg.stec_residuals[35].sv_id.constellation, 119, "incorrect value for stec_residuals[35].sv_id.constellation, expected 119, is {}", msg.stec_residuals[35].sv_id.constellation); + assert_eq!( + msg.stec_residuals[35].sv_id.constellation, 119, + "incorrect value for stec_residuals[35].sv_id.constellation, expected 119, is {}", + msg.stec_residuals[35].sv_id.constellation + ); assert_eq!( msg.stec_residuals[35].sv_id.sat_id, 181, "incorrect value for stec_residuals[35].sv_id.sat_id, expected 181, is {}", @@ -2507,7 +2939,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[36].stddev, expected 32, is {}", msg.stec_residuals[36].stddev ); - assert_eq!(msg.stec_residuals[36].sv_id.constellation, 34, "incorrect value for stec_residuals[36].sv_id.constellation, expected 34, is {}", msg.stec_residuals[36].sv_id.constellation); + assert_eq!( + msg.stec_residuals[36].sv_id.constellation, 34, + "incorrect value for stec_residuals[36].sv_id.constellation, expected 34, is {}", + msg.stec_residuals[36].sv_id.constellation + ); assert_eq!( msg.stec_residuals[36].sv_id.sat_id, 236, "incorrect value for stec_residuals[36].sv_id.sat_id, expected 236, is {}", @@ -2543,7 +2979,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[38].stddev, expected 137, is {}", msg.stec_residuals[38].stddev ); - assert_eq!(msg.stec_residuals[38].sv_id.constellation, 94, "incorrect value for stec_residuals[38].sv_id.constellation, expected 94, is {}", msg.stec_residuals[38].sv_id.constellation); + assert_eq!( + msg.stec_residuals[38].sv_id.constellation, 94, + "incorrect value for stec_residuals[38].sv_id.constellation, expected 94, is {}", + msg.stec_residuals[38].sv_id.constellation + ); assert_eq!( msg.stec_residuals[38].sv_id.sat_id, 25, "incorrect value for stec_residuals[38].sv_id.sat_id, expected 25, is {}", @@ -2579,7 +3019,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[40].stddev, expected 126, is {}", msg.stec_residuals[40].stddev ); - assert_eq!(msg.stec_residuals[40].sv_id.constellation, 132, "incorrect value for stec_residuals[40].sv_id.constellation, expected 132, is {}", msg.stec_residuals[40].sv_id.constellation); + assert_eq!( + msg.stec_residuals[40].sv_id.constellation, 132, + "incorrect value for stec_residuals[40].sv_id.constellation, expected 132, is {}", + msg.stec_residuals[40].sv_id.constellation + ); assert_eq!( msg.stec_residuals[40].sv_id.sat_id, 48, "incorrect value for stec_residuals[40].sv_id.sat_id, expected 48, is {}", @@ -2595,7 +3039,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[41].stddev, expected 21, is {}", msg.stec_residuals[41].stddev ); - assert_eq!(msg.stec_residuals[41].sv_id.constellation, 68, "incorrect value for stec_residuals[41].sv_id.constellation, expected 68, is {}", msg.stec_residuals[41].sv_id.constellation); + assert_eq!( + msg.stec_residuals[41].sv_id.constellation, 68, + "incorrect value for stec_residuals[41].sv_id.constellation, expected 68, is {}", + msg.stec_residuals[41].sv_id.constellation + ); assert_eq!( msg.stec_residuals[41].sv_id.sat_id, 186, "incorrect value for stec_residuals[41].sv_id.sat_id, expected 186, is {}", @@ -2611,7 +3059,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[42].stddev, expected 148, is {}", msg.stec_residuals[42].stddev ); - assert_eq!(msg.stec_residuals[42].sv_id.constellation, 180, "incorrect value for stec_residuals[42].sv_id.constellation, expected 180, is {}", msg.stec_residuals[42].sv_id.constellation); + assert_eq!( + msg.stec_residuals[42].sv_id.constellation, 180, + "incorrect value for stec_residuals[42].sv_id.constellation, expected 180, is {}", + msg.stec_residuals[42].sv_id.constellation + ); assert_eq!( msg.stec_residuals[42].sv_id.sat_id, 0, "incorrect value for stec_residuals[42].sv_id.sat_id, expected 0, is {}", @@ -2627,7 +3079,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[43].stddev, expected 177, is {}", msg.stec_residuals[43].stddev ); - assert_eq!(msg.stec_residuals[43].sv_id.constellation, 149, "incorrect value for stec_residuals[43].sv_id.constellation, expected 149, is {}", msg.stec_residuals[43].sv_id.constellation); + assert_eq!( + msg.stec_residuals[43].sv_id.constellation, 149, + "incorrect value for stec_residuals[43].sv_id.constellation, expected 149, is {}", + msg.stec_residuals[43].sv_id.constellation + ); assert_eq!( msg.stec_residuals[43].sv_id.sat_id, 119, "incorrect value for stec_residuals[43].sv_id.sat_id, expected 119, is {}", @@ -2643,7 +3099,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[44].stddev, expected 10, is {}", msg.stec_residuals[44].stddev ); - assert_eq!(msg.stec_residuals[44].sv_id.constellation, 80, "incorrect value for stec_residuals[44].sv_id.constellation, expected 80, is {}", msg.stec_residuals[44].sv_id.constellation); + assert_eq!( + msg.stec_residuals[44].sv_id.constellation, 80, + "incorrect value for stec_residuals[44].sv_id.constellation, expected 80, is {}", + msg.stec_residuals[44].sv_id.constellation + ); assert_eq!( msg.stec_residuals[44].sv_id.sat_id, 201, "incorrect value for stec_residuals[44].sv_id.sat_id, expected 201, is {}", @@ -2659,7 +3119,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[45].stddev, expected 233, is {}", msg.stec_residuals[45].stddev ); - assert_eq!(msg.stec_residuals[45].sv_id.constellation, 118, "incorrect value for stec_residuals[45].sv_id.constellation, expected 118, is {}", msg.stec_residuals[45].sv_id.constellation); + assert_eq!( + msg.stec_residuals[45].sv_id.constellation, 118, + "incorrect value for stec_residuals[45].sv_id.constellation, expected 118, is {}", + msg.stec_residuals[45].sv_id.constellation + ); assert_eq!( msg.stec_residuals[45].sv_id.sat_id, 136, "incorrect value for stec_residuals[45].sv_id.sat_id, expected 136, is {}", @@ -2675,7 +3139,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_dep_a() { "incorrect value for stec_residuals[46].stddev, expected 103, is {}", msg.stec_residuals[46].stddev ); - assert_eq!(msg.stec_residuals[46].sv_id.constellation, 227, "incorrect value for stec_residuals[46].sv_id.constellation, expected 227, is {}", msg.stec_residuals[46].sv_id.constellation); + assert_eq!( + msg.stec_residuals[46].sv_id.constellation, 227, + "incorrect value for stec_residuals[46].sv_id.constellation, expected 227, is {}", + msg.stec_residuals[46].sv_id.constellation + ); assert_eq!( msg.stec_residuals[46].sv_id.sat_id, 233, "incorrect value for stec_residuals[46].sv_id.sat_id, expected 233, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs index a274d43f8f..bd583b18ad 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a.rs @@ -102,7 +102,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[0].residual, expected -23949, is {}", msg.stec_residuals[0].residual ); - assert_eq!(msg.stec_residuals[0].sv_id.constellation, 157, "incorrect value for stec_residuals[0].sv_id.constellation, expected 157, is {}", msg.stec_residuals[0].sv_id.constellation); + assert_eq!( + msg.stec_residuals[0].sv_id.constellation, 157, + "incorrect value for stec_residuals[0].sv_id.constellation, expected 157, is {}", + msg.stec_residuals[0].sv_id.constellation + ); assert_eq!( msg.stec_residuals[0].sv_id.sat_id, 231, "incorrect value for stec_residuals[0].sv_id.sat_id, expected 231, is {}", @@ -113,7 +117,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[1].residual, expected 27427, is {}", msg.stec_residuals[1].residual ); - assert_eq!(msg.stec_residuals[1].sv_id.constellation, 146, "incorrect value for stec_residuals[1].sv_id.constellation, expected 146, is {}", msg.stec_residuals[1].sv_id.constellation); + assert_eq!( + msg.stec_residuals[1].sv_id.constellation, 146, + "incorrect value for stec_residuals[1].sv_id.constellation, expected 146, is {}", + msg.stec_residuals[1].sv_id.constellation + ); assert_eq!( msg.stec_residuals[1].sv_id.sat_id, 197, "incorrect value for stec_residuals[1].sv_id.sat_id, expected 197, is {}", @@ -124,7 +132,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[2].residual, expected 10548, is {}", msg.stec_residuals[2].residual ); - assert_eq!(msg.stec_residuals[2].sv_id.constellation, 109, "incorrect value for stec_residuals[2].sv_id.constellation, expected 109, is {}", msg.stec_residuals[2].sv_id.constellation); + assert_eq!( + msg.stec_residuals[2].sv_id.constellation, 109, + "incorrect value for stec_residuals[2].sv_id.constellation, expected 109, is {}", + msg.stec_residuals[2].sv_id.constellation + ); assert_eq!( msg.stec_residuals[2].sv_id.sat_id, 222, "incorrect value for stec_residuals[2].sv_id.sat_id, expected 222, is {}", @@ -150,7 +162,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[4].residual, expected -27511, is {}", msg.stec_residuals[4].residual ); - assert_eq!(msg.stec_residuals[4].sv_id.constellation, 204, "incorrect value for stec_residuals[4].sv_id.constellation, expected 204, is {}", msg.stec_residuals[4].sv_id.constellation); + assert_eq!( + msg.stec_residuals[4].sv_id.constellation, 204, + "incorrect value for stec_residuals[4].sv_id.constellation, expected 204, is {}", + msg.stec_residuals[4].sv_id.constellation + ); assert_eq!( msg.stec_residuals[4].sv_id.sat_id, 65, "incorrect value for stec_residuals[4].sv_id.sat_id, expected 65, is {}", @@ -161,7 +177,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[5].residual, expected 11, is {}", msg.stec_residuals[5].residual ); - assert_eq!(msg.stec_residuals[5].sv_id.constellation, 183, "incorrect value for stec_residuals[5].sv_id.constellation, expected 183, is {}", msg.stec_residuals[5].sv_id.constellation); + assert_eq!( + msg.stec_residuals[5].sv_id.constellation, 183, + "incorrect value for stec_residuals[5].sv_id.constellation, expected 183, is {}", + msg.stec_residuals[5].sv_id.constellation + ); assert_eq!( msg.stec_residuals[5].sv_id.sat_id, 171, "incorrect value for stec_residuals[5].sv_id.sat_id, expected 171, is {}", @@ -172,7 +192,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[6].residual, expected 13740, is {}", msg.stec_residuals[6].residual ); - assert_eq!(msg.stec_residuals[6].sv_id.constellation, 203, "incorrect value for stec_residuals[6].sv_id.constellation, expected 203, is {}", msg.stec_residuals[6].sv_id.constellation); + assert_eq!( + msg.stec_residuals[6].sv_id.constellation, 203, + "incorrect value for stec_residuals[6].sv_id.constellation, expected 203, is {}", + msg.stec_residuals[6].sv_id.constellation + ); assert_eq!( msg.stec_residuals[6].sv_id.sat_id, 180, "incorrect value for stec_residuals[6].sv_id.sat_id, expected 180, is {}", @@ -228,7 +252,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[10].residual, expected -24357, is {}", msg.stec_residuals[10].residual ); - assert_eq!(msg.stec_residuals[10].sv_id.constellation, 137, "incorrect value for stec_residuals[10].sv_id.constellation, expected 137, is {}", msg.stec_residuals[10].sv_id.constellation); + assert_eq!( + msg.stec_residuals[10].sv_id.constellation, 137, + "incorrect value for stec_residuals[10].sv_id.constellation, expected 137, is {}", + msg.stec_residuals[10].sv_id.constellation + ); assert_eq!( msg.stec_residuals[10].sv_id.sat_id, 98, "incorrect value for stec_residuals[10].sv_id.sat_id, expected 98, is {}", @@ -239,7 +267,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[11].residual, expected -1441, is {}", msg.stec_residuals[11].residual ); - assert_eq!(msg.stec_residuals[11].sv_id.constellation, 216, "incorrect value for stec_residuals[11].sv_id.constellation, expected 216, is {}", msg.stec_residuals[11].sv_id.constellation); + assert_eq!( + msg.stec_residuals[11].sv_id.constellation, 216, + "incorrect value for stec_residuals[11].sv_id.constellation, expected 216, is {}", + msg.stec_residuals[11].sv_id.constellation + ); assert_eq!( msg.stec_residuals[11].sv_id.sat_id, 95, "incorrect value for stec_residuals[11].sv_id.sat_id, expected 95, is {}", @@ -250,7 +282,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[12].residual, expected -10660, is {}", msg.stec_residuals[12].residual ); - assert_eq!(msg.stec_residuals[12].sv_id.constellation, 196, "incorrect value for stec_residuals[12].sv_id.constellation, expected 196, is {}", msg.stec_residuals[12].sv_id.constellation); + assert_eq!( + msg.stec_residuals[12].sv_id.constellation, 196, + "incorrect value for stec_residuals[12].sv_id.constellation, expected 196, is {}", + msg.stec_residuals[12].sv_id.constellation + ); assert_eq!( msg.stec_residuals[12].sv_id.sat_id, 99, "incorrect value for stec_residuals[12].sv_id.sat_id, expected 99, is {}", @@ -261,7 +297,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[13].residual, expected -8509, is {}", msg.stec_residuals[13].residual ); - assert_eq!(msg.stec_residuals[13].sv_id.constellation, 253, "incorrect value for stec_residuals[13].sv_id.constellation, expected 253, is {}", msg.stec_residuals[13].sv_id.constellation); + assert_eq!( + msg.stec_residuals[13].sv_id.constellation, 253, + "incorrect value for stec_residuals[13].sv_id.constellation, expected 253, is {}", + msg.stec_residuals[13].sv_id.constellation + ); assert_eq!( msg.stec_residuals[13].sv_id.sat_id, 159, "incorrect value for stec_residuals[13].sv_id.sat_id, expected 159, is {}", @@ -272,7 +312,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[14].residual, expected 16361, is {}", msg.stec_residuals[14].residual ); - assert_eq!(msg.stec_residuals[14].sv_id.constellation, 146, "incorrect value for stec_residuals[14].sv_id.constellation, expected 146, is {}", msg.stec_residuals[14].sv_id.constellation); + assert_eq!( + msg.stec_residuals[14].sv_id.constellation, 146, + "incorrect value for stec_residuals[14].sv_id.constellation, expected 146, is {}", + msg.stec_residuals[14].sv_id.constellation + ); assert_eq!( msg.stec_residuals[14].sv_id.sat_id, 233, "incorrect value for stec_residuals[14].sv_id.sat_id, expected 233, is {}", @@ -283,7 +327,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[15].residual, expected 10346, is {}", msg.stec_residuals[15].residual ); - assert_eq!(msg.stec_residuals[15].sv_id.constellation, 24, "incorrect value for stec_residuals[15].sv_id.constellation, expected 24, is {}", msg.stec_residuals[15].sv_id.constellation); + assert_eq!( + msg.stec_residuals[15].sv_id.constellation, 24, + "incorrect value for stec_residuals[15].sv_id.constellation, expected 24, is {}", + msg.stec_residuals[15].sv_id.constellation + ); assert_eq!( msg.stec_residuals[15].sv_id.sat_id, 76, "incorrect value for stec_residuals[15].sv_id.sat_id, expected 76, is {}", @@ -294,7 +342,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[16].residual, expected -18679, is {}", msg.stec_residuals[16].residual ); - assert_eq!(msg.stec_residuals[16].sv_id.constellation, 65, "incorrect value for stec_residuals[16].sv_id.constellation, expected 65, is {}", msg.stec_residuals[16].sv_id.constellation); + assert_eq!( + msg.stec_residuals[16].sv_id.constellation, 65, + "incorrect value for stec_residuals[16].sv_id.constellation, expected 65, is {}", + msg.stec_residuals[16].sv_id.constellation + ); assert_eq!( msg.stec_residuals[16].sv_id.sat_id, 253, "incorrect value for stec_residuals[16].sv_id.sat_id, expected 253, is {}", @@ -305,7 +357,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[17].residual, expected 15292, is {}", msg.stec_residuals[17].residual ); - assert_eq!(msg.stec_residuals[17].sv_id.constellation, 215, "incorrect value for stec_residuals[17].sv_id.constellation, expected 215, is {}", msg.stec_residuals[17].sv_id.constellation); + assert_eq!( + msg.stec_residuals[17].sv_id.constellation, 215, + "incorrect value for stec_residuals[17].sv_id.constellation, expected 215, is {}", + msg.stec_residuals[17].sv_id.constellation + ); assert_eq!( msg.stec_residuals[17].sv_id.sat_id, 40, "incorrect value for stec_residuals[17].sv_id.sat_id, expected 40, is {}", @@ -316,7 +372,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[18].residual, expected 29537, is {}", msg.stec_residuals[18].residual ); - assert_eq!(msg.stec_residuals[18].sv_id.constellation, 69, "incorrect value for stec_residuals[18].sv_id.constellation, expected 69, is {}", msg.stec_residuals[18].sv_id.constellation); + assert_eq!( + msg.stec_residuals[18].sv_id.constellation, 69, + "incorrect value for stec_residuals[18].sv_id.constellation, expected 69, is {}", + msg.stec_residuals[18].sv_id.constellation + ); assert_eq!( msg.stec_residuals[18].sv_id.sat_id, 117, "incorrect value for stec_residuals[18].sv_id.sat_id, expected 117, is {}", @@ -327,7 +387,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[19].residual, expected -29440, is {}", msg.stec_residuals[19].residual ); - assert_eq!(msg.stec_residuals[19].sv_id.constellation, 56, "incorrect value for stec_residuals[19].sv_id.constellation, expected 56, is {}", msg.stec_residuals[19].sv_id.constellation); + assert_eq!( + msg.stec_residuals[19].sv_id.constellation, 56, + "incorrect value for stec_residuals[19].sv_id.constellation, expected 56, is {}", + msg.stec_residuals[19].sv_id.constellation + ); assert_eq!( msg.stec_residuals[19].sv_id.sat_id, 60, "incorrect value for stec_residuals[19].sv_id.sat_id, expected 60, is {}", @@ -338,7 +402,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[20].residual, expected -24266, is {}", msg.stec_residuals[20].residual ); - assert_eq!(msg.stec_residuals[20].sv_id.constellation, 171, "incorrect value for stec_residuals[20].sv_id.constellation, expected 171, is {}", msg.stec_residuals[20].sv_id.constellation); + assert_eq!( + msg.stec_residuals[20].sv_id.constellation, 171, + "incorrect value for stec_residuals[20].sv_id.constellation, expected 171, is {}", + msg.stec_residuals[20].sv_id.constellation + ); assert_eq!( msg.stec_residuals[20].sv_id.sat_id, 207, "incorrect value for stec_residuals[20].sv_id.sat_id, expected 207, is {}", @@ -349,7 +417,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[21].residual, expected 22272, is {}", msg.stec_residuals[21].residual ); - assert_eq!(msg.stec_residuals[21].sv_id.constellation, 61, "incorrect value for stec_residuals[21].sv_id.constellation, expected 61, is {}", msg.stec_residuals[21].sv_id.constellation); + assert_eq!( + msg.stec_residuals[21].sv_id.constellation, 61, + "incorrect value for stec_residuals[21].sv_id.constellation, expected 61, is {}", + msg.stec_residuals[21].sv_id.constellation + ); assert_eq!( msg.stec_residuals[21].sv_id.sat_id, 23, "incorrect value for stec_residuals[21].sv_id.sat_id, expected 23, is {}", @@ -360,7 +432,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[22].residual, expected 9303, is {}", msg.stec_residuals[22].residual ); - assert_eq!(msg.stec_residuals[22].sv_id.constellation, 123, "incorrect value for stec_residuals[22].sv_id.constellation, expected 123, is {}", msg.stec_residuals[22].sv_id.constellation); + assert_eq!( + msg.stec_residuals[22].sv_id.constellation, 123, + "incorrect value for stec_residuals[22].sv_id.constellation, expected 123, is {}", + msg.stec_residuals[22].sv_id.constellation + ); assert_eq!( msg.stec_residuals[22].sv_id.sat_id, 230, "incorrect value for stec_residuals[22].sv_id.sat_id, expected 230, is {}", @@ -371,7 +447,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[23].residual, expected -23794, is {}", msg.stec_residuals[23].residual ); - assert_eq!(msg.stec_residuals[23].sv_id.constellation, 255, "incorrect value for stec_residuals[23].sv_id.constellation, expected 255, is {}", msg.stec_residuals[23].sv_id.constellation); + assert_eq!( + msg.stec_residuals[23].sv_id.constellation, 255, + "incorrect value for stec_residuals[23].sv_id.constellation, expected 255, is {}", + msg.stec_residuals[23].sv_id.constellation + ); assert_eq!( msg.stec_residuals[23].sv_id.sat_id, 184, "incorrect value for stec_residuals[23].sv_id.sat_id, expected 184, is {}", @@ -382,7 +462,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[24].residual, expected -26837, is {}", msg.stec_residuals[24].residual ); - assert_eq!(msg.stec_residuals[24].sv_id.constellation, 224, "incorrect value for stec_residuals[24].sv_id.constellation, expected 224, is {}", msg.stec_residuals[24].sv_id.constellation); + assert_eq!( + msg.stec_residuals[24].sv_id.constellation, 224, + "incorrect value for stec_residuals[24].sv_id.constellation, expected 224, is {}", + msg.stec_residuals[24].sv_id.constellation + ); assert_eq!( msg.stec_residuals[24].sv_id.sat_id, 187, "incorrect value for stec_residuals[24].sv_id.sat_id, expected 187, is {}", @@ -393,7 +477,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[25].residual, expected 14631, is {}", msg.stec_residuals[25].residual ); - assert_eq!(msg.stec_residuals[25].sv_id.constellation, 104, "incorrect value for stec_residuals[25].sv_id.constellation, expected 104, is {}", msg.stec_residuals[25].sv_id.constellation); + assert_eq!( + msg.stec_residuals[25].sv_id.constellation, 104, + "incorrect value for stec_residuals[25].sv_id.constellation, expected 104, is {}", + msg.stec_residuals[25].sv_id.constellation + ); assert_eq!( msg.stec_residuals[25].sv_id.sat_id, 151, "incorrect value for stec_residuals[25].sv_id.sat_id, expected 151, is {}", @@ -404,7 +492,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[26].residual, expected -8144, is {}", msg.stec_residuals[26].residual ); - assert_eq!(msg.stec_residuals[26].sv_id.constellation, 54, "incorrect value for stec_residuals[26].sv_id.constellation, expected 54, is {}", msg.stec_residuals[26].sv_id.constellation); + assert_eq!( + msg.stec_residuals[26].sv_id.constellation, 54, + "incorrect value for stec_residuals[26].sv_id.constellation, expected 54, is {}", + msg.stec_residuals[26].sv_id.constellation + ); assert_eq!( msg.stec_residuals[26].sv_id.sat_id, 5, "incorrect value for stec_residuals[26].sv_id.sat_id, expected 5, is {}", @@ -415,7 +507,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[27].residual, expected 23612, is {}", msg.stec_residuals[27].residual ); - assert_eq!(msg.stec_residuals[27].sv_id.constellation, 129, "incorrect value for stec_residuals[27].sv_id.constellation, expected 129, is {}", msg.stec_residuals[27].sv_id.constellation); + assert_eq!( + msg.stec_residuals[27].sv_id.constellation, 129, + "incorrect value for stec_residuals[27].sv_id.constellation, expected 129, is {}", + msg.stec_residuals[27].sv_id.constellation + ); assert_eq!( msg.stec_residuals[27].sv_id.sat_id, 181, "incorrect value for stec_residuals[27].sv_id.sat_id, expected 181, is {}", @@ -426,7 +522,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[28].residual, expected 28013, is {}", msg.stec_residuals[28].residual ); - assert_eq!(msg.stec_residuals[28].sv_id.constellation, 114, "incorrect value for stec_residuals[28].sv_id.constellation, expected 114, is {}", msg.stec_residuals[28].sv_id.constellation); + assert_eq!( + msg.stec_residuals[28].sv_id.constellation, 114, + "incorrect value for stec_residuals[28].sv_id.constellation, expected 114, is {}", + msg.stec_residuals[28].sv_id.constellation + ); assert_eq!( msg.stec_residuals[28].sv_id.sat_id, 171, "incorrect value for stec_residuals[28].sv_id.sat_id, expected 171, is {}", @@ -437,7 +537,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[29].residual, expected 2166, is {}", msg.stec_residuals[29].residual ); - assert_eq!(msg.stec_residuals[29].sv_id.constellation, 23, "incorrect value for stec_residuals[29].sv_id.constellation, expected 23, is {}", msg.stec_residuals[29].sv_id.constellation); + assert_eq!( + msg.stec_residuals[29].sv_id.constellation, 23, + "incorrect value for stec_residuals[29].sv_id.constellation, expected 23, is {}", + msg.stec_residuals[29].sv_id.constellation + ); assert_eq!( msg.stec_residuals[29].sv_id.sat_id, 12, "incorrect value for stec_residuals[29].sv_id.sat_id, expected 12, is {}", @@ -448,7 +552,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[30].residual, expected -10186, is {}", msg.stec_residuals[30].residual ); - assert_eq!(msg.stec_residuals[30].sv_id.constellation, 159, "incorrect value for stec_residuals[30].sv_id.constellation, expected 159, is {}", msg.stec_residuals[30].sv_id.constellation); + assert_eq!( + msg.stec_residuals[30].sv_id.constellation, 159, + "incorrect value for stec_residuals[30].sv_id.constellation, expected 159, is {}", + msg.stec_residuals[30].sv_id.constellation + ); assert_eq!( msg.stec_residuals[30].sv_id.sat_id, 64, "incorrect value for stec_residuals[30].sv_id.sat_id, expected 64, is {}", @@ -459,7 +567,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[31].residual, expected 17432, is {}", msg.stec_residuals[31].residual ); - assert_eq!(msg.stec_residuals[31].sv_id.constellation, 20, "incorrect value for stec_residuals[31].sv_id.constellation, expected 20, is {}", msg.stec_residuals[31].sv_id.constellation); + assert_eq!( + msg.stec_residuals[31].sv_id.constellation, 20, + "incorrect value for stec_residuals[31].sv_id.constellation, expected 20, is {}", + msg.stec_residuals[31].sv_id.constellation + ); assert_eq!( msg.stec_residuals[31].sv_id.sat_id, 33, "incorrect value for stec_residuals[31].sv_id.sat_id, expected 33, is {}", @@ -470,7 +582,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[32].residual, expected -8666, is {}", msg.stec_residuals[32].residual ); - assert_eq!(msg.stec_residuals[32].sv_id.constellation, 36, "incorrect value for stec_residuals[32].sv_id.constellation, expected 36, is {}", msg.stec_residuals[32].sv_id.constellation); + assert_eq!( + msg.stec_residuals[32].sv_id.constellation, 36, + "incorrect value for stec_residuals[32].sv_id.constellation, expected 36, is {}", + msg.stec_residuals[32].sv_id.constellation + ); assert_eq!( msg.stec_residuals[32].sv_id.sat_id, 160, "incorrect value for stec_residuals[32].sv_id.sat_id, expected 160, is {}", @@ -481,7 +597,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[33].residual, expected 25436, is {}", msg.stec_residuals[33].residual ); - assert_eq!(msg.stec_residuals[33].sv_id.constellation, 190, "incorrect value for stec_residuals[33].sv_id.constellation, expected 190, is {}", msg.stec_residuals[33].sv_id.constellation); + assert_eq!( + msg.stec_residuals[33].sv_id.constellation, 190, + "incorrect value for stec_residuals[33].sv_id.constellation, expected 190, is {}", + msg.stec_residuals[33].sv_id.constellation + ); assert_eq!( msg.stec_residuals[33].sv_id.sat_id, 145, "incorrect value for stec_residuals[33].sv_id.sat_id, expected 145, is {}", @@ -492,7 +612,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[34].residual, expected -3864, is {}", msg.stec_residuals[34].residual ); - assert_eq!(msg.stec_residuals[34].sv_id.constellation, 159, "incorrect value for stec_residuals[34].sv_id.constellation, expected 159, is {}", msg.stec_residuals[34].sv_id.constellation); + assert_eq!( + msg.stec_residuals[34].sv_id.constellation, 159, + "incorrect value for stec_residuals[34].sv_id.constellation, expected 159, is {}", + msg.stec_residuals[34].sv_id.constellation + ); assert_eq!( msg.stec_residuals[34].sv_id.sat_id, 108, "incorrect value for stec_residuals[34].sv_id.sat_id, expected 108, is {}", @@ -503,7 +627,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[35].residual, expected 4093, is {}", msg.stec_residuals[35].residual ); - assert_eq!(msg.stec_residuals[35].sv_id.constellation, 221, "incorrect value for stec_residuals[35].sv_id.constellation, expected 221, is {}", msg.stec_residuals[35].sv_id.constellation); + assert_eq!( + msg.stec_residuals[35].sv_id.constellation, 221, + "incorrect value for stec_residuals[35].sv_id.constellation, expected 221, is {}", + msg.stec_residuals[35].sv_id.constellation + ); assert_eq!( msg.stec_residuals[35].sv_id.sat_id, 227, "incorrect value for stec_residuals[35].sv_id.sat_id, expected 227, is {}", @@ -514,7 +642,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[36].residual, expected -18055, is {}", msg.stec_residuals[36].residual ); - assert_eq!(msg.stec_residuals[36].sv_id.constellation, 23, "incorrect value for stec_residuals[36].sv_id.constellation, expected 23, is {}", msg.stec_residuals[36].sv_id.constellation); + assert_eq!( + msg.stec_residuals[36].sv_id.constellation, 23, + "incorrect value for stec_residuals[36].sv_id.constellation, expected 23, is {}", + msg.stec_residuals[36].sv_id.constellation + ); assert_eq!( msg.stec_residuals[36].sv_id.sat_id, 62, "incorrect value for stec_residuals[36].sv_id.sat_id, expected 62, is {}", @@ -525,7 +657,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[37].residual, expected -27900, is {}", msg.stec_residuals[37].residual ); - assert_eq!(msg.stec_residuals[37].sv_id.constellation, 116, "incorrect value for stec_residuals[37].sv_id.constellation, expected 116, is {}", msg.stec_residuals[37].sv_id.constellation); + assert_eq!( + msg.stec_residuals[37].sv_id.constellation, 116, + "incorrect value for stec_residuals[37].sv_id.constellation, expected 116, is {}", + msg.stec_residuals[37].sv_id.constellation + ); assert_eq!( msg.stec_residuals[37].sv_id.sat_id, 168, "incorrect value for stec_residuals[37].sv_id.sat_id, expected 168, is {}", @@ -536,7 +672,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[38].residual, expected 30687, is {}", msg.stec_residuals[38].residual ); - assert_eq!(msg.stec_residuals[38].sv_id.constellation, 72, "incorrect value for stec_residuals[38].sv_id.constellation, expected 72, is {}", msg.stec_residuals[38].sv_id.constellation); + assert_eq!( + msg.stec_residuals[38].sv_id.constellation, 72, + "incorrect value for stec_residuals[38].sv_id.constellation, expected 72, is {}", + msg.stec_residuals[38].sv_id.constellation + ); assert_eq!( msg.stec_residuals[38].sv_id.sat_id, 123, "incorrect value for stec_residuals[38].sv_id.sat_id, expected 123, is {}", @@ -547,7 +687,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[39].residual, expected -13151, is {}", msg.stec_residuals[39].residual ); - assert_eq!(msg.stec_residuals[39].sv_id.constellation, 242, "incorrect value for stec_residuals[39].sv_id.constellation, expected 242, is {}", msg.stec_residuals[39].sv_id.constellation); + assert_eq!( + msg.stec_residuals[39].sv_id.constellation, 242, + "incorrect value for stec_residuals[39].sv_id.constellation, expected 242, is {}", + msg.stec_residuals[39].sv_id.constellation + ); assert_eq!( msg.stec_residuals[39].sv_id.sat_id, 226, "incorrect value for stec_residuals[39].sv_id.sat_id, expected 226, is {}", @@ -558,7 +702,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[40].residual, expected -22903, is {}", msg.stec_residuals[40].residual ); - assert_eq!(msg.stec_residuals[40].sv_id.constellation, 202, "incorrect value for stec_residuals[40].sv_id.constellation, expected 202, is {}", msg.stec_residuals[40].sv_id.constellation); + assert_eq!( + msg.stec_residuals[40].sv_id.constellation, 202, + "incorrect value for stec_residuals[40].sv_id.constellation, expected 202, is {}", + msg.stec_residuals[40].sv_id.constellation + ); assert_eq!( msg.stec_residuals[40].sv_id.sat_id, 180, "incorrect value for stec_residuals[40].sv_id.sat_id, expected 180, is {}", @@ -569,7 +717,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[41].residual, expected 4988, is {}", msg.stec_residuals[41].residual ); - assert_eq!(msg.stec_residuals[41].sv_id.constellation, 24, "incorrect value for stec_residuals[41].sv_id.constellation, expected 24, is {}", msg.stec_residuals[41].sv_id.constellation); + assert_eq!( + msg.stec_residuals[41].sv_id.constellation, 24, + "incorrect value for stec_residuals[41].sv_id.constellation, expected 24, is {}", + msg.stec_residuals[41].sv_id.constellation + ); assert_eq!( msg.stec_residuals[41].sv_id.sat_id, 58, "incorrect value for stec_residuals[41].sv_id.sat_id, expected 58, is {}", @@ -580,7 +732,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[42].residual, expected 27408, is {}", msg.stec_residuals[42].residual ); - assert_eq!(msg.stec_residuals[42].sv_id.constellation, 188, "incorrect value for stec_residuals[42].sv_id.constellation, expected 188, is {}", msg.stec_residuals[42].sv_id.constellation); + assert_eq!( + msg.stec_residuals[42].sv_id.constellation, 188, + "incorrect value for stec_residuals[42].sv_id.constellation, expected 188, is {}", + msg.stec_residuals[42].sv_id.constellation + ); assert_eq!( msg.stec_residuals[42].sv_id.sat_id, 181, "incorrect value for stec_residuals[42].sv_id.sat_id, expected 181, is {}", @@ -591,7 +747,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[43].residual, expected 319, is {}", msg.stec_residuals[43].residual ); - assert_eq!(msg.stec_residuals[43].sv_id.constellation, 231, "incorrect value for stec_residuals[43].sv_id.constellation, expected 231, is {}", msg.stec_residuals[43].sv_id.constellation); + assert_eq!( + msg.stec_residuals[43].sv_id.constellation, 231, + "incorrect value for stec_residuals[43].sv_id.constellation, expected 231, is {}", + msg.stec_residuals[43].sv_id.constellation + ); assert_eq!( msg.stec_residuals[43].sv_id.sat_id, 66, "incorrect value for stec_residuals[43].sv_id.sat_id, expected 66, is {}", @@ -602,7 +762,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[44].residual, expected 15987, is {}", msg.stec_residuals[44].residual ); - assert_eq!(msg.stec_residuals[44].sv_id.constellation, 252, "incorrect value for stec_residuals[44].sv_id.constellation, expected 252, is {}", msg.stec_residuals[44].sv_id.constellation); + assert_eq!( + msg.stec_residuals[44].sv_id.constellation, 252, + "incorrect value for stec_residuals[44].sv_id.constellation, expected 252, is {}", + msg.stec_residuals[44].sv_id.constellation + ); assert_eq!( msg.stec_residuals[44].sv_id.sat_id, 64, "incorrect value for stec_residuals[44].sv_id.sat_id, expected 64, is {}", @@ -613,7 +777,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[45].residual, expected 22266, is {}", msg.stec_residuals[45].residual ); - assert_eq!(msg.stec_residuals[45].sv_id.constellation, 97, "incorrect value for stec_residuals[45].sv_id.constellation, expected 97, is {}", msg.stec_residuals[45].sv_id.constellation); + assert_eq!( + msg.stec_residuals[45].sv_id.constellation, 97, + "incorrect value for stec_residuals[45].sv_id.constellation, expected 97, is {}", + msg.stec_residuals[45].sv_id.constellation + ); assert_eq!( msg.stec_residuals[45].sv_id.sat_id, 233, "incorrect value for stec_residuals[45].sv_id.sat_id, expected 233, is {}", @@ -624,7 +792,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[46].residual, expected -19919, is {}", msg.stec_residuals[46].residual ); - assert_eq!(msg.stec_residuals[46].sv_id.constellation, 221, "incorrect value for stec_residuals[46].sv_id.constellation, expected 221, is {}", msg.stec_residuals[46].sv_id.constellation); + assert_eq!( + msg.stec_residuals[46].sv_id.constellation, 221, + "incorrect value for stec_residuals[46].sv_id.constellation, expected 221, is {}", + msg.stec_residuals[46].sv_id.constellation + ); assert_eq!( msg.stec_residuals[46].sv_id.sat_id, 156, "incorrect value for stec_residuals[46].sv_id.sat_id, expected 156, is {}", @@ -635,7 +807,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[47].residual, expected 17350, is {}", msg.stec_residuals[47].residual ); - assert_eq!(msg.stec_residuals[47].sv_id.constellation, 73, "incorrect value for stec_residuals[47].sv_id.constellation, expected 73, is {}", msg.stec_residuals[47].sv_id.constellation); + assert_eq!( + msg.stec_residuals[47].sv_id.constellation, 73, + "incorrect value for stec_residuals[47].sv_id.constellation, expected 73, is {}", + msg.stec_residuals[47].sv_id.constellation + ); assert_eq!( msg.stec_residuals[47].sv_id.sat_id, 32, "incorrect value for stec_residuals[47].sv_id.sat_id, expected 32, is {}", @@ -646,7 +822,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[48].residual, expected 14410, is {}", msg.stec_residuals[48].residual ); - assert_eq!(msg.stec_residuals[48].sv_id.constellation, 253, "incorrect value for stec_residuals[48].sv_id.constellation, expected 253, is {}", msg.stec_residuals[48].sv_id.constellation); + assert_eq!( + msg.stec_residuals[48].sv_id.constellation, 253, + "incorrect value for stec_residuals[48].sv_id.constellation, expected 253, is {}", + msg.stec_residuals[48].sv_id.constellation + ); assert_eq!( msg.stec_residuals[48].sv_id.sat_id, 249, "incorrect value for stec_residuals[48].sv_id.sat_id, expected 249, is {}", @@ -657,7 +837,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[49].residual, expected 23671, is {}", msg.stec_residuals[49].residual ); - assert_eq!(msg.stec_residuals[49].sv_id.constellation, 165, "incorrect value for stec_residuals[49].sv_id.constellation, expected 165, is {}", msg.stec_residuals[49].sv_id.constellation); + assert_eq!( + msg.stec_residuals[49].sv_id.constellation, 165, + "incorrect value for stec_residuals[49].sv_id.constellation, expected 165, is {}", + msg.stec_residuals[49].sv_id.constellation + ); assert_eq!( msg.stec_residuals[49].sv_id.sat_id, 38, "incorrect value for stec_residuals[49].sv_id.sat_id, expected 38, is {}", @@ -668,7 +852,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[50].residual, expected -31905, is {}", msg.stec_residuals[50].residual ); - assert_eq!(msg.stec_residuals[50].sv_id.constellation, 44, "incorrect value for stec_residuals[50].sv_id.constellation, expected 44, is {}", msg.stec_residuals[50].sv_id.constellation); + assert_eq!( + msg.stec_residuals[50].sv_id.constellation, 44, + "incorrect value for stec_residuals[50].sv_id.constellation, expected 44, is {}", + msg.stec_residuals[50].sv_id.constellation + ); assert_eq!( msg.stec_residuals[50].sv_id.sat_id, 99, "incorrect value for stec_residuals[50].sv_id.sat_id, expected 99, is {}", @@ -679,7 +867,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[51].residual, expected 14305, is {}", msg.stec_residuals[51].residual ); - assert_eq!(msg.stec_residuals[51].sv_id.constellation, 192, "incorrect value for stec_residuals[51].sv_id.constellation, expected 192, is {}", msg.stec_residuals[51].sv_id.constellation); + assert_eq!( + msg.stec_residuals[51].sv_id.constellation, 192, + "incorrect value for stec_residuals[51].sv_id.constellation, expected 192, is {}", + msg.stec_residuals[51].sv_id.constellation + ); assert_eq!( msg.stec_residuals[51].sv_id.sat_id, 89, "incorrect value for stec_residuals[51].sv_id.sat_id, expected 89, is {}", @@ -690,7 +882,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[52].residual, expected -12968, is {}", msg.stec_residuals[52].residual ); - assert_eq!(msg.stec_residuals[52].sv_id.constellation, 171, "incorrect value for stec_residuals[52].sv_id.constellation, expected 171, is {}", msg.stec_residuals[52].sv_id.constellation); + assert_eq!( + msg.stec_residuals[52].sv_id.constellation, 171, + "incorrect value for stec_residuals[52].sv_id.constellation, expected 171, is {}", + msg.stec_residuals[52].sv_id.constellation + ); assert_eq!( msg.stec_residuals[52].sv_id.sat_id, 95, "incorrect value for stec_residuals[52].sv_id.sat_id, expected 95, is {}", @@ -701,7 +897,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[53].residual, expected 21479, is {}", msg.stec_residuals[53].residual ); - assert_eq!(msg.stec_residuals[53].sv_id.constellation, 116, "incorrect value for stec_residuals[53].sv_id.constellation, expected 116, is {}", msg.stec_residuals[53].sv_id.constellation); + assert_eq!( + msg.stec_residuals[53].sv_id.constellation, 116, + "incorrect value for stec_residuals[53].sv_id.constellation, expected 116, is {}", + msg.stec_residuals[53].sv_id.constellation + ); assert_eq!( msg.stec_residuals[53].sv_id.sat_id, 21, "incorrect value for stec_residuals[53].sv_id.sat_id, expected 21, is {}", @@ -712,7 +912,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[54].residual, expected 28260, is {}", msg.stec_residuals[54].residual ); - assert_eq!(msg.stec_residuals[54].sv_id.constellation, 71, "incorrect value for stec_residuals[54].sv_id.constellation, expected 71, is {}", msg.stec_residuals[54].sv_id.constellation); + assert_eq!( + msg.stec_residuals[54].sv_id.constellation, 71, + "incorrect value for stec_residuals[54].sv_id.constellation, expected 71, is {}", + msg.stec_residuals[54].sv_id.constellation + ); assert_eq!( msg.stec_residuals[54].sv_id.sat_id, 71, "incorrect value for stec_residuals[54].sv_id.sat_id, expected 71, is {}", @@ -723,7 +927,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[55].residual, expected -11112, is {}", msg.stec_residuals[55].residual ); - assert_eq!(msg.stec_residuals[55].sv_id.constellation, 254, "incorrect value for stec_residuals[55].sv_id.constellation, expected 254, is {}", msg.stec_residuals[55].sv_id.constellation); + assert_eq!( + msg.stec_residuals[55].sv_id.constellation, 254, + "incorrect value for stec_residuals[55].sv_id.constellation, expected 254, is {}", + msg.stec_residuals[55].sv_id.constellation + ); assert_eq!( msg.stec_residuals[55].sv_id.sat_id, 217, "incorrect value for stec_residuals[55].sv_id.sat_id, expected 217, is {}", @@ -749,7 +957,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[57].residual, expected -4024, is {}", msg.stec_residuals[57].residual ); - assert_eq!(msg.stec_residuals[57].sv_id.constellation, 54, "incorrect value for stec_residuals[57].sv_id.constellation, expected 54, is {}", msg.stec_residuals[57].sv_id.constellation); + assert_eq!( + msg.stec_residuals[57].sv_id.constellation, 54, + "incorrect value for stec_residuals[57].sv_id.constellation, expected 54, is {}", + msg.stec_residuals[57].sv_id.constellation + ); assert_eq!( msg.stec_residuals[57].sv_id.sat_id, 244, "incorrect value for stec_residuals[57].sv_id.sat_id, expected 244, is {}", @@ -760,7 +972,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[58].residual, expected -15505, is {}", msg.stec_residuals[58].residual ); - assert_eq!(msg.stec_residuals[58].sv_id.constellation, 189, "incorrect value for stec_residuals[58].sv_id.constellation, expected 189, is {}", msg.stec_residuals[58].sv_id.constellation); + assert_eq!( + msg.stec_residuals[58].sv_id.constellation, 189, + "incorrect value for stec_residuals[58].sv_id.constellation, expected 189, is {}", + msg.stec_residuals[58].sv_id.constellation + ); assert_eq!( msg.stec_residuals[58].sv_id.sat_id, 231, "incorrect value for stec_residuals[58].sv_id.sat_id, expected 231, is {}", @@ -872,7 +1088,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[0].residual, expected -23949, is {}", msg.stec_residuals[0].residual ); - assert_eq!(msg.stec_residuals[0].sv_id.constellation, 157, "incorrect value for stec_residuals[0].sv_id.constellation, expected 157, is {}", msg.stec_residuals[0].sv_id.constellation); + assert_eq!( + msg.stec_residuals[0].sv_id.constellation, 157, + "incorrect value for stec_residuals[0].sv_id.constellation, expected 157, is {}", + msg.stec_residuals[0].sv_id.constellation + ); assert_eq!( msg.stec_residuals[0].sv_id.sat_id, 231, "incorrect value for stec_residuals[0].sv_id.sat_id, expected 231, is {}", @@ -883,7 +1103,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[1].residual, expected 27427, is {}", msg.stec_residuals[1].residual ); - assert_eq!(msg.stec_residuals[1].sv_id.constellation, 146, "incorrect value for stec_residuals[1].sv_id.constellation, expected 146, is {}", msg.stec_residuals[1].sv_id.constellation); + assert_eq!( + msg.stec_residuals[1].sv_id.constellation, 146, + "incorrect value for stec_residuals[1].sv_id.constellation, expected 146, is {}", + msg.stec_residuals[1].sv_id.constellation + ); assert_eq!( msg.stec_residuals[1].sv_id.sat_id, 197, "incorrect value for stec_residuals[1].sv_id.sat_id, expected 197, is {}", @@ -894,7 +1118,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[2].residual, expected 10548, is {}", msg.stec_residuals[2].residual ); - assert_eq!(msg.stec_residuals[2].sv_id.constellation, 109, "incorrect value for stec_residuals[2].sv_id.constellation, expected 109, is {}", msg.stec_residuals[2].sv_id.constellation); + assert_eq!( + msg.stec_residuals[2].sv_id.constellation, 109, + "incorrect value for stec_residuals[2].sv_id.constellation, expected 109, is {}", + msg.stec_residuals[2].sv_id.constellation + ); assert_eq!( msg.stec_residuals[2].sv_id.sat_id, 222, "incorrect value for stec_residuals[2].sv_id.sat_id, expected 222, is {}", @@ -920,7 +1148,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[4].residual, expected -27511, is {}", msg.stec_residuals[4].residual ); - assert_eq!(msg.stec_residuals[4].sv_id.constellation, 204, "incorrect value for stec_residuals[4].sv_id.constellation, expected 204, is {}", msg.stec_residuals[4].sv_id.constellation); + assert_eq!( + msg.stec_residuals[4].sv_id.constellation, 204, + "incorrect value for stec_residuals[4].sv_id.constellation, expected 204, is {}", + msg.stec_residuals[4].sv_id.constellation + ); assert_eq!( msg.stec_residuals[4].sv_id.sat_id, 65, "incorrect value for stec_residuals[4].sv_id.sat_id, expected 65, is {}", @@ -931,7 +1163,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[5].residual, expected 11, is {}", msg.stec_residuals[5].residual ); - assert_eq!(msg.stec_residuals[5].sv_id.constellation, 183, "incorrect value for stec_residuals[5].sv_id.constellation, expected 183, is {}", msg.stec_residuals[5].sv_id.constellation); + assert_eq!( + msg.stec_residuals[5].sv_id.constellation, 183, + "incorrect value for stec_residuals[5].sv_id.constellation, expected 183, is {}", + msg.stec_residuals[5].sv_id.constellation + ); assert_eq!( msg.stec_residuals[5].sv_id.sat_id, 171, "incorrect value for stec_residuals[5].sv_id.sat_id, expected 171, is {}", @@ -942,7 +1178,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[6].residual, expected 13740, is {}", msg.stec_residuals[6].residual ); - assert_eq!(msg.stec_residuals[6].sv_id.constellation, 203, "incorrect value for stec_residuals[6].sv_id.constellation, expected 203, is {}", msg.stec_residuals[6].sv_id.constellation); + assert_eq!( + msg.stec_residuals[6].sv_id.constellation, 203, + "incorrect value for stec_residuals[6].sv_id.constellation, expected 203, is {}", + msg.stec_residuals[6].sv_id.constellation + ); assert_eq!( msg.stec_residuals[6].sv_id.sat_id, 180, "incorrect value for stec_residuals[6].sv_id.sat_id, expected 180, is {}", @@ -998,7 +1238,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[10].residual, expected -24357, is {}", msg.stec_residuals[10].residual ); - assert_eq!(msg.stec_residuals[10].sv_id.constellation, 137, "incorrect value for stec_residuals[10].sv_id.constellation, expected 137, is {}", msg.stec_residuals[10].sv_id.constellation); + assert_eq!( + msg.stec_residuals[10].sv_id.constellation, 137, + "incorrect value for stec_residuals[10].sv_id.constellation, expected 137, is {}", + msg.stec_residuals[10].sv_id.constellation + ); assert_eq!( msg.stec_residuals[10].sv_id.sat_id, 98, "incorrect value for stec_residuals[10].sv_id.sat_id, expected 98, is {}", @@ -1009,7 +1253,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[11].residual, expected -1441, is {}", msg.stec_residuals[11].residual ); - assert_eq!(msg.stec_residuals[11].sv_id.constellation, 216, "incorrect value for stec_residuals[11].sv_id.constellation, expected 216, is {}", msg.stec_residuals[11].sv_id.constellation); + assert_eq!( + msg.stec_residuals[11].sv_id.constellation, 216, + "incorrect value for stec_residuals[11].sv_id.constellation, expected 216, is {}", + msg.stec_residuals[11].sv_id.constellation + ); assert_eq!( msg.stec_residuals[11].sv_id.sat_id, 95, "incorrect value for stec_residuals[11].sv_id.sat_id, expected 95, is {}", @@ -1020,7 +1268,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[12].residual, expected -10660, is {}", msg.stec_residuals[12].residual ); - assert_eq!(msg.stec_residuals[12].sv_id.constellation, 196, "incorrect value for stec_residuals[12].sv_id.constellation, expected 196, is {}", msg.stec_residuals[12].sv_id.constellation); + assert_eq!( + msg.stec_residuals[12].sv_id.constellation, 196, + "incorrect value for stec_residuals[12].sv_id.constellation, expected 196, is {}", + msg.stec_residuals[12].sv_id.constellation + ); assert_eq!( msg.stec_residuals[12].sv_id.sat_id, 99, "incorrect value for stec_residuals[12].sv_id.sat_id, expected 99, is {}", @@ -1031,7 +1283,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[13].residual, expected -8509, is {}", msg.stec_residuals[13].residual ); - assert_eq!(msg.stec_residuals[13].sv_id.constellation, 253, "incorrect value for stec_residuals[13].sv_id.constellation, expected 253, is {}", msg.stec_residuals[13].sv_id.constellation); + assert_eq!( + msg.stec_residuals[13].sv_id.constellation, 253, + "incorrect value for stec_residuals[13].sv_id.constellation, expected 253, is {}", + msg.stec_residuals[13].sv_id.constellation + ); assert_eq!( msg.stec_residuals[13].sv_id.sat_id, 159, "incorrect value for stec_residuals[13].sv_id.sat_id, expected 159, is {}", @@ -1042,7 +1298,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[14].residual, expected 16361, is {}", msg.stec_residuals[14].residual ); - assert_eq!(msg.stec_residuals[14].sv_id.constellation, 146, "incorrect value for stec_residuals[14].sv_id.constellation, expected 146, is {}", msg.stec_residuals[14].sv_id.constellation); + assert_eq!( + msg.stec_residuals[14].sv_id.constellation, 146, + "incorrect value for stec_residuals[14].sv_id.constellation, expected 146, is {}", + msg.stec_residuals[14].sv_id.constellation + ); assert_eq!( msg.stec_residuals[14].sv_id.sat_id, 233, "incorrect value for stec_residuals[14].sv_id.sat_id, expected 233, is {}", @@ -1053,7 +1313,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[15].residual, expected 10346, is {}", msg.stec_residuals[15].residual ); - assert_eq!(msg.stec_residuals[15].sv_id.constellation, 24, "incorrect value for stec_residuals[15].sv_id.constellation, expected 24, is {}", msg.stec_residuals[15].sv_id.constellation); + assert_eq!( + msg.stec_residuals[15].sv_id.constellation, 24, + "incorrect value for stec_residuals[15].sv_id.constellation, expected 24, is {}", + msg.stec_residuals[15].sv_id.constellation + ); assert_eq!( msg.stec_residuals[15].sv_id.sat_id, 76, "incorrect value for stec_residuals[15].sv_id.sat_id, expected 76, is {}", @@ -1064,7 +1328,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[16].residual, expected -18679, is {}", msg.stec_residuals[16].residual ); - assert_eq!(msg.stec_residuals[16].sv_id.constellation, 65, "incorrect value for stec_residuals[16].sv_id.constellation, expected 65, is {}", msg.stec_residuals[16].sv_id.constellation); + assert_eq!( + msg.stec_residuals[16].sv_id.constellation, 65, + "incorrect value for stec_residuals[16].sv_id.constellation, expected 65, is {}", + msg.stec_residuals[16].sv_id.constellation + ); assert_eq!( msg.stec_residuals[16].sv_id.sat_id, 253, "incorrect value for stec_residuals[16].sv_id.sat_id, expected 253, is {}", @@ -1075,7 +1343,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[17].residual, expected 15292, is {}", msg.stec_residuals[17].residual ); - assert_eq!(msg.stec_residuals[17].sv_id.constellation, 215, "incorrect value for stec_residuals[17].sv_id.constellation, expected 215, is {}", msg.stec_residuals[17].sv_id.constellation); + assert_eq!( + msg.stec_residuals[17].sv_id.constellation, 215, + "incorrect value for stec_residuals[17].sv_id.constellation, expected 215, is {}", + msg.stec_residuals[17].sv_id.constellation + ); assert_eq!( msg.stec_residuals[17].sv_id.sat_id, 40, "incorrect value for stec_residuals[17].sv_id.sat_id, expected 40, is {}", @@ -1086,7 +1358,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[18].residual, expected 29537, is {}", msg.stec_residuals[18].residual ); - assert_eq!(msg.stec_residuals[18].sv_id.constellation, 69, "incorrect value for stec_residuals[18].sv_id.constellation, expected 69, is {}", msg.stec_residuals[18].sv_id.constellation); + assert_eq!( + msg.stec_residuals[18].sv_id.constellation, 69, + "incorrect value for stec_residuals[18].sv_id.constellation, expected 69, is {}", + msg.stec_residuals[18].sv_id.constellation + ); assert_eq!( msg.stec_residuals[18].sv_id.sat_id, 117, "incorrect value for stec_residuals[18].sv_id.sat_id, expected 117, is {}", @@ -1097,7 +1373,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[19].residual, expected -29440, is {}", msg.stec_residuals[19].residual ); - assert_eq!(msg.stec_residuals[19].sv_id.constellation, 56, "incorrect value for stec_residuals[19].sv_id.constellation, expected 56, is {}", msg.stec_residuals[19].sv_id.constellation); + assert_eq!( + msg.stec_residuals[19].sv_id.constellation, 56, + "incorrect value for stec_residuals[19].sv_id.constellation, expected 56, is {}", + msg.stec_residuals[19].sv_id.constellation + ); assert_eq!( msg.stec_residuals[19].sv_id.sat_id, 60, "incorrect value for stec_residuals[19].sv_id.sat_id, expected 60, is {}", @@ -1108,7 +1388,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[20].residual, expected -24266, is {}", msg.stec_residuals[20].residual ); - assert_eq!(msg.stec_residuals[20].sv_id.constellation, 171, "incorrect value for stec_residuals[20].sv_id.constellation, expected 171, is {}", msg.stec_residuals[20].sv_id.constellation); + assert_eq!( + msg.stec_residuals[20].sv_id.constellation, 171, + "incorrect value for stec_residuals[20].sv_id.constellation, expected 171, is {}", + msg.stec_residuals[20].sv_id.constellation + ); assert_eq!( msg.stec_residuals[20].sv_id.sat_id, 207, "incorrect value for stec_residuals[20].sv_id.sat_id, expected 207, is {}", @@ -1119,7 +1403,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[21].residual, expected 22272, is {}", msg.stec_residuals[21].residual ); - assert_eq!(msg.stec_residuals[21].sv_id.constellation, 61, "incorrect value for stec_residuals[21].sv_id.constellation, expected 61, is {}", msg.stec_residuals[21].sv_id.constellation); + assert_eq!( + msg.stec_residuals[21].sv_id.constellation, 61, + "incorrect value for stec_residuals[21].sv_id.constellation, expected 61, is {}", + msg.stec_residuals[21].sv_id.constellation + ); assert_eq!( msg.stec_residuals[21].sv_id.sat_id, 23, "incorrect value for stec_residuals[21].sv_id.sat_id, expected 23, is {}", @@ -1130,7 +1418,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[22].residual, expected 9303, is {}", msg.stec_residuals[22].residual ); - assert_eq!(msg.stec_residuals[22].sv_id.constellation, 123, "incorrect value for stec_residuals[22].sv_id.constellation, expected 123, is {}", msg.stec_residuals[22].sv_id.constellation); + assert_eq!( + msg.stec_residuals[22].sv_id.constellation, 123, + "incorrect value for stec_residuals[22].sv_id.constellation, expected 123, is {}", + msg.stec_residuals[22].sv_id.constellation + ); assert_eq!( msg.stec_residuals[22].sv_id.sat_id, 230, "incorrect value for stec_residuals[22].sv_id.sat_id, expected 230, is {}", @@ -1141,7 +1433,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[23].residual, expected -23794, is {}", msg.stec_residuals[23].residual ); - assert_eq!(msg.stec_residuals[23].sv_id.constellation, 255, "incorrect value for stec_residuals[23].sv_id.constellation, expected 255, is {}", msg.stec_residuals[23].sv_id.constellation); + assert_eq!( + msg.stec_residuals[23].sv_id.constellation, 255, + "incorrect value for stec_residuals[23].sv_id.constellation, expected 255, is {}", + msg.stec_residuals[23].sv_id.constellation + ); assert_eq!( msg.stec_residuals[23].sv_id.sat_id, 184, "incorrect value for stec_residuals[23].sv_id.sat_id, expected 184, is {}", @@ -1152,7 +1448,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[24].residual, expected -26837, is {}", msg.stec_residuals[24].residual ); - assert_eq!(msg.stec_residuals[24].sv_id.constellation, 224, "incorrect value for stec_residuals[24].sv_id.constellation, expected 224, is {}", msg.stec_residuals[24].sv_id.constellation); + assert_eq!( + msg.stec_residuals[24].sv_id.constellation, 224, + "incorrect value for stec_residuals[24].sv_id.constellation, expected 224, is {}", + msg.stec_residuals[24].sv_id.constellation + ); assert_eq!( msg.stec_residuals[24].sv_id.sat_id, 187, "incorrect value for stec_residuals[24].sv_id.sat_id, expected 187, is {}", @@ -1163,7 +1463,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[25].residual, expected 14631, is {}", msg.stec_residuals[25].residual ); - assert_eq!(msg.stec_residuals[25].sv_id.constellation, 104, "incorrect value for stec_residuals[25].sv_id.constellation, expected 104, is {}", msg.stec_residuals[25].sv_id.constellation); + assert_eq!( + msg.stec_residuals[25].sv_id.constellation, 104, + "incorrect value for stec_residuals[25].sv_id.constellation, expected 104, is {}", + msg.stec_residuals[25].sv_id.constellation + ); assert_eq!( msg.stec_residuals[25].sv_id.sat_id, 151, "incorrect value for stec_residuals[25].sv_id.sat_id, expected 151, is {}", @@ -1174,7 +1478,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[26].residual, expected -8144, is {}", msg.stec_residuals[26].residual ); - assert_eq!(msg.stec_residuals[26].sv_id.constellation, 54, "incorrect value for stec_residuals[26].sv_id.constellation, expected 54, is {}", msg.stec_residuals[26].sv_id.constellation); + assert_eq!( + msg.stec_residuals[26].sv_id.constellation, 54, + "incorrect value for stec_residuals[26].sv_id.constellation, expected 54, is {}", + msg.stec_residuals[26].sv_id.constellation + ); assert_eq!( msg.stec_residuals[26].sv_id.sat_id, 5, "incorrect value for stec_residuals[26].sv_id.sat_id, expected 5, is {}", @@ -1185,7 +1493,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[27].residual, expected 23612, is {}", msg.stec_residuals[27].residual ); - assert_eq!(msg.stec_residuals[27].sv_id.constellation, 129, "incorrect value for stec_residuals[27].sv_id.constellation, expected 129, is {}", msg.stec_residuals[27].sv_id.constellation); + assert_eq!( + msg.stec_residuals[27].sv_id.constellation, 129, + "incorrect value for stec_residuals[27].sv_id.constellation, expected 129, is {}", + msg.stec_residuals[27].sv_id.constellation + ); assert_eq!( msg.stec_residuals[27].sv_id.sat_id, 181, "incorrect value for stec_residuals[27].sv_id.sat_id, expected 181, is {}", @@ -1196,7 +1508,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[28].residual, expected 28013, is {}", msg.stec_residuals[28].residual ); - assert_eq!(msg.stec_residuals[28].sv_id.constellation, 114, "incorrect value for stec_residuals[28].sv_id.constellation, expected 114, is {}", msg.stec_residuals[28].sv_id.constellation); + assert_eq!( + msg.stec_residuals[28].sv_id.constellation, 114, + "incorrect value for stec_residuals[28].sv_id.constellation, expected 114, is {}", + msg.stec_residuals[28].sv_id.constellation + ); assert_eq!( msg.stec_residuals[28].sv_id.sat_id, 171, "incorrect value for stec_residuals[28].sv_id.sat_id, expected 171, is {}", @@ -1207,7 +1523,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[29].residual, expected 2166, is {}", msg.stec_residuals[29].residual ); - assert_eq!(msg.stec_residuals[29].sv_id.constellation, 23, "incorrect value for stec_residuals[29].sv_id.constellation, expected 23, is {}", msg.stec_residuals[29].sv_id.constellation); + assert_eq!( + msg.stec_residuals[29].sv_id.constellation, 23, + "incorrect value for stec_residuals[29].sv_id.constellation, expected 23, is {}", + msg.stec_residuals[29].sv_id.constellation + ); assert_eq!( msg.stec_residuals[29].sv_id.sat_id, 12, "incorrect value for stec_residuals[29].sv_id.sat_id, expected 12, is {}", @@ -1218,7 +1538,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[30].residual, expected -10186, is {}", msg.stec_residuals[30].residual ); - assert_eq!(msg.stec_residuals[30].sv_id.constellation, 159, "incorrect value for stec_residuals[30].sv_id.constellation, expected 159, is {}", msg.stec_residuals[30].sv_id.constellation); + assert_eq!( + msg.stec_residuals[30].sv_id.constellation, 159, + "incorrect value for stec_residuals[30].sv_id.constellation, expected 159, is {}", + msg.stec_residuals[30].sv_id.constellation + ); assert_eq!( msg.stec_residuals[30].sv_id.sat_id, 64, "incorrect value for stec_residuals[30].sv_id.sat_id, expected 64, is {}", @@ -1229,7 +1553,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[31].residual, expected 17432, is {}", msg.stec_residuals[31].residual ); - assert_eq!(msg.stec_residuals[31].sv_id.constellation, 20, "incorrect value for stec_residuals[31].sv_id.constellation, expected 20, is {}", msg.stec_residuals[31].sv_id.constellation); + assert_eq!( + msg.stec_residuals[31].sv_id.constellation, 20, + "incorrect value for stec_residuals[31].sv_id.constellation, expected 20, is {}", + msg.stec_residuals[31].sv_id.constellation + ); assert_eq!( msg.stec_residuals[31].sv_id.sat_id, 33, "incorrect value for stec_residuals[31].sv_id.sat_id, expected 33, is {}", @@ -1240,7 +1568,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[32].residual, expected -8666, is {}", msg.stec_residuals[32].residual ); - assert_eq!(msg.stec_residuals[32].sv_id.constellation, 36, "incorrect value for stec_residuals[32].sv_id.constellation, expected 36, is {}", msg.stec_residuals[32].sv_id.constellation); + assert_eq!( + msg.stec_residuals[32].sv_id.constellation, 36, + "incorrect value for stec_residuals[32].sv_id.constellation, expected 36, is {}", + msg.stec_residuals[32].sv_id.constellation + ); assert_eq!( msg.stec_residuals[32].sv_id.sat_id, 160, "incorrect value for stec_residuals[32].sv_id.sat_id, expected 160, is {}", @@ -1251,7 +1583,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[33].residual, expected 25436, is {}", msg.stec_residuals[33].residual ); - assert_eq!(msg.stec_residuals[33].sv_id.constellation, 190, "incorrect value for stec_residuals[33].sv_id.constellation, expected 190, is {}", msg.stec_residuals[33].sv_id.constellation); + assert_eq!( + msg.stec_residuals[33].sv_id.constellation, 190, + "incorrect value for stec_residuals[33].sv_id.constellation, expected 190, is {}", + msg.stec_residuals[33].sv_id.constellation + ); assert_eq!( msg.stec_residuals[33].sv_id.sat_id, 145, "incorrect value for stec_residuals[33].sv_id.sat_id, expected 145, is {}", @@ -1262,7 +1598,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[34].residual, expected -3864, is {}", msg.stec_residuals[34].residual ); - assert_eq!(msg.stec_residuals[34].sv_id.constellation, 159, "incorrect value for stec_residuals[34].sv_id.constellation, expected 159, is {}", msg.stec_residuals[34].sv_id.constellation); + assert_eq!( + msg.stec_residuals[34].sv_id.constellation, 159, + "incorrect value for stec_residuals[34].sv_id.constellation, expected 159, is {}", + msg.stec_residuals[34].sv_id.constellation + ); assert_eq!( msg.stec_residuals[34].sv_id.sat_id, 108, "incorrect value for stec_residuals[34].sv_id.sat_id, expected 108, is {}", @@ -1273,7 +1613,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[35].residual, expected 4093, is {}", msg.stec_residuals[35].residual ); - assert_eq!(msg.stec_residuals[35].sv_id.constellation, 221, "incorrect value for stec_residuals[35].sv_id.constellation, expected 221, is {}", msg.stec_residuals[35].sv_id.constellation); + assert_eq!( + msg.stec_residuals[35].sv_id.constellation, 221, + "incorrect value for stec_residuals[35].sv_id.constellation, expected 221, is {}", + msg.stec_residuals[35].sv_id.constellation + ); assert_eq!( msg.stec_residuals[35].sv_id.sat_id, 227, "incorrect value for stec_residuals[35].sv_id.sat_id, expected 227, is {}", @@ -1284,7 +1628,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[36].residual, expected -18055, is {}", msg.stec_residuals[36].residual ); - assert_eq!(msg.stec_residuals[36].sv_id.constellation, 23, "incorrect value for stec_residuals[36].sv_id.constellation, expected 23, is {}", msg.stec_residuals[36].sv_id.constellation); + assert_eq!( + msg.stec_residuals[36].sv_id.constellation, 23, + "incorrect value for stec_residuals[36].sv_id.constellation, expected 23, is {}", + msg.stec_residuals[36].sv_id.constellation + ); assert_eq!( msg.stec_residuals[36].sv_id.sat_id, 62, "incorrect value for stec_residuals[36].sv_id.sat_id, expected 62, is {}", @@ -1295,7 +1643,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[37].residual, expected -27900, is {}", msg.stec_residuals[37].residual ); - assert_eq!(msg.stec_residuals[37].sv_id.constellation, 116, "incorrect value for stec_residuals[37].sv_id.constellation, expected 116, is {}", msg.stec_residuals[37].sv_id.constellation); + assert_eq!( + msg.stec_residuals[37].sv_id.constellation, 116, + "incorrect value for stec_residuals[37].sv_id.constellation, expected 116, is {}", + msg.stec_residuals[37].sv_id.constellation + ); assert_eq!( msg.stec_residuals[37].sv_id.sat_id, 168, "incorrect value for stec_residuals[37].sv_id.sat_id, expected 168, is {}", @@ -1306,7 +1658,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[38].residual, expected 30687, is {}", msg.stec_residuals[38].residual ); - assert_eq!(msg.stec_residuals[38].sv_id.constellation, 72, "incorrect value for stec_residuals[38].sv_id.constellation, expected 72, is {}", msg.stec_residuals[38].sv_id.constellation); + assert_eq!( + msg.stec_residuals[38].sv_id.constellation, 72, + "incorrect value for stec_residuals[38].sv_id.constellation, expected 72, is {}", + msg.stec_residuals[38].sv_id.constellation + ); assert_eq!( msg.stec_residuals[38].sv_id.sat_id, 123, "incorrect value for stec_residuals[38].sv_id.sat_id, expected 123, is {}", @@ -1317,7 +1673,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[39].residual, expected -13151, is {}", msg.stec_residuals[39].residual ); - assert_eq!(msg.stec_residuals[39].sv_id.constellation, 242, "incorrect value for stec_residuals[39].sv_id.constellation, expected 242, is {}", msg.stec_residuals[39].sv_id.constellation); + assert_eq!( + msg.stec_residuals[39].sv_id.constellation, 242, + "incorrect value for stec_residuals[39].sv_id.constellation, expected 242, is {}", + msg.stec_residuals[39].sv_id.constellation + ); assert_eq!( msg.stec_residuals[39].sv_id.sat_id, 226, "incorrect value for stec_residuals[39].sv_id.sat_id, expected 226, is {}", @@ -1328,7 +1688,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[40].residual, expected -22903, is {}", msg.stec_residuals[40].residual ); - assert_eq!(msg.stec_residuals[40].sv_id.constellation, 202, "incorrect value for stec_residuals[40].sv_id.constellation, expected 202, is {}", msg.stec_residuals[40].sv_id.constellation); + assert_eq!( + msg.stec_residuals[40].sv_id.constellation, 202, + "incorrect value for stec_residuals[40].sv_id.constellation, expected 202, is {}", + msg.stec_residuals[40].sv_id.constellation + ); assert_eq!( msg.stec_residuals[40].sv_id.sat_id, 180, "incorrect value for stec_residuals[40].sv_id.sat_id, expected 180, is {}", @@ -1339,7 +1703,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[41].residual, expected 4988, is {}", msg.stec_residuals[41].residual ); - assert_eq!(msg.stec_residuals[41].sv_id.constellation, 24, "incorrect value for stec_residuals[41].sv_id.constellation, expected 24, is {}", msg.stec_residuals[41].sv_id.constellation); + assert_eq!( + msg.stec_residuals[41].sv_id.constellation, 24, + "incorrect value for stec_residuals[41].sv_id.constellation, expected 24, is {}", + msg.stec_residuals[41].sv_id.constellation + ); assert_eq!( msg.stec_residuals[41].sv_id.sat_id, 58, "incorrect value for stec_residuals[41].sv_id.sat_id, expected 58, is {}", @@ -1350,7 +1718,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[42].residual, expected 27408, is {}", msg.stec_residuals[42].residual ); - assert_eq!(msg.stec_residuals[42].sv_id.constellation, 188, "incorrect value for stec_residuals[42].sv_id.constellation, expected 188, is {}", msg.stec_residuals[42].sv_id.constellation); + assert_eq!( + msg.stec_residuals[42].sv_id.constellation, 188, + "incorrect value for stec_residuals[42].sv_id.constellation, expected 188, is {}", + msg.stec_residuals[42].sv_id.constellation + ); assert_eq!( msg.stec_residuals[42].sv_id.sat_id, 181, "incorrect value for stec_residuals[42].sv_id.sat_id, expected 181, is {}", @@ -1361,7 +1733,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[43].residual, expected 319, is {}", msg.stec_residuals[43].residual ); - assert_eq!(msg.stec_residuals[43].sv_id.constellation, 231, "incorrect value for stec_residuals[43].sv_id.constellation, expected 231, is {}", msg.stec_residuals[43].sv_id.constellation); + assert_eq!( + msg.stec_residuals[43].sv_id.constellation, 231, + "incorrect value for stec_residuals[43].sv_id.constellation, expected 231, is {}", + msg.stec_residuals[43].sv_id.constellation + ); assert_eq!( msg.stec_residuals[43].sv_id.sat_id, 66, "incorrect value for stec_residuals[43].sv_id.sat_id, expected 66, is {}", @@ -1372,7 +1748,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[44].residual, expected 15987, is {}", msg.stec_residuals[44].residual ); - assert_eq!(msg.stec_residuals[44].sv_id.constellation, 252, "incorrect value for stec_residuals[44].sv_id.constellation, expected 252, is {}", msg.stec_residuals[44].sv_id.constellation); + assert_eq!( + msg.stec_residuals[44].sv_id.constellation, 252, + "incorrect value for stec_residuals[44].sv_id.constellation, expected 252, is {}", + msg.stec_residuals[44].sv_id.constellation + ); assert_eq!( msg.stec_residuals[44].sv_id.sat_id, 64, "incorrect value for stec_residuals[44].sv_id.sat_id, expected 64, is {}", @@ -1383,7 +1763,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[45].residual, expected 22266, is {}", msg.stec_residuals[45].residual ); - assert_eq!(msg.stec_residuals[45].sv_id.constellation, 97, "incorrect value for stec_residuals[45].sv_id.constellation, expected 97, is {}", msg.stec_residuals[45].sv_id.constellation); + assert_eq!( + msg.stec_residuals[45].sv_id.constellation, 97, + "incorrect value for stec_residuals[45].sv_id.constellation, expected 97, is {}", + msg.stec_residuals[45].sv_id.constellation + ); assert_eq!( msg.stec_residuals[45].sv_id.sat_id, 233, "incorrect value for stec_residuals[45].sv_id.sat_id, expected 233, is {}", @@ -1394,7 +1778,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[46].residual, expected -19919, is {}", msg.stec_residuals[46].residual ); - assert_eq!(msg.stec_residuals[46].sv_id.constellation, 221, "incorrect value for stec_residuals[46].sv_id.constellation, expected 221, is {}", msg.stec_residuals[46].sv_id.constellation); + assert_eq!( + msg.stec_residuals[46].sv_id.constellation, 221, + "incorrect value for stec_residuals[46].sv_id.constellation, expected 221, is {}", + msg.stec_residuals[46].sv_id.constellation + ); assert_eq!( msg.stec_residuals[46].sv_id.sat_id, 156, "incorrect value for stec_residuals[46].sv_id.sat_id, expected 156, is {}", @@ -1405,7 +1793,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[47].residual, expected 17350, is {}", msg.stec_residuals[47].residual ); - assert_eq!(msg.stec_residuals[47].sv_id.constellation, 73, "incorrect value for stec_residuals[47].sv_id.constellation, expected 73, is {}", msg.stec_residuals[47].sv_id.constellation); + assert_eq!( + msg.stec_residuals[47].sv_id.constellation, 73, + "incorrect value for stec_residuals[47].sv_id.constellation, expected 73, is {}", + msg.stec_residuals[47].sv_id.constellation + ); assert_eq!( msg.stec_residuals[47].sv_id.sat_id, 32, "incorrect value for stec_residuals[47].sv_id.sat_id, expected 32, is {}", @@ -1416,7 +1808,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[48].residual, expected 14410, is {}", msg.stec_residuals[48].residual ); - assert_eq!(msg.stec_residuals[48].sv_id.constellation, 253, "incorrect value for stec_residuals[48].sv_id.constellation, expected 253, is {}", msg.stec_residuals[48].sv_id.constellation); + assert_eq!( + msg.stec_residuals[48].sv_id.constellation, 253, + "incorrect value for stec_residuals[48].sv_id.constellation, expected 253, is {}", + msg.stec_residuals[48].sv_id.constellation + ); assert_eq!( msg.stec_residuals[48].sv_id.sat_id, 249, "incorrect value for stec_residuals[48].sv_id.sat_id, expected 249, is {}", @@ -1427,7 +1823,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[49].residual, expected 23671, is {}", msg.stec_residuals[49].residual ); - assert_eq!(msg.stec_residuals[49].sv_id.constellation, 165, "incorrect value for stec_residuals[49].sv_id.constellation, expected 165, is {}", msg.stec_residuals[49].sv_id.constellation); + assert_eq!( + msg.stec_residuals[49].sv_id.constellation, 165, + "incorrect value for stec_residuals[49].sv_id.constellation, expected 165, is {}", + msg.stec_residuals[49].sv_id.constellation + ); assert_eq!( msg.stec_residuals[49].sv_id.sat_id, 38, "incorrect value for stec_residuals[49].sv_id.sat_id, expected 38, is {}", @@ -1438,7 +1838,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[50].residual, expected -31905, is {}", msg.stec_residuals[50].residual ); - assert_eq!(msg.stec_residuals[50].sv_id.constellation, 44, "incorrect value for stec_residuals[50].sv_id.constellation, expected 44, is {}", msg.stec_residuals[50].sv_id.constellation); + assert_eq!( + msg.stec_residuals[50].sv_id.constellation, 44, + "incorrect value for stec_residuals[50].sv_id.constellation, expected 44, is {}", + msg.stec_residuals[50].sv_id.constellation + ); assert_eq!( msg.stec_residuals[50].sv_id.sat_id, 99, "incorrect value for stec_residuals[50].sv_id.sat_id, expected 99, is {}", @@ -1449,7 +1853,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[51].residual, expected 14305, is {}", msg.stec_residuals[51].residual ); - assert_eq!(msg.stec_residuals[51].sv_id.constellation, 192, "incorrect value for stec_residuals[51].sv_id.constellation, expected 192, is {}", msg.stec_residuals[51].sv_id.constellation); + assert_eq!( + msg.stec_residuals[51].sv_id.constellation, 192, + "incorrect value for stec_residuals[51].sv_id.constellation, expected 192, is {}", + msg.stec_residuals[51].sv_id.constellation + ); assert_eq!( msg.stec_residuals[51].sv_id.sat_id, 89, "incorrect value for stec_residuals[51].sv_id.sat_id, expected 89, is {}", @@ -1460,7 +1868,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[52].residual, expected -12968, is {}", msg.stec_residuals[52].residual ); - assert_eq!(msg.stec_residuals[52].sv_id.constellation, 171, "incorrect value for stec_residuals[52].sv_id.constellation, expected 171, is {}", msg.stec_residuals[52].sv_id.constellation); + assert_eq!( + msg.stec_residuals[52].sv_id.constellation, 171, + "incorrect value for stec_residuals[52].sv_id.constellation, expected 171, is {}", + msg.stec_residuals[52].sv_id.constellation + ); assert_eq!( msg.stec_residuals[52].sv_id.sat_id, 95, "incorrect value for stec_residuals[52].sv_id.sat_id, expected 95, is {}", @@ -1471,7 +1883,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[53].residual, expected 21479, is {}", msg.stec_residuals[53].residual ); - assert_eq!(msg.stec_residuals[53].sv_id.constellation, 116, "incorrect value for stec_residuals[53].sv_id.constellation, expected 116, is {}", msg.stec_residuals[53].sv_id.constellation); + assert_eq!( + msg.stec_residuals[53].sv_id.constellation, 116, + "incorrect value for stec_residuals[53].sv_id.constellation, expected 116, is {}", + msg.stec_residuals[53].sv_id.constellation + ); assert_eq!( msg.stec_residuals[53].sv_id.sat_id, 21, "incorrect value for stec_residuals[53].sv_id.sat_id, expected 21, is {}", @@ -1482,7 +1898,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[54].residual, expected 28260, is {}", msg.stec_residuals[54].residual ); - assert_eq!(msg.stec_residuals[54].sv_id.constellation, 71, "incorrect value for stec_residuals[54].sv_id.constellation, expected 71, is {}", msg.stec_residuals[54].sv_id.constellation); + assert_eq!( + msg.stec_residuals[54].sv_id.constellation, 71, + "incorrect value for stec_residuals[54].sv_id.constellation, expected 71, is {}", + msg.stec_residuals[54].sv_id.constellation + ); assert_eq!( msg.stec_residuals[54].sv_id.sat_id, 71, "incorrect value for stec_residuals[54].sv_id.sat_id, expected 71, is {}", @@ -1493,7 +1913,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[55].residual, expected -11112, is {}", msg.stec_residuals[55].residual ); - assert_eq!(msg.stec_residuals[55].sv_id.constellation, 254, "incorrect value for stec_residuals[55].sv_id.constellation, expected 254, is {}", msg.stec_residuals[55].sv_id.constellation); + assert_eq!( + msg.stec_residuals[55].sv_id.constellation, 254, + "incorrect value for stec_residuals[55].sv_id.constellation, expected 254, is {}", + msg.stec_residuals[55].sv_id.constellation + ); assert_eq!( msg.stec_residuals[55].sv_id.sat_id, 217, "incorrect value for stec_residuals[55].sv_id.sat_id, expected 217, is {}", @@ -1519,7 +1943,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[57].residual, expected -4024, is {}", msg.stec_residuals[57].residual ); - assert_eq!(msg.stec_residuals[57].sv_id.constellation, 54, "incorrect value for stec_residuals[57].sv_id.constellation, expected 54, is {}", msg.stec_residuals[57].sv_id.constellation); + assert_eq!( + msg.stec_residuals[57].sv_id.constellation, 54, + "incorrect value for stec_residuals[57].sv_id.constellation, expected 54, is {}", + msg.stec_residuals[57].sv_id.constellation + ); assert_eq!( msg.stec_residuals[57].sv_id.sat_id, 244, "incorrect value for stec_residuals[57].sv_id.sat_id, expected 244, is {}", @@ -1530,7 +1958,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[58].residual, expected -15505, is {}", msg.stec_residuals[58].residual ); - assert_eq!(msg.stec_residuals[58].sv_id.constellation, 189, "incorrect value for stec_residuals[58].sv_id.constellation, expected 189, is {}", msg.stec_residuals[58].sv_id.constellation); + assert_eq!( + msg.stec_residuals[58].sv_id.constellation, 189, + "incorrect value for stec_residuals[58].sv_id.constellation, expected 189, is {}", + msg.stec_residuals[58].sv_id.constellation + ); assert_eq!( msg.stec_residuals[58].sv_id.sat_id, 231, "incorrect value for stec_residuals[58].sv_id.sat_id, expected 231, is {}", @@ -1662,7 +2094,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[0].residual, expected -23949, is {}", msg.stec_residuals[0].residual ); - assert_eq!(msg.stec_residuals[0].sv_id.constellation, 157, "incorrect value for stec_residuals[0].sv_id.constellation, expected 157, is {}", msg.stec_residuals[0].sv_id.constellation); + assert_eq!( + msg.stec_residuals[0].sv_id.constellation, 157, + "incorrect value for stec_residuals[0].sv_id.constellation, expected 157, is {}", + msg.stec_residuals[0].sv_id.constellation + ); assert_eq!( msg.stec_residuals[0].sv_id.sat_id, 231, "incorrect value for stec_residuals[0].sv_id.sat_id, expected 231, is {}", @@ -1673,7 +2109,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[1].residual, expected 27427, is {}", msg.stec_residuals[1].residual ); - assert_eq!(msg.stec_residuals[1].sv_id.constellation, 146, "incorrect value for stec_residuals[1].sv_id.constellation, expected 146, is {}", msg.stec_residuals[1].sv_id.constellation); + assert_eq!( + msg.stec_residuals[1].sv_id.constellation, 146, + "incorrect value for stec_residuals[1].sv_id.constellation, expected 146, is {}", + msg.stec_residuals[1].sv_id.constellation + ); assert_eq!( msg.stec_residuals[1].sv_id.sat_id, 197, "incorrect value for stec_residuals[1].sv_id.sat_id, expected 197, is {}", @@ -1684,7 +2124,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[2].residual, expected 10548, is {}", msg.stec_residuals[2].residual ); - assert_eq!(msg.stec_residuals[2].sv_id.constellation, 109, "incorrect value for stec_residuals[2].sv_id.constellation, expected 109, is {}", msg.stec_residuals[2].sv_id.constellation); + assert_eq!( + msg.stec_residuals[2].sv_id.constellation, 109, + "incorrect value for stec_residuals[2].sv_id.constellation, expected 109, is {}", + msg.stec_residuals[2].sv_id.constellation + ); assert_eq!( msg.stec_residuals[2].sv_id.sat_id, 222, "incorrect value for stec_residuals[2].sv_id.sat_id, expected 222, is {}", @@ -1710,7 +2154,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[4].residual, expected -27511, is {}", msg.stec_residuals[4].residual ); - assert_eq!(msg.stec_residuals[4].sv_id.constellation, 204, "incorrect value for stec_residuals[4].sv_id.constellation, expected 204, is {}", msg.stec_residuals[4].sv_id.constellation); + assert_eq!( + msg.stec_residuals[4].sv_id.constellation, 204, + "incorrect value for stec_residuals[4].sv_id.constellation, expected 204, is {}", + msg.stec_residuals[4].sv_id.constellation + ); assert_eq!( msg.stec_residuals[4].sv_id.sat_id, 65, "incorrect value for stec_residuals[4].sv_id.sat_id, expected 65, is {}", @@ -1721,7 +2169,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[5].residual, expected 11, is {}", msg.stec_residuals[5].residual ); - assert_eq!(msg.stec_residuals[5].sv_id.constellation, 183, "incorrect value for stec_residuals[5].sv_id.constellation, expected 183, is {}", msg.stec_residuals[5].sv_id.constellation); + assert_eq!( + msg.stec_residuals[5].sv_id.constellation, 183, + "incorrect value for stec_residuals[5].sv_id.constellation, expected 183, is {}", + msg.stec_residuals[5].sv_id.constellation + ); assert_eq!( msg.stec_residuals[5].sv_id.sat_id, 171, "incorrect value for stec_residuals[5].sv_id.sat_id, expected 171, is {}", @@ -1732,7 +2184,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[6].residual, expected 13740, is {}", msg.stec_residuals[6].residual ); - assert_eq!(msg.stec_residuals[6].sv_id.constellation, 203, "incorrect value for stec_residuals[6].sv_id.constellation, expected 203, is {}", msg.stec_residuals[6].sv_id.constellation); + assert_eq!( + msg.stec_residuals[6].sv_id.constellation, 203, + "incorrect value for stec_residuals[6].sv_id.constellation, expected 203, is {}", + msg.stec_residuals[6].sv_id.constellation + ); assert_eq!( msg.stec_residuals[6].sv_id.sat_id, 180, "incorrect value for stec_residuals[6].sv_id.sat_id, expected 180, is {}", @@ -1788,7 +2244,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[10].residual, expected -24357, is {}", msg.stec_residuals[10].residual ); - assert_eq!(msg.stec_residuals[10].sv_id.constellation, 137, "incorrect value for stec_residuals[10].sv_id.constellation, expected 137, is {}", msg.stec_residuals[10].sv_id.constellation); + assert_eq!( + msg.stec_residuals[10].sv_id.constellation, 137, + "incorrect value for stec_residuals[10].sv_id.constellation, expected 137, is {}", + msg.stec_residuals[10].sv_id.constellation + ); assert_eq!( msg.stec_residuals[10].sv_id.sat_id, 98, "incorrect value for stec_residuals[10].sv_id.sat_id, expected 98, is {}", @@ -1799,7 +2259,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[11].residual, expected -1441, is {}", msg.stec_residuals[11].residual ); - assert_eq!(msg.stec_residuals[11].sv_id.constellation, 216, "incorrect value for stec_residuals[11].sv_id.constellation, expected 216, is {}", msg.stec_residuals[11].sv_id.constellation); + assert_eq!( + msg.stec_residuals[11].sv_id.constellation, 216, + "incorrect value for stec_residuals[11].sv_id.constellation, expected 216, is {}", + msg.stec_residuals[11].sv_id.constellation + ); assert_eq!( msg.stec_residuals[11].sv_id.sat_id, 95, "incorrect value for stec_residuals[11].sv_id.sat_id, expected 95, is {}", @@ -1810,7 +2274,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[12].residual, expected -10660, is {}", msg.stec_residuals[12].residual ); - assert_eq!(msg.stec_residuals[12].sv_id.constellation, 196, "incorrect value for stec_residuals[12].sv_id.constellation, expected 196, is {}", msg.stec_residuals[12].sv_id.constellation); + assert_eq!( + msg.stec_residuals[12].sv_id.constellation, 196, + "incorrect value for stec_residuals[12].sv_id.constellation, expected 196, is {}", + msg.stec_residuals[12].sv_id.constellation + ); assert_eq!( msg.stec_residuals[12].sv_id.sat_id, 99, "incorrect value for stec_residuals[12].sv_id.sat_id, expected 99, is {}", @@ -1821,7 +2289,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[13].residual, expected -8509, is {}", msg.stec_residuals[13].residual ); - assert_eq!(msg.stec_residuals[13].sv_id.constellation, 253, "incorrect value for stec_residuals[13].sv_id.constellation, expected 253, is {}", msg.stec_residuals[13].sv_id.constellation); + assert_eq!( + msg.stec_residuals[13].sv_id.constellation, 253, + "incorrect value for stec_residuals[13].sv_id.constellation, expected 253, is {}", + msg.stec_residuals[13].sv_id.constellation + ); assert_eq!( msg.stec_residuals[13].sv_id.sat_id, 159, "incorrect value for stec_residuals[13].sv_id.sat_id, expected 159, is {}", @@ -1832,7 +2304,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[14].residual, expected 16361, is {}", msg.stec_residuals[14].residual ); - assert_eq!(msg.stec_residuals[14].sv_id.constellation, 146, "incorrect value for stec_residuals[14].sv_id.constellation, expected 146, is {}", msg.stec_residuals[14].sv_id.constellation); + assert_eq!( + msg.stec_residuals[14].sv_id.constellation, 146, + "incorrect value for stec_residuals[14].sv_id.constellation, expected 146, is {}", + msg.stec_residuals[14].sv_id.constellation + ); assert_eq!( msg.stec_residuals[14].sv_id.sat_id, 233, "incorrect value for stec_residuals[14].sv_id.sat_id, expected 233, is {}", @@ -1843,7 +2319,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[15].residual, expected 10346, is {}", msg.stec_residuals[15].residual ); - assert_eq!(msg.stec_residuals[15].sv_id.constellation, 24, "incorrect value for stec_residuals[15].sv_id.constellation, expected 24, is {}", msg.stec_residuals[15].sv_id.constellation); + assert_eq!( + msg.stec_residuals[15].sv_id.constellation, 24, + "incorrect value for stec_residuals[15].sv_id.constellation, expected 24, is {}", + msg.stec_residuals[15].sv_id.constellation + ); assert_eq!( msg.stec_residuals[15].sv_id.sat_id, 76, "incorrect value for stec_residuals[15].sv_id.sat_id, expected 76, is {}", @@ -1854,7 +2334,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[16].residual, expected -18679, is {}", msg.stec_residuals[16].residual ); - assert_eq!(msg.stec_residuals[16].sv_id.constellation, 65, "incorrect value for stec_residuals[16].sv_id.constellation, expected 65, is {}", msg.stec_residuals[16].sv_id.constellation); + assert_eq!( + msg.stec_residuals[16].sv_id.constellation, 65, + "incorrect value for stec_residuals[16].sv_id.constellation, expected 65, is {}", + msg.stec_residuals[16].sv_id.constellation + ); assert_eq!( msg.stec_residuals[16].sv_id.sat_id, 253, "incorrect value for stec_residuals[16].sv_id.sat_id, expected 253, is {}", @@ -1865,7 +2349,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[17].residual, expected 15292, is {}", msg.stec_residuals[17].residual ); - assert_eq!(msg.stec_residuals[17].sv_id.constellation, 215, "incorrect value for stec_residuals[17].sv_id.constellation, expected 215, is {}", msg.stec_residuals[17].sv_id.constellation); + assert_eq!( + msg.stec_residuals[17].sv_id.constellation, 215, + "incorrect value for stec_residuals[17].sv_id.constellation, expected 215, is {}", + msg.stec_residuals[17].sv_id.constellation + ); assert_eq!( msg.stec_residuals[17].sv_id.sat_id, 40, "incorrect value for stec_residuals[17].sv_id.sat_id, expected 40, is {}", @@ -1876,7 +2364,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[18].residual, expected 29537, is {}", msg.stec_residuals[18].residual ); - assert_eq!(msg.stec_residuals[18].sv_id.constellation, 69, "incorrect value for stec_residuals[18].sv_id.constellation, expected 69, is {}", msg.stec_residuals[18].sv_id.constellation); + assert_eq!( + msg.stec_residuals[18].sv_id.constellation, 69, + "incorrect value for stec_residuals[18].sv_id.constellation, expected 69, is {}", + msg.stec_residuals[18].sv_id.constellation + ); assert_eq!( msg.stec_residuals[18].sv_id.sat_id, 117, "incorrect value for stec_residuals[18].sv_id.sat_id, expected 117, is {}", @@ -1887,7 +2379,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[19].residual, expected -29440, is {}", msg.stec_residuals[19].residual ); - assert_eq!(msg.stec_residuals[19].sv_id.constellation, 56, "incorrect value for stec_residuals[19].sv_id.constellation, expected 56, is {}", msg.stec_residuals[19].sv_id.constellation); + assert_eq!( + msg.stec_residuals[19].sv_id.constellation, 56, + "incorrect value for stec_residuals[19].sv_id.constellation, expected 56, is {}", + msg.stec_residuals[19].sv_id.constellation + ); assert_eq!( msg.stec_residuals[19].sv_id.sat_id, 60, "incorrect value for stec_residuals[19].sv_id.sat_id, expected 60, is {}", @@ -1898,7 +2394,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[20].residual, expected -24266, is {}", msg.stec_residuals[20].residual ); - assert_eq!(msg.stec_residuals[20].sv_id.constellation, 171, "incorrect value for stec_residuals[20].sv_id.constellation, expected 171, is {}", msg.stec_residuals[20].sv_id.constellation); + assert_eq!( + msg.stec_residuals[20].sv_id.constellation, 171, + "incorrect value for stec_residuals[20].sv_id.constellation, expected 171, is {}", + msg.stec_residuals[20].sv_id.constellation + ); assert_eq!( msg.stec_residuals[20].sv_id.sat_id, 207, "incorrect value for stec_residuals[20].sv_id.sat_id, expected 207, is {}", @@ -1909,7 +2409,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[21].residual, expected 22272, is {}", msg.stec_residuals[21].residual ); - assert_eq!(msg.stec_residuals[21].sv_id.constellation, 61, "incorrect value for stec_residuals[21].sv_id.constellation, expected 61, is {}", msg.stec_residuals[21].sv_id.constellation); + assert_eq!( + msg.stec_residuals[21].sv_id.constellation, 61, + "incorrect value for stec_residuals[21].sv_id.constellation, expected 61, is {}", + msg.stec_residuals[21].sv_id.constellation + ); assert_eq!( msg.stec_residuals[21].sv_id.sat_id, 23, "incorrect value for stec_residuals[21].sv_id.sat_id, expected 23, is {}", @@ -1920,7 +2424,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[22].residual, expected 9303, is {}", msg.stec_residuals[22].residual ); - assert_eq!(msg.stec_residuals[22].sv_id.constellation, 123, "incorrect value for stec_residuals[22].sv_id.constellation, expected 123, is {}", msg.stec_residuals[22].sv_id.constellation); + assert_eq!( + msg.stec_residuals[22].sv_id.constellation, 123, + "incorrect value for stec_residuals[22].sv_id.constellation, expected 123, is {}", + msg.stec_residuals[22].sv_id.constellation + ); assert_eq!( msg.stec_residuals[22].sv_id.sat_id, 230, "incorrect value for stec_residuals[22].sv_id.sat_id, expected 230, is {}", @@ -1931,7 +2439,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[23].residual, expected -23794, is {}", msg.stec_residuals[23].residual ); - assert_eq!(msg.stec_residuals[23].sv_id.constellation, 255, "incorrect value for stec_residuals[23].sv_id.constellation, expected 255, is {}", msg.stec_residuals[23].sv_id.constellation); + assert_eq!( + msg.stec_residuals[23].sv_id.constellation, 255, + "incorrect value for stec_residuals[23].sv_id.constellation, expected 255, is {}", + msg.stec_residuals[23].sv_id.constellation + ); assert_eq!( msg.stec_residuals[23].sv_id.sat_id, 184, "incorrect value for stec_residuals[23].sv_id.sat_id, expected 184, is {}", @@ -1942,7 +2454,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[24].residual, expected -26837, is {}", msg.stec_residuals[24].residual ); - assert_eq!(msg.stec_residuals[24].sv_id.constellation, 224, "incorrect value for stec_residuals[24].sv_id.constellation, expected 224, is {}", msg.stec_residuals[24].sv_id.constellation); + assert_eq!( + msg.stec_residuals[24].sv_id.constellation, 224, + "incorrect value for stec_residuals[24].sv_id.constellation, expected 224, is {}", + msg.stec_residuals[24].sv_id.constellation + ); assert_eq!( msg.stec_residuals[24].sv_id.sat_id, 187, "incorrect value for stec_residuals[24].sv_id.sat_id, expected 187, is {}", @@ -1953,7 +2469,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[25].residual, expected 14631, is {}", msg.stec_residuals[25].residual ); - assert_eq!(msg.stec_residuals[25].sv_id.constellation, 104, "incorrect value for stec_residuals[25].sv_id.constellation, expected 104, is {}", msg.stec_residuals[25].sv_id.constellation); + assert_eq!( + msg.stec_residuals[25].sv_id.constellation, 104, + "incorrect value for stec_residuals[25].sv_id.constellation, expected 104, is {}", + msg.stec_residuals[25].sv_id.constellation + ); assert_eq!( msg.stec_residuals[25].sv_id.sat_id, 151, "incorrect value for stec_residuals[25].sv_id.sat_id, expected 151, is {}", @@ -1964,7 +2484,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[26].residual, expected -8144, is {}", msg.stec_residuals[26].residual ); - assert_eq!(msg.stec_residuals[26].sv_id.constellation, 54, "incorrect value for stec_residuals[26].sv_id.constellation, expected 54, is {}", msg.stec_residuals[26].sv_id.constellation); + assert_eq!( + msg.stec_residuals[26].sv_id.constellation, 54, + "incorrect value for stec_residuals[26].sv_id.constellation, expected 54, is {}", + msg.stec_residuals[26].sv_id.constellation + ); assert_eq!( msg.stec_residuals[26].sv_id.sat_id, 5, "incorrect value for stec_residuals[26].sv_id.sat_id, expected 5, is {}", @@ -1975,7 +2499,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[27].residual, expected 23612, is {}", msg.stec_residuals[27].residual ); - assert_eq!(msg.stec_residuals[27].sv_id.constellation, 129, "incorrect value for stec_residuals[27].sv_id.constellation, expected 129, is {}", msg.stec_residuals[27].sv_id.constellation); + assert_eq!( + msg.stec_residuals[27].sv_id.constellation, 129, + "incorrect value for stec_residuals[27].sv_id.constellation, expected 129, is {}", + msg.stec_residuals[27].sv_id.constellation + ); assert_eq!( msg.stec_residuals[27].sv_id.sat_id, 181, "incorrect value for stec_residuals[27].sv_id.sat_id, expected 181, is {}", @@ -1986,7 +2514,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[28].residual, expected 28013, is {}", msg.stec_residuals[28].residual ); - assert_eq!(msg.stec_residuals[28].sv_id.constellation, 114, "incorrect value for stec_residuals[28].sv_id.constellation, expected 114, is {}", msg.stec_residuals[28].sv_id.constellation); + assert_eq!( + msg.stec_residuals[28].sv_id.constellation, 114, + "incorrect value for stec_residuals[28].sv_id.constellation, expected 114, is {}", + msg.stec_residuals[28].sv_id.constellation + ); assert_eq!( msg.stec_residuals[28].sv_id.sat_id, 171, "incorrect value for stec_residuals[28].sv_id.sat_id, expected 171, is {}", @@ -1997,7 +2529,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[29].residual, expected 2166, is {}", msg.stec_residuals[29].residual ); - assert_eq!(msg.stec_residuals[29].sv_id.constellation, 23, "incorrect value for stec_residuals[29].sv_id.constellation, expected 23, is {}", msg.stec_residuals[29].sv_id.constellation); + assert_eq!( + msg.stec_residuals[29].sv_id.constellation, 23, + "incorrect value for stec_residuals[29].sv_id.constellation, expected 23, is {}", + msg.stec_residuals[29].sv_id.constellation + ); assert_eq!( msg.stec_residuals[29].sv_id.sat_id, 12, "incorrect value for stec_residuals[29].sv_id.sat_id, expected 12, is {}", @@ -2008,7 +2544,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[30].residual, expected -10186, is {}", msg.stec_residuals[30].residual ); - assert_eq!(msg.stec_residuals[30].sv_id.constellation, 159, "incorrect value for stec_residuals[30].sv_id.constellation, expected 159, is {}", msg.stec_residuals[30].sv_id.constellation); + assert_eq!( + msg.stec_residuals[30].sv_id.constellation, 159, + "incorrect value for stec_residuals[30].sv_id.constellation, expected 159, is {}", + msg.stec_residuals[30].sv_id.constellation + ); assert_eq!( msg.stec_residuals[30].sv_id.sat_id, 64, "incorrect value for stec_residuals[30].sv_id.sat_id, expected 64, is {}", @@ -2019,7 +2559,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[31].residual, expected 17432, is {}", msg.stec_residuals[31].residual ); - assert_eq!(msg.stec_residuals[31].sv_id.constellation, 20, "incorrect value for stec_residuals[31].sv_id.constellation, expected 20, is {}", msg.stec_residuals[31].sv_id.constellation); + assert_eq!( + msg.stec_residuals[31].sv_id.constellation, 20, + "incorrect value for stec_residuals[31].sv_id.constellation, expected 20, is {}", + msg.stec_residuals[31].sv_id.constellation + ); assert_eq!( msg.stec_residuals[31].sv_id.sat_id, 33, "incorrect value for stec_residuals[31].sv_id.sat_id, expected 33, is {}", @@ -2030,7 +2574,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[32].residual, expected -8666, is {}", msg.stec_residuals[32].residual ); - assert_eq!(msg.stec_residuals[32].sv_id.constellation, 36, "incorrect value for stec_residuals[32].sv_id.constellation, expected 36, is {}", msg.stec_residuals[32].sv_id.constellation); + assert_eq!( + msg.stec_residuals[32].sv_id.constellation, 36, + "incorrect value for stec_residuals[32].sv_id.constellation, expected 36, is {}", + msg.stec_residuals[32].sv_id.constellation + ); assert_eq!( msg.stec_residuals[32].sv_id.sat_id, 160, "incorrect value for stec_residuals[32].sv_id.sat_id, expected 160, is {}", @@ -2041,7 +2589,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[33].residual, expected 25436, is {}", msg.stec_residuals[33].residual ); - assert_eq!(msg.stec_residuals[33].sv_id.constellation, 190, "incorrect value for stec_residuals[33].sv_id.constellation, expected 190, is {}", msg.stec_residuals[33].sv_id.constellation); + assert_eq!( + msg.stec_residuals[33].sv_id.constellation, 190, + "incorrect value for stec_residuals[33].sv_id.constellation, expected 190, is {}", + msg.stec_residuals[33].sv_id.constellation + ); assert_eq!( msg.stec_residuals[33].sv_id.sat_id, 145, "incorrect value for stec_residuals[33].sv_id.sat_id, expected 145, is {}", @@ -2052,7 +2604,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[34].residual, expected -3864, is {}", msg.stec_residuals[34].residual ); - assert_eq!(msg.stec_residuals[34].sv_id.constellation, 159, "incorrect value for stec_residuals[34].sv_id.constellation, expected 159, is {}", msg.stec_residuals[34].sv_id.constellation); + assert_eq!( + msg.stec_residuals[34].sv_id.constellation, 159, + "incorrect value for stec_residuals[34].sv_id.constellation, expected 159, is {}", + msg.stec_residuals[34].sv_id.constellation + ); assert_eq!( msg.stec_residuals[34].sv_id.sat_id, 108, "incorrect value for stec_residuals[34].sv_id.sat_id, expected 108, is {}", @@ -2063,7 +2619,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[35].residual, expected 4093, is {}", msg.stec_residuals[35].residual ); - assert_eq!(msg.stec_residuals[35].sv_id.constellation, 221, "incorrect value for stec_residuals[35].sv_id.constellation, expected 221, is {}", msg.stec_residuals[35].sv_id.constellation); + assert_eq!( + msg.stec_residuals[35].sv_id.constellation, 221, + "incorrect value for stec_residuals[35].sv_id.constellation, expected 221, is {}", + msg.stec_residuals[35].sv_id.constellation + ); assert_eq!( msg.stec_residuals[35].sv_id.sat_id, 227, "incorrect value for stec_residuals[35].sv_id.sat_id, expected 227, is {}", @@ -2074,7 +2634,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[36].residual, expected -18055, is {}", msg.stec_residuals[36].residual ); - assert_eq!(msg.stec_residuals[36].sv_id.constellation, 23, "incorrect value for stec_residuals[36].sv_id.constellation, expected 23, is {}", msg.stec_residuals[36].sv_id.constellation); + assert_eq!( + msg.stec_residuals[36].sv_id.constellation, 23, + "incorrect value for stec_residuals[36].sv_id.constellation, expected 23, is {}", + msg.stec_residuals[36].sv_id.constellation + ); assert_eq!( msg.stec_residuals[36].sv_id.sat_id, 62, "incorrect value for stec_residuals[36].sv_id.sat_id, expected 62, is {}", @@ -2085,7 +2649,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[37].residual, expected -27900, is {}", msg.stec_residuals[37].residual ); - assert_eq!(msg.stec_residuals[37].sv_id.constellation, 116, "incorrect value for stec_residuals[37].sv_id.constellation, expected 116, is {}", msg.stec_residuals[37].sv_id.constellation); + assert_eq!( + msg.stec_residuals[37].sv_id.constellation, 116, + "incorrect value for stec_residuals[37].sv_id.constellation, expected 116, is {}", + msg.stec_residuals[37].sv_id.constellation + ); assert_eq!( msg.stec_residuals[37].sv_id.sat_id, 168, "incorrect value for stec_residuals[37].sv_id.sat_id, expected 168, is {}", @@ -2096,7 +2664,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[38].residual, expected 30687, is {}", msg.stec_residuals[38].residual ); - assert_eq!(msg.stec_residuals[38].sv_id.constellation, 72, "incorrect value for stec_residuals[38].sv_id.constellation, expected 72, is {}", msg.stec_residuals[38].sv_id.constellation); + assert_eq!( + msg.stec_residuals[38].sv_id.constellation, 72, + "incorrect value for stec_residuals[38].sv_id.constellation, expected 72, is {}", + msg.stec_residuals[38].sv_id.constellation + ); assert_eq!( msg.stec_residuals[38].sv_id.sat_id, 123, "incorrect value for stec_residuals[38].sv_id.sat_id, expected 123, is {}", @@ -2107,7 +2679,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[39].residual, expected -13151, is {}", msg.stec_residuals[39].residual ); - assert_eq!(msg.stec_residuals[39].sv_id.constellation, 242, "incorrect value for stec_residuals[39].sv_id.constellation, expected 242, is {}", msg.stec_residuals[39].sv_id.constellation); + assert_eq!( + msg.stec_residuals[39].sv_id.constellation, 242, + "incorrect value for stec_residuals[39].sv_id.constellation, expected 242, is {}", + msg.stec_residuals[39].sv_id.constellation + ); assert_eq!( msg.stec_residuals[39].sv_id.sat_id, 226, "incorrect value for stec_residuals[39].sv_id.sat_id, expected 226, is {}", @@ -2118,7 +2694,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[40].residual, expected -22903, is {}", msg.stec_residuals[40].residual ); - assert_eq!(msg.stec_residuals[40].sv_id.constellation, 202, "incorrect value for stec_residuals[40].sv_id.constellation, expected 202, is {}", msg.stec_residuals[40].sv_id.constellation); + assert_eq!( + msg.stec_residuals[40].sv_id.constellation, 202, + "incorrect value for stec_residuals[40].sv_id.constellation, expected 202, is {}", + msg.stec_residuals[40].sv_id.constellation + ); assert_eq!( msg.stec_residuals[40].sv_id.sat_id, 180, "incorrect value for stec_residuals[40].sv_id.sat_id, expected 180, is {}", @@ -2129,7 +2709,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[41].residual, expected 4988, is {}", msg.stec_residuals[41].residual ); - assert_eq!(msg.stec_residuals[41].sv_id.constellation, 24, "incorrect value for stec_residuals[41].sv_id.constellation, expected 24, is {}", msg.stec_residuals[41].sv_id.constellation); + assert_eq!( + msg.stec_residuals[41].sv_id.constellation, 24, + "incorrect value for stec_residuals[41].sv_id.constellation, expected 24, is {}", + msg.stec_residuals[41].sv_id.constellation + ); assert_eq!( msg.stec_residuals[41].sv_id.sat_id, 58, "incorrect value for stec_residuals[41].sv_id.sat_id, expected 58, is {}", @@ -2140,7 +2724,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[42].residual, expected 27408, is {}", msg.stec_residuals[42].residual ); - assert_eq!(msg.stec_residuals[42].sv_id.constellation, 188, "incorrect value for stec_residuals[42].sv_id.constellation, expected 188, is {}", msg.stec_residuals[42].sv_id.constellation); + assert_eq!( + msg.stec_residuals[42].sv_id.constellation, 188, + "incorrect value for stec_residuals[42].sv_id.constellation, expected 188, is {}", + msg.stec_residuals[42].sv_id.constellation + ); assert_eq!( msg.stec_residuals[42].sv_id.sat_id, 181, "incorrect value for stec_residuals[42].sv_id.sat_id, expected 181, is {}", @@ -2151,7 +2739,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[43].residual, expected 319, is {}", msg.stec_residuals[43].residual ); - assert_eq!(msg.stec_residuals[43].sv_id.constellation, 231, "incorrect value for stec_residuals[43].sv_id.constellation, expected 231, is {}", msg.stec_residuals[43].sv_id.constellation); + assert_eq!( + msg.stec_residuals[43].sv_id.constellation, 231, + "incorrect value for stec_residuals[43].sv_id.constellation, expected 231, is {}", + msg.stec_residuals[43].sv_id.constellation + ); assert_eq!( msg.stec_residuals[43].sv_id.sat_id, 66, "incorrect value for stec_residuals[43].sv_id.sat_id, expected 66, is {}", @@ -2162,7 +2754,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[44].residual, expected 15987, is {}", msg.stec_residuals[44].residual ); - assert_eq!(msg.stec_residuals[44].sv_id.constellation, 252, "incorrect value for stec_residuals[44].sv_id.constellation, expected 252, is {}", msg.stec_residuals[44].sv_id.constellation); + assert_eq!( + msg.stec_residuals[44].sv_id.constellation, 252, + "incorrect value for stec_residuals[44].sv_id.constellation, expected 252, is {}", + msg.stec_residuals[44].sv_id.constellation + ); assert_eq!( msg.stec_residuals[44].sv_id.sat_id, 64, "incorrect value for stec_residuals[44].sv_id.sat_id, expected 64, is {}", @@ -2173,7 +2769,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[45].residual, expected 22266, is {}", msg.stec_residuals[45].residual ); - assert_eq!(msg.stec_residuals[45].sv_id.constellation, 97, "incorrect value for stec_residuals[45].sv_id.constellation, expected 97, is {}", msg.stec_residuals[45].sv_id.constellation); + assert_eq!( + msg.stec_residuals[45].sv_id.constellation, 97, + "incorrect value for stec_residuals[45].sv_id.constellation, expected 97, is {}", + msg.stec_residuals[45].sv_id.constellation + ); assert_eq!( msg.stec_residuals[45].sv_id.sat_id, 233, "incorrect value for stec_residuals[45].sv_id.sat_id, expected 233, is {}", @@ -2184,7 +2784,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[46].residual, expected -19919, is {}", msg.stec_residuals[46].residual ); - assert_eq!(msg.stec_residuals[46].sv_id.constellation, 221, "incorrect value for stec_residuals[46].sv_id.constellation, expected 221, is {}", msg.stec_residuals[46].sv_id.constellation); + assert_eq!( + msg.stec_residuals[46].sv_id.constellation, 221, + "incorrect value for stec_residuals[46].sv_id.constellation, expected 221, is {}", + msg.stec_residuals[46].sv_id.constellation + ); assert_eq!( msg.stec_residuals[46].sv_id.sat_id, 156, "incorrect value for stec_residuals[46].sv_id.sat_id, expected 156, is {}", @@ -2195,7 +2799,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[47].residual, expected 17350, is {}", msg.stec_residuals[47].residual ); - assert_eq!(msg.stec_residuals[47].sv_id.constellation, 73, "incorrect value for stec_residuals[47].sv_id.constellation, expected 73, is {}", msg.stec_residuals[47].sv_id.constellation); + assert_eq!( + msg.stec_residuals[47].sv_id.constellation, 73, + "incorrect value for stec_residuals[47].sv_id.constellation, expected 73, is {}", + msg.stec_residuals[47].sv_id.constellation + ); assert_eq!( msg.stec_residuals[47].sv_id.sat_id, 32, "incorrect value for stec_residuals[47].sv_id.sat_id, expected 32, is {}", @@ -2206,7 +2814,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[48].residual, expected 14410, is {}", msg.stec_residuals[48].residual ); - assert_eq!(msg.stec_residuals[48].sv_id.constellation, 253, "incorrect value for stec_residuals[48].sv_id.constellation, expected 253, is {}", msg.stec_residuals[48].sv_id.constellation); + assert_eq!( + msg.stec_residuals[48].sv_id.constellation, 253, + "incorrect value for stec_residuals[48].sv_id.constellation, expected 253, is {}", + msg.stec_residuals[48].sv_id.constellation + ); assert_eq!( msg.stec_residuals[48].sv_id.sat_id, 249, "incorrect value for stec_residuals[48].sv_id.sat_id, expected 249, is {}", @@ -2217,7 +2829,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[49].residual, expected 23671, is {}", msg.stec_residuals[49].residual ); - assert_eq!(msg.stec_residuals[49].sv_id.constellation, 165, "incorrect value for stec_residuals[49].sv_id.constellation, expected 165, is {}", msg.stec_residuals[49].sv_id.constellation); + assert_eq!( + msg.stec_residuals[49].sv_id.constellation, 165, + "incorrect value for stec_residuals[49].sv_id.constellation, expected 165, is {}", + msg.stec_residuals[49].sv_id.constellation + ); assert_eq!( msg.stec_residuals[49].sv_id.sat_id, 38, "incorrect value for stec_residuals[49].sv_id.sat_id, expected 38, is {}", @@ -2228,7 +2844,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[50].residual, expected -31905, is {}", msg.stec_residuals[50].residual ); - assert_eq!(msg.stec_residuals[50].sv_id.constellation, 44, "incorrect value for stec_residuals[50].sv_id.constellation, expected 44, is {}", msg.stec_residuals[50].sv_id.constellation); + assert_eq!( + msg.stec_residuals[50].sv_id.constellation, 44, + "incorrect value for stec_residuals[50].sv_id.constellation, expected 44, is {}", + msg.stec_residuals[50].sv_id.constellation + ); assert_eq!( msg.stec_residuals[50].sv_id.sat_id, 99, "incorrect value for stec_residuals[50].sv_id.sat_id, expected 99, is {}", @@ -2239,7 +2859,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[51].residual, expected 14305, is {}", msg.stec_residuals[51].residual ); - assert_eq!(msg.stec_residuals[51].sv_id.constellation, 192, "incorrect value for stec_residuals[51].sv_id.constellation, expected 192, is {}", msg.stec_residuals[51].sv_id.constellation); + assert_eq!( + msg.stec_residuals[51].sv_id.constellation, 192, + "incorrect value for stec_residuals[51].sv_id.constellation, expected 192, is {}", + msg.stec_residuals[51].sv_id.constellation + ); assert_eq!( msg.stec_residuals[51].sv_id.sat_id, 89, "incorrect value for stec_residuals[51].sv_id.sat_id, expected 89, is {}", @@ -2250,7 +2874,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[52].residual, expected -12968, is {}", msg.stec_residuals[52].residual ); - assert_eq!(msg.stec_residuals[52].sv_id.constellation, 171, "incorrect value for stec_residuals[52].sv_id.constellation, expected 171, is {}", msg.stec_residuals[52].sv_id.constellation); + assert_eq!( + msg.stec_residuals[52].sv_id.constellation, 171, + "incorrect value for stec_residuals[52].sv_id.constellation, expected 171, is {}", + msg.stec_residuals[52].sv_id.constellation + ); assert_eq!( msg.stec_residuals[52].sv_id.sat_id, 95, "incorrect value for stec_residuals[52].sv_id.sat_id, expected 95, is {}", @@ -2261,7 +2889,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[53].residual, expected 21479, is {}", msg.stec_residuals[53].residual ); - assert_eq!(msg.stec_residuals[53].sv_id.constellation, 116, "incorrect value for stec_residuals[53].sv_id.constellation, expected 116, is {}", msg.stec_residuals[53].sv_id.constellation); + assert_eq!( + msg.stec_residuals[53].sv_id.constellation, 116, + "incorrect value for stec_residuals[53].sv_id.constellation, expected 116, is {}", + msg.stec_residuals[53].sv_id.constellation + ); assert_eq!( msg.stec_residuals[53].sv_id.sat_id, 21, "incorrect value for stec_residuals[53].sv_id.sat_id, expected 21, is {}", @@ -2272,7 +2904,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[54].residual, expected 28260, is {}", msg.stec_residuals[54].residual ); - assert_eq!(msg.stec_residuals[54].sv_id.constellation, 71, "incorrect value for stec_residuals[54].sv_id.constellation, expected 71, is {}", msg.stec_residuals[54].sv_id.constellation); + assert_eq!( + msg.stec_residuals[54].sv_id.constellation, 71, + "incorrect value for stec_residuals[54].sv_id.constellation, expected 71, is {}", + msg.stec_residuals[54].sv_id.constellation + ); assert_eq!( msg.stec_residuals[54].sv_id.sat_id, 71, "incorrect value for stec_residuals[54].sv_id.sat_id, expected 71, is {}", @@ -2283,7 +2919,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[55].residual, expected -11112, is {}", msg.stec_residuals[55].residual ); - assert_eq!(msg.stec_residuals[55].sv_id.constellation, 254, "incorrect value for stec_residuals[55].sv_id.constellation, expected 254, is {}", msg.stec_residuals[55].sv_id.constellation); + assert_eq!( + msg.stec_residuals[55].sv_id.constellation, 254, + "incorrect value for stec_residuals[55].sv_id.constellation, expected 254, is {}", + msg.stec_residuals[55].sv_id.constellation + ); assert_eq!( msg.stec_residuals[55].sv_id.sat_id, 217, "incorrect value for stec_residuals[55].sv_id.sat_id, expected 217, is {}", @@ -2309,7 +2949,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[57].residual, expected -4024, is {}", msg.stec_residuals[57].residual ); - assert_eq!(msg.stec_residuals[57].sv_id.constellation, 54, "incorrect value for stec_residuals[57].sv_id.constellation, expected 54, is {}", msg.stec_residuals[57].sv_id.constellation); + assert_eq!( + msg.stec_residuals[57].sv_id.constellation, 54, + "incorrect value for stec_residuals[57].sv_id.constellation, expected 54, is {}", + msg.stec_residuals[57].sv_id.constellation + ); assert_eq!( msg.stec_residuals[57].sv_id.sat_id, 244, "incorrect value for stec_residuals[57].sv_id.sat_id, expected 244, is {}", @@ -2320,7 +2964,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_gridded_correction_no_std_dep_a() { "incorrect value for stec_residuals[58].residual, expected -15505, is {}", msg.stec_residuals[58].residual ); - assert_eq!(msg.stec_residuals[58].sv_id.constellation, 189, "incorrect value for stec_residuals[58].sv_id.constellation, expected 189, is {}", msg.stec_residuals[58].sv_id.constellation); + assert_eq!( + msg.stec_residuals[58].sv_id.constellation, 189, + "incorrect value for stec_residuals[58].sv_id.constellation, expected 189, is {}", + msg.stec_residuals[58].sv_id.constellation + ); assert_eq!( msg.stec_residuals[58].sv_id.sat_id, 231, "incorrect value for stec_residuals[58].sv_id.sat_id, expected 231, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs index 00a37b8706..2c37169f97 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds.rs @@ -95,12 +95,36 @@ fn test_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds() { "incorrect value for orbit_clock_bounds[0].clock_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[0].clock_bound_sig ); - assert_eq!(msg.orbit_clock_bounds[0].orb_along_bound_mu, 38, "incorrect value for orbit_clock_bounds[0].orb_along_bound_mu, expected 38, is {}", msg.orbit_clock_bounds[0].orb_along_bound_mu); - assert_eq!(msg.orbit_clock_bounds[0].orb_along_bound_sig, 2, "incorrect value for orbit_clock_bounds[0].orb_along_bound_sig, expected 2, is {}", msg.orbit_clock_bounds[0].orb_along_bound_sig); - assert_eq!(msg.orbit_clock_bounds[0].orb_cross_bound_mu, 37, "incorrect value for orbit_clock_bounds[0].orb_cross_bound_mu, expected 37, is {}", msg.orbit_clock_bounds[0].orb_cross_bound_mu); - assert_eq!(msg.orbit_clock_bounds[0].orb_cross_bound_sig, 3, "incorrect value for orbit_clock_bounds[0].orb_cross_bound_sig, expected 3, is {}", msg.orbit_clock_bounds[0].orb_cross_bound_sig); - assert_eq!(msg.orbit_clock_bounds[0].orb_radial_bound_mu, 39, "incorrect value for orbit_clock_bounds[0].orb_radial_bound_mu, expected 39, is {}", msg.orbit_clock_bounds[0].orb_radial_bound_mu); - assert_eq!(msg.orbit_clock_bounds[0].orb_radial_bound_sig, 1, "incorrect value for orbit_clock_bounds[0].orb_radial_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[0].orb_radial_bound_sig); + assert_eq!( + msg.orbit_clock_bounds[0].orb_along_bound_mu, 38, + "incorrect value for orbit_clock_bounds[0].orb_along_bound_mu, expected 38, is {}", + msg.orbit_clock_bounds[0].orb_along_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_along_bound_sig, 2, + "incorrect value for orbit_clock_bounds[0].orb_along_bound_sig, expected 2, is {}", + msg.orbit_clock_bounds[0].orb_along_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_cross_bound_mu, 37, + "incorrect value for orbit_clock_bounds[0].orb_cross_bound_mu, expected 37, is {}", + msg.orbit_clock_bounds[0].orb_cross_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_cross_bound_sig, 3, + "incorrect value for orbit_clock_bounds[0].orb_cross_bound_sig, expected 3, is {}", + msg.orbit_clock_bounds[0].orb_cross_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_radial_bound_mu, 39, + "incorrect value for orbit_clock_bounds[0].orb_radial_bound_mu, expected 39, is {}", + msg.orbit_clock_bounds[0].orb_radial_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_radial_bound_sig, 1, + "incorrect value for orbit_clock_bounds[0].orb_radial_bound_sig, expected 1, is {}", + msg.orbit_clock_bounds[0].orb_radial_bound_sig + ); assert_eq!( msg.orbit_clock_bounds[0].sat_id, 24, "incorrect value for orbit_clock_bounds[0].sat_id, expected 24, is {}", @@ -116,12 +140,36 @@ fn test_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds() { "incorrect value for orbit_clock_bounds[1].clock_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[1].clock_bound_sig ); - assert_eq!(msg.orbit_clock_bounds[1].orb_along_bound_mu, 38, "incorrect value for orbit_clock_bounds[1].orb_along_bound_mu, expected 38, is {}", msg.orbit_clock_bounds[1].orb_along_bound_mu); - assert_eq!(msg.orbit_clock_bounds[1].orb_along_bound_sig, 2, "incorrect value for orbit_clock_bounds[1].orb_along_bound_sig, expected 2, is {}", msg.orbit_clock_bounds[1].orb_along_bound_sig); - assert_eq!(msg.orbit_clock_bounds[1].orb_cross_bound_mu, 37, "incorrect value for orbit_clock_bounds[1].orb_cross_bound_mu, expected 37, is {}", msg.orbit_clock_bounds[1].orb_cross_bound_mu); - assert_eq!(msg.orbit_clock_bounds[1].orb_cross_bound_sig, 3, "incorrect value for orbit_clock_bounds[1].orb_cross_bound_sig, expected 3, is {}", msg.orbit_clock_bounds[1].orb_cross_bound_sig); - assert_eq!(msg.orbit_clock_bounds[1].orb_radial_bound_mu, 39, "incorrect value for orbit_clock_bounds[1].orb_radial_bound_mu, expected 39, is {}", msg.orbit_clock_bounds[1].orb_radial_bound_mu); - assert_eq!(msg.orbit_clock_bounds[1].orb_radial_bound_sig, 1, "incorrect value for orbit_clock_bounds[1].orb_radial_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[1].orb_radial_bound_sig); + assert_eq!( + msg.orbit_clock_bounds[1].orb_along_bound_mu, 38, + "incorrect value for orbit_clock_bounds[1].orb_along_bound_mu, expected 38, is {}", + msg.orbit_clock_bounds[1].orb_along_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_along_bound_sig, 2, + "incorrect value for orbit_clock_bounds[1].orb_along_bound_sig, expected 2, is {}", + msg.orbit_clock_bounds[1].orb_along_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_cross_bound_mu, 37, + "incorrect value for orbit_clock_bounds[1].orb_cross_bound_mu, expected 37, is {}", + msg.orbit_clock_bounds[1].orb_cross_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_cross_bound_sig, 3, + "incorrect value for orbit_clock_bounds[1].orb_cross_bound_sig, expected 3, is {}", + msg.orbit_clock_bounds[1].orb_cross_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_radial_bound_mu, 39, + "incorrect value for orbit_clock_bounds[1].orb_radial_bound_mu, expected 39, is {}", + msg.orbit_clock_bounds[1].orb_radial_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_radial_bound_sig, 1, + "incorrect value for orbit_clock_bounds[1].orb_radial_bound_sig, expected 1, is {}", + msg.orbit_clock_bounds[1].orb_radial_bound_sig + ); assert_eq!( msg.orbit_clock_bounds[1].sat_id, 3, "incorrect value for orbit_clock_bounds[1].sat_id, expected 3, is {}", @@ -233,12 +281,36 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds() { "incorrect value for orbit_clock_bounds[0].clock_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[0].clock_bound_sig ); - assert_eq!(msg.orbit_clock_bounds[0].orb_along_bound_mu, 38, "incorrect value for orbit_clock_bounds[0].orb_along_bound_mu, expected 38, is {}", msg.orbit_clock_bounds[0].orb_along_bound_mu); - assert_eq!(msg.orbit_clock_bounds[0].orb_along_bound_sig, 2, "incorrect value for orbit_clock_bounds[0].orb_along_bound_sig, expected 2, is {}", msg.orbit_clock_bounds[0].orb_along_bound_sig); - assert_eq!(msg.orbit_clock_bounds[0].orb_cross_bound_mu, 37, "incorrect value for orbit_clock_bounds[0].orb_cross_bound_mu, expected 37, is {}", msg.orbit_clock_bounds[0].orb_cross_bound_mu); - assert_eq!(msg.orbit_clock_bounds[0].orb_cross_bound_sig, 3, "incorrect value for orbit_clock_bounds[0].orb_cross_bound_sig, expected 3, is {}", msg.orbit_clock_bounds[0].orb_cross_bound_sig); - assert_eq!(msg.orbit_clock_bounds[0].orb_radial_bound_mu, 39, "incorrect value for orbit_clock_bounds[0].orb_radial_bound_mu, expected 39, is {}", msg.orbit_clock_bounds[0].orb_radial_bound_mu); - assert_eq!(msg.orbit_clock_bounds[0].orb_radial_bound_sig, 1, "incorrect value for orbit_clock_bounds[0].orb_radial_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[0].orb_radial_bound_sig); + assert_eq!( + msg.orbit_clock_bounds[0].orb_along_bound_mu, 38, + "incorrect value for orbit_clock_bounds[0].orb_along_bound_mu, expected 38, is {}", + msg.orbit_clock_bounds[0].orb_along_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_along_bound_sig, 2, + "incorrect value for orbit_clock_bounds[0].orb_along_bound_sig, expected 2, is {}", + msg.orbit_clock_bounds[0].orb_along_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_cross_bound_mu, 37, + "incorrect value for orbit_clock_bounds[0].orb_cross_bound_mu, expected 37, is {}", + msg.orbit_clock_bounds[0].orb_cross_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_cross_bound_sig, 3, + "incorrect value for orbit_clock_bounds[0].orb_cross_bound_sig, expected 3, is {}", + msg.orbit_clock_bounds[0].orb_cross_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_radial_bound_mu, 39, + "incorrect value for orbit_clock_bounds[0].orb_radial_bound_mu, expected 39, is {}", + msg.orbit_clock_bounds[0].orb_radial_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_radial_bound_sig, 1, + "incorrect value for orbit_clock_bounds[0].orb_radial_bound_sig, expected 1, is {}", + msg.orbit_clock_bounds[0].orb_radial_bound_sig + ); assert_eq!( msg.orbit_clock_bounds[0].sat_id, 24, "incorrect value for orbit_clock_bounds[0].sat_id, expected 24, is {}", @@ -254,12 +326,36 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds() { "incorrect value for orbit_clock_bounds[1].clock_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[1].clock_bound_sig ); - assert_eq!(msg.orbit_clock_bounds[1].orb_along_bound_mu, 38, "incorrect value for orbit_clock_bounds[1].orb_along_bound_mu, expected 38, is {}", msg.orbit_clock_bounds[1].orb_along_bound_mu); - assert_eq!(msg.orbit_clock_bounds[1].orb_along_bound_sig, 2, "incorrect value for orbit_clock_bounds[1].orb_along_bound_sig, expected 2, is {}", msg.orbit_clock_bounds[1].orb_along_bound_sig); - assert_eq!(msg.orbit_clock_bounds[1].orb_cross_bound_mu, 37, "incorrect value for orbit_clock_bounds[1].orb_cross_bound_mu, expected 37, is {}", msg.orbit_clock_bounds[1].orb_cross_bound_mu); - assert_eq!(msg.orbit_clock_bounds[1].orb_cross_bound_sig, 3, "incorrect value for orbit_clock_bounds[1].orb_cross_bound_sig, expected 3, is {}", msg.orbit_clock_bounds[1].orb_cross_bound_sig); - assert_eq!(msg.orbit_clock_bounds[1].orb_radial_bound_mu, 39, "incorrect value for orbit_clock_bounds[1].orb_radial_bound_mu, expected 39, is {}", msg.orbit_clock_bounds[1].orb_radial_bound_mu); - assert_eq!(msg.orbit_clock_bounds[1].orb_radial_bound_sig, 1, "incorrect value for orbit_clock_bounds[1].orb_radial_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[1].orb_radial_bound_sig); + assert_eq!( + msg.orbit_clock_bounds[1].orb_along_bound_mu, 38, + "incorrect value for orbit_clock_bounds[1].orb_along_bound_mu, expected 38, is {}", + msg.orbit_clock_bounds[1].orb_along_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_along_bound_sig, 2, + "incorrect value for orbit_clock_bounds[1].orb_along_bound_sig, expected 2, is {}", + msg.orbit_clock_bounds[1].orb_along_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_cross_bound_mu, 37, + "incorrect value for orbit_clock_bounds[1].orb_cross_bound_mu, expected 37, is {}", + msg.orbit_clock_bounds[1].orb_cross_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_cross_bound_sig, 3, + "incorrect value for orbit_clock_bounds[1].orb_cross_bound_sig, expected 3, is {}", + msg.orbit_clock_bounds[1].orb_cross_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_radial_bound_mu, 39, + "incorrect value for orbit_clock_bounds[1].orb_radial_bound_mu, expected 39, is {}", + msg.orbit_clock_bounds[1].orb_radial_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_radial_bound_sig, 1, + "incorrect value for orbit_clock_bounds[1].orb_radial_bound_sig, expected 1, is {}", + msg.orbit_clock_bounds[1].orb_radial_bound_sig + ); assert_eq!( msg.orbit_clock_bounds[1].sat_id, 3, "incorrect value for orbit_clock_bounds[1].sat_id, expected 3, is {}", @@ -379,12 +475,36 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds() { "incorrect value for orbit_clock_bounds[0].clock_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[0].clock_bound_sig ); - assert_eq!(msg.orbit_clock_bounds[0].orb_along_bound_mu, 38, "incorrect value for orbit_clock_bounds[0].orb_along_bound_mu, expected 38, is {}", msg.orbit_clock_bounds[0].orb_along_bound_mu); - assert_eq!(msg.orbit_clock_bounds[0].orb_along_bound_sig, 2, "incorrect value for orbit_clock_bounds[0].orb_along_bound_sig, expected 2, is {}", msg.orbit_clock_bounds[0].orb_along_bound_sig); - assert_eq!(msg.orbit_clock_bounds[0].orb_cross_bound_mu, 37, "incorrect value for orbit_clock_bounds[0].orb_cross_bound_mu, expected 37, is {}", msg.orbit_clock_bounds[0].orb_cross_bound_mu); - assert_eq!(msg.orbit_clock_bounds[0].orb_cross_bound_sig, 3, "incorrect value for orbit_clock_bounds[0].orb_cross_bound_sig, expected 3, is {}", msg.orbit_clock_bounds[0].orb_cross_bound_sig); - assert_eq!(msg.orbit_clock_bounds[0].orb_radial_bound_mu, 39, "incorrect value for orbit_clock_bounds[0].orb_radial_bound_mu, expected 39, is {}", msg.orbit_clock_bounds[0].orb_radial_bound_mu); - assert_eq!(msg.orbit_clock_bounds[0].orb_radial_bound_sig, 1, "incorrect value for orbit_clock_bounds[0].orb_radial_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[0].orb_radial_bound_sig); + assert_eq!( + msg.orbit_clock_bounds[0].orb_along_bound_mu, 38, + "incorrect value for orbit_clock_bounds[0].orb_along_bound_mu, expected 38, is {}", + msg.orbit_clock_bounds[0].orb_along_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_along_bound_sig, 2, + "incorrect value for orbit_clock_bounds[0].orb_along_bound_sig, expected 2, is {}", + msg.orbit_clock_bounds[0].orb_along_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_cross_bound_mu, 37, + "incorrect value for orbit_clock_bounds[0].orb_cross_bound_mu, expected 37, is {}", + msg.orbit_clock_bounds[0].orb_cross_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_cross_bound_sig, 3, + "incorrect value for orbit_clock_bounds[0].orb_cross_bound_sig, expected 3, is {}", + msg.orbit_clock_bounds[0].orb_cross_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_radial_bound_mu, 39, + "incorrect value for orbit_clock_bounds[0].orb_radial_bound_mu, expected 39, is {}", + msg.orbit_clock_bounds[0].orb_radial_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[0].orb_radial_bound_sig, 1, + "incorrect value for orbit_clock_bounds[0].orb_radial_bound_sig, expected 1, is {}", + msg.orbit_clock_bounds[0].orb_radial_bound_sig + ); assert_eq!( msg.orbit_clock_bounds[0].sat_id, 24, "incorrect value for orbit_clock_bounds[0].sat_id, expected 24, is {}", @@ -400,12 +520,36 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds() { "incorrect value for orbit_clock_bounds[1].clock_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[1].clock_bound_sig ); - assert_eq!(msg.orbit_clock_bounds[1].orb_along_bound_mu, 38, "incorrect value for orbit_clock_bounds[1].orb_along_bound_mu, expected 38, is {}", msg.orbit_clock_bounds[1].orb_along_bound_mu); - assert_eq!(msg.orbit_clock_bounds[1].orb_along_bound_sig, 2, "incorrect value for orbit_clock_bounds[1].orb_along_bound_sig, expected 2, is {}", msg.orbit_clock_bounds[1].orb_along_bound_sig); - assert_eq!(msg.orbit_clock_bounds[1].orb_cross_bound_mu, 37, "incorrect value for orbit_clock_bounds[1].orb_cross_bound_mu, expected 37, is {}", msg.orbit_clock_bounds[1].orb_cross_bound_mu); - assert_eq!(msg.orbit_clock_bounds[1].orb_cross_bound_sig, 3, "incorrect value for orbit_clock_bounds[1].orb_cross_bound_sig, expected 3, is {}", msg.orbit_clock_bounds[1].orb_cross_bound_sig); - assert_eq!(msg.orbit_clock_bounds[1].orb_radial_bound_mu, 39, "incorrect value for orbit_clock_bounds[1].orb_radial_bound_mu, expected 39, is {}", msg.orbit_clock_bounds[1].orb_radial_bound_mu); - assert_eq!(msg.orbit_clock_bounds[1].orb_radial_bound_sig, 1, "incorrect value for orbit_clock_bounds[1].orb_radial_bound_sig, expected 1, is {}", msg.orbit_clock_bounds[1].orb_radial_bound_sig); + assert_eq!( + msg.orbit_clock_bounds[1].orb_along_bound_mu, 38, + "incorrect value for orbit_clock_bounds[1].orb_along_bound_mu, expected 38, is {}", + msg.orbit_clock_bounds[1].orb_along_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_along_bound_sig, 2, + "incorrect value for orbit_clock_bounds[1].orb_along_bound_sig, expected 2, is {}", + msg.orbit_clock_bounds[1].orb_along_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_cross_bound_mu, 37, + "incorrect value for orbit_clock_bounds[1].orb_cross_bound_mu, expected 37, is {}", + msg.orbit_clock_bounds[1].orb_cross_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_cross_bound_sig, 3, + "incorrect value for orbit_clock_bounds[1].orb_cross_bound_sig, expected 3, is {}", + msg.orbit_clock_bounds[1].orb_cross_bound_sig + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_radial_bound_mu, 39, + "incorrect value for orbit_clock_bounds[1].orb_radial_bound_mu, expected 39, is {}", + msg.orbit_clock_bounds[1].orb_radial_bound_mu + ); + assert_eq!( + msg.orbit_clock_bounds[1].orb_radial_bound_sig, 1, + "incorrect value for orbit_clock_bounds[1].orb_radial_bound_sig, expected 1, is {}", + msg.orbit_clock_bounds[1].orb_radial_bound_sig + ); assert_eq!( msg.orbit_clock_bounds[1].sat_id, 3, "incorrect value for orbit_clock_bounds[1].sat_id, expected 3, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs index 20639f2007..ed52b728a5 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation.rs @@ -80,14 +80,46 @@ fn test_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation() { "incorrect value for header.update_interval, expected 3, is {}", msg.header.update_interval ); - assert_eq!(msg.orbit_clock_bounds_degradation.clock_bound_mu_dot, 194, "incorrect value for orbit_clock_bounds_degradation.clock_bound_mu_dot, expected 194, is {}", msg.orbit_clock_bounds_degradation.clock_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.clock_bound_sig_dot, 193, "incorrect value for orbit_clock_bounds_degradation.clock_bound_sig_dot, expected 193, is {}", msg.orbit_clock_bounds_degradation.clock_bound_sig_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot, 199, "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_mu_dot, expected 199, is {}", msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot, 196, "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_sig_dot, expected 196, is {}", msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, 198, "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, expected 198, is {}", msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, 195, "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, expected 195, is {}", msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, 200, "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, expected 200, is {}", msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, 197, "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, expected 197, is {}", msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot); + assert_eq!( + msg.orbit_clock_bounds_degradation.clock_bound_mu_dot, 194, + "incorrect value for orbit_clock_bounds_degradation.clock_bound_mu_dot, expected 194, is {}", + msg.orbit_clock_bounds_degradation.clock_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.clock_bound_sig_dot, 193, + "incorrect value for orbit_clock_bounds_degradation.clock_bound_sig_dot, expected 193, is {}", + msg.orbit_clock_bounds_degradation.clock_bound_sig_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot, 199, + "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_mu_dot, expected 199, is {}", + msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot, 196, + "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_sig_dot, expected 196, is {}", + msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, 198, + "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, expected 198, is {}", + msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, 195, + "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, expected 195, is {}", + msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, 200, + "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, expected 200, is {}", + msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, 197, + "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, expected 197, is {}", + msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot + ); assert_eq!( msg.sat_bitmask, 10, "incorrect value for sat_bitmask, expected 10, is {}", @@ -184,14 +216,46 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation() { "incorrect value for header.update_interval, expected 3, is {}", msg.header.update_interval ); - assert_eq!(msg.orbit_clock_bounds_degradation.clock_bound_mu_dot, 194, "incorrect value for orbit_clock_bounds_degradation.clock_bound_mu_dot, expected 194, is {}", msg.orbit_clock_bounds_degradation.clock_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.clock_bound_sig_dot, 193, "incorrect value for orbit_clock_bounds_degradation.clock_bound_sig_dot, expected 193, is {}", msg.orbit_clock_bounds_degradation.clock_bound_sig_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot, 199, "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_mu_dot, expected 199, is {}", msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot, 196, "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_sig_dot, expected 196, is {}", msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, 198, "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, expected 198, is {}", msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, 195, "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, expected 195, is {}", msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, 200, "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, expected 200, is {}", msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, 197, "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, expected 197, is {}", msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot); + assert_eq!( + msg.orbit_clock_bounds_degradation.clock_bound_mu_dot, 194, + "incorrect value for orbit_clock_bounds_degradation.clock_bound_mu_dot, expected 194, is {}", + msg.orbit_clock_bounds_degradation.clock_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.clock_bound_sig_dot, 193, + "incorrect value for orbit_clock_bounds_degradation.clock_bound_sig_dot, expected 193, is {}", + msg.orbit_clock_bounds_degradation.clock_bound_sig_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot, 199, + "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_mu_dot, expected 199, is {}", + msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot, 196, + "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_sig_dot, expected 196, is {}", + msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, 198, + "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, expected 198, is {}", + msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, 195, + "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, expected 195, is {}", + msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, 200, + "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, expected 200, is {}", + msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, 197, + "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, expected 197, is {}", + msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot + ); assert_eq!( msg.sat_bitmask, 10, "incorrect value for sat_bitmask, expected 10, is {}", @@ -296,14 +360,46 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_orbit_clock_bounds_degradation() { "incorrect value for header.update_interval, expected 3, is {}", msg.header.update_interval ); - assert_eq!(msg.orbit_clock_bounds_degradation.clock_bound_mu_dot, 194, "incorrect value for orbit_clock_bounds_degradation.clock_bound_mu_dot, expected 194, is {}", msg.orbit_clock_bounds_degradation.clock_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.clock_bound_sig_dot, 193, "incorrect value for orbit_clock_bounds_degradation.clock_bound_sig_dot, expected 193, is {}", msg.orbit_clock_bounds_degradation.clock_bound_sig_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot, 199, "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_mu_dot, expected 199, is {}", msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot, 196, "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_sig_dot, expected 196, is {}", msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, 198, "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, expected 198, is {}", msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, 195, "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, expected 195, is {}", msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, 200, "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, expected 200, is {}", msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot); - assert_eq!(msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, 197, "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, expected 197, is {}", msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot); + assert_eq!( + msg.orbit_clock_bounds_degradation.clock_bound_mu_dot, 194, + "incorrect value for orbit_clock_bounds_degradation.clock_bound_mu_dot, expected 194, is {}", + msg.orbit_clock_bounds_degradation.clock_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.clock_bound_sig_dot, 193, + "incorrect value for orbit_clock_bounds_degradation.clock_bound_sig_dot, expected 193, is {}", + msg.orbit_clock_bounds_degradation.clock_bound_sig_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot, 199, + "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_mu_dot, expected 199, is {}", + msg.orbit_clock_bounds_degradation.orb_along_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot, 196, + "incorrect value for orbit_clock_bounds_degradation.orb_along_bound_sig_dot, expected 196, is {}", + msg.orbit_clock_bounds_degradation.orb_along_bound_sig_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, 198, + "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_mu_dot, expected 198, is {}", + msg.orbit_clock_bounds_degradation.orb_cross_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, 195, + "incorrect value for orbit_clock_bounds_degradation.orb_cross_bound_sig_dot, expected 195, is {}", + msg.orbit_clock_bounds_degradation.orb_cross_bound_sig_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, 200, + "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_mu_dot, expected 200, is {}", + msg.orbit_clock_bounds_degradation.orb_radial_bound_mu_dot + ); + assert_eq!( + msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, 197, + "incorrect value for orbit_clock_bounds_degradation.orb_radial_bound_sig_dot, expected 197, is {}", + msg.orbit_clock_bounds_degradation.orb_radial_bound_sig_dot + ); assert_eq!( msg.sat_bitmask, 10, "incorrect value for sat_bitmask, expected 10, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs index 5c0781ad6a..2c3a1f5fc3 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_phase_biases.rs @@ -352,7 +352,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[11].integer_indicator, expected 246, is {}", msg.biases[11].integer_indicator ); - assert_eq!(msg.biases[11].widelane_integer_indicator, 141, "incorrect value for biases[11].widelane_integer_indicator, expected 141, is {}", msg.biases[11].widelane_integer_indicator); + assert_eq!( + msg.biases[11].widelane_integer_indicator, 141, + "incorrect value for biases[11].widelane_integer_indicator, expected 141, is {}", + msg.biases[11].widelane_integer_indicator + ); assert_eq!( msg.biases[12].bias, 706252548, "incorrect value for biases[12].bias, expected 706252548, is {}", @@ -373,7 +377,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[12].integer_indicator, expected 21, is {}", msg.biases[12].integer_indicator ); - assert_eq!(msg.biases[12].widelane_integer_indicator, 244, "incorrect value for biases[12].widelane_integer_indicator, expected 244, is {}", msg.biases[12].widelane_integer_indicator); + assert_eq!( + msg.biases[12].widelane_integer_indicator, 244, + "incorrect value for biases[12].widelane_integer_indicator, expected 244, is {}", + msg.biases[12].widelane_integer_indicator + ); assert_eq!( msg.biases[13].bias, 388855338, "incorrect value for biases[13].bias, expected 388855338, is {}", @@ -394,7 +402,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[13].integer_indicator, expected 84, is {}", msg.biases[13].integer_indicator ); - assert_eq!(msg.biases[13].widelane_integer_indicator, 136, "incorrect value for biases[13].widelane_integer_indicator, expected 136, is {}", msg.biases[13].widelane_integer_indicator); + assert_eq!( + msg.biases[13].widelane_integer_indicator, 136, + "incorrect value for biases[13].widelane_integer_indicator, expected 136, is {}", + msg.biases[13].widelane_integer_indicator + ); assert_eq!( msg.biases[14].bias, 47517353, "incorrect value for biases[14].bias, expected 47517353, is {}", @@ -415,7 +427,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[14].integer_indicator, expected 175, is {}", msg.biases[14].integer_indicator ); - assert_eq!(msg.biases[14].widelane_integer_indicator, 129, "incorrect value for biases[14].widelane_integer_indicator, expected 129, is {}", msg.biases[14].widelane_integer_indicator); + assert_eq!( + msg.biases[14].widelane_integer_indicator, 129, + "incorrect value for biases[14].widelane_integer_indicator, expected 129, is {}", + msg.biases[14].widelane_integer_indicator + ); assert_eq!( msg.biases[15].bias, -2124125745, "incorrect value for biases[15].bias, expected -2124125745, is {}", @@ -461,7 +477,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[16].integer_indicator, expected 136, is {}", msg.biases[16].integer_indicator ); - assert_eq!(msg.biases[16].widelane_integer_indicator, 240, "incorrect value for biases[16].widelane_integer_indicator, expected 240, is {}", msg.biases[16].widelane_integer_indicator); + assert_eq!( + msg.biases[16].widelane_integer_indicator, 240, + "incorrect value for biases[16].widelane_integer_indicator, expected 240, is {}", + msg.biases[16].widelane_integer_indicator + ); assert_eq!( msg.biases[17].bias, 60257151, "incorrect value for biases[17].bias, expected 60257151, is {}", @@ -507,7 +527,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[18].integer_indicator, expected 254, is {}", msg.biases[18].integer_indicator ); - assert_eq!(msg.biases[18].widelane_integer_indicator, 215, "incorrect value for biases[18].widelane_integer_indicator, expected 215, is {}", msg.biases[18].widelane_integer_indicator); + assert_eq!( + msg.biases[18].widelane_integer_indicator, 215, + "incorrect value for biases[18].widelane_integer_indicator, expected 215, is {}", + msg.biases[18].widelane_integer_indicator + ); assert_eq!( msg.biases[19].bias, 1640616471, "incorrect value for biases[19].bias, expected 1640616471, is {}", @@ -578,7 +602,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[21].integer_indicator, expected 47, is {}", msg.biases[21].integer_indicator ); - assert_eq!(msg.biases[21].widelane_integer_indicator, 102, "incorrect value for biases[21].widelane_integer_indicator, expected 102, is {}", msg.biases[21].widelane_integer_indicator); + assert_eq!( + msg.biases[21].widelane_integer_indicator, 102, + "incorrect value for biases[21].widelane_integer_indicator, expected 102, is {}", + msg.biases[21].widelane_integer_indicator + ); assert_eq!( msg.biases[22].bias, 364366310, "incorrect value for biases[22].bias, expected 364366310, is {}", @@ -624,7 +652,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[23].integer_indicator, expected 62, is {}", msg.biases[23].integer_indicator ); - assert_eq!(msg.biases[23].widelane_integer_indicator, 147, "incorrect value for biases[23].widelane_integer_indicator, expected 147, is {}", msg.biases[23].widelane_integer_indicator); + assert_eq!( + msg.biases[23].widelane_integer_indicator, 147, + "incorrect value for biases[23].widelane_integer_indicator, expected 147, is {}", + msg.biases[23].widelane_integer_indicator + ); assert_eq!( msg.biases[24].bias, 31817639, "incorrect value for biases[24].bias, expected 31817639, is {}", @@ -645,7 +677,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[24].integer_indicator, expected 167, is {}", msg.biases[24].integer_indicator ); - assert_eq!(msg.biases[24].widelane_integer_indicator, 138, "incorrect value for biases[24].widelane_integer_indicator, expected 138, is {}", msg.biases[24].widelane_integer_indicator); + assert_eq!( + msg.biases[24].widelane_integer_indicator, 138, + "incorrect value for biases[24].widelane_integer_indicator, expected 138, is {}", + msg.biases[24].widelane_integer_indicator + ); assert_eq!( msg.biases[25].bias, -1619830156, "incorrect value for biases[25].bias, expected -1619830156, is {}", @@ -666,7 +702,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[25].integer_indicator, expected 127, is {}", msg.biases[25].integer_indicator ); - assert_eq!(msg.biases[25].widelane_integer_indicator, 237, "incorrect value for biases[25].widelane_integer_indicator, expected 237, is {}", msg.biases[25].widelane_integer_indicator); + assert_eq!( + msg.biases[25].widelane_integer_indicator, 237, + "incorrect value for biases[25].widelane_integer_indicator, expected 237, is {}", + msg.biases[25].widelane_integer_indicator + ); assert_eq!( msg.biases[26].bias, -83375622, "incorrect value for biases[26].bias, expected -83375622, is {}", @@ -712,7 +752,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[27].integer_indicator, expected 75, is {}", msg.biases[27].integer_indicator ); - assert_eq!(msg.biases[27].widelane_integer_indicator, 230, "incorrect value for biases[27].widelane_integer_indicator, expected 230, is {}", msg.biases[27].widelane_integer_indicator); + assert_eq!( + msg.biases[27].widelane_integer_indicator, 230, + "incorrect value for biases[27].widelane_integer_indicator, expected 230, is {}", + msg.biases[27].widelane_integer_indicator + ); assert_eq!( msg.biases[28].bias, -883355501, "incorrect value for biases[28].bias, expected -883355501, is {}", @@ -733,7 +777,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[28].integer_indicator, expected 88, is {}", msg.biases[28].integer_indicator ); - assert_eq!(msg.biases[28].widelane_integer_indicator, 255, "incorrect value for biases[28].widelane_integer_indicator, expected 255, is {}", msg.biases[28].widelane_integer_indicator); + assert_eq!( + msg.biases[28].widelane_integer_indicator, 255, + "incorrect value for biases[28].widelane_integer_indicator, expected 255, is {}", + msg.biases[28].widelane_integer_indicator + ); assert_eq!( msg.biases[29].bias, -1448611273, "incorrect value for biases[29].bias, expected -1448611273, is {}", @@ -754,7 +802,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[29].integer_indicator, expected 68, is {}", msg.biases[29].integer_indicator ); - assert_eq!(msg.biases[29].widelane_integer_indicator, 243, "incorrect value for biases[29].widelane_integer_indicator, expected 243, is {}", msg.biases[29].widelane_integer_indicator); + assert_eq!( + msg.biases[29].widelane_integer_indicator, 243, + "incorrect value for biases[29].widelane_integer_indicator, expected 243, is {}", + msg.biases[29].widelane_integer_indicator + ); assert_eq!( msg.dispersive_bias, 98, "incorrect value for dispersive_bias, expected 98, is {}", @@ -1151,7 +1203,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[11].integer_indicator, expected 246, is {}", msg.biases[11].integer_indicator ); - assert_eq!(msg.biases[11].widelane_integer_indicator, 141, "incorrect value for biases[11].widelane_integer_indicator, expected 141, is {}", msg.biases[11].widelane_integer_indicator); + assert_eq!( + msg.biases[11].widelane_integer_indicator, 141, + "incorrect value for biases[11].widelane_integer_indicator, expected 141, is {}", + msg.biases[11].widelane_integer_indicator + ); assert_eq!( msg.biases[12].bias, 706252548, "incorrect value for biases[12].bias, expected 706252548, is {}", @@ -1172,7 +1228,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[12].integer_indicator, expected 21, is {}", msg.biases[12].integer_indicator ); - assert_eq!(msg.biases[12].widelane_integer_indicator, 244, "incorrect value for biases[12].widelane_integer_indicator, expected 244, is {}", msg.biases[12].widelane_integer_indicator); + assert_eq!( + msg.biases[12].widelane_integer_indicator, 244, + "incorrect value for biases[12].widelane_integer_indicator, expected 244, is {}", + msg.biases[12].widelane_integer_indicator + ); assert_eq!( msg.biases[13].bias, 388855338, "incorrect value for biases[13].bias, expected 388855338, is {}", @@ -1193,7 +1253,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[13].integer_indicator, expected 84, is {}", msg.biases[13].integer_indicator ); - assert_eq!(msg.biases[13].widelane_integer_indicator, 136, "incorrect value for biases[13].widelane_integer_indicator, expected 136, is {}", msg.biases[13].widelane_integer_indicator); + assert_eq!( + msg.biases[13].widelane_integer_indicator, 136, + "incorrect value for biases[13].widelane_integer_indicator, expected 136, is {}", + msg.biases[13].widelane_integer_indicator + ); assert_eq!( msg.biases[14].bias, 47517353, "incorrect value for biases[14].bias, expected 47517353, is {}", @@ -1214,7 +1278,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[14].integer_indicator, expected 175, is {}", msg.biases[14].integer_indicator ); - assert_eq!(msg.biases[14].widelane_integer_indicator, 129, "incorrect value for biases[14].widelane_integer_indicator, expected 129, is {}", msg.biases[14].widelane_integer_indicator); + assert_eq!( + msg.biases[14].widelane_integer_indicator, 129, + "incorrect value for biases[14].widelane_integer_indicator, expected 129, is {}", + msg.biases[14].widelane_integer_indicator + ); assert_eq!( msg.biases[15].bias, -2124125745, "incorrect value for biases[15].bias, expected -2124125745, is {}", @@ -1260,7 +1328,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[16].integer_indicator, expected 136, is {}", msg.biases[16].integer_indicator ); - assert_eq!(msg.biases[16].widelane_integer_indicator, 240, "incorrect value for biases[16].widelane_integer_indicator, expected 240, is {}", msg.biases[16].widelane_integer_indicator); + assert_eq!( + msg.biases[16].widelane_integer_indicator, 240, + "incorrect value for biases[16].widelane_integer_indicator, expected 240, is {}", + msg.biases[16].widelane_integer_indicator + ); assert_eq!( msg.biases[17].bias, 60257151, "incorrect value for biases[17].bias, expected 60257151, is {}", @@ -1306,7 +1378,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[18].integer_indicator, expected 254, is {}", msg.biases[18].integer_indicator ); - assert_eq!(msg.biases[18].widelane_integer_indicator, 215, "incorrect value for biases[18].widelane_integer_indicator, expected 215, is {}", msg.biases[18].widelane_integer_indicator); + assert_eq!( + msg.biases[18].widelane_integer_indicator, 215, + "incorrect value for biases[18].widelane_integer_indicator, expected 215, is {}", + msg.biases[18].widelane_integer_indicator + ); assert_eq!( msg.biases[19].bias, 1640616471, "incorrect value for biases[19].bias, expected 1640616471, is {}", @@ -1377,7 +1453,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[21].integer_indicator, expected 47, is {}", msg.biases[21].integer_indicator ); - assert_eq!(msg.biases[21].widelane_integer_indicator, 102, "incorrect value for biases[21].widelane_integer_indicator, expected 102, is {}", msg.biases[21].widelane_integer_indicator); + assert_eq!( + msg.biases[21].widelane_integer_indicator, 102, + "incorrect value for biases[21].widelane_integer_indicator, expected 102, is {}", + msg.biases[21].widelane_integer_indicator + ); assert_eq!( msg.biases[22].bias, 364366310, "incorrect value for biases[22].bias, expected 364366310, is {}", @@ -1423,7 +1503,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[23].integer_indicator, expected 62, is {}", msg.biases[23].integer_indicator ); - assert_eq!(msg.biases[23].widelane_integer_indicator, 147, "incorrect value for biases[23].widelane_integer_indicator, expected 147, is {}", msg.biases[23].widelane_integer_indicator); + assert_eq!( + msg.biases[23].widelane_integer_indicator, 147, + "incorrect value for biases[23].widelane_integer_indicator, expected 147, is {}", + msg.biases[23].widelane_integer_indicator + ); assert_eq!( msg.biases[24].bias, 31817639, "incorrect value for biases[24].bias, expected 31817639, is {}", @@ -1444,7 +1528,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[24].integer_indicator, expected 167, is {}", msg.biases[24].integer_indicator ); - assert_eq!(msg.biases[24].widelane_integer_indicator, 138, "incorrect value for biases[24].widelane_integer_indicator, expected 138, is {}", msg.biases[24].widelane_integer_indicator); + assert_eq!( + msg.biases[24].widelane_integer_indicator, 138, + "incorrect value for biases[24].widelane_integer_indicator, expected 138, is {}", + msg.biases[24].widelane_integer_indicator + ); assert_eq!( msg.biases[25].bias, -1619830156, "incorrect value for biases[25].bias, expected -1619830156, is {}", @@ -1465,7 +1553,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[25].integer_indicator, expected 127, is {}", msg.biases[25].integer_indicator ); - assert_eq!(msg.biases[25].widelane_integer_indicator, 237, "incorrect value for biases[25].widelane_integer_indicator, expected 237, is {}", msg.biases[25].widelane_integer_indicator); + assert_eq!( + msg.biases[25].widelane_integer_indicator, 237, + "incorrect value for biases[25].widelane_integer_indicator, expected 237, is {}", + msg.biases[25].widelane_integer_indicator + ); assert_eq!( msg.biases[26].bias, -83375622, "incorrect value for biases[26].bias, expected -83375622, is {}", @@ -1511,7 +1603,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[27].integer_indicator, expected 75, is {}", msg.biases[27].integer_indicator ); - assert_eq!(msg.biases[27].widelane_integer_indicator, 230, "incorrect value for biases[27].widelane_integer_indicator, expected 230, is {}", msg.biases[27].widelane_integer_indicator); + assert_eq!( + msg.biases[27].widelane_integer_indicator, 230, + "incorrect value for biases[27].widelane_integer_indicator, expected 230, is {}", + msg.biases[27].widelane_integer_indicator + ); assert_eq!( msg.biases[28].bias, -883355501, "incorrect value for biases[28].bias, expected -883355501, is {}", @@ -1532,7 +1628,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[28].integer_indicator, expected 88, is {}", msg.biases[28].integer_indicator ); - assert_eq!(msg.biases[28].widelane_integer_indicator, 255, "incorrect value for biases[28].widelane_integer_indicator, expected 255, is {}", msg.biases[28].widelane_integer_indicator); + assert_eq!( + msg.biases[28].widelane_integer_indicator, 255, + "incorrect value for biases[28].widelane_integer_indicator, expected 255, is {}", + msg.biases[28].widelane_integer_indicator + ); assert_eq!( msg.biases[29].bias, -1448611273, "incorrect value for biases[29].bias, expected -1448611273, is {}", @@ -1553,7 +1653,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[29].integer_indicator, expected 68, is {}", msg.biases[29].integer_indicator ); - assert_eq!(msg.biases[29].widelane_integer_indicator, 243, "incorrect value for biases[29].widelane_integer_indicator, expected 243, is {}", msg.biases[29].widelane_integer_indicator); + assert_eq!( + msg.biases[29].widelane_integer_indicator, 243, + "incorrect value for biases[29].widelane_integer_indicator, expected 243, is {}", + msg.biases[29].widelane_integer_indicator + ); assert_eq!( msg.dispersive_bias, 98, "incorrect value for dispersive_bias, expected 98, is {}", @@ -1970,7 +2074,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[11].integer_indicator, expected 246, is {}", msg.biases[11].integer_indicator ); - assert_eq!(msg.biases[11].widelane_integer_indicator, 141, "incorrect value for biases[11].widelane_integer_indicator, expected 141, is {}", msg.biases[11].widelane_integer_indicator); + assert_eq!( + msg.biases[11].widelane_integer_indicator, 141, + "incorrect value for biases[11].widelane_integer_indicator, expected 141, is {}", + msg.biases[11].widelane_integer_indicator + ); assert_eq!( msg.biases[12].bias, 706252548, "incorrect value for biases[12].bias, expected 706252548, is {}", @@ -1991,7 +2099,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[12].integer_indicator, expected 21, is {}", msg.biases[12].integer_indicator ); - assert_eq!(msg.biases[12].widelane_integer_indicator, 244, "incorrect value for biases[12].widelane_integer_indicator, expected 244, is {}", msg.biases[12].widelane_integer_indicator); + assert_eq!( + msg.biases[12].widelane_integer_indicator, 244, + "incorrect value for biases[12].widelane_integer_indicator, expected 244, is {}", + msg.biases[12].widelane_integer_indicator + ); assert_eq!( msg.biases[13].bias, 388855338, "incorrect value for biases[13].bias, expected 388855338, is {}", @@ -2012,7 +2124,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[13].integer_indicator, expected 84, is {}", msg.biases[13].integer_indicator ); - assert_eq!(msg.biases[13].widelane_integer_indicator, 136, "incorrect value for biases[13].widelane_integer_indicator, expected 136, is {}", msg.biases[13].widelane_integer_indicator); + assert_eq!( + msg.biases[13].widelane_integer_indicator, 136, + "incorrect value for biases[13].widelane_integer_indicator, expected 136, is {}", + msg.biases[13].widelane_integer_indicator + ); assert_eq!( msg.biases[14].bias, 47517353, "incorrect value for biases[14].bias, expected 47517353, is {}", @@ -2033,7 +2149,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[14].integer_indicator, expected 175, is {}", msg.biases[14].integer_indicator ); - assert_eq!(msg.biases[14].widelane_integer_indicator, 129, "incorrect value for biases[14].widelane_integer_indicator, expected 129, is {}", msg.biases[14].widelane_integer_indicator); + assert_eq!( + msg.biases[14].widelane_integer_indicator, 129, + "incorrect value for biases[14].widelane_integer_indicator, expected 129, is {}", + msg.biases[14].widelane_integer_indicator + ); assert_eq!( msg.biases[15].bias, -2124125745, "incorrect value for biases[15].bias, expected -2124125745, is {}", @@ -2079,7 +2199,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[16].integer_indicator, expected 136, is {}", msg.biases[16].integer_indicator ); - assert_eq!(msg.biases[16].widelane_integer_indicator, 240, "incorrect value for biases[16].widelane_integer_indicator, expected 240, is {}", msg.biases[16].widelane_integer_indicator); + assert_eq!( + msg.biases[16].widelane_integer_indicator, 240, + "incorrect value for biases[16].widelane_integer_indicator, expected 240, is {}", + msg.biases[16].widelane_integer_indicator + ); assert_eq!( msg.biases[17].bias, 60257151, "incorrect value for biases[17].bias, expected 60257151, is {}", @@ -2125,7 +2249,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[18].integer_indicator, expected 254, is {}", msg.biases[18].integer_indicator ); - assert_eq!(msg.biases[18].widelane_integer_indicator, 215, "incorrect value for biases[18].widelane_integer_indicator, expected 215, is {}", msg.biases[18].widelane_integer_indicator); + assert_eq!( + msg.biases[18].widelane_integer_indicator, 215, + "incorrect value for biases[18].widelane_integer_indicator, expected 215, is {}", + msg.biases[18].widelane_integer_indicator + ); assert_eq!( msg.biases[19].bias, 1640616471, "incorrect value for biases[19].bias, expected 1640616471, is {}", @@ -2196,7 +2324,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[21].integer_indicator, expected 47, is {}", msg.biases[21].integer_indicator ); - assert_eq!(msg.biases[21].widelane_integer_indicator, 102, "incorrect value for biases[21].widelane_integer_indicator, expected 102, is {}", msg.biases[21].widelane_integer_indicator); + assert_eq!( + msg.biases[21].widelane_integer_indicator, 102, + "incorrect value for biases[21].widelane_integer_indicator, expected 102, is {}", + msg.biases[21].widelane_integer_indicator + ); assert_eq!( msg.biases[22].bias, 364366310, "incorrect value for biases[22].bias, expected 364366310, is {}", @@ -2242,7 +2374,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[23].integer_indicator, expected 62, is {}", msg.biases[23].integer_indicator ); - assert_eq!(msg.biases[23].widelane_integer_indicator, 147, "incorrect value for biases[23].widelane_integer_indicator, expected 147, is {}", msg.biases[23].widelane_integer_indicator); + assert_eq!( + msg.biases[23].widelane_integer_indicator, 147, + "incorrect value for biases[23].widelane_integer_indicator, expected 147, is {}", + msg.biases[23].widelane_integer_indicator + ); assert_eq!( msg.biases[24].bias, 31817639, "incorrect value for biases[24].bias, expected 31817639, is {}", @@ -2263,7 +2399,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[24].integer_indicator, expected 167, is {}", msg.biases[24].integer_indicator ); - assert_eq!(msg.biases[24].widelane_integer_indicator, 138, "incorrect value for biases[24].widelane_integer_indicator, expected 138, is {}", msg.biases[24].widelane_integer_indicator); + assert_eq!( + msg.biases[24].widelane_integer_indicator, 138, + "incorrect value for biases[24].widelane_integer_indicator, expected 138, is {}", + msg.biases[24].widelane_integer_indicator + ); assert_eq!( msg.biases[25].bias, -1619830156, "incorrect value for biases[25].bias, expected -1619830156, is {}", @@ -2284,7 +2424,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[25].integer_indicator, expected 127, is {}", msg.biases[25].integer_indicator ); - assert_eq!(msg.biases[25].widelane_integer_indicator, 237, "incorrect value for biases[25].widelane_integer_indicator, expected 237, is {}", msg.biases[25].widelane_integer_indicator); + assert_eq!( + msg.biases[25].widelane_integer_indicator, 237, + "incorrect value for biases[25].widelane_integer_indicator, expected 237, is {}", + msg.biases[25].widelane_integer_indicator + ); assert_eq!( msg.biases[26].bias, -83375622, "incorrect value for biases[26].bias, expected -83375622, is {}", @@ -2330,7 +2474,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[27].integer_indicator, expected 75, is {}", msg.biases[27].integer_indicator ); - assert_eq!(msg.biases[27].widelane_integer_indicator, 230, "incorrect value for biases[27].widelane_integer_indicator, expected 230, is {}", msg.biases[27].widelane_integer_indicator); + assert_eq!( + msg.biases[27].widelane_integer_indicator, 230, + "incorrect value for biases[27].widelane_integer_indicator, expected 230, is {}", + msg.biases[27].widelane_integer_indicator + ); assert_eq!( msg.biases[28].bias, -883355501, "incorrect value for biases[28].bias, expected -883355501, is {}", @@ -2351,7 +2499,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[28].integer_indicator, expected 88, is {}", msg.biases[28].integer_indicator ); - assert_eq!(msg.biases[28].widelane_integer_indicator, 255, "incorrect value for biases[28].widelane_integer_indicator, expected 255, is {}", msg.biases[28].widelane_integer_indicator); + assert_eq!( + msg.biases[28].widelane_integer_indicator, 255, + "incorrect value for biases[28].widelane_integer_indicator, expected 255, is {}", + msg.biases[28].widelane_integer_indicator + ); assert_eq!( msg.biases[29].bias, -1448611273, "incorrect value for biases[29].bias, expected -1448611273, is {}", @@ -2372,7 +2524,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_phase_biases() { "incorrect value for biases[29].integer_indicator, expected 68, is {}", msg.biases[29].integer_indicator ); - assert_eq!(msg.biases[29].widelane_integer_indicator, 243, "incorrect value for biases[29].widelane_integer_indicator, expected 243, is {}", msg.biases[29].widelane_integer_indicator); + assert_eq!( + msg.biases[29].widelane_integer_indicator, 243, + "incorrect value for biases[29].widelane_integer_indicator, expected 243, is {}", + msg.biases[29].widelane_integer_indicator + ); assert_eq!( msg.dispersive_bias, 98, "incorrect value for dispersive_bias, expected 98, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs index a96e258aaa..272fb07c17 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction.rs @@ -105,7 +105,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction() { "incorrect value for stec_sat_list[0].stec_coeff[3], expected 60, is {}", msg.stec_sat_list[0].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[0].stec_quality_indicator, 1, "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 1, is {}", msg.stec_sat_list[0].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[0].stec_quality_indicator, 1, + "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 1, is {}", + msg.stec_sat_list[0].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[0].sv_id.constellation, 1, "incorrect value for stec_sat_list[0].sv_id.constellation, expected 1, is {}", @@ -136,7 +140,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction() { "incorrect value for stec_sat_list[1].stec_coeff[3], expected 66, is {}", msg.stec_sat_list[1].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[1].stec_quality_indicator, 5, "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 5, is {}", msg.stec_sat_list[1].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[1].stec_quality_indicator, 5, + "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 5, is {}", + msg.stec_sat_list[1].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[1].sv_id.constellation, 15, "incorrect value for stec_sat_list[1].sv_id.constellation, expected 15, is {}", @@ -268,7 +276,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction() { "incorrect value for stec_sat_list[0].stec_coeff[3], expected 60, is {}", msg.stec_sat_list[0].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[0].stec_quality_indicator, 1, "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 1, is {}", msg.stec_sat_list[0].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[0].stec_quality_indicator, 1, + "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 1, is {}", + msg.stec_sat_list[0].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[0].sv_id.constellation, 1, "incorrect value for stec_sat_list[0].sv_id.constellation, expected 1, is {}", @@ -299,7 +311,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction() { "incorrect value for stec_sat_list[1].stec_coeff[3], expected 66, is {}", msg.stec_sat_list[1].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[1].stec_quality_indicator, 5, "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 5, is {}", msg.stec_sat_list[1].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[1].stec_quality_indicator, 5, + "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 5, is {}", + msg.stec_sat_list[1].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[1].sv_id.constellation, 15, "incorrect value for stec_sat_list[1].sv_id.constellation, expected 15, is {}", @@ -439,7 +455,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction() { "incorrect value for stec_sat_list[0].stec_coeff[3], expected 60, is {}", msg.stec_sat_list[0].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[0].stec_quality_indicator, 1, "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 1, is {}", msg.stec_sat_list[0].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[0].stec_quality_indicator, 1, + "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 1, is {}", + msg.stec_sat_list[0].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[0].sv_id.constellation, 1, "incorrect value for stec_sat_list[0].sv_id.constellation, expected 1, is {}", @@ -470,7 +490,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction() { "incorrect value for stec_sat_list[1].stec_coeff[3], expected 66, is {}", msg.stec_sat_list[1].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[1].stec_quality_indicator, 5, "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 5, is {}", msg.stec_sat_list[1].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[1].stec_quality_indicator, 5, + "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 5, is {}", + msg.stec_sat_list[1].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[1].sv_id.constellation, 15, "incorrect value for stec_sat_list[1].sv_id.constellation, expected 15, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs index 4dc3b0559d..e1d41fa5b0 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep.rs @@ -117,7 +117,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[0].stec_coeff[3], expected 2062, is {}", msg.stec_sat_list[0].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[0].stec_quality_indicator, 70, "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 70, is {}", msg.stec_sat_list[0].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[0].stec_quality_indicator, 70, + "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 70, is {}", + msg.stec_sat_list[0].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[0].sv_id.constellation, 40, "incorrect value for stec_sat_list[0].sv_id.constellation, expected 40, is {}", @@ -148,7 +152,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[1].stec_coeff[3], expected -21446, is {}", msg.stec_sat_list[1].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[1].stec_quality_indicator, 44, "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 44, is {}", msg.stec_sat_list[1].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[1].stec_quality_indicator, 44, + "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 44, is {}", + msg.stec_sat_list[1].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[1].sv_id.constellation, 12, "incorrect value for stec_sat_list[1].sv_id.constellation, expected 12, is {}", @@ -179,7 +187,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[2].stec_coeff[3], expected 19726, is {}", msg.stec_sat_list[2].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[2].stec_quality_indicator, 119, "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 119, is {}", msg.stec_sat_list[2].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[2].stec_quality_indicator, 119, + "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 119, is {}", + msg.stec_sat_list[2].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[2].sv_id.constellation, 179, "incorrect value for stec_sat_list[2].sv_id.constellation, expected 179, is {}", @@ -210,7 +222,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[3].stec_coeff[3], expected -10284, is {}", msg.stec_sat_list[3].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[3].stec_quality_indicator, 23, "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 23, is {}", msg.stec_sat_list[3].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[3].stec_quality_indicator, 23, + "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 23, is {}", + msg.stec_sat_list[3].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[3].sv_id.constellation, 185, "incorrect value for stec_sat_list[3].sv_id.constellation, expected 185, is {}", @@ -241,7 +257,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[4].stec_coeff[3], expected -29739, is {}", msg.stec_sat_list[4].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[4].stec_quality_indicator, 250, "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 250, is {}", msg.stec_sat_list[4].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[4].stec_quality_indicator, 250, + "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 250, is {}", + msg.stec_sat_list[4].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[4].sv_id.constellation, 107, "incorrect value for stec_sat_list[4].sv_id.constellation, expected 107, is {}", @@ -272,7 +292,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[5].stec_coeff[3], expected -29093, is {}", msg.stec_sat_list[5].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[5].stec_quality_indicator, 50, "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 50, is {}", msg.stec_sat_list[5].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[5].stec_quality_indicator, 50, + "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 50, is {}", + msg.stec_sat_list[5].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[5].sv_id.constellation, 179, "incorrect value for stec_sat_list[5].sv_id.constellation, expected 179, is {}", @@ -303,7 +327,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[6].stec_coeff[3], expected 30008, is {}", msg.stec_sat_list[6].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[6].stec_quality_indicator, 9, "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 9, is {}", msg.stec_sat_list[6].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[6].stec_quality_indicator, 9, + "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 9, is {}", + msg.stec_sat_list[6].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[6].sv_id.constellation, 108, "incorrect value for stec_sat_list[6].sv_id.constellation, expected 108, is {}", @@ -334,7 +362,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[7].stec_coeff[3], expected -13791, is {}", msg.stec_sat_list[7].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[7].stec_quality_indicator, 213, "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 213, is {}", msg.stec_sat_list[7].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[7].stec_quality_indicator, 213, + "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 213, is {}", + msg.stec_sat_list[7].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[7].sv_id.constellation, 37, "incorrect value for stec_sat_list[7].sv_id.constellation, expected 37, is {}", @@ -365,7 +397,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[8].stec_coeff[3], expected 19606, is {}", msg.stec_sat_list[8].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[8].stec_quality_indicator, 178, "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 178, is {}", msg.stec_sat_list[8].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[8].stec_quality_indicator, 178, + "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 178, is {}", + msg.stec_sat_list[8].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[8].sv_id.constellation, 206, "incorrect value for stec_sat_list[8].sv_id.constellation, expected 206, is {}", @@ -396,7 +432,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[9].stec_coeff[3], expected -19765, is {}", msg.stec_sat_list[9].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[9].stec_quality_indicator, 18, "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 18, is {}", msg.stec_sat_list[9].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[9].stec_quality_indicator, 18, + "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 18, is {}", + msg.stec_sat_list[9].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[9].sv_id.constellation, 131, "incorrect value for stec_sat_list[9].sv_id.constellation, expected 131, is {}", @@ -427,8 +467,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[10].stec_coeff[3], expected 2591, is {}", msg.stec_sat_list[10].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[10].stec_quality_indicator, 252, "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 252, is {}", msg.stec_sat_list[10].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[10].sv_id.constellation, 163, "incorrect value for stec_sat_list[10].sv_id.constellation, expected 163, is {}", msg.stec_sat_list[10].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[10].stec_quality_indicator, 252, + "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 252, is {}", + msg.stec_sat_list[10].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[10].sv_id.constellation, 163, + "incorrect value for stec_sat_list[10].sv_id.constellation, expected 163, is {}", + msg.stec_sat_list[10].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[10].sv_id.sat_id, 170, "incorrect value for stec_sat_list[10].sv_id.sat_id, expected 170, is {}", @@ -454,8 +502,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[11].stec_coeff[3], expected -22148, is {}", msg.stec_sat_list[11].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[11].stec_quality_indicator, 241, "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 241, is {}", msg.stec_sat_list[11].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[11].sv_id.constellation, 213, "incorrect value for stec_sat_list[11].sv_id.constellation, expected 213, is {}", msg.stec_sat_list[11].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[11].stec_quality_indicator, 241, + "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 241, is {}", + msg.stec_sat_list[11].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[11].sv_id.constellation, 213, + "incorrect value for stec_sat_list[11].sv_id.constellation, expected 213, is {}", + msg.stec_sat_list[11].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[11].sv_id.sat_id, 119, "incorrect value for stec_sat_list[11].sv_id.sat_id, expected 119, is {}", @@ -481,8 +537,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[12].stec_coeff[3], expected 11587, is {}", msg.stec_sat_list[12].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[12].stec_quality_indicator, 26, "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 26, is {}", msg.stec_sat_list[12].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[12].sv_id.constellation, 158, "incorrect value for stec_sat_list[12].sv_id.constellation, expected 158, is {}", msg.stec_sat_list[12].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[12].stec_quality_indicator, 26, + "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 26, is {}", + msg.stec_sat_list[12].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[12].sv_id.constellation, 158, + "incorrect value for stec_sat_list[12].sv_id.constellation, expected 158, is {}", + msg.stec_sat_list[12].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[12].sv_id.sat_id, 121, "incorrect value for stec_sat_list[12].sv_id.sat_id, expected 121, is {}", @@ -508,8 +572,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[13].stec_coeff[3], expected 14844, is {}", msg.stec_sat_list[13].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[13].stec_quality_indicator, 110, "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 110, is {}", msg.stec_sat_list[13].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[13].sv_id.constellation, 235, "incorrect value for stec_sat_list[13].sv_id.constellation, expected 235, is {}", msg.stec_sat_list[13].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[13].stec_quality_indicator, 110, + "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 110, is {}", + msg.stec_sat_list[13].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[13].sv_id.constellation, 235, + "incorrect value for stec_sat_list[13].sv_id.constellation, expected 235, is {}", + msg.stec_sat_list[13].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[13].sv_id.sat_id, 126, "incorrect value for stec_sat_list[13].sv_id.sat_id, expected 126, is {}", @@ -535,7 +607,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[14].stec_coeff[3], expected -22049, is {}", msg.stec_sat_list[14].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[14].stec_quality_indicator, 201, "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 201, is {}", msg.stec_sat_list[14].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[14].stec_quality_indicator, 201, + "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 201, is {}", + msg.stec_sat_list[14].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[14].sv_id.constellation, 44, "incorrect value for stec_sat_list[14].sv_id.constellation, expected 44, is {}", @@ -566,7 +642,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[15].stec_coeff[3], expected -12000, is {}", msg.stec_sat_list[15].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[15].stec_quality_indicator, 77, "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 77, is {}", msg.stec_sat_list[15].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[15].stec_quality_indicator, 77, + "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 77, is {}", + msg.stec_sat_list[15].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[15].sv_id.constellation, 3, "incorrect value for stec_sat_list[15].sv_id.constellation, expected 3, is {}", @@ -597,7 +677,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[16].stec_coeff[3], expected 26421, is {}", msg.stec_sat_list[16].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[16].stec_quality_indicator, 123, "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 123, is {}", msg.stec_sat_list[16].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[16].stec_quality_indicator, 123, + "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 123, is {}", + msg.stec_sat_list[16].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[16].sv_id.constellation, 17, "incorrect value for stec_sat_list[16].sv_id.constellation, expected 17, is {}", @@ -628,8 +712,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[17].stec_coeff[3], expected -18382, is {}", msg.stec_sat_list[17].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[17].stec_quality_indicator, 185, "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 185, is {}", msg.stec_sat_list[17].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[17].sv_id.constellation, 202, "incorrect value for stec_sat_list[17].sv_id.constellation, expected 202, is {}", msg.stec_sat_list[17].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[17].stec_quality_indicator, 185, + "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 185, is {}", + msg.stec_sat_list[17].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[17].sv_id.constellation, 202, + "incorrect value for stec_sat_list[17].sv_id.constellation, expected 202, is {}", + msg.stec_sat_list[17].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[17].sv_id.sat_id, 14, "incorrect value for stec_sat_list[17].sv_id.sat_id, expected 14, is {}", @@ -655,7 +747,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[18].stec_coeff[3], expected -4181, is {}", msg.stec_sat_list[18].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[18].stec_quality_indicator, 45, "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 45, is {}", msg.stec_sat_list[18].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[18].stec_quality_indicator, 45, + "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 45, is {}", + msg.stec_sat_list[18].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[18].sv_id.constellation, 31, "incorrect value for stec_sat_list[18].sv_id.constellation, expected 31, is {}", @@ -686,8 +782,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[19].stec_coeff[3], expected 9063, is {}", msg.stec_sat_list[19].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[19].stec_quality_indicator, 238, "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 238, is {}", msg.stec_sat_list[19].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[19].sv_id.constellation, 188, "incorrect value for stec_sat_list[19].sv_id.constellation, expected 188, is {}", msg.stec_sat_list[19].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[19].stec_quality_indicator, 238, + "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 238, is {}", + msg.stec_sat_list[19].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[19].sv_id.constellation, 188, + "incorrect value for stec_sat_list[19].sv_id.constellation, expected 188, is {}", + msg.stec_sat_list[19].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[19].sv_id.sat_id, 237, "incorrect value for stec_sat_list[19].sv_id.sat_id, expected 237, is {}", @@ -713,7 +817,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[20].stec_coeff[3], expected -10286, is {}", msg.stec_sat_list[20].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[20].stec_quality_indicator, 82, "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 82, is {}", msg.stec_sat_list[20].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[20].stec_quality_indicator, 82, + "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 82, is {}", + msg.stec_sat_list[20].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[20].sv_id.constellation, 21, "incorrect value for stec_sat_list[20].sv_id.constellation, expected 21, is {}", @@ -835,7 +943,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[0].stec_coeff[3], expected 2062, is {}", msg.stec_sat_list[0].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[0].stec_quality_indicator, 70, "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 70, is {}", msg.stec_sat_list[0].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[0].stec_quality_indicator, 70, + "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 70, is {}", + msg.stec_sat_list[0].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[0].sv_id.constellation, 40, "incorrect value for stec_sat_list[0].sv_id.constellation, expected 40, is {}", @@ -866,7 +978,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[1].stec_coeff[3], expected -21446, is {}", msg.stec_sat_list[1].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[1].stec_quality_indicator, 44, "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 44, is {}", msg.stec_sat_list[1].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[1].stec_quality_indicator, 44, + "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 44, is {}", + msg.stec_sat_list[1].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[1].sv_id.constellation, 12, "incorrect value for stec_sat_list[1].sv_id.constellation, expected 12, is {}", @@ -897,7 +1013,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[2].stec_coeff[3], expected 19726, is {}", msg.stec_sat_list[2].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[2].stec_quality_indicator, 119, "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 119, is {}", msg.stec_sat_list[2].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[2].stec_quality_indicator, 119, + "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 119, is {}", + msg.stec_sat_list[2].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[2].sv_id.constellation, 179, "incorrect value for stec_sat_list[2].sv_id.constellation, expected 179, is {}", @@ -928,7 +1048,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[3].stec_coeff[3], expected -10284, is {}", msg.stec_sat_list[3].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[3].stec_quality_indicator, 23, "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 23, is {}", msg.stec_sat_list[3].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[3].stec_quality_indicator, 23, + "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 23, is {}", + msg.stec_sat_list[3].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[3].sv_id.constellation, 185, "incorrect value for stec_sat_list[3].sv_id.constellation, expected 185, is {}", @@ -959,7 +1083,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[4].stec_coeff[3], expected -29739, is {}", msg.stec_sat_list[4].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[4].stec_quality_indicator, 250, "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 250, is {}", msg.stec_sat_list[4].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[4].stec_quality_indicator, 250, + "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 250, is {}", + msg.stec_sat_list[4].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[4].sv_id.constellation, 107, "incorrect value for stec_sat_list[4].sv_id.constellation, expected 107, is {}", @@ -990,7 +1118,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[5].stec_coeff[3], expected -29093, is {}", msg.stec_sat_list[5].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[5].stec_quality_indicator, 50, "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 50, is {}", msg.stec_sat_list[5].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[5].stec_quality_indicator, 50, + "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 50, is {}", + msg.stec_sat_list[5].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[5].sv_id.constellation, 179, "incorrect value for stec_sat_list[5].sv_id.constellation, expected 179, is {}", @@ -1021,7 +1153,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[6].stec_coeff[3], expected 30008, is {}", msg.stec_sat_list[6].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[6].stec_quality_indicator, 9, "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 9, is {}", msg.stec_sat_list[6].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[6].stec_quality_indicator, 9, + "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 9, is {}", + msg.stec_sat_list[6].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[6].sv_id.constellation, 108, "incorrect value for stec_sat_list[6].sv_id.constellation, expected 108, is {}", @@ -1052,7 +1188,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[7].stec_coeff[3], expected -13791, is {}", msg.stec_sat_list[7].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[7].stec_quality_indicator, 213, "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 213, is {}", msg.stec_sat_list[7].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[7].stec_quality_indicator, 213, + "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 213, is {}", + msg.stec_sat_list[7].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[7].sv_id.constellation, 37, "incorrect value for stec_sat_list[7].sv_id.constellation, expected 37, is {}", @@ -1083,7 +1223,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[8].stec_coeff[3], expected 19606, is {}", msg.stec_sat_list[8].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[8].stec_quality_indicator, 178, "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 178, is {}", msg.stec_sat_list[8].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[8].stec_quality_indicator, 178, + "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 178, is {}", + msg.stec_sat_list[8].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[8].sv_id.constellation, 206, "incorrect value for stec_sat_list[8].sv_id.constellation, expected 206, is {}", @@ -1114,7 +1258,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[9].stec_coeff[3], expected -19765, is {}", msg.stec_sat_list[9].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[9].stec_quality_indicator, 18, "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 18, is {}", msg.stec_sat_list[9].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[9].stec_quality_indicator, 18, + "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 18, is {}", + msg.stec_sat_list[9].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[9].sv_id.constellation, 131, "incorrect value for stec_sat_list[9].sv_id.constellation, expected 131, is {}", @@ -1145,8 +1293,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[10].stec_coeff[3], expected 2591, is {}", msg.stec_sat_list[10].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[10].stec_quality_indicator, 252, "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 252, is {}", msg.stec_sat_list[10].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[10].sv_id.constellation, 163, "incorrect value for stec_sat_list[10].sv_id.constellation, expected 163, is {}", msg.stec_sat_list[10].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[10].stec_quality_indicator, 252, + "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 252, is {}", + msg.stec_sat_list[10].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[10].sv_id.constellation, 163, + "incorrect value for stec_sat_list[10].sv_id.constellation, expected 163, is {}", + msg.stec_sat_list[10].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[10].sv_id.sat_id, 170, "incorrect value for stec_sat_list[10].sv_id.sat_id, expected 170, is {}", @@ -1172,8 +1328,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[11].stec_coeff[3], expected -22148, is {}", msg.stec_sat_list[11].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[11].stec_quality_indicator, 241, "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 241, is {}", msg.stec_sat_list[11].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[11].sv_id.constellation, 213, "incorrect value for stec_sat_list[11].sv_id.constellation, expected 213, is {}", msg.stec_sat_list[11].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[11].stec_quality_indicator, 241, + "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 241, is {}", + msg.stec_sat_list[11].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[11].sv_id.constellation, 213, + "incorrect value for stec_sat_list[11].sv_id.constellation, expected 213, is {}", + msg.stec_sat_list[11].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[11].sv_id.sat_id, 119, "incorrect value for stec_sat_list[11].sv_id.sat_id, expected 119, is {}", @@ -1199,8 +1363,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[12].stec_coeff[3], expected 11587, is {}", msg.stec_sat_list[12].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[12].stec_quality_indicator, 26, "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 26, is {}", msg.stec_sat_list[12].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[12].sv_id.constellation, 158, "incorrect value for stec_sat_list[12].sv_id.constellation, expected 158, is {}", msg.stec_sat_list[12].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[12].stec_quality_indicator, 26, + "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 26, is {}", + msg.stec_sat_list[12].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[12].sv_id.constellation, 158, + "incorrect value for stec_sat_list[12].sv_id.constellation, expected 158, is {}", + msg.stec_sat_list[12].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[12].sv_id.sat_id, 121, "incorrect value for stec_sat_list[12].sv_id.sat_id, expected 121, is {}", @@ -1226,8 +1398,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[13].stec_coeff[3], expected 14844, is {}", msg.stec_sat_list[13].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[13].stec_quality_indicator, 110, "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 110, is {}", msg.stec_sat_list[13].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[13].sv_id.constellation, 235, "incorrect value for stec_sat_list[13].sv_id.constellation, expected 235, is {}", msg.stec_sat_list[13].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[13].stec_quality_indicator, 110, + "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 110, is {}", + msg.stec_sat_list[13].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[13].sv_id.constellation, 235, + "incorrect value for stec_sat_list[13].sv_id.constellation, expected 235, is {}", + msg.stec_sat_list[13].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[13].sv_id.sat_id, 126, "incorrect value for stec_sat_list[13].sv_id.sat_id, expected 126, is {}", @@ -1253,7 +1433,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[14].stec_coeff[3], expected -22049, is {}", msg.stec_sat_list[14].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[14].stec_quality_indicator, 201, "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 201, is {}", msg.stec_sat_list[14].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[14].stec_quality_indicator, 201, + "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 201, is {}", + msg.stec_sat_list[14].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[14].sv_id.constellation, 44, "incorrect value for stec_sat_list[14].sv_id.constellation, expected 44, is {}", @@ -1284,7 +1468,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[15].stec_coeff[3], expected -12000, is {}", msg.stec_sat_list[15].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[15].stec_quality_indicator, 77, "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 77, is {}", msg.stec_sat_list[15].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[15].stec_quality_indicator, 77, + "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 77, is {}", + msg.stec_sat_list[15].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[15].sv_id.constellation, 3, "incorrect value for stec_sat_list[15].sv_id.constellation, expected 3, is {}", @@ -1315,7 +1503,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[16].stec_coeff[3], expected 26421, is {}", msg.stec_sat_list[16].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[16].stec_quality_indicator, 123, "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 123, is {}", msg.stec_sat_list[16].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[16].stec_quality_indicator, 123, + "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 123, is {}", + msg.stec_sat_list[16].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[16].sv_id.constellation, 17, "incorrect value for stec_sat_list[16].sv_id.constellation, expected 17, is {}", @@ -1346,8 +1538,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[17].stec_coeff[3], expected -18382, is {}", msg.stec_sat_list[17].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[17].stec_quality_indicator, 185, "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 185, is {}", msg.stec_sat_list[17].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[17].sv_id.constellation, 202, "incorrect value for stec_sat_list[17].sv_id.constellation, expected 202, is {}", msg.stec_sat_list[17].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[17].stec_quality_indicator, 185, + "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 185, is {}", + msg.stec_sat_list[17].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[17].sv_id.constellation, 202, + "incorrect value for stec_sat_list[17].sv_id.constellation, expected 202, is {}", + msg.stec_sat_list[17].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[17].sv_id.sat_id, 14, "incorrect value for stec_sat_list[17].sv_id.sat_id, expected 14, is {}", @@ -1373,7 +1573,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[18].stec_coeff[3], expected -4181, is {}", msg.stec_sat_list[18].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[18].stec_quality_indicator, 45, "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 45, is {}", msg.stec_sat_list[18].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[18].stec_quality_indicator, 45, + "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 45, is {}", + msg.stec_sat_list[18].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[18].sv_id.constellation, 31, "incorrect value for stec_sat_list[18].sv_id.constellation, expected 31, is {}", @@ -1404,8 +1608,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[19].stec_coeff[3], expected 9063, is {}", msg.stec_sat_list[19].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[19].stec_quality_indicator, 238, "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 238, is {}", msg.stec_sat_list[19].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[19].sv_id.constellation, 188, "incorrect value for stec_sat_list[19].sv_id.constellation, expected 188, is {}", msg.stec_sat_list[19].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[19].stec_quality_indicator, 238, + "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 238, is {}", + msg.stec_sat_list[19].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[19].sv_id.constellation, 188, + "incorrect value for stec_sat_list[19].sv_id.constellation, expected 188, is {}", + msg.stec_sat_list[19].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[19].sv_id.sat_id, 237, "incorrect value for stec_sat_list[19].sv_id.sat_id, expected 237, is {}", @@ -1431,7 +1643,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[20].stec_coeff[3], expected -10286, is {}", msg.stec_sat_list[20].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[20].stec_quality_indicator, 82, "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 82, is {}", msg.stec_sat_list[20].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[20].stec_quality_indicator, 82, + "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 82, is {}", + msg.stec_sat_list[20].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[20].sv_id.constellation, 21, "incorrect value for stec_sat_list[20].sv_id.constellation, expected 21, is {}", @@ -1573,7 +1789,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[0].stec_coeff[3], expected 2062, is {}", msg.stec_sat_list[0].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[0].stec_quality_indicator, 70, "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 70, is {}", msg.stec_sat_list[0].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[0].stec_quality_indicator, 70, + "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 70, is {}", + msg.stec_sat_list[0].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[0].sv_id.constellation, 40, "incorrect value for stec_sat_list[0].sv_id.constellation, expected 40, is {}", @@ -1604,7 +1824,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[1].stec_coeff[3], expected -21446, is {}", msg.stec_sat_list[1].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[1].stec_quality_indicator, 44, "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 44, is {}", msg.stec_sat_list[1].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[1].stec_quality_indicator, 44, + "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 44, is {}", + msg.stec_sat_list[1].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[1].sv_id.constellation, 12, "incorrect value for stec_sat_list[1].sv_id.constellation, expected 12, is {}", @@ -1635,7 +1859,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[2].stec_coeff[3], expected 19726, is {}", msg.stec_sat_list[2].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[2].stec_quality_indicator, 119, "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 119, is {}", msg.stec_sat_list[2].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[2].stec_quality_indicator, 119, + "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 119, is {}", + msg.stec_sat_list[2].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[2].sv_id.constellation, 179, "incorrect value for stec_sat_list[2].sv_id.constellation, expected 179, is {}", @@ -1666,7 +1894,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[3].stec_coeff[3], expected -10284, is {}", msg.stec_sat_list[3].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[3].stec_quality_indicator, 23, "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 23, is {}", msg.stec_sat_list[3].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[3].stec_quality_indicator, 23, + "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 23, is {}", + msg.stec_sat_list[3].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[3].sv_id.constellation, 185, "incorrect value for stec_sat_list[3].sv_id.constellation, expected 185, is {}", @@ -1697,7 +1929,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[4].stec_coeff[3], expected -29739, is {}", msg.stec_sat_list[4].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[4].stec_quality_indicator, 250, "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 250, is {}", msg.stec_sat_list[4].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[4].stec_quality_indicator, 250, + "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 250, is {}", + msg.stec_sat_list[4].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[4].sv_id.constellation, 107, "incorrect value for stec_sat_list[4].sv_id.constellation, expected 107, is {}", @@ -1728,7 +1964,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[5].stec_coeff[3], expected -29093, is {}", msg.stec_sat_list[5].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[5].stec_quality_indicator, 50, "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 50, is {}", msg.stec_sat_list[5].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[5].stec_quality_indicator, 50, + "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 50, is {}", + msg.stec_sat_list[5].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[5].sv_id.constellation, 179, "incorrect value for stec_sat_list[5].sv_id.constellation, expected 179, is {}", @@ -1759,7 +1999,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[6].stec_coeff[3], expected 30008, is {}", msg.stec_sat_list[6].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[6].stec_quality_indicator, 9, "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 9, is {}", msg.stec_sat_list[6].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[6].stec_quality_indicator, 9, + "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 9, is {}", + msg.stec_sat_list[6].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[6].sv_id.constellation, 108, "incorrect value for stec_sat_list[6].sv_id.constellation, expected 108, is {}", @@ -1790,7 +2034,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[7].stec_coeff[3], expected -13791, is {}", msg.stec_sat_list[7].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[7].stec_quality_indicator, 213, "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 213, is {}", msg.stec_sat_list[7].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[7].stec_quality_indicator, 213, + "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 213, is {}", + msg.stec_sat_list[7].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[7].sv_id.constellation, 37, "incorrect value for stec_sat_list[7].sv_id.constellation, expected 37, is {}", @@ -1821,7 +2069,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[8].stec_coeff[3], expected 19606, is {}", msg.stec_sat_list[8].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[8].stec_quality_indicator, 178, "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 178, is {}", msg.stec_sat_list[8].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[8].stec_quality_indicator, 178, + "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 178, is {}", + msg.stec_sat_list[8].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[8].sv_id.constellation, 206, "incorrect value for stec_sat_list[8].sv_id.constellation, expected 206, is {}", @@ -1852,7 +2104,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[9].stec_coeff[3], expected -19765, is {}", msg.stec_sat_list[9].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[9].stec_quality_indicator, 18, "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 18, is {}", msg.stec_sat_list[9].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[9].stec_quality_indicator, 18, + "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 18, is {}", + msg.stec_sat_list[9].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[9].sv_id.constellation, 131, "incorrect value for stec_sat_list[9].sv_id.constellation, expected 131, is {}", @@ -1883,8 +2139,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[10].stec_coeff[3], expected 2591, is {}", msg.stec_sat_list[10].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[10].stec_quality_indicator, 252, "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 252, is {}", msg.stec_sat_list[10].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[10].sv_id.constellation, 163, "incorrect value for stec_sat_list[10].sv_id.constellation, expected 163, is {}", msg.stec_sat_list[10].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[10].stec_quality_indicator, 252, + "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 252, is {}", + msg.stec_sat_list[10].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[10].sv_id.constellation, 163, + "incorrect value for stec_sat_list[10].sv_id.constellation, expected 163, is {}", + msg.stec_sat_list[10].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[10].sv_id.sat_id, 170, "incorrect value for stec_sat_list[10].sv_id.sat_id, expected 170, is {}", @@ -1910,8 +2174,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[11].stec_coeff[3], expected -22148, is {}", msg.stec_sat_list[11].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[11].stec_quality_indicator, 241, "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 241, is {}", msg.stec_sat_list[11].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[11].sv_id.constellation, 213, "incorrect value for stec_sat_list[11].sv_id.constellation, expected 213, is {}", msg.stec_sat_list[11].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[11].stec_quality_indicator, 241, + "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 241, is {}", + msg.stec_sat_list[11].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[11].sv_id.constellation, 213, + "incorrect value for stec_sat_list[11].sv_id.constellation, expected 213, is {}", + msg.stec_sat_list[11].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[11].sv_id.sat_id, 119, "incorrect value for stec_sat_list[11].sv_id.sat_id, expected 119, is {}", @@ -1937,8 +2209,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[12].stec_coeff[3], expected 11587, is {}", msg.stec_sat_list[12].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[12].stec_quality_indicator, 26, "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 26, is {}", msg.stec_sat_list[12].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[12].sv_id.constellation, 158, "incorrect value for stec_sat_list[12].sv_id.constellation, expected 158, is {}", msg.stec_sat_list[12].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[12].stec_quality_indicator, 26, + "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 26, is {}", + msg.stec_sat_list[12].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[12].sv_id.constellation, 158, + "incorrect value for stec_sat_list[12].sv_id.constellation, expected 158, is {}", + msg.stec_sat_list[12].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[12].sv_id.sat_id, 121, "incorrect value for stec_sat_list[12].sv_id.sat_id, expected 121, is {}", @@ -1964,8 +2244,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[13].stec_coeff[3], expected 14844, is {}", msg.stec_sat_list[13].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[13].stec_quality_indicator, 110, "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 110, is {}", msg.stec_sat_list[13].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[13].sv_id.constellation, 235, "incorrect value for stec_sat_list[13].sv_id.constellation, expected 235, is {}", msg.stec_sat_list[13].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[13].stec_quality_indicator, 110, + "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 110, is {}", + msg.stec_sat_list[13].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[13].sv_id.constellation, 235, + "incorrect value for stec_sat_list[13].sv_id.constellation, expected 235, is {}", + msg.stec_sat_list[13].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[13].sv_id.sat_id, 126, "incorrect value for stec_sat_list[13].sv_id.sat_id, expected 126, is {}", @@ -1991,7 +2279,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[14].stec_coeff[3], expected -22049, is {}", msg.stec_sat_list[14].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[14].stec_quality_indicator, 201, "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 201, is {}", msg.stec_sat_list[14].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[14].stec_quality_indicator, 201, + "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 201, is {}", + msg.stec_sat_list[14].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[14].sv_id.constellation, 44, "incorrect value for stec_sat_list[14].sv_id.constellation, expected 44, is {}", @@ -2022,7 +2314,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[15].stec_coeff[3], expected -12000, is {}", msg.stec_sat_list[15].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[15].stec_quality_indicator, 77, "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 77, is {}", msg.stec_sat_list[15].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[15].stec_quality_indicator, 77, + "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 77, is {}", + msg.stec_sat_list[15].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[15].sv_id.constellation, 3, "incorrect value for stec_sat_list[15].sv_id.constellation, expected 3, is {}", @@ -2053,7 +2349,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[16].stec_coeff[3], expected 26421, is {}", msg.stec_sat_list[16].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[16].stec_quality_indicator, 123, "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 123, is {}", msg.stec_sat_list[16].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[16].stec_quality_indicator, 123, + "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 123, is {}", + msg.stec_sat_list[16].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[16].sv_id.constellation, 17, "incorrect value for stec_sat_list[16].sv_id.constellation, expected 17, is {}", @@ -2084,8 +2384,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[17].stec_coeff[3], expected -18382, is {}", msg.stec_sat_list[17].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[17].stec_quality_indicator, 185, "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 185, is {}", msg.stec_sat_list[17].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[17].sv_id.constellation, 202, "incorrect value for stec_sat_list[17].sv_id.constellation, expected 202, is {}", msg.stec_sat_list[17].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[17].stec_quality_indicator, 185, + "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 185, is {}", + msg.stec_sat_list[17].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[17].sv_id.constellation, 202, + "incorrect value for stec_sat_list[17].sv_id.constellation, expected 202, is {}", + msg.stec_sat_list[17].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[17].sv_id.sat_id, 14, "incorrect value for stec_sat_list[17].sv_id.sat_id, expected 14, is {}", @@ -2111,7 +2419,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[18].stec_coeff[3], expected -4181, is {}", msg.stec_sat_list[18].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[18].stec_quality_indicator, 45, "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 45, is {}", msg.stec_sat_list[18].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[18].stec_quality_indicator, 45, + "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 45, is {}", + msg.stec_sat_list[18].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[18].sv_id.constellation, 31, "incorrect value for stec_sat_list[18].sv_id.constellation, expected 31, is {}", @@ -2142,8 +2454,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[19].stec_coeff[3], expected 9063, is {}", msg.stec_sat_list[19].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[19].stec_quality_indicator, 238, "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 238, is {}", msg.stec_sat_list[19].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[19].sv_id.constellation, 188, "incorrect value for stec_sat_list[19].sv_id.constellation, expected 188, is {}", msg.stec_sat_list[19].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[19].stec_quality_indicator, 238, + "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 238, is {}", + msg.stec_sat_list[19].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[19].sv_id.constellation, 188, + "incorrect value for stec_sat_list[19].sv_id.constellation, expected 188, is {}", + msg.stec_sat_list[19].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[19].sv_id.sat_id, 237, "incorrect value for stec_sat_list[19].sv_id.sat_id, expected 237, is {}", @@ -2169,7 +2489,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep() { "incorrect value for stec_sat_list[20].stec_coeff[3], expected -10286, is {}", msg.stec_sat_list[20].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[20].stec_quality_indicator, 82, "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 82, is {}", msg.stec_sat_list[20].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[20].stec_quality_indicator, 82, + "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 82, is {}", + msg.stec_sat_list[20].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[20].sv_id.constellation, 21, "incorrect value for stec_sat_list[20].sv_id.constellation, expected 21, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs index 60337fca14..4dd217a9f8 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a.rs @@ -107,7 +107,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[0].stec_coeff[3], expected 3130, is {}", msg.stec_sat_list[0].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[0].stec_quality_indicator, 111, "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 111, is {}", msg.stec_sat_list[0].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[0].stec_quality_indicator, 111, + "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 111, is {}", + msg.stec_sat_list[0].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[0].sv_id.constellation, 19, "incorrect value for stec_sat_list[0].sv_id.constellation, expected 19, is {}", @@ -138,7 +142,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[1].stec_coeff[3], expected -12060, is {}", msg.stec_sat_list[1].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[1].stec_quality_indicator, 171, "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 171, is {}", msg.stec_sat_list[1].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[1].stec_quality_indicator, 171, + "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 171, is {}", + msg.stec_sat_list[1].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[1].sv_id.constellation, 230, "incorrect value for stec_sat_list[1].sv_id.constellation, expected 230, is {}", @@ -169,7 +177,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[2].stec_coeff[3], expected 971, is {}", msg.stec_sat_list[2].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[2].stec_quality_indicator, 219, "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 219, is {}", msg.stec_sat_list[2].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[2].stec_quality_indicator, 219, + "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 219, is {}", + msg.stec_sat_list[2].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[2].sv_id.constellation, 81, "incorrect value for stec_sat_list[2].sv_id.constellation, expected 81, is {}", @@ -200,7 +212,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[3].stec_coeff[3], expected -24841, is {}", msg.stec_sat_list[3].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[3].stec_quality_indicator, 100, "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 100, is {}", msg.stec_sat_list[3].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[3].stec_quality_indicator, 100, + "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 100, is {}", + msg.stec_sat_list[3].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[3].sv_id.constellation, 44, "incorrect value for stec_sat_list[3].sv_id.constellation, expected 44, is {}", @@ -231,7 +247,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[4].stec_coeff[3], expected -27495, is {}", msg.stec_sat_list[4].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[4].stec_quality_indicator, 129, "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 129, is {}", msg.stec_sat_list[4].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[4].stec_quality_indicator, 129, + "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 129, is {}", + msg.stec_sat_list[4].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[4].sv_id.constellation, 93, "incorrect value for stec_sat_list[4].sv_id.constellation, expected 93, is {}", @@ -262,7 +282,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[5].stec_coeff[3], expected -13066, is {}", msg.stec_sat_list[5].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[5].stec_quality_indicator, 225, "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 225, is {}", msg.stec_sat_list[5].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[5].stec_quality_indicator, 225, + "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 225, is {}", + msg.stec_sat_list[5].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[5].sv_id.constellation, 72, "incorrect value for stec_sat_list[5].sv_id.constellation, expected 72, is {}", @@ -293,7 +317,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[6].stec_coeff[3], expected -16609, is {}", msg.stec_sat_list[6].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[6].stec_quality_indicator, 98, "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 98, is {}", msg.stec_sat_list[6].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[6].stec_quality_indicator, 98, + "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 98, is {}", + msg.stec_sat_list[6].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[6].sv_id.constellation, 3, "incorrect value for stec_sat_list[6].sv_id.constellation, expected 3, is {}", @@ -324,7 +352,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[7].stec_coeff[3], expected -28102, is {}", msg.stec_sat_list[7].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[7].stec_quality_indicator, 177, "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 177, is {}", msg.stec_sat_list[7].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[7].stec_quality_indicator, 177, + "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 177, is {}", + msg.stec_sat_list[7].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[7].sv_id.constellation, 79, "incorrect value for stec_sat_list[7].sv_id.constellation, expected 79, is {}", @@ -355,7 +387,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[8].stec_coeff[3], expected 28654, is {}", msg.stec_sat_list[8].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[8].stec_quality_indicator, 249, "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 249, is {}", msg.stec_sat_list[8].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[8].stec_quality_indicator, 249, + "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 249, is {}", + msg.stec_sat_list[8].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[8].sv_id.constellation, 100, "incorrect value for stec_sat_list[8].sv_id.constellation, expected 100, is {}", @@ -386,7 +422,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[9].stec_coeff[3], expected -5055, is {}", msg.stec_sat_list[9].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[9].stec_quality_indicator, 227, "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 227, is {}", msg.stec_sat_list[9].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[9].stec_quality_indicator, 227, + "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 227, is {}", + msg.stec_sat_list[9].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[9].sv_id.constellation, 36, "incorrect value for stec_sat_list[9].sv_id.constellation, expected 36, is {}", @@ -417,7 +457,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[10].stec_coeff[3], expected 31241, is {}", msg.stec_sat_list[10].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[10].stec_quality_indicator, 0, "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 0, is {}", msg.stec_sat_list[10].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[10].stec_quality_indicator, 0, + "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 0, is {}", + msg.stec_sat_list[10].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[10].sv_id.constellation, 77, "incorrect value for stec_sat_list[10].sv_id.constellation, expected 77, is {}", @@ -448,8 +492,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[11].stec_coeff[3], expected 12546, is {}", msg.stec_sat_list[11].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[11].stec_quality_indicator, 6, "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 6, is {}", msg.stec_sat_list[11].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[11].sv_id.constellation, 232, "incorrect value for stec_sat_list[11].sv_id.constellation, expected 232, is {}", msg.stec_sat_list[11].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[11].stec_quality_indicator, 6, + "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 6, is {}", + msg.stec_sat_list[11].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[11].sv_id.constellation, 232, + "incorrect value for stec_sat_list[11].sv_id.constellation, expected 232, is {}", + msg.stec_sat_list[11].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[11].sv_id.sat_id, 86, "incorrect value for stec_sat_list[11].sv_id.sat_id, expected 86, is {}", @@ -475,7 +527,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[12].stec_coeff[3], expected -3023, is {}", msg.stec_sat_list[12].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[12].stec_quality_indicator, 216, "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 216, is {}", msg.stec_sat_list[12].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[12].stec_quality_indicator, 216, + "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 216, is {}", + msg.stec_sat_list[12].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[12].sv_id.constellation, 84, "incorrect value for stec_sat_list[12].sv_id.constellation, expected 84, is {}", @@ -506,8 +562,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[13].stec_coeff[3], expected -29893, is {}", msg.stec_sat_list[13].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[13].stec_quality_indicator, 125, "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 125, is {}", msg.stec_sat_list[13].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[13].sv_id.constellation, 188, "incorrect value for stec_sat_list[13].sv_id.constellation, expected 188, is {}", msg.stec_sat_list[13].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[13].stec_quality_indicator, 125, + "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 125, is {}", + msg.stec_sat_list[13].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[13].sv_id.constellation, 188, + "incorrect value for stec_sat_list[13].sv_id.constellation, expected 188, is {}", + msg.stec_sat_list[13].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[13].sv_id.sat_id, 224, "incorrect value for stec_sat_list[13].sv_id.sat_id, expected 224, is {}", @@ -533,8 +597,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[14].stec_coeff[3], expected -710, is {}", msg.stec_sat_list[14].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[14].stec_quality_indicator, 51, "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 51, is {}", msg.stec_sat_list[14].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[14].sv_id.constellation, 118, "incorrect value for stec_sat_list[14].sv_id.constellation, expected 118, is {}", msg.stec_sat_list[14].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[14].stec_quality_indicator, 51, + "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 51, is {}", + msg.stec_sat_list[14].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[14].sv_id.constellation, 118, + "incorrect value for stec_sat_list[14].sv_id.constellation, expected 118, is {}", + msg.stec_sat_list[14].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[14].sv_id.sat_id, 106, "incorrect value for stec_sat_list[14].sv_id.sat_id, expected 106, is {}", @@ -560,8 +632,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[15].stec_coeff[3], expected 20993, is {}", msg.stec_sat_list[15].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[15].stec_quality_indicator, 165, "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 165, is {}", msg.stec_sat_list[15].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[15].sv_id.constellation, 150, "incorrect value for stec_sat_list[15].sv_id.constellation, expected 150, is {}", msg.stec_sat_list[15].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[15].stec_quality_indicator, 165, + "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 165, is {}", + msg.stec_sat_list[15].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[15].sv_id.constellation, 150, + "incorrect value for stec_sat_list[15].sv_id.constellation, expected 150, is {}", + msg.stec_sat_list[15].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[15].sv_id.sat_id, 132, "incorrect value for stec_sat_list[15].sv_id.sat_id, expected 132, is {}", @@ -587,8 +667,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[16].stec_coeff[3], expected -2915, is {}", msg.stec_sat_list[16].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[16].stec_quality_indicator, 23, "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 23, is {}", msg.stec_sat_list[16].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[16].sv_id.constellation, 196, "incorrect value for stec_sat_list[16].sv_id.constellation, expected 196, is {}", msg.stec_sat_list[16].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[16].stec_quality_indicator, 23, + "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 23, is {}", + msg.stec_sat_list[16].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[16].sv_id.constellation, 196, + "incorrect value for stec_sat_list[16].sv_id.constellation, expected 196, is {}", + msg.stec_sat_list[16].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[16].sv_id.sat_id, 181, "incorrect value for stec_sat_list[16].sv_id.sat_id, expected 181, is {}", @@ -614,7 +702,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[17].stec_coeff[3], expected -1206, is {}", msg.stec_sat_list[17].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[17].stec_quality_indicator, 189, "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 189, is {}", msg.stec_sat_list[17].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[17].stec_quality_indicator, 189, + "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 189, is {}", + msg.stec_sat_list[17].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[17].sv_id.constellation, 1, "incorrect value for stec_sat_list[17].sv_id.constellation, expected 1, is {}", @@ -645,7 +737,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[18].stec_coeff[3], expected 5761, is {}", msg.stec_sat_list[18].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[18].stec_quality_indicator, 104, "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 104, is {}", msg.stec_sat_list[18].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[18].stec_quality_indicator, 104, + "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 104, is {}", + msg.stec_sat_list[18].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[18].sv_id.constellation, 14, "incorrect value for stec_sat_list[18].sv_id.constellation, expected 14, is {}", @@ -676,8 +772,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[19].stec_coeff[3], expected 8780, is {}", msg.stec_sat_list[19].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[19].stec_quality_indicator, 109, "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 109, is {}", msg.stec_sat_list[19].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[19].sv_id.constellation, 226, "incorrect value for stec_sat_list[19].sv_id.constellation, expected 226, is {}", msg.stec_sat_list[19].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[19].stec_quality_indicator, 109, + "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 109, is {}", + msg.stec_sat_list[19].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[19].sv_id.constellation, 226, + "incorrect value for stec_sat_list[19].sv_id.constellation, expected 226, is {}", + msg.stec_sat_list[19].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[19].sv_id.sat_id, 178, "incorrect value for stec_sat_list[19].sv_id.sat_id, expected 178, is {}", @@ -703,8 +807,16 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[20].stec_coeff[3], expected -13628, is {}", msg.stec_sat_list[20].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[20].stec_quality_indicator, 154, "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 154, is {}", msg.stec_sat_list[20].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[20].sv_id.constellation, 220, "incorrect value for stec_sat_list[20].sv_id.constellation, expected 220, is {}", msg.stec_sat_list[20].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[20].stec_quality_indicator, 154, + "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 154, is {}", + msg.stec_sat_list[20].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[20].sv_id.constellation, 220, + "incorrect value for stec_sat_list[20].sv_id.constellation, expected 220, is {}", + msg.stec_sat_list[20].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[20].sv_id.sat_id, 116, "incorrect value for stec_sat_list[20].sv_id.sat_id, expected 116, is {}", @@ -730,7 +842,11 @@ fn test_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[21].stec_coeff[3], expected 17645, is {}", msg.stec_sat_list[21].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[21].stec_quality_indicator, 115, "incorrect value for stec_sat_list[21].stec_quality_indicator, expected 115, is {}", msg.stec_sat_list[21].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[21].stec_quality_indicator, 115, + "incorrect value for stec_sat_list[21].stec_quality_indicator, expected 115, is {}", + msg.stec_sat_list[21].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[21].sv_id.constellation, 70, "incorrect value for stec_sat_list[21].sv_id.constellation, expected 70, is {}", @@ -842,7 +958,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[0].stec_coeff[3], expected 3130, is {}", msg.stec_sat_list[0].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[0].stec_quality_indicator, 111, "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 111, is {}", msg.stec_sat_list[0].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[0].stec_quality_indicator, 111, + "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 111, is {}", + msg.stec_sat_list[0].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[0].sv_id.constellation, 19, "incorrect value for stec_sat_list[0].sv_id.constellation, expected 19, is {}", @@ -873,7 +993,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[1].stec_coeff[3], expected -12060, is {}", msg.stec_sat_list[1].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[1].stec_quality_indicator, 171, "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 171, is {}", msg.stec_sat_list[1].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[1].stec_quality_indicator, 171, + "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 171, is {}", + msg.stec_sat_list[1].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[1].sv_id.constellation, 230, "incorrect value for stec_sat_list[1].sv_id.constellation, expected 230, is {}", @@ -904,7 +1028,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[2].stec_coeff[3], expected 971, is {}", msg.stec_sat_list[2].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[2].stec_quality_indicator, 219, "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 219, is {}", msg.stec_sat_list[2].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[2].stec_quality_indicator, 219, + "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 219, is {}", + msg.stec_sat_list[2].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[2].sv_id.constellation, 81, "incorrect value for stec_sat_list[2].sv_id.constellation, expected 81, is {}", @@ -935,7 +1063,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[3].stec_coeff[3], expected -24841, is {}", msg.stec_sat_list[3].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[3].stec_quality_indicator, 100, "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 100, is {}", msg.stec_sat_list[3].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[3].stec_quality_indicator, 100, + "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 100, is {}", + msg.stec_sat_list[3].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[3].sv_id.constellation, 44, "incorrect value for stec_sat_list[3].sv_id.constellation, expected 44, is {}", @@ -966,7 +1098,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[4].stec_coeff[3], expected -27495, is {}", msg.stec_sat_list[4].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[4].stec_quality_indicator, 129, "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 129, is {}", msg.stec_sat_list[4].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[4].stec_quality_indicator, 129, + "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 129, is {}", + msg.stec_sat_list[4].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[4].sv_id.constellation, 93, "incorrect value for stec_sat_list[4].sv_id.constellation, expected 93, is {}", @@ -997,7 +1133,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[5].stec_coeff[3], expected -13066, is {}", msg.stec_sat_list[5].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[5].stec_quality_indicator, 225, "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 225, is {}", msg.stec_sat_list[5].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[5].stec_quality_indicator, 225, + "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 225, is {}", + msg.stec_sat_list[5].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[5].sv_id.constellation, 72, "incorrect value for stec_sat_list[5].sv_id.constellation, expected 72, is {}", @@ -1028,7 +1168,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[6].stec_coeff[3], expected -16609, is {}", msg.stec_sat_list[6].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[6].stec_quality_indicator, 98, "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 98, is {}", msg.stec_sat_list[6].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[6].stec_quality_indicator, 98, + "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 98, is {}", + msg.stec_sat_list[6].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[6].sv_id.constellation, 3, "incorrect value for stec_sat_list[6].sv_id.constellation, expected 3, is {}", @@ -1059,7 +1203,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[7].stec_coeff[3], expected -28102, is {}", msg.stec_sat_list[7].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[7].stec_quality_indicator, 177, "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 177, is {}", msg.stec_sat_list[7].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[7].stec_quality_indicator, 177, + "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 177, is {}", + msg.stec_sat_list[7].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[7].sv_id.constellation, 79, "incorrect value for stec_sat_list[7].sv_id.constellation, expected 79, is {}", @@ -1090,7 +1238,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[8].stec_coeff[3], expected 28654, is {}", msg.stec_sat_list[8].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[8].stec_quality_indicator, 249, "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 249, is {}", msg.stec_sat_list[8].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[8].stec_quality_indicator, 249, + "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 249, is {}", + msg.stec_sat_list[8].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[8].sv_id.constellation, 100, "incorrect value for stec_sat_list[8].sv_id.constellation, expected 100, is {}", @@ -1121,7 +1273,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[9].stec_coeff[3], expected -5055, is {}", msg.stec_sat_list[9].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[9].stec_quality_indicator, 227, "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 227, is {}", msg.stec_sat_list[9].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[9].stec_quality_indicator, 227, + "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 227, is {}", + msg.stec_sat_list[9].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[9].sv_id.constellation, 36, "incorrect value for stec_sat_list[9].sv_id.constellation, expected 36, is {}", @@ -1152,7 +1308,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[10].stec_coeff[3], expected 31241, is {}", msg.stec_sat_list[10].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[10].stec_quality_indicator, 0, "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 0, is {}", msg.stec_sat_list[10].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[10].stec_quality_indicator, 0, + "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 0, is {}", + msg.stec_sat_list[10].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[10].sv_id.constellation, 77, "incorrect value for stec_sat_list[10].sv_id.constellation, expected 77, is {}", @@ -1183,8 +1343,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[11].stec_coeff[3], expected 12546, is {}", msg.stec_sat_list[11].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[11].stec_quality_indicator, 6, "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 6, is {}", msg.stec_sat_list[11].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[11].sv_id.constellation, 232, "incorrect value for stec_sat_list[11].sv_id.constellation, expected 232, is {}", msg.stec_sat_list[11].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[11].stec_quality_indicator, 6, + "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 6, is {}", + msg.stec_sat_list[11].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[11].sv_id.constellation, 232, + "incorrect value for stec_sat_list[11].sv_id.constellation, expected 232, is {}", + msg.stec_sat_list[11].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[11].sv_id.sat_id, 86, "incorrect value for stec_sat_list[11].sv_id.sat_id, expected 86, is {}", @@ -1210,7 +1378,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[12].stec_coeff[3], expected -3023, is {}", msg.stec_sat_list[12].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[12].stec_quality_indicator, 216, "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 216, is {}", msg.stec_sat_list[12].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[12].stec_quality_indicator, 216, + "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 216, is {}", + msg.stec_sat_list[12].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[12].sv_id.constellation, 84, "incorrect value for stec_sat_list[12].sv_id.constellation, expected 84, is {}", @@ -1241,8 +1413,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[13].stec_coeff[3], expected -29893, is {}", msg.stec_sat_list[13].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[13].stec_quality_indicator, 125, "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 125, is {}", msg.stec_sat_list[13].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[13].sv_id.constellation, 188, "incorrect value for stec_sat_list[13].sv_id.constellation, expected 188, is {}", msg.stec_sat_list[13].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[13].stec_quality_indicator, 125, + "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 125, is {}", + msg.stec_sat_list[13].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[13].sv_id.constellation, 188, + "incorrect value for stec_sat_list[13].sv_id.constellation, expected 188, is {}", + msg.stec_sat_list[13].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[13].sv_id.sat_id, 224, "incorrect value for stec_sat_list[13].sv_id.sat_id, expected 224, is {}", @@ -1268,8 +1448,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[14].stec_coeff[3], expected -710, is {}", msg.stec_sat_list[14].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[14].stec_quality_indicator, 51, "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 51, is {}", msg.stec_sat_list[14].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[14].sv_id.constellation, 118, "incorrect value for stec_sat_list[14].sv_id.constellation, expected 118, is {}", msg.stec_sat_list[14].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[14].stec_quality_indicator, 51, + "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 51, is {}", + msg.stec_sat_list[14].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[14].sv_id.constellation, 118, + "incorrect value for stec_sat_list[14].sv_id.constellation, expected 118, is {}", + msg.stec_sat_list[14].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[14].sv_id.sat_id, 106, "incorrect value for stec_sat_list[14].sv_id.sat_id, expected 106, is {}", @@ -1295,8 +1483,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[15].stec_coeff[3], expected 20993, is {}", msg.stec_sat_list[15].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[15].stec_quality_indicator, 165, "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 165, is {}", msg.stec_sat_list[15].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[15].sv_id.constellation, 150, "incorrect value for stec_sat_list[15].sv_id.constellation, expected 150, is {}", msg.stec_sat_list[15].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[15].stec_quality_indicator, 165, + "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 165, is {}", + msg.stec_sat_list[15].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[15].sv_id.constellation, 150, + "incorrect value for stec_sat_list[15].sv_id.constellation, expected 150, is {}", + msg.stec_sat_list[15].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[15].sv_id.sat_id, 132, "incorrect value for stec_sat_list[15].sv_id.sat_id, expected 132, is {}", @@ -1322,8 +1518,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[16].stec_coeff[3], expected -2915, is {}", msg.stec_sat_list[16].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[16].stec_quality_indicator, 23, "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 23, is {}", msg.stec_sat_list[16].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[16].sv_id.constellation, 196, "incorrect value for stec_sat_list[16].sv_id.constellation, expected 196, is {}", msg.stec_sat_list[16].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[16].stec_quality_indicator, 23, + "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 23, is {}", + msg.stec_sat_list[16].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[16].sv_id.constellation, 196, + "incorrect value for stec_sat_list[16].sv_id.constellation, expected 196, is {}", + msg.stec_sat_list[16].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[16].sv_id.sat_id, 181, "incorrect value for stec_sat_list[16].sv_id.sat_id, expected 181, is {}", @@ -1349,7 +1553,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[17].stec_coeff[3], expected -1206, is {}", msg.stec_sat_list[17].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[17].stec_quality_indicator, 189, "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 189, is {}", msg.stec_sat_list[17].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[17].stec_quality_indicator, 189, + "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 189, is {}", + msg.stec_sat_list[17].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[17].sv_id.constellation, 1, "incorrect value for stec_sat_list[17].sv_id.constellation, expected 1, is {}", @@ -1380,7 +1588,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[18].stec_coeff[3], expected 5761, is {}", msg.stec_sat_list[18].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[18].stec_quality_indicator, 104, "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 104, is {}", msg.stec_sat_list[18].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[18].stec_quality_indicator, 104, + "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 104, is {}", + msg.stec_sat_list[18].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[18].sv_id.constellation, 14, "incorrect value for stec_sat_list[18].sv_id.constellation, expected 14, is {}", @@ -1411,8 +1623,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[19].stec_coeff[3], expected 8780, is {}", msg.stec_sat_list[19].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[19].stec_quality_indicator, 109, "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 109, is {}", msg.stec_sat_list[19].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[19].sv_id.constellation, 226, "incorrect value for stec_sat_list[19].sv_id.constellation, expected 226, is {}", msg.stec_sat_list[19].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[19].stec_quality_indicator, 109, + "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 109, is {}", + msg.stec_sat_list[19].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[19].sv_id.constellation, 226, + "incorrect value for stec_sat_list[19].sv_id.constellation, expected 226, is {}", + msg.stec_sat_list[19].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[19].sv_id.sat_id, 178, "incorrect value for stec_sat_list[19].sv_id.sat_id, expected 178, is {}", @@ -1438,8 +1658,16 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[20].stec_coeff[3], expected -13628, is {}", msg.stec_sat_list[20].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[20].stec_quality_indicator, 154, "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 154, is {}", msg.stec_sat_list[20].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[20].sv_id.constellation, 220, "incorrect value for stec_sat_list[20].sv_id.constellation, expected 220, is {}", msg.stec_sat_list[20].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[20].stec_quality_indicator, 154, + "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 154, is {}", + msg.stec_sat_list[20].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[20].sv_id.constellation, 220, + "incorrect value for stec_sat_list[20].sv_id.constellation, expected 220, is {}", + msg.stec_sat_list[20].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[20].sv_id.sat_id, 116, "incorrect value for stec_sat_list[20].sv_id.sat_id, expected 116, is {}", @@ -1465,7 +1693,11 @@ fn test_json2sbp_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[21].stec_coeff[3], expected 17645, is {}", msg.stec_sat_list[21].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[21].stec_quality_indicator, 115, "incorrect value for stec_sat_list[21].stec_quality_indicator, expected 115, is {}", msg.stec_sat_list[21].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[21].stec_quality_indicator, 115, + "incorrect value for stec_sat_list[21].stec_quality_indicator, expected 115, is {}", + msg.stec_sat_list[21].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[21].sv_id.constellation, 70, "incorrect value for stec_sat_list[21].sv_id.constellation, expected 70, is {}", @@ -1597,7 +1829,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[0].stec_coeff[3], expected 3130, is {}", msg.stec_sat_list[0].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[0].stec_quality_indicator, 111, "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 111, is {}", msg.stec_sat_list[0].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[0].stec_quality_indicator, 111, + "incorrect value for stec_sat_list[0].stec_quality_indicator, expected 111, is {}", + msg.stec_sat_list[0].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[0].sv_id.constellation, 19, "incorrect value for stec_sat_list[0].sv_id.constellation, expected 19, is {}", @@ -1628,7 +1864,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[1].stec_coeff[3], expected -12060, is {}", msg.stec_sat_list[1].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[1].stec_quality_indicator, 171, "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 171, is {}", msg.stec_sat_list[1].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[1].stec_quality_indicator, 171, + "incorrect value for stec_sat_list[1].stec_quality_indicator, expected 171, is {}", + msg.stec_sat_list[1].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[1].sv_id.constellation, 230, "incorrect value for stec_sat_list[1].sv_id.constellation, expected 230, is {}", @@ -1659,7 +1899,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[2].stec_coeff[3], expected 971, is {}", msg.stec_sat_list[2].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[2].stec_quality_indicator, 219, "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 219, is {}", msg.stec_sat_list[2].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[2].stec_quality_indicator, 219, + "incorrect value for stec_sat_list[2].stec_quality_indicator, expected 219, is {}", + msg.stec_sat_list[2].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[2].sv_id.constellation, 81, "incorrect value for stec_sat_list[2].sv_id.constellation, expected 81, is {}", @@ -1690,7 +1934,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[3].stec_coeff[3], expected -24841, is {}", msg.stec_sat_list[3].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[3].stec_quality_indicator, 100, "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 100, is {}", msg.stec_sat_list[3].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[3].stec_quality_indicator, 100, + "incorrect value for stec_sat_list[3].stec_quality_indicator, expected 100, is {}", + msg.stec_sat_list[3].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[3].sv_id.constellation, 44, "incorrect value for stec_sat_list[3].sv_id.constellation, expected 44, is {}", @@ -1721,7 +1969,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[4].stec_coeff[3], expected -27495, is {}", msg.stec_sat_list[4].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[4].stec_quality_indicator, 129, "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 129, is {}", msg.stec_sat_list[4].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[4].stec_quality_indicator, 129, + "incorrect value for stec_sat_list[4].stec_quality_indicator, expected 129, is {}", + msg.stec_sat_list[4].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[4].sv_id.constellation, 93, "incorrect value for stec_sat_list[4].sv_id.constellation, expected 93, is {}", @@ -1752,7 +2004,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[5].stec_coeff[3], expected -13066, is {}", msg.stec_sat_list[5].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[5].stec_quality_indicator, 225, "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 225, is {}", msg.stec_sat_list[5].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[5].stec_quality_indicator, 225, + "incorrect value for stec_sat_list[5].stec_quality_indicator, expected 225, is {}", + msg.stec_sat_list[5].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[5].sv_id.constellation, 72, "incorrect value for stec_sat_list[5].sv_id.constellation, expected 72, is {}", @@ -1783,7 +2039,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[6].stec_coeff[3], expected -16609, is {}", msg.stec_sat_list[6].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[6].stec_quality_indicator, 98, "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 98, is {}", msg.stec_sat_list[6].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[6].stec_quality_indicator, 98, + "incorrect value for stec_sat_list[6].stec_quality_indicator, expected 98, is {}", + msg.stec_sat_list[6].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[6].sv_id.constellation, 3, "incorrect value for stec_sat_list[6].sv_id.constellation, expected 3, is {}", @@ -1814,7 +2074,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[7].stec_coeff[3], expected -28102, is {}", msg.stec_sat_list[7].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[7].stec_quality_indicator, 177, "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 177, is {}", msg.stec_sat_list[7].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[7].stec_quality_indicator, 177, + "incorrect value for stec_sat_list[7].stec_quality_indicator, expected 177, is {}", + msg.stec_sat_list[7].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[7].sv_id.constellation, 79, "incorrect value for stec_sat_list[7].sv_id.constellation, expected 79, is {}", @@ -1845,7 +2109,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[8].stec_coeff[3], expected 28654, is {}", msg.stec_sat_list[8].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[8].stec_quality_indicator, 249, "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 249, is {}", msg.stec_sat_list[8].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[8].stec_quality_indicator, 249, + "incorrect value for stec_sat_list[8].stec_quality_indicator, expected 249, is {}", + msg.stec_sat_list[8].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[8].sv_id.constellation, 100, "incorrect value for stec_sat_list[8].sv_id.constellation, expected 100, is {}", @@ -1876,7 +2144,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[9].stec_coeff[3], expected -5055, is {}", msg.stec_sat_list[9].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[9].stec_quality_indicator, 227, "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 227, is {}", msg.stec_sat_list[9].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[9].stec_quality_indicator, 227, + "incorrect value for stec_sat_list[9].stec_quality_indicator, expected 227, is {}", + msg.stec_sat_list[9].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[9].sv_id.constellation, 36, "incorrect value for stec_sat_list[9].sv_id.constellation, expected 36, is {}", @@ -1907,7 +2179,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[10].stec_coeff[3], expected 31241, is {}", msg.stec_sat_list[10].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[10].stec_quality_indicator, 0, "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 0, is {}", msg.stec_sat_list[10].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[10].stec_quality_indicator, 0, + "incorrect value for stec_sat_list[10].stec_quality_indicator, expected 0, is {}", + msg.stec_sat_list[10].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[10].sv_id.constellation, 77, "incorrect value for stec_sat_list[10].sv_id.constellation, expected 77, is {}", @@ -1938,8 +2214,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[11].stec_coeff[3], expected 12546, is {}", msg.stec_sat_list[11].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[11].stec_quality_indicator, 6, "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 6, is {}", msg.stec_sat_list[11].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[11].sv_id.constellation, 232, "incorrect value for stec_sat_list[11].sv_id.constellation, expected 232, is {}", msg.stec_sat_list[11].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[11].stec_quality_indicator, 6, + "incorrect value for stec_sat_list[11].stec_quality_indicator, expected 6, is {}", + msg.stec_sat_list[11].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[11].sv_id.constellation, 232, + "incorrect value for stec_sat_list[11].sv_id.constellation, expected 232, is {}", + msg.stec_sat_list[11].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[11].sv_id.sat_id, 86, "incorrect value for stec_sat_list[11].sv_id.sat_id, expected 86, is {}", @@ -1965,7 +2249,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[12].stec_coeff[3], expected -3023, is {}", msg.stec_sat_list[12].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[12].stec_quality_indicator, 216, "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 216, is {}", msg.stec_sat_list[12].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[12].stec_quality_indicator, 216, + "incorrect value for stec_sat_list[12].stec_quality_indicator, expected 216, is {}", + msg.stec_sat_list[12].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[12].sv_id.constellation, 84, "incorrect value for stec_sat_list[12].sv_id.constellation, expected 84, is {}", @@ -1996,8 +2284,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[13].stec_coeff[3], expected -29893, is {}", msg.stec_sat_list[13].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[13].stec_quality_indicator, 125, "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 125, is {}", msg.stec_sat_list[13].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[13].sv_id.constellation, 188, "incorrect value for stec_sat_list[13].sv_id.constellation, expected 188, is {}", msg.stec_sat_list[13].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[13].stec_quality_indicator, 125, + "incorrect value for stec_sat_list[13].stec_quality_indicator, expected 125, is {}", + msg.stec_sat_list[13].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[13].sv_id.constellation, 188, + "incorrect value for stec_sat_list[13].sv_id.constellation, expected 188, is {}", + msg.stec_sat_list[13].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[13].sv_id.sat_id, 224, "incorrect value for stec_sat_list[13].sv_id.sat_id, expected 224, is {}", @@ -2023,8 +2319,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[14].stec_coeff[3], expected -710, is {}", msg.stec_sat_list[14].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[14].stec_quality_indicator, 51, "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 51, is {}", msg.stec_sat_list[14].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[14].sv_id.constellation, 118, "incorrect value for stec_sat_list[14].sv_id.constellation, expected 118, is {}", msg.stec_sat_list[14].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[14].stec_quality_indicator, 51, + "incorrect value for stec_sat_list[14].stec_quality_indicator, expected 51, is {}", + msg.stec_sat_list[14].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[14].sv_id.constellation, 118, + "incorrect value for stec_sat_list[14].sv_id.constellation, expected 118, is {}", + msg.stec_sat_list[14].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[14].sv_id.sat_id, 106, "incorrect value for stec_sat_list[14].sv_id.sat_id, expected 106, is {}", @@ -2050,8 +2354,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[15].stec_coeff[3], expected 20993, is {}", msg.stec_sat_list[15].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[15].stec_quality_indicator, 165, "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 165, is {}", msg.stec_sat_list[15].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[15].sv_id.constellation, 150, "incorrect value for stec_sat_list[15].sv_id.constellation, expected 150, is {}", msg.stec_sat_list[15].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[15].stec_quality_indicator, 165, + "incorrect value for stec_sat_list[15].stec_quality_indicator, expected 165, is {}", + msg.stec_sat_list[15].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[15].sv_id.constellation, 150, + "incorrect value for stec_sat_list[15].sv_id.constellation, expected 150, is {}", + msg.stec_sat_list[15].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[15].sv_id.sat_id, 132, "incorrect value for stec_sat_list[15].sv_id.sat_id, expected 132, is {}", @@ -2077,8 +2389,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[16].stec_coeff[3], expected -2915, is {}", msg.stec_sat_list[16].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[16].stec_quality_indicator, 23, "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 23, is {}", msg.stec_sat_list[16].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[16].sv_id.constellation, 196, "incorrect value for stec_sat_list[16].sv_id.constellation, expected 196, is {}", msg.stec_sat_list[16].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[16].stec_quality_indicator, 23, + "incorrect value for stec_sat_list[16].stec_quality_indicator, expected 23, is {}", + msg.stec_sat_list[16].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[16].sv_id.constellation, 196, + "incorrect value for stec_sat_list[16].sv_id.constellation, expected 196, is {}", + msg.stec_sat_list[16].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[16].sv_id.sat_id, 181, "incorrect value for stec_sat_list[16].sv_id.sat_id, expected 181, is {}", @@ -2104,7 +2424,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[17].stec_coeff[3], expected -1206, is {}", msg.stec_sat_list[17].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[17].stec_quality_indicator, 189, "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 189, is {}", msg.stec_sat_list[17].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[17].stec_quality_indicator, 189, + "incorrect value for stec_sat_list[17].stec_quality_indicator, expected 189, is {}", + msg.stec_sat_list[17].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[17].sv_id.constellation, 1, "incorrect value for stec_sat_list[17].sv_id.constellation, expected 1, is {}", @@ -2135,7 +2459,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[18].stec_coeff[3], expected 5761, is {}", msg.stec_sat_list[18].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[18].stec_quality_indicator, 104, "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 104, is {}", msg.stec_sat_list[18].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[18].stec_quality_indicator, 104, + "incorrect value for stec_sat_list[18].stec_quality_indicator, expected 104, is {}", + msg.stec_sat_list[18].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[18].sv_id.constellation, 14, "incorrect value for stec_sat_list[18].sv_id.constellation, expected 14, is {}", @@ -2166,8 +2494,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[19].stec_coeff[3], expected 8780, is {}", msg.stec_sat_list[19].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[19].stec_quality_indicator, 109, "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 109, is {}", msg.stec_sat_list[19].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[19].sv_id.constellation, 226, "incorrect value for stec_sat_list[19].sv_id.constellation, expected 226, is {}", msg.stec_sat_list[19].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[19].stec_quality_indicator, 109, + "incorrect value for stec_sat_list[19].stec_quality_indicator, expected 109, is {}", + msg.stec_sat_list[19].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[19].sv_id.constellation, 226, + "incorrect value for stec_sat_list[19].sv_id.constellation, expected 226, is {}", + msg.stec_sat_list[19].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[19].sv_id.sat_id, 178, "incorrect value for stec_sat_list[19].sv_id.sat_id, expected 178, is {}", @@ -2193,8 +2529,16 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[20].stec_coeff[3], expected -13628, is {}", msg.stec_sat_list[20].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[20].stec_quality_indicator, 154, "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 154, is {}", msg.stec_sat_list[20].stec_quality_indicator); - assert_eq!(msg.stec_sat_list[20].sv_id.constellation, 220, "incorrect value for stec_sat_list[20].sv_id.constellation, expected 220, is {}", msg.stec_sat_list[20].sv_id.constellation); + assert_eq!( + msg.stec_sat_list[20].stec_quality_indicator, 154, + "incorrect value for stec_sat_list[20].stec_quality_indicator, expected 154, is {}", + msg.stec_sat_list[20].stec_quality_indicator + ); + assert_eq!( + msg.stec_sat_list[20].sv_id.constellation, 220, + "incorrect value for stec_sat_list[20].sv_id.constellation, expected 220, is {}", + msg.stec_sat_list[20].sv_id.constellation + ); assert_eq!( msg.stec_sat_list[20].sv_id.sat_id, 116, "incorrect value for stec_sat_list[20].sv_id.sat_id, expected 116, is {}", @@ -2220,7 +2564,11 @@ fn test_sbp2json_auto_check_sbp_ssr_msg_ssr_stec_correction_dep_a() { "incorrect value for stec_sat_list[21].stec_coeff[3], expected 17645, is {}", msg.stec_sat_list[21].stec_coeff[3] ); - assert_eq!(msg.stec_sat_list[21].stec_quality_indicator, 115, "incorrect value for stec_sat_list[21].stec_quality_indicator, expected 115, is {}", msg.stec_sat_list[21].stec_quality_indicator); + assert_eq!( + msg.stec_sat_list[21].stec_quality_indicator, 115, + "incorrect value for stec_sat_list[21].stec_quality_indicator, expected 115, is {}", + msg.stec_sat_list[21].stec_quality_indicator + ); assert_eq!( msg.stec_sat_list[21].sv_id.constellation, 70, "incorrect value for stec_sat_list[21].sv_id.constellation, expected 70, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs index bf8dbd159d..735bc0cb00 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msg_tracking_state.rs @@ -1601,7 +1601,11 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -1906,7 +1910,11 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -2211,7 +2219,11 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -2516,7 +2528,11 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -2821,7 +2837,11 @@ fn test_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -4440,7 +4460,11 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -4748,7 +4772,11 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -5056,7 +5084,11 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -5364,7 +5396,11 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -5672,7 +5708,11 @@ fn test_json2sbp_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -7327,7 +7367,11 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -7651,7 +7695,11 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -7975,7 +8023,11 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -8299,7 +8351,11 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", @@ -8623,7 +8679,11 @@ fn test_sbp2json_auto_check_sbp_tracking_msg_tracking_state() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].sid.code, 0, "incorrect value for states[10].sid.code, expected 0, is {}", diff --git a/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs b/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs index 158c74a62e..8d7b0a6647 100644 --- a/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs +++ b/rust/sbp/tests/integration/auto_check_sbp_tracking_msgtracking_state_dep_a.rs @@ -791,7 +791,11 @@ fn test_auto_check_sbp_tracking_msgtracking_state_dep_a() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].prn, 0, "incorrect value for states[10].prn, expected 0, is {}", @@ -985,7 +989,11 @@ fn test_auto_check_sbp_tracking_msgtracking_state_dep_a() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].prn, 0, "incorrect value for states[10].prn, expected 0, is {}", @@ -1179,7 +1187,11 @@ fn test_auto_check_sbp_tracking_msgtracking_state_dep_a() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].prn, 0, "incorrect value for states[10].prn, expected 0, is {}", @@ -1997,7 +2009,11 @@ fn test_json2sbp_auto_check_sbp_tracking_msgtracking_state_dep_a() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].prn, 0, "incorrect value for states[10].prn, expected 0, is {}", @@ -2195,7 +2211,11 @@ fn test_json2sbp_auto_check_sbp_tracking_msgtracking_state_dep_a() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].prn, 0, "incorrect value for states[10].prn, expected 0, is {}", @@ -2393,7 +2413,11 @@ fn test_json2sbp_auto_check_sbp_tracking_msgtracking_state_dep_a() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].prn, 0, "incorrect value for states[10].prn, expected 0, is {}", @@ -3266,7 +3290,11 @@ fn test_sbp2json_auto_check_sbp_tracking_msgtracking_state_dep_a() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].prn, 0, "incorrect value for states[10].prn, expected 0, is {}", @@ -3479,7 +3507,11 @@ fn test_sbp2json_auto_check_sbp_tracking_msgtracking_state_dep_a() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].prn, 0, "incorrect value for states[10].prn, expected 0, is {}", @@ -3692,7 +3724,11 @@ fn test_sbp2json_auto_check_sbp_tracking_msgtracking_state_dep_a() { "incorrect value for states[9].state, expected 0, is {}", msg.states[9].state ); - assert!(msg.states[10].cn0.almost_eq( -1.00000000000000000e+00 ), "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", msg.states[10].cn0); + assert!( + msg.states[10].cn0.almost_eq(-1.00000000000000000e+00), + "incorrect value for states[10].cn0, expected -1.00000000000000000e+00, is {:e}", + msg.states[10].cn0 + ); assert_eq!( msg.states[10].prn, 0, "incorrect value for states[10].prn, expected 0, is {}", diff --git a/rust/sbp2json/Cargo.toml b/rust/sbp2json/Cargo.toml index d617a00669..cf0fbaf4b8 100644 --- a/rust/sbp2json/Cargo.toml +++ b/rust/sbp2json/Cargo.toml @@ -18,7 +18,7 @@ categories = ["parsing"] keywords = ["encoding", "parsing"] [dependencies.sbp] -path = "../sbp" # TODO: replace with published `sbp` crate version +path = "../sbp" # TODO: replace with published `sbp` crate version features = ["json", "float_roundtrip"] [dependencies] @@ -44,9 +44,6 @@ predicates-core = "=1.0.3" serde_json = "1.0.82" assert-json-diff = "2.0" -[profile.release] -lto = true -codegen-units = 1 [lib] name = "converters"