blob: 097889f3407cd1cccb53691d7ff5c0c51f9af877 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// license:GPL-2.0+
// copyright-holders:Couriersud
///
/// \file test_pstring.cpp
///
/// tests for pstring
///
#include "plib/ptests.h"
#include "plib/pexception.h"
#include "plib/pstring.h"
PTEST(pstring, conversion)
{
PEXPECT_EQ( putf8string("Общая ком"), putf8string(putf16string(putf8string("Общая ком"))));
PEXPECT_EQ( putf8string("Общая ком"), putf8string(putf16string("Общая ком")));
}
|