1234567891011121314151617181920 |
- /*
- * Outputs random token.
- *
- * Token contains latin letters and digits and have length
- * between 1 and 1000 characters, inclusive.
- *
- * To generate different values, call "sgen.exe" with different parameters.
- *
- * It is typical behaviour of testlib generator to setup randseed by command line.
- */
- #include "testlib.h"
- using namespace std;
- int main(int argc, char *argv[]) {
- registerGen(argc, argv, 1);
- println(rnd.next("[a-zA-Z0-9]{1,1000}"));
- }
|