提交 8afdedff 编写于 作者: B BigAdam2005

Added unit tests

上级 4d1cab94
......@@ -70,4 +70,10 @@ public class EncodeUtilsTest extends BaseTest {
assertEquals(html, EncodeUtils.htmlDecode(encodeHtml).toString());
}
@Test
public void binEncode_binDecode(){
String test = "test";
String binary = EncodeUtils.binEncode(test);
assertEquals("test", EncodeUtils.binDecode(binary));
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册