summaryrefslogtreecommitdiffstats
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("Общая ком")));
}
'gravatar'> Vas Crabb2017-05-221-1/+1 * Move static data out of devices into the device types. This is a significant... Vas Crabb2017-05-144-105/+52 * Self-registering devices prep: Vas Crabb2017-02-272-2/+2 * Remove emu.h from headers (nw) Olivier Galibert2017-02-114-2/+2 * NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-224-4/+4 * Improved documentation for SMS software and input devices [Enik] Miodrag Milanovic2016-03-261-7/+7 * The patch mainly adds software list support for the Master Gear adapter, used... Miodrag Milanovic2016-03-191-0/+7 * reverting: Miodrag Milanovic2016-01-204-4/+4 * tags are now strings (nw) Miodrag Milanovic2016-01-164-4/+4 * override for for macros that could not be auto recognized by tools (nw) Miodrag Milanovic2015-12-061-5/+5 * override part 1 (nw)