diff options
Diffstat (limited to 'cpp/test/Freeze/complex/Client.cpp')
-rw-r--r-- | cpp/test/Freeze/complex/Client.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/test/Freeze/complex/Client.cpp b/cpp/test/Freeze/complex/Client.cpp index 650507431fe..f479733cb9d 100644 --- a/cpp/test/Freeze/complex/Client.cpp +++ b/cpp/test/Freeze/complex/Client.cpp @@ -51,19 +51,19 @@ validate(const DBPtr& db) return EXIT_SUCCESS; } +static const char* expressions[] = +{ + "2", + "10", + "2+(5*3)", + "5*(2+3)", + "10+(10+(20+(8*(2*(3*2+4+5+6)))))" +}; +static const int nexpressions = sizeof(expressions)/sizeof(expressions[0]); + static int populate(const DBPtr& db) { - static const char* expressions[] = - { - "2", - "10", - "2+(5*3)", - "5*(2+3)", - "10+(10+(20+(8*(2*(3*2+4+5+6)))))" - }; - static int nexpressions = sizeof(expressions)/sizeof(expressions[0]); - Complex::ComplexDict m(db); cout << "populating the database... "; |