blob: 4576d06e18a0bdd7e4533deab2c2679bccac161d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#define BOOST_TEST_MODULE unicode_test
#include <boost/test/included/unit_test.hpp>
#include <string>
//#include <unicode.h>
BOOST_AUTO_TEST_CASE(utf8_to_utf16)
{
std::u8string u8{u8"ascii string1"};
//std::u16string u16{unicode::utf8_to_utf16(u8)};
//BOOST_CHECK_EQUAL(u16, u"ascii string1");
}
|