use size_t tests instead of int ones
@@ -170,20 +170,20 @@ err:
static int test_size_t(void)
{
- if (!TEST(1, TEST_int_eq((size_t)10, (size_t)10))
- | !TEST(0, TEST_int_eq((size_t)10, (size_t)12))
- | !TEST(1, TEST_int_ne((size_t)10, (size_t)12))
- | !TEST(0, TEST_int_ne((size_t)24, (size_t)24))
- | !TEST(1, TEST_int_lt((size_t)30, (size_t)88))
- | !TEST(0, TEST_int_lt((size_t)88, (size_t)30))
- | !TEST(1, TEST_int_le((size_t)30, (size_t)88))
- | !TEST(1, TEST_int_le((size_t)33, (size_t)33))
- | !TEST(0, TEST_int_le((size_t)88, (size_t)30))
- | !TEST(1, TEST_int_gt((size_t)52, (size_t)33))
- | !TEST(0, TEST_int_gt((size_t)33, (size_t)52))
- | !TEST(1, TEST_int_ge((size_t)52, (size_t)33))
- | !TEST(1, TEST_int_ge((size_t)38, (size_t)38))
- | !TEST(0, TEST_int_ge((size_t)33, (size_t)52)))
+ if (!TEST(1, TEST_size_t_eq((size_t)10, (size_t)10))
+ | !TEST(0, TEST_size_t_eq((size_t)10, (size_t)12))
+ | !TEST(1, TEST_size_t_ne((size_t)10, (size_t)12))
+ | !TEST(0, TEST_size_t_ne((size_t)24, (size_t)24))
+ | !TEST(1, TEST_size_t_lt((size_t)30, (size_t)88))
+ | !TEST(0, TEST_size_t_lt((size_t)88, (size_t)30))
+ | !TEST(1, TEST_size_t_le((size_t)30, (size_t)88))
+ | !TEST(1, TEST_size_t_le((size_t)33, (size_t)33))
+ | !TEST(0, TEST_size_t_le((size_t)88, (size_t)30))
+ | !TEST(1, TEST_size_t_gt((size_t)52, (size_t)33))
+ | !TEST(0, TEST_size_t_gt((size_t)33, (size_t)52))
+ | !TEST(1, TEST_size_t_ge((size_t)52, (size_t)33))
+ | !TEST(1, TEST_size_t_ge((size_t)38, (size_t)38))
+ | !TEST(0, TEST_size_t_ge((size_t)33, (size_t)52)))
goto err;
return 1;
