return new JUnit4TestAdapter(StringEncodingTest.class);
}
@Test
public void testBase32() throws Exception {
StringEncoding encoder = new StringEncoding(
"0123456789abcdefghijklmnopqrstuv".toCharArray());
testEncoding(encoder, new byte[] { 0 }, "00");
testEncoding(encoder, new byte[] { 0, 0 }, "0000");
testEncoding(encoder, new byte[] { 10, 0 }, "1800");
testRoundTrip(encoder, Crypto.getRandomBytes(1));