Changeset 377 for trunk/test/rnd_test.cc


Ignore:
Timestamp:
Aug 8, 2005, 1:33:13 AM (17 years ago)
Author:
Jari Häkkinen
Message:

Replaced utility::random_singleton.* with random::random.*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/rnd_test.cc

    r373 r377  
    11// $Id$
    22
     3#include <c++_tools/random/random.h>
     4
    35#include <iostream>
    4 #include <c++_tools/utility/random_singleton.h>
    56
    67
    7 using namespace theplu;
     8int main(const int argc,const char* argv[])
     9{
     10  theplu::random::ContinuousUniform uniform;
    811
    9 int main()
    10 {
    11   utility::random_singleton* my_rnd;
    12   my_rnd = utility::random_singleton::instance( -1 );
    13  
     12  theplu::random::RNG* rng=theplu::random::RNG::instance();
    1413
    1514  return 0;
Note: See TracChangeset for help on using the changeset viewer.