Searched refs:whitespace_insensitive_compare (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/tests/ |
D | SkSLDSLTest.cpp | 87 static bool whitespace_insensitive_compare(const char* a, const char* b) { in whitespace_insensitive_compare() function 123 REPORTER_ASSERT(r, whitespace_insensitive_compare("", "")); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 124 REPORTER_ASSERT(r, !whitespace_insensitive_compare("", "a")); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 125 REPORTER_ASSERT(r, !whitespace_insensitive_compare("a", "")); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 126 REPORTER_ASSERT(r, whitespace_insensitive_compare("a", "a")); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 127 REPORTER_ASSERT(r, whitespace_insensitive_compare("abc", "abc")); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 128 REPORTER_ASSERT(r, whitespace_insensitive_compare("abc", " abc ")); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 129 REPORTER_ASSERT(r, whitespace_insensitive_compare("a b c ", "\n\n\nabc")); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 130 REPORTER_ASSERT(r, !whitespace_insensitive_compare("a b c d", "\n\n\nabc")); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 144 if (!whitespace_insensitive_compare(expected, actual.c_str())) { in expect_equal()
|