mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-09-01 09:53:53 +02:00
Added base64 unit test
This commit is contained in:
@@ -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==")));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user