示例#1
0
 @AfterClass
 public void close() throws IOException {
   bimfd.close();
   famfd.close();
   pedfd.close();
   mapfd.close();
   tpedfd.close();
 }
示例#2
0
 @Test
 public void TPED_writer() throws Exception {
   File newTped = new File(testTped.getAbsolutePath().replace(testTped.getName(), "new.tped"));
   TpedFileWriter w = new TpedFileWriter(newTped);
   try {
     w.writeAll(tpedfd.getAllEntries());
     boolean filesAreEqual = DirectoryCompare.compareFileContent(testTped, newTped);
     assertTrue(filesAreEqual);
   } finally {
     w.close();
   }
 }