Mercurial > hg > qm-dsp
diff tests/TestDCT.cpp @ 476:2de6184b2ce0
Untabify
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 30 May 2019 18:30:58 +0100 |
parents | 4ae4229a074a |
children |
line wrap: on
line diff
--- a/tests/TestDCT.cpp Thu May 30 18:28:11 2019 +0100 +++ b/tests/TestDCT.cpp Thu May 30 18:30:58 2019 +0100 @@ -106,13 +106,13 @@ d.forward(in.data(), out.data()); for (int i = 0; i < n; ++i) { - BOOST_CHECK_SMALL(expected[i] - out[i], thresh); + BOOST_CHECK_SMALL(expected[i] - out[i], thresh); } d.inverse(out.data(), inv.data()); for (int i = 0; i < n; ++i) { - BOOST_CHECK_SMALL(in[i] - inv[i], thresh); + BOOST_CHECK_SMALL(in[i] - inv[i], thresh); } // do it again, just in case some internal state was modified in inverse @@ -120,7 +120,7 @@ d.forward(in.data(), out.data()); for (int i = 0; i < n; ++i) { - BOOST_CHECK_SMALL(expected[i] - out[i], thresh); + BOOST_CHECK_SMALL(expected[i] - out[i], thresh); } } @@ -140,13 +140,13 @@ d.forwardUnitary(in.data(), out.data()); for (int i = 0; i < n; ++i) { - BOOST_CHECK_SMALL(expected[i] - out[i], thresh); + BOOST_CHECK_SMALL(expected[i] - out[i], thresh); } d.inverseUnitary(out.data(), inv.data()); for (int i = 0; i < n; ++i) { - BOOST_CHECK_SMALL(in[i] - inv[i], thresh); + BOOST_CHECK_SMALL(in[i] - inv[i], thresh); } // do it again, just in case some internal state was modified in inverse @@ -154,7 +154,7 @@ d.forwardUnitary(in.data(), out.data()); for (int i = 0; i < n; ++i) { - BOOST_CHECK_SMALL(expected[i] - out[i], thresh); + BOOST_CHECK_SMALL(expected[i] - out[i], thresh); } } @@ -174,13 +174,13 @@ d.forwardUnitary(in.data(), out.data()); for (int i = 0; i < n; ++i) { - BOOST_CHECK_SMALL(expected[i] - out[i], thresh); + BOOST_CHECK_SMALL(expected[i] - out[i], thresh); } d.inverseUnitary(out.data(), inv.data()); for (int i = 0; i < n; ++i) { - BOOST_CHECK_SMALL(in[i] - inv[i], thresh); + BOOST_CHECK_SMALL(in[i] - inv[i], thresh); } // do it again, just in case some internal state was modified in inverse @@ -188,7 +188,7 @@ d.forwardUnitary(in.data(), out.data()); for (int i = 0; i < n; ++i) { - BOOST_CHECK_SMALL(expected[i] - out[i], thresh); + BOOST_CHECK_SMALL(expected[i] - out[i], thresh); } }