Skip to content

Commit

Permalink
Added unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fireuse committed Nov 1, 2018
1 parent 4d1cab9 commit 8afdedf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,10 @@ public void htmlEncode_htmlDecode() {

assertEquals(html, EncodeUtils.htmlDecode(encodeHtml).toString());
}
@Test
public void binEncode_binDecode(){
String test = "test";
String binary = EncodeUtils.binEncode(test);
assertEquals("test", EncodeUtils.binDecode(binary));
}
}

0 comments on commit 8afdedf

Please sign in to comment.