From a6edb6664c46bab15e65622e9ae2a641a7e1ae9f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 25 Nov 2006 21:31:32 +0000 Subject: [PATCH] cleanup, better diag --- stepmania/src/tests/test_audio_readers.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stepmania/src/tests/test_audio_readers.cpp b/stepmania/src/tests/test_audio_readers.cpp index 9ca8b97f38..f96b0568e7 100644 --- a/stepmania/src/tests/test_audio_readers.cpp +++ b/stepmania/src/tests/test_audio_readers.cpp @@ -34,7 +34,7 @@ void ReadData( SoundReader *snd, } } - ASSERT( got == bytes ); + ASSERT_M( got == bytes, ssprintf("%i, %i", got, bytes) ); } void find( const char *haystack, int hs, const char *needle, int ns ) @@ -119,7 +119,8 @@ void compare_buffers( const int16_t *expect, const int16_t *got, int frames, bool compare_buffers( const int16_t *expect, const int16_t *got, int frames, int channels ) { - /* Compare each channel separately. Try to figure out if + /* + * Compare each channel separately. Try to figure out if * the data is exactly the same, * * 2: either the source or dest data starts out around 0 and converges quickly @@ -135,7 +136,7 @@ bool compare_buffers( const int16_t *expect, const int16_t *got, int frames, int * * Determine if data is identical, but offset. * - * */ + */