From 22581474fd21e4b82f8afa3293864360ef5f7938 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Tue, 29 May 2018 20:47:07 -0400 Subject: [PATCH] Added base64 unit test --- src/test/java/com/rarchives/ripme/tst/Base64Test.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/rarchives/ripme/tst/Base64Test.java b/src/test/java/com/rarchives/ripme/tst/Base64Test.java index 123c56b2..ffe2f3f8 100644 --- a/src/test/java/com/rarchives/ripme/tst/Base64Test.java +++ b/src/test/java/com/rarchives/ripme/tst/Base64Test.java @@ -1,4 +1,11 @@ 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=="))); + } }