commit 280109473fe30d1e67f8db09ce279cc1f714a682 parent 0bc9ed9d38cb29783d000b6e22677ae16727976b Author: rl1987 <rl1987@sdf.lonestar.org> Date: Wed, 20 Mar 2019 19:00:03 +0200 Check more values of int Diffstat:
| M | src/test/test_ptr_slow.c | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/test/test_ptr_slow.c b/src/test/test_ptr_slow.c @@ -33,7 +33,11 @@ test_int_voidstar_interop(void *arg) int a; (void)arg; - for (a = 0; a <= 1024; a++) { + for (a = -1024; a <= 1024; a++) { + assert_int_voidptr_roundtrip(a); + } + + for (a = INT_MIN; a <= INT_MIN+1024; a++) { assert_int_voidptr_roundtrip(a); }