summaryrefslogtreecommitdiff
path: root/test/util
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-07-22 16:09:21 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-07-22 16:59:01 +0300
commit0f367c93d01c98912fd658235d5e4f2a01a91fe7 (patch)
tree6716266182902a6b537ce31e146e08dc0ab355db /test/util
parent036acf23cd171037d36bc2f4fdd4de0a657dfe9d (diff)
downloadqtlocation-mapboxgl-0f367c93d01c98912fd658235d5e4f2a01a91fe7.tar.gz
[tests] Added a PT string on text conversions tests
Diffstat (limited to 'test/util')
-rw-r--r--test/util/text_conversions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/util/text_conversions.cpp b/test/util/text_conversions.cpp
index 29f02e988a..5064537859 100644
--- a/test/util/text_conversions.cpp
+++ b/test/util/text_conversions.cpp
@@ -14,6 +14,7 @@ TEST(TextConversions, to_upper) {
EXPECT_EQ(std::string("MASSE"), platform::uppercase("maße")); // DE
EXPECT_EQ(std::string("WEISSKOPFSEEADLER"), platform::uppercase("weißkopfseeadler")); // DE
+ EXPECT_EQ(std::string("BÊNÇÃO"), platform::uppercase("bênção")); // PT
EXPECT_EQ(std::string("AZƏRBAYCAN"), platform::uppercase("Azərbaycan")); // AZ
EXPECT_EQ(std::string("ὈΔΥΣΣΕΎΣ"), platform::uppercase("Ὀδυσσεύς")); // GR
@@ -29,6 +30,7 @@ TEST(TextConversions, to_lower) {
EXPECT_EQ(std::string("masse"), platform::lowercase("MASSE")); // DE
EXPECT_EQ(std::string("weisskopfseeadler"), platform::lowercase("weiSSkopfseeadler")); // DE
+ EXPECT_EQ(std::string("bênção"), platform::lowercase("BÊNÇÃO")); // PT
EXPECT_EQ(std::string("azərbaycan"), platform::lowercase("AZƏRBAYCAN")); // AZ
EXPECT_EQ(std::string("ὀδυσσεύς"), platform::lowercase("ὈΔΥΣΣΕΎΣ")); // GR