summaryrefslogtreecommitdiff
path: root/Tests/LibC/memmem-tests.cpp
AgeCommit message (Collapse)Author
2021-09-01Tests: Convert remaining LibC tests to LibTestAndrew Kaster
Convert them to using outln instead of printf at the same time.
2021-05-06Tests: Establish root Tests directory, move Userland/Tests thereBrian Gianforcaro
With the goal of centralizing all tests in the system, this is a first step to establish a Tests sub-tree. It will contain all of the unit tests and test harnesses for the various components in the system.
2020-08-02Tests: Build automatically, fix compilation errorsBen Wiederhake
2020-08-01Kernel+LibC: Implement 'memmem'AnotherTest
This commit adds an implementation of memmem, using the Bitap text search algorithm for needles smaller than 32 bytes, and a naive loop search for longer needles.