#include "src/string/memrchr.h"
#include "test/UnitTest/Test.h"
#include <stddef.h>
const char *call_memrchr(const void *src, int c, size_t size) { … }
TEST(LlvmLibcMemRChrTest, FindsCharacterAfterNullTerminator) { … }
TEST(LlvmLibcMemRChrTest, FindsCharacterInNonNullTerminatedCollection) { … }
TEST(LlvmLibcMemRChrTest, FindsFirstCharacter) { … }
TEST(LlvmLibcMemRChrTest, FindsMiddleCharacter) { … }
TEST(LlvmLibcMemRChrTest, FindsLastCharacterThatIsNotNullTerminator) { … }
TEST(LlvmLibcMemRChrTest, FindsNullTerminator) { … }
TEST(LlvmLibcMemRChrTest, CharacterNotWithinStringShouldReturnNullptr) { … }
TEST(LlvmLibcMemRChrTest, CharacterNotWithinSizeShouldReturnNullptr) { … }
TEST(LlvmLibcMemRChrTest, ShouldFindLastOfDuplicates) { … }
TEST(LlvmLibcMemRChrTest, EmptyStringShouldOnlyMatchNullTerminator) { … }
TEST(LlvmLibcMemRChrTest, SignedCharacterFound) { … }
TEST(LlvmLibcMemRChrTest, ZeroLengthShouldReturnNullptr) { … }