We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce29faf commit 52404a8Copy full SHA for 52404a8
cpp-strings-tests/cpp-strings-tests.cpp
@@ -3873,5 +3873,18 @@ namespace cppstringstests
3873
}
3874
3875
3876
+ TEST_METHOD(title)
3877
+ {
3878
+ CppString text("to bE TiTlEd - cheCKing,errors, in Case oF aNy fOUNd");
3879
+ CppString expected("To Be Titled - Checking,errors, In Case Of Any Found");
3880
+ CppString res{ text.title() };
3881
+ Assert::AreEqual(expected.c_str(), res.c_str());
3882
+
3883
+ CppWString wtext(L"to bE TiTlEd - cheCKing,errors, in Case oF aNy fOUNd\u2026\x86");
3884
+ CppWString wexpected(L"To Be Titled - Checking,errors, In Case Of Any Found\u2026\x86");
3885
+ CppWString wres{ wtext.title() };
3886
+ Assert::AreEqual(wexpected.c_str(), wres.c_str());
3887
3888
+ }
3889
};
3890
0 commit comments