Change test to use VERIFY not assert

* testsuite/26_numerics/random/default_random_engine.cc: Use VERIFY
	instead of assert.

From-SVN: r241128
This commit is contained in:
Jonathan Wakely 2016-10-13 17:37:47 +01:00 committed by Jonathan Wakely
parent 65205e30c4
commit f49adbb8d8
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2016-10-13 Jonathan Wakely <jwakely@redhat.com>
* testsuite/26_numerics/random/default_random_engine.cc: Use VERIFY
instead of assert.
* include/experiumental/functional (boyer_moore_searcher)
(__boyer_moore_map_base, __boyer_moore_array_base): Qualify containers
with _GLIBCXX_STD_C.

View File

@ -20,7 +20,7 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// 26.4.5 Engines and egine adaptors with predefined parameters [rand.predef]
// 26.4.5 Engines and engine adaptors with predefined parameters [rand.predef]
// 26.4.5 [10]
#include <random>
@ -38,7 +38,7 @@ test01()
std::minstd_rand0 b;
b.discard(9999);
assert( a() == b() );
VERIFY( a() == b() );
}
int main()