mirror of https://github.com/KLayout/klayout.git
Corrected last commit (UTF-8 case conversion) and added more test coverage.
This commit is contained in:
parent
70a4bd7aa2
commit
abdde4ba19
File diff suppressed because it is too large
Load Diff
|
|
@ -490,6 +490,6 @@ TEST(15)
|
|||
EXPECT_EQ (tl::to_wstring (std::string ("Ä")).size (), size_t (1));
|
||||
EXPECT_EQ (tl::to_string (tl::to_wstring ("Utf8 supports emoticons: \xF0\x9F\x98\x81\nand Umlauts: äüö")).c_str (), "Utf8 supports emoticons: \xF0\x9F\x98\x81\nand Umlauts: äüö");
|
||||
|
||||
EXPECT_EQ (tl::to_upper_case ("äÄüÜöÖß"), "ÄÄÜÜÖÖß");
|
||||
EXPECT_EQ (tl::to_lower_case ("äÄüÜöÖß"), "ääüüööß");
|
||||
EXPECT_EQ (tl::to_upper_case ("nOrMal(äÄüÜöÖß-42°+6€)"), "NORMAL(ÄÄÜÜÖÖß-42°+6€)");
|
||||
EXPECT_EQ (tl::to_lower_case ("nOrMal(äÄüÜöÖß-42°+6€)"), "normal(ääüüööß-42°+6€)");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue