|
|
@ -337,7 +337,7 @@ mod test { |
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn test_derive_pso_data_packet() {
|
|
|
|
#[derive(PSOPacketData, Debug, PartialEq)]
|
|
|
|
#[derive(PSOPacketData)]
|
|
|
|
struct Test {
|
|
|
|
a: u8,
|
|
|
|
b: u32,
|
|
|
@ -364,7 +364,7 @@ mod test { |
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn test_derive_pso_data_packet_array() {
|
|
|
|
#[derive(PSOPacketData, Debug, PartialEq)]
|
|
|
|
#[derive(PSOPacketData)]
|
|
|
|
struct Test {
|
|
|
|
a: u8,
|
|
|
|
b: u32,
|
|
|
@ -394,7 +394,7 @@ mod test { |
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn test_derive_pso_data_packet_not_enough_data() {
|
|
|
|
#[derive(PSOPacketData, Debug, PartialEq)]
|
|
|
|
#[derive(PSOPacketData)]
|
|
|
|
struct Test {
|
|
|
|
a: u8,
|
|
|
|
b: u32,
|
|
|
|