////////////////////////////////////////////////////////////////////// Basic //////////////////////////////////////////////////////////////////////
| 78 | // Basic |
| 79 | /////////////////////////////////////////////////////////////////////////// |
| 80 | void TestCharUtilBasic() |
| 81 | { |
| 82 | CheckChars("foo"); |
| 83 | CheckChars("fo\x23 54"); |
| 84 | |
| 85 | if (localeIsUtf8()) |
| 86 | CheckChars("\U0001F408", 4); //Cat emoji, if UTF-8 |
| 87 | else |
| 88 | CheckChars("\U0001F408", 1); // just a bag of bytes otherwise |
| 89 | } |
| 90 | |
| 91 | void RegisterSuite_CharUtil() |
| 92 | { |
nothing calls this directly
no test coverage detected