| 619 | } |
| 620 | |
| 621 | void TConversionTest::TestUnicodeCase() { |
| 622 | // ToLower, ToUpper, ToTitle functions depend on equal size of both original and changed characters |
| 623 | for (wchar32 i = 0; i != NUnicode::UnicodeInstancesLimit(); ++i) { |
| 624 | UNIT_ASSERT(MustBeSurrogate(i) == MustBeSurrogate(ToLower(i))); |
| 625 | UNIT_ASSERT(MustBeSurrogate(i) == MustBeSurrogate(ToUpper(i))); |
| 626 | UNIT_ASSERT(MustBeSurrogate(i) == MustBeSurrogate(ToTitle(i))); |
| 627 | } |
| 628 | } |
| 629 | |
| 630 | void TConversionTest::TestUnicodeDetails() { |
| 631 | TUtf16String temp; |
nothing calls this directly
no test coverage detected