Skip to content

Commit

Permalink
Update PGN value in id_build_3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdewid committed Jan 25, 2024
1 parent ede65ff commit 0231186
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,13 +382,14 @@ mod tests {

#[test]
fn id_build_3() {
let id = IdBuilder::from_pgn(PGN::ElectronicEngineController2)
let id = IdBuilder::from_pgn(PGN::ElectronicEngineController1)
.priority(3)
.da(0)
.sa(12)
.build();

assert_eq!(id, Id::new(0xCF0040C));
assert_eq!(id.pgn_raw(), 61444);
}

#[test]
Expand Down

0 comments on commit 0231186

Please sign in to comment.