mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-11-04 12:59:07 +01:00
All: Remove deprecated Drivers
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <icsneo/platform/windows/strings.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
TEST(WindowsUtilTest, testConvertWideString) {
|
||||
#ifdef WIN32
|
||||
std::wstring wideString(L"Hello World!");
|
||||
auto normalString = icsneo::convertWideString(wideString);
|
||||
|
||||
ASSERT_STREQ(normalString.c_str(), "Hello World!");
|
||||
#endif
|
||||
}
|
||||
|
||||
TEST(WindowsUtilTest, testConvertStringToWide) {
|
||||
#ifdef WIN32
|
||||
std::string normalString("Hello World!");
|
||||
auto wideString = icsneo::convertStringToWide(normalString);
|
||||
|
||||
ASSERT_STREQ(wideString.c_str(), L"Hello World!");
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user