From 65cc54be0a14e627938731ff8deefea61c2c1cfa Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 3 Jul 2013 19:55:56 +0000 Subject: Modified the Bu::CacheBase API, what was erase is eraseNow, and erase is about to be re-engineered to actually do a lazy erase like removing an iNode in a posix filesystem. While the file remains open it exists, but the references visible to the user on disk are gone. --- src/tests/random.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/tests/random.cpp') diff --git a/src/tests/random.cpp b/src/tests/random.cpp index d7b94ce..07a2a06 100644 --- a/src/tests/random.cpp +++ b/src/tests/random.cpp @@ -41,6 +41,13 @@ void coverage() int main() { + RandomCmwc c( 123456 ); + for( int j = 0; j < 10; j++ ) + { + println("%1").arg( c.rand() ); + } + return 0; + coverage(); coverage(); coverage(); -- cgit v1.2.3