static void test_12_12() { const I a(1,2), b(1,2); BOOST_C_EXN(a == b); BOOST_C_EXN(a != b); # ifdef __BORLANDC__ ::detail::ignore_unused_variable_warning(a); ::detail::ignore_unused_variable_warning(b); # endif }
static void test_12_2() { const I a(1,2); const int b = 2; BOOST_C_EXN(a < b); BOOST_CHECK(a <= b); BOOST_CHECK(!(a > b)); BOOST_C_EXN(a >= b); BOOST_C_EXN(a == b); BOOST_C_EXN(a != b); }
static void test_12_E() { I a(1, 2), b(I::empty()); BOOST_C_EXN(a < b); BOOST_C_EXN(a <= b); BOOST_C_EXN(a > b); BOOST_C_EXN(a >= b); BOOST_C_EXN(b < a); BOOST_C_EXN(b <= a); BOOST_C_EXN(b > a); BOOST_C_EXN(b >= a); BOOST_C_EXN(a == b); BOOST_C_EXN(a != b); }
static void test_13_24() { const I a(1,3), b(2,4); BOOST_C_EXN(a < b); BOOST_C_EXN(a <= b); BOOST_C_EXN(a > b); BOOST_C_EXN(a >= b); BOOST_C_EXN(b < a); BOOST_C_EXN(b <= a); BOOST_C_EXN(b > a); BOOST_C_EXN(b >= a); BOOST_C_EXN(a == b); BOOST_C_EXN(a != b); }
static void test_12_2() { const I a(1,2); const int b = 2; BOOST_C_EXN(a < b); BOOST_CHECK(a <= b); BOOST_CHECK(!(a > b)); BOOST_C_EXN(a >= b); BOOST_C_EXN(a == b); BOOST_C_EXN(a != b); # ifdef __BORLANDC__ ::detail::ignore_unused_variable_warning(a); ::detail::ignore_unused_variable_warning(b); # endif }
static void test_13_24() { const I a(1,3), b(2,4); BOOST_C_EXN(a < b); BOOST_C_EXN(a <= b); BOOST_C_EXN(a > b); BOOST_C_EXN(a >= b); BOOST_C_EXN(b < a); BOOST_C_EXN(b <= a); BOOST_C_EXN(b > a); BOOST_C_EXN(b >= a); BOOST_C_EXN(a == b); BOOST_C_EXN(a != b); # ifdef __BORLANDC__ ::detail::ignore_unused_variable_warning(a); ::detail::ignore_unused_variable_warning(b); # endif }
static void test_12_23() { const I a(1,2), b(2,3); BOOST_C_EXN(a < b); BOOST_CHECK(a <= b); BOOST_CHECK(!(a > b)); BOOST_C_EXN(a >= b); BOOST_CHECK(!(b < a)); BOOST_C_EXN(b <= a); BOOST_C_EXN(b > a); BOOST_CHECK(b >= a); BOOST_C_EXN(a == b); BOOST_C_EXN(a != b); }
static void test_12_12() { const I a(1,2), b(1,2); BOOST_C_EXN(a == b); BOOST_C_EXN(a != b); }