ImgScroll/src/test/java/com/rarchives/ripme/tst/Base64Test.java

12 lines
261 B
Java
Raw Normal View History

2018-05-29 01:07:14 +02:00
package com.rarchives.ripme.tst;
2018-05-30 02:47:07 +02:00
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==")));
}
2018-05-29 01:07:14 +02:00
}