some more serde tests
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -382,6 +382,8 @@ mod tests {
|
||||
use crate::ByteConversionError;
|
||||
|
||||
use super::*;
|
||||
#[cfg(feature = "serde")]
|
||||
use crate::tests::generic_serde_test;
|
||||
|
||||
#[test]
|
||||
fn test_enum_u8() {
|
||||
@@ -492,4 +494,10 @@ mod tests {
|
||||
let pfc = RealPfc::try_from(pfc_raw).unwrap();
|
||||
assert_eq!(pfc, RealPfc::Double);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(feature = "serde")]
|
||||
fn test_serde_pus_service_id() {
|
||||
generic_serde_test(PusServiceId::Verification);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user