import static org.testng.Assert.assertTrue;
-import java.io.BufferedInputStream;
import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
import java.net.URL;
-import java.util.Arrays;
import static tokyo.northside.io.FileUtils2.contentEquals;
import org.dict.zip.DictZipHeader;
*/
public class DictDataTest {
/**
- * Test of printHeader method, of class DictData
+ * Test of printHeader method, of class DictData.
* @throws java.lang.Exception if file operation failed.
*/
@Test
* @throws java.lang.Exception if file operation failed.
*/
@Test
- public void testDoZip_best() throws Exception {
+ public void testDoZipBest() throws Exception {
System.out.println("doZip_best");
String testFile = this.getClass().getResource("/test_dozip.dict").getFile();
String zippedFile = testFile + "_best.dz";
* @throws java.lang.Exception if file operation failed.
*/
@Test
- public void testDoZip_fast() throws Exception {
+ public void testDoZipFast() throws Exception {
System.out.println("doZip_fast");
String testFile = this.getClass().getResource("/test_dozip.dict").getFile();
String zippedFile = testFile + "_fast.dz";