mirror of
https://github.com/zbanks/radiance.git
synced 2026-06-16 04:26:25 +02:00
Move beat tracking test program to benchmarks
This commit is contained in:
+2
-5
@@ -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"
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user