//run the command line
system(cmd_line.str().c_str());
+ assertFalse(!itksys::SystemTools::FileExists(outFile.c_str(), true), "no mhd have been generated");
//compare source files
#ifdef _WIN32
#else
assertFalse(!mhdCmp(outFile.c_str(), refFile), "Generated mhd file != ref File");
#endif
-
std::string refRawFile = mhdToRawName(strRefFile);
std::string rawFile = mhdToRawName(outFile);
remove(rawFile.c_str());
}
//neither the mhd is
- remove(outFile.c_str());
+ //remove(outFile.c_str());
//success
return 0;