#include "src/__support/macros/config.h"
#include "src/string/memmem.h"
#include "test/UnitTest/Test.h"
#include "src/string/string_utils.h"
namespace LIBC_NAMESPACE_DECL {
TEST(LlvmLibcMemmemTest, EmptyHaystackEmptyNeedleReturnsHaystck) { … }
TEST(LlvmLibcMemmemTest, EmptyHaystackNonEmptyNeedleReturnsNull) { … }
TEST(LlvmLibcMemmemTest, EmptyNeedleReturnsHaystack) { … }
TEST(LlvmLibcMemmemTest, ExactMatchReturnsHaystack) { … }
TEST(LlvmLibcMemmemTest, ReturnFirstMatchOfNeedle) { … }
TEST(LlvmLibcMemmemTest, ReturnFirstExactMatchOfNeedle) { … }
TEST(LlvmLibcMemmemTest, NullTerminatorDoesNotInterruptMatch) { … }
TEST(LlvmLibcMemmemTest, ReturnNullIfNoExactMatch) { … }
TEST(LlvmLibcMemmemTest, ReturnMatchOfSpecifiedNeedleLength) { … }
TEST(LlvmLibcMemmemTest, ReturnNullIfInadequateHaystackLength) { … }
}