tests(pyargus): add test cases for signals

This commit is contained in:
Anand Balakrishnan 2023-08-31 17:11:52 -07:00
parent ab0a2c6d85
commit 137c22cd70
11 changed files with 193 additions and 31 deletions

View file

@ -332,6 +332,7 @@ fn compute_untimed_until(lhs: Signal<bool>, rhs: Signal<bool>) -> ArgusResult<Si
let v1 = lhs.interpolate_at::<Linear>(t).unwrap();
let v2 = rhs.interpolate_at::<Linear>(t).unwrap();
#[allow(clippy::nonminimal_bool)]
let z = (v1 && v2) || (v1 && next);
if z == next && i < (expected_len - 2) {
ret_samples.pop();