summaryrefslogtreecommitdiff
path: root/lib/kunit/assert.c
diff options
context:
space:
mode:
authorEric Chan <ericchancf@google.com>2024-07-11 19:39:45 +0000
committerShuah Khan <skhan@linuxfoundation.org>2024-07-12 10:12:11 -0600
commitebf51e460e488511d9ee60b07d00dac68883facf (patch)
tree5165aa5e83d65272760f460e851af08ab8013606 /lib/kunit/assert.c
parent7d4087b013895524438f2522367c984f776e09e3 (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/kunit/assert.c')
0 files changed, 0 insertions, 0 deletions