diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-25 01:00:26 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-25 01:00:26 +0000 |
| commit | a562abf85aeed64ce94a2c0c826de3fc9c21ae49 (patch) | |
| tree | 92e9245067b8808811ab1966cc2e0e64aab67bbb /test | |
| parent | 7a7d06be4a2b300dbd0607d321de9d644d665abe (diff) | |
Replace fstream with cstdio in audio analysis serialisation.
Diffstat (limited to 'test')
| -rw-r--r-- | test/audio_analysis_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/audio_analysis_test.cc b/test/audio_analysis_test.cc index 2ebf15fd4..77b2aeaf6 100644 --- a/test/audio_analysis_test.cc +++ b/test/audio_analysis_test.cc @@ -53,8 +53,8 @@ BOOST_AUTO_TEST_CASE (audio_analysis_test) BOOST_CHECK (b.points(i) == points); for (int j = 0; j < points; ++j) { AudioPoint p = b.get_point (i, j); - BOOST_CHECK_CLOSE (p[AudioPoint::PEAK], random_float (), 0.1); - BOOST_CHECK_CLOSE (p[AudioPoint::RMS], random_float (), 0.1); + BOOST_CHECK_CLOSE (p[AudioPoint::PEAK], random_float (), 1); + BOOST_CHECK_CLOSE (p[AudioPoint::RMS], random_float (), 1); } } } |
