Skip to content

Commit

Permalink
Have some testing for DataMode::Single
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernQ committed Jan 17, 2025
1 parent 8ed46ad commit ae64707
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hil-test/tests/spi_half_duplex_write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,14 @@ mod tests {
fn test_spidmabus_writes_are_correctly_by_pcnt_tree_wire(ctx: Context) {
super::perform_spidmabus_writes_are_correctly_by_pcnt(ctx, DataMode::SingleTwoDataLines);
}

#[test]
fn test_spi_writes_are_correctly_by_pcnt_four_wire(ctx: Context) {
super::perform_spi_writes_are_correctly_by_pcnt(ctx, DataMode::Single);
}

#[test]
fn test_spidmabus_writes_are_correctly_by_pcnt_four_wire(ctx: Context) {
super::perform_spidmabus_writes_are_correctly_by_pcnt(ctx, DataMode::Single);
}
}

0 comments on commit ae64707

Please sign in to comment.