3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00
z3/test/random.cpp
Leonardo de Moura 68269c43a6 other components
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-02 11:48:48 -07:00

36 lines
419 B
C++

/*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
random.cpp
Abstract:
<abstract>
Author:
Leonardo de Moura (leonardo) 2007-08-24.
Revision History:
--*/
#include"util.h"
#include"trace.h"
static void tst1() {
random_gen r(0);
TRACE("random",
for (unsigned i = 0; i < 1000; i++) {
tout << r() << "\n";
});
}
void tst_random() {
tst1();
}