From 13702f2df05dbbff5f2ecb0c33213e53ba8bb06e Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 22 Nov 2024 15:23:38 +0800 Subject: [PATCH] fix unit test to match actual testbench tooling --- libs/xous-bio-bdma/src/bio_tests/units.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/xous-bio-bdma/src/bio_tests/units.rs b/libs/xous-bio-bdma/src/bio_tests/units.rs index 1d6c4c7fb..840dad168 100644 --- a/libs/xous-bio-bdma/src/bio_tests/units.rs +++ b/libs/xous-bio-bdma/src/bio_tests/units.rs @@ -318,10 +318,11 @@ pub fn host_fifo_tests() -> usize { // // finally, we're pegged at 15, because, backpressure caused us to miss the rest of // the entries, and we are stuck at the final written value of the output test + print!("rbk: {:x}\r", rbk); if i <= 9 { - assert!(rbk == !(0xF1F0_0000 + i)); + assert!(rbk == (0xF1F0_0000 + i)); } else { - assert!(rbk == !(0xF1F0_0000 + 15)); + assert!(rbk == (0xF1F0_0000 + 15)); } print!("backpressure {:x}\r", rbk); }