diff --git a/tests/core/serialize/Operator.cpp b/tests/core/serialize/Operator.cpp index 3228c6d2..f3dbc186 100644 --- a/tests/core/serialize/Operator.cpp +++ b/tests/core/serialize/Operator.cpp @@ -46,5 +46,13 @@ int Operator(int, char* []) compare(__LINE__, sqlpp::value(3) >> foo.psi, "(3>>tab_foo.psi)"); compare(__LINE__, bar.alpha >> 3u, "(tab_bar.alpha>>3)"); + // Comparison + compare(__LINE__, bar.alpha < 3u, "(tab_bar.alpha<3)"); + compare(__LINE__, bar.alpha <= 3u, "(tab_bar.alpha<=3)"); + compare(__LINE__, bar.alpha == 3u, "(tab_bar.alpha=3)"); + compare(__LINE__, bar.alpha != 3u, "(tab_bar.alpha<>3)"); + compare(__LINE__, bar.alpha >= 3u, "(tab_bar.alpha>=3)"); + compare(__LINE__, bar.alpha > 3u, "(tab_bar.alpha>3)"); + return 0; }