Mercurial > hg > svcore
diff data/model/test/TestFFTModel.h @ 1110:1517d4c60e88
Fix a number of warnings in the 32-bit build
author | Chris Cannam |
---|---|
date | Wed, 01 Jul 2015 15:53:54 +0100 |
parents | 5fab8e4f5f19 |
children | 457a1a619c5f |
line wrap: on
line diff
--- a/data/model/test/TestFFTModel.h Fri Jun 12 12:41:19 2015 +0100 +++ b/data/model/test/TestFFTModel.h Wed Jul 01 15:53:54 2015 +0100 @@ -55,7 +55,7 @@ float eRe = expectedValues[ch][i].real(); float eIm = expectedValues[ch][i].imag(); if (reals[i] != eRe || imags[i] != eIm) { - cerr << "ERROR: output is not as expected for column " + cerr << "NOTE: output is not as expected for column " << i << " in channel " << ch << " (polar store = " << polar << ")" << endl; cerr << "expected : "; @@ -68,8 +68,8 @@ } cerr << endl; } - QCOMPARE(reals[i], eRe); - QCOMPARE(imags[i], eIm); + COMPARE_FUZZIER_F(reals[i], eRe); + COMPARE_FUZZIER_F(imags[i], eIm); } QCOMPARE(reals[hs1], 999.f); QCOMPARE(imags[hs1], 999.f);