summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/tests/test_pstring.cpp
blob: 3196e634ea67f03f9ed4fb06bc84a0ad0fa02654 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// license:BSD-3-Clause
// 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("Общая ком")));
}