MCPcopy Create free account
hub / github.com/aseprite/laf / TEST

Function TEST

base/replace_string_tests.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18TEST(ReplaceString, Basic)
19{
20 EXPECT_EQ("", rs("", "", ""));
21 EXPECT_EQ("aa", rs("ab", "b", "a"));
22 EXPECT_EQ("abc", rs("accc", "cc", "b"));
23 EXPECT_EQ("abb", rs("acccc", "cc", "b"));
24 EXPECT_EQ("aabbbbaabbbb", rs("aabbaabb", "bb", "bbbb"));
25 EXPECT_EQ("123123123", rs("111", "1", "123"));
26}
27
28int main(int argc, char** argv)
29{

Callers

nothing calls this directly

Calls 1

rsFunction · 0.85

Tested by

no test coverage detected