Home
last modified time | relevance | path

Searched refs:whitespace_insensitive_compare (Results 1 – 1 of 1) sorted by relevance

/external/skia/tests/
DSkSLDSLTest.cpp68 static bool whitespace_insensitive_compare(const char* a, const char* b) { in whitespace_insensitive_compare() function
104 REPORTER_ASSERT(r, whitespace_insensitive_compare("", "")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
105 REPORTER_ASSERT(r, !whitespace_insensitive_compare("", "a")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
106 REPORTER_ASSERT(r, !whitespace_insensitive_compare("a", "")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
107 REPORTER_ASSERT(r, whitespace_insensitive_compare("a", "a")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
108 REPORTER_ASSERT(r, whitespace_insensitive_compare("abc", "abc")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
109 REPORTER_ASSERT(r, whitespace_insensitive_compare("abc", " abc ")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
110 REPORTER_ASSERT(r, whitespace_insensitive_compare("a b c ", "\n\n\nabc")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
111 REPORTER_ASSERT(r, !whitespace_insensitive_compare("a b c d", "\n\n\nabc")); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
124 if (!whitespace_insensitive_compare(expected, actual.c_str())) { in expect_equal()