From 74b4ae9da5dfa53d0cab020e5b6f713833e9dd69 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sun, 1 Mar 2020 06:10:06 -0700 Subject: [PATCH] build tests --- GUI/host/hookcode.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/GUI/host/hookcode.cpp b/GUI/host/hookcode.cpp index 603f111..1b02273 100644 --- a/GUI/host/hookcode.cpp +++ b/GUI/host/hookcode.cpp @@ -281,14 +281,14 @@ namespace HookCode } TEST( - assert(StringToWideString(u8"こんにちは").value() == L"こんにちは"), + assert(StringToWideString(u8"こんにちは") == L"こんにちは"), assert(HexString(-12) == L"-C"), assert(HexString(12) == L"C"), - assert(ParseCode(L"/HQN936#-c*C:C*1C@4AA:gdi.dll:GetTextOutA")), - assert(ParseCode(L"HB4@0")), - assert(ParseCode(L"/RS65001#@44")), - assert(!ParseCode(L"HQ@4")), - assert(!ParseCode(L"/RW@44")), - assert(!ParseCode(L"/HWG@33")) + assert(Parse(L"/HQN936#-c*C:C*1C@4AA:gdi.dll:GetTextOutA")), + assert(Parse(L"HB4@0")), + assert(Parse(L"/RS65001#@44")), + assert(!Parse(L"HQ@4")), + assert(!Parse(L"/RW@44")), + assert(!Parse(L"/HWG@33")) ); }