Merge pull request #630 from cyian-1756/unit-tests

Added base64 unit test
This commit is contained in:
cyian-1756 2018-05-29 23:47:25 -04:00 committed by GitHub
commit e10bfeaa9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,11 @@
package com.rarchives.ripme.tst;
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==")));
}
}