diff tests/TestFilter.cpp @ 476:2de6184b2ce0

Untabify
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 30 May 2019 18:30:58 +0100
parents fa851e147e3f
children
line wrap: on
line diff
--- a/tests/TestFilter.cpp	Thu May 30 18:28:11 2019 +0100
+++ b/tests/TestFilter.cpp	Thu May 30 18:30:58 2019 +0100
@@ -38,7 +38,7 @@
     double thresh = 1e-12;
     
     for (int i = 0; i < n; ++i) {
-	BOOST_CHECK_SMALL(out[i] - expected[i], thresh);
+        BOOST_CHECK_SMALL(out[i] - expected[i], thresh);
     }
 }
 
@@ -56,20 +56,20 @@
     int j = 0;
     int i = 0;
     while (j < n) {
-	if (++i == 4) {
-	    i = 1;
-	}
-	if (j + i >= n) {
-	    i = n - j;
-	}
-	f.process(in.data() + j, out.data() + j, i);
-	j += i;
+        if (++i == 4) {
+            i = 1;
+        }
+        if (j + i >= n) {
+            i = n - j;
+        }
+        f.process(in.data() + j, out.data() + j, i);
+        j += i;
     }
     
     double thresh = 1e-12;
     
     for (int i = 0; i < n; ++i) {
-	BOOST_CHECK_SMALL(out[i] - expected[i], thresh);
+        BOOST_CHECK_SMALL(out[i] - expected[i], thresh);
     }
 }
 
@@ -88,7 +88,7 @@
     double thresh = 1e-4;
     
     for (int i = 0; i < n; ++i) {
-	BOOST_CHECK_SMALL(out[i] - expected[i], thresh);
+        BOOST_CHECK_SMALL(out[i] - expected[i], thresh);
     }
 }