diff options
author | Eric Chan <ericchancf@google.com> | 2024-07-11 22:39:45 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-07-12 19:12:11 +0300 |
commit | ebf51e460e488511d9ee60b07d00dac68883facf (patch) | |
tree | 5165aa5e83d65272760f460e851af08ab8013606 /drivers/input | |
parent | 7d4087b013895524438f2522367c984f776e09e3 (diff) | |
download | linux-ebf51e460e488511d9ee60b07d00dac68883facf.tar.xz |
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 'drivers/input')
0 files changed, 0 insertions, 0 deletions