@@ -0,0 +1,618 @@
+package me.coley.recaf;%0A%0Aimport me.coley.recaf.util.UnicodeUtil;%0Aimport org.junit.jupiter.api.Test;%0Aimport static org.junit.jupiter.api.Assertions.*;%0A%0A/**%0A * Unicode unescape tests.%0A *%0A * @author xxDark%0A */%0Apublic class UnicodeTest %7B%0A%0A%09@Test%0A%09public void testUnescape() %7B%0A%09%09String unicode = %22%5Cu0048%5Cu0065%5Cu006c%5Cu006c%5Cu006f%5Cu002c %5Cu0057%5Cu006f%5Cu0072%5Cu006c%5Cu0064%22;%0A%09%09String decoded = UnicodeUtil.unescape(unicode);%0A%09%09assertEquals(%22Hello, World%22, decoded);%0A%09%7D%0A%0A%09@Test%0A%09public void testNoUnescape() %7B%0A%09%09String control = %22%5Cn%5Cr%5Cb%5Cf%5Ct%22;%0A%09%09String decoded = UnicodeUtil.unescape(control);%0A%09%09assertEquals(control, decoded);%0A%09%7D%0A%7D%0A

Add unicode test