Move beat tracking test program to benchmarks

This commit is contained in:
Eric Van Albert
2025-10-26 15:22:33 -04:00
parent fed3b61f43
commit 5f9246d5e7
3 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -9,9 +9,6 @@ edition = "2021"
license-file = "LICENSE"
default-run = "radiance"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "radiance"
path = "src/lib/mod.rs"
@@ -20,9 +17,9 @@ path = "src/lib/mod.rs"
name = "radiance"
path = "src/bin/main.rs"
[[bin]]
[[bench]]
name = "beat_tracking_test"
path = "src/bin/beat_tracking_test.rs"
harness = false
[dependencies]
env_logger = "0.9"
+1 -1
View File
@@ -1082,7 +1082,7 @@ mod layers {
let output2 = l.process(&input2);
let output3 = l.process(&input3);
assert_eq!(output1, dvector!(0.7614811, -0.74785006));
assert_eq!(output1, dvector!(0.76148117, -0.74785006));
assert_eq!(output2, dvector!(0.9619418, -0.94699216));
assert_eq!(output3, dvector!(0.99459594, -0.4957872));
}