From 3932e62fc7d8bc05e4f77c1b3cd69fd314cee3d1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 15 Mar 2014 10:49:50 +0100 Subject: test/test_pcm: replace 256 with prime number Use some odd number that will expose problems with remaining samples after optimized vector operations. --- test/test_pcm_format.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/test_pcm_format.cxx') diff --git a/test/test_pcm_format.cxx b/test/test_pcm_format.cxx index 381554921..825a8bd84 100644 --- a/test/test_pcm_format.cxx +++ b/test/test_pcm_format.cxx @@ -29,7 +29,7 @@ void PcmFormatTest::TestFormat8to16() { - constexpr size_t N = 256; + constexpr size_t N = 509; const auto src = TestDataBuffer(); PcmBuffer buffer; @@ -45,7 +45,7 @@ PcmFormatTest::TestFormat8to16() void PcmFormatTest::TestFormat16to24() { - constexpr size_t N = 256; + constexpr size_t N = 509; const auto src = TestDataBuffer(); PcmBuffer buffer; @@ -60,7 +60,7 @@ PcmFormatTest::TestFormat16to24() void PcmFormatTest::TestFormat16to32() { - constexpr size_t N = 256; + constexpr size_t N = 509; const auto src = TestDataBuffer(); PcmBuffer buffer; @@ -75,7 +75,7 @@ PcmFormatTest::TestFormat16to32() void PcmFormatTest::TestFormatFloat() { - constexpr size_t N = 256; + constexpr size_t N = 509; const auto src = TestDataBuffer(); PcmBuffer buffer1, buffer2; -- cgit v1.2.3