# HG changeset patch
# User Chris Cannam
# Date 1554304760 -3600
# Node ID 0e9840a381b5cb21707374f3c4d853171a2bfbfb
# Parent 95396c9382e3bb93fbde4f407b5db80d87e27751
Update tests for most recent changes
diff -r 95396c9382e3 -r 0e9840a381b5 data/model/test/TestFFTModel.h
--- a/data/model/test/TestFFTModel.h Wed Apr 03 16:04:03 2019 +0100
+++ b/data/model/test/TestFFTModel.h Wed Apr 03 16:19:20 2019 +0100
@@ -152,8 +152,6 @@
{ { {}, { 0.f, 2.f }, {}, {}, {} } }, 4);
test(&mwm, RectangularWindow, 8, 8, 8, 3,
{ { {}, {}, {}, {}, {} } }, 4);
- test(&mwm, RectangularWindow, 4, 4, 7, 3, // prime transform size
- { { {}, {}, {} } }, 6);
}
void cosine_simple_rect() {
diff -r 95396c9382e3 -r 0e9840a381b5 data/model/test/TestSparseModels.h
--- a/data/model/test/TestSparseModels.h Wed Apr 03 16:04:03 2019 +0100
+++ b/data/model/test/TestSparseModels.h Wed Apr 03 16:19:20 2019 +0100
@@ -123,11 +123,11 @@
m.toXml(str);
str.flush();
QString expected =
- "\n"
- "\n"
- " \n"
+ "\n"
+ "\n"
+ " \n"
" \n"
- " \n"
+ " \n"
"\n";
expected.replace("\'", "\"");
if (xml != expected) {
@@ -209,8 +209,8 @@
str.flush();
QString expected =
- "\n"
- "\n"
+ "\n"
+ "\n"
" \n"
" \n"
" \n"
@@ -237,8 +237,8 @@
str.flush();
QString expected =
- "\n"
- "\n"
+ "\n"
+ "\n"
" \n"
" \n"
" \n"
@@ -265,8 +265,8 @@
str.flush();
QString expected =
- "\n"
- "\n"
+ "\n"
+ "\n"
" \n"
" \n"
" \n"
@@ -289,8 +289,8 @@
str.flush();
QString expected =
- "\n"
- "\n"
+ "\n"
+ "\n"
" \n"
"\n";
expected.replace("\'", "\"");