From 7f872f4abd3b7aad12fb286f6dd160297fcbe30e Mon Sep 17 00:00:00 2001 From: Weird Constructor Date: Sat, 22 May 2021 11:25:00 +0200 Subject: [PATCH] more test frequencies --- tests/basics.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/basics.rs b/tests/basics.rs index 2fb04e6..be38e07 100644 --- a/tests/basics.rs +++ b/tests/basics.rs @@ -1143,6 +1143,14 @@ fn check_node_sampl_1() { let fft = run_and_get_fft4096(&mut node_exec, 800, 20.0); assert_eq!(fft[0], (108, 953)); + matrix.set_param(freq_p, SAtom::param(-0.4)); + let fft = run_and_get_fft4096(&mut node_exec, 800, 20.0); + assert_eq!(fft[0], (22, 818)); + + matrix.set_param(freq_p, SAtom::param(-0.5)); + let fft = run_and_get_fft4096(&mut node_exec, 800, 20.0); + assert_eq!(fft[0], (11, 964)); + matrix.set_param(freq_p, SAtom::param(0.2)); let fft = run_and_get_fft4096(&mut node_exec, 800, 20.0); assert_eq!(fft[0], (1776, 877));