System.out.println("All Done");
}
private static void test(String input, String output) throws Exception {
Fits fits = new Fits("");
SAXBuilder builder = new SAXBuilder();
XMLOutputter serializer = new XMLOutputter(Format.getPrettyFormat());
File inputDir =new File(input);
File outputDir =new File(output);
int passed = 0;
int failed = 0;
for(File inputFile : inputDir.listFiles()) {
//skip directories
if(inputFile.isDirectory()) {
continue;
}
StringWriter sw = new StringWriter();
FitsOutput fitsOut = fits.examine(inputFile);
serializer.output(fitsOut.getFitsXml(), sw);
String actualStr = sw.toString();
File outputFile = new File(outputDir + File.separator + inputFile.getName()+".xml");
if(!outputFile.exists()) {