changeset 4:52a635a8f33c

Longer test
author Chris Cannam
date Mon, 10 Aug 2015 18:50:11 +0100
parents d0880801415d
children dc0f2b2be9e4
files src/test-filter.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/test-filter.cpp	Mon Aug 10 18:44:21 2015 +0100
+++ b/src/test-filter.cpp	Mon Aug 10 18:50:11 2015 +0100
@@ -13,13 +13,13 @@
 
     Filter f({ a, b });
     
-    vector<double> in { 1, 2, 3, 4, 5, 6, 7, 8 };
+    vector<double> in { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 };
     vector<double> out(8, 0.0);
 
     f.process(in.data(), out.data(), 8);
 
-    vector<double> expected { 0.003195460813709, 0.006094690058282, 0.009370240771381, 0.012857578361690, 0.015328760300750, 0.019107809614909, 0.022257958968869, 0.024598034053011 };
-
+    vector<double> expected { 0.003195460813709, 0.006094690058282, 0.009370240771381, 0.012857578361690, 0.015328760300750, 0.019107809614909, 0.022257958968869, 0.024598034053011, 0.029106103380941, 0.031152166476509, 0.034424013713795, 0.038775350541015, 0.039924063374886, 0.044846280036012, 0.047614917256999, 0.049338485830505 };
+    
     bool good = true;
     double thresh = 1e-14;