5 int test_I_io (int iterations)
8 for (int i = iterations; i > 0; i--) {
9 cl_I a = testrandom_I();
10 unsigned base = iterations % (36-1) + 2;
11 cl_read_flags rflags = {syntax_integer, lsyntax_standard, base};
13 print_integer(buf, base, a);
16 b = read_integer(buf, rflags);
18 } catch (runtime_exception& err) {
19 std::cerr << "Got an error while parsing \""
20 << buf.str() << "\" with base = " << base
21 << " (in decimal: " << a << ")" << std::endl;
22 std::cerr << "Details: " << err.what() << std::endl;