20 #ifndef LIB_QUERY_DIAGNOSTICS_H 21 #define LIB_QUERY_DIAGNOSTICS_H 39 _Fmt predicatePattern{
"%s_%02i( %s )"};
40 const string garbage {
"asanisimasasmicksmaggtutti"};
42 const uint MAX_DEGREE_RAND = 9;
51 return predicatePattern
52 % char (
'a'+
rani(26))
54 % garbage.substr (
rani(23) , 3);
62 degree = 1 +
rani(MAX_DEGREE_RAND);
64 fake += garbage_term() +
", ";
65 fake += garbage_term() +
".";
int rani(uint bound=_iBOUND())
A front-end for using printf-style formatting.
Implementation namespace for support and library code.
string garbage_query(int degree=0)
Generating (pseudo) random numbers with controlled seed.