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:
parent
65205e30c4
commit
f49adbb8d8
@ -1,5 +1,8 @@
|
|||||||
2016-10-13 Jonathan Wakely <jwakely@redhat.com>
|
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)
|
* include/experiumental/functional (boyer_moore_searcher)
|
||||||
(__boyer_moore_map_base, __boyer_moore_array_base): Qualify containers
|
(__boyer_moore_map_base, __boyer_moore_array_base): Qualify containers
|
||||||
with _GLIBCXX_STD_C.
|
with _GLIBCXX_STD_C.
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
// with this library; see the file COPYING3. If not see
|
// with this library; see the file COPYING3. If not see
|
||||||
// <http://www.gnu.org/licenses/>.
|
// <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]
|
// 26.4.5 [10]
|
||||||
|
|
||||||
#include <random>
|
#include <random>
|
||||||
@ -38,7 +38,7 @@ test01()
|
|||||||
std::minstd_rand0 b;
|
std::minstd_rand0 b;
|
||||||
b.discard(9999);
|
b.discard(9999);
|
||||||
|
|
||||||
assert( a() == b() );
|
VERIFY( a() == b() );
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
Loading…
Reference in New Issue
Block a user