Files Classes Functions Hierarchy
00001 #ifndef RANDOMTEST_H 00002 #define RANDOMTEST_H 00003 00004 #include <list> 00005 using namespace std; 00006 00007 #include <typedefs.h> 00008 00012 class randomtest 00013 { 00014 public: 00015 00017 static int test01(); 00019 static int test02(); 00021 static int test03(); 00023 static int test04(); 00024 00025 static int test05(); 00026 static void test06(); 00027 static void test07(); 00028 00030 // template< typename T > 00031 // static boolc domain(T const x, boolc zero, boolc one); 00032 00034 template< typename R > 00035 static boolc testprintrandom 00036 ( 00037 R & r, 00038 uintc n, 00039 boolc zero, 00040 boolc one 00041 ); 00042 00047 template< typename R > 00048 static boolc domaintest 00049 ( 00050 list< typename R::Ttype > & lst, 00051 R const & r, 00052 boolc zero, 00053 boolc one 00054 ); 00055 00057 template< typename R > 00058 static boolc randomcontainer 00059 ( 00060 list< typename R::Ttype > & lst, 00061 R & r, 00062 uintc n, 00063 boolc zero, 00064 boolc one 00065 ); 00066 00067 }; 00068 00069 00070 #endif 00071
1.5.8