diff options
author | Eric Chan <ericchancf@google.com> | 2024-07-11 19:39:45 +0000 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-07-12 10:12:11 -0600 |
commit | ebf51e460e488511d9ee60b07d00dac68883facf (patch) | |
tree | 5165aa5e83d65272760f460e851af08ab8013606 /lib/test_user_copy.c | |
parent | 7d4087b013895524438f2522367c984f776e09e3 (diff) |
kunit: Introduce KUNIT_ASSERT_MEMEQ and KUNIT_ASSERT_MEMNEQ macros
Introduces KUNIT_ASSERT_MEMEQ and KUNIT_ASSERT_MEMNEQ macros
to provide assert-type equivalents for memory comparison.
While KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ are available for
expectations, the addition of these new macros ensures that assertions
can also be used for memory comparisons, enhancing the consistency and
completeness of the kunit framework.
Signed-off-by: Eric Chan <ericchancf@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/test_user_copy.c')
0 files changed, 0 insertions, 0 deletions