Skip to content

Commit

Permalink
roms test debug
Browse files Browse the repository at this point in the history
  • Loading branch information
GaluTi committed Apr 25, 2024
1 parent f0db757 commit 6785540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/roms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ mod tests {
let y = vec![1.0_f32, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0];
let z = vec![0_f32, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0];
let mut ts = TimeSeries::new(&x, &y, &z);
let actual: f32 = eval.eval(&mut ts).unwrap()[0];
let desired: f32 = 0.0;
let actual = eval.eval(&mut ts).unwrap();
let desired = [0.0_f32];
all_close(&actual, &desired, 1e-10);
}

Expand Down

0 comments on commit 6785540

Please sign in to comment.