#include "src/string/strtok_r.h"
#include "test/UnitTest/Test.h"
TEST(LlvmLibcStrTokReentrantTest, NoTokenFound) { … }
TEST(LlvmLibcStrTokReentrantTest, DelimiterAsFirstCharacterShouldBeIgnored) { … }
TEST(LlvmLibcStrTokReentrantTest, DelimiterIsMiddleCharacter) { … }
TEST(LlvmLibcStrTokReentrantTest, DelimiterAsLastCharacterShouldBeIgnored) { … }
TEST(LlvmLibcStrTokReentrantTest, ShouldNotGoPastNullTerminator) { … }
TEST(LlvmLibcStrTokReentrantTest,
ShouldReturnNullptrWhenBothSrcAndSaveptrAreNull) { … }
TEST(LlvmLibcStrTokReentrantTest,
SubsequentCallsShouldFindFollowingDelimiters) { … }
TEST(LlvmLibcStrTokReentrantTest, DelimitersShouldNotBeIncludedInToken) { … }