Added base64 unit test

This commit is contained in:
cyian-1756 2018-05-29 20:47:07 -04:00
parent ff9ecea997
commit 22581474fd

View File

@ -1,4 +1,11 @@
package com.rarchives.ripme.tst; package com.rarchives.ripme.tst;
public class Base64Test { import junit.framework.TestCase;
import com.rarchives.ripme.utils.Base64;
public class Base64Test extends TestCase {
public void testDecode() {
assertEquals("test", new String(Base64.decode("dGVzdA==")));
}
} }