Commit | Line | Data |
---|---|---|
1 | package be.nikiroo.utils.test; | |
2 | ||
3 | import be.nikiroo.utils.StringUtils; | |
4 | ||
5 | class StringUtilsTest extends TestLauncher { | |
6 | public StringUtilsTest(String[] args) { | |
7 | super("StringUtils test", args); | |
8 | ||
9 | addTest(new TestCase("zip64") { | |
10 | @Override | |
11 | public void test() throws Exception { | |
12 | String orig = "test"; | |
13 | String zipped = StringUtils.zip64(orig); | |
14 | String unzipped = StringUtils.unzip64(zipped); | |
15 | assertEquals(orig, unzipped); | |
16 | } | |
17 | }); | |
18 | } | |
19 | } |