diff options
Diffstat (limited to 'tests/vb2_common_tests.c')
-rw-r--r-- | tests/vb2_common_tests.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/vb2_common_tests.c b/tests/vb2_common_tests.c index a9b25b61..3bb24e3b 100644 --- a/tests/vb2_common_tests.c +++ b/tests/vb2_common_tests.c @@ -152,6 +152,8 @@ static void test_helper_functions(void) TEST_EQ((int)vb2_offset_of(p, p), 0, "vb2_offset_of() equal"); TEST_EQ((int)vb2_offset_of(p, p+10), 10, "vb2_offset_of() positive"); + TEST_EQ((int)vb2_offset_of(p, p+0x12345678), 0x12345678, + "vb2_offset_of() large"); } { |