mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Remove now-unused RCT2 export functions
This commit is contained in:
committed by
GitHub
parent
8d7413f934
commit
4e17bb54b4
@@ -61,31 +61,3 @@ TEST_F(Localisation, RCT2_to_UTF8_ZH_TW_PREMATURE_END)
|
||||
auto actual = rct2_to_utf8(input, RCT2LanguageId::ChineseTraditional);
|
||||
ASSERT_EQ(expected, actual);
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Tests for utf8_to_rct2
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
TEST_F(Localisation, UTF8_to_RCT2_Basic)
|
||||
{
|
||||
auto input = u8"à l'époque était";
|
||||
auto expected = StringFromHex("e0206c27e9706f71756520e974616974");
|
||||
auto actual = utf8_to_rct2(input);
|
||||
ASSERT_EQ(expected, actual);
|
||||
}
|
||||
|
||||
TEST_F(Localisation, UTF8_to_RCT2_ChineseTraditional)
|
||||
{
|
||||
auto input = u8"$: 快速的棕色狐狸";
|
||||
auto expected = StringFromHex("243a20ff5febff901fff7684ff68d5ff8272ff72d0ff72f8");
|
||||
auto actual = utf8_to_rct2(input);
|
||||
ASSERT_EQ(expected, actual);
|
||||
}
|
||||
|
||||
TEST_F(Localisation, UTF8_to_RCT2_PL)
|
||||
{
|
||||
auto input = u8"Górska Dołki Tęczowy";
|
||||
auto expected = StringFromHex("47F372736b6120446ff76b692054e6637a6f7779");
|
||||
auto actual = utf8_to_rct2(input);
|
||||
ASSERT_EQ(expected, actual);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user