}
public void testCSV()
{
ArrayDataCODEC codec = new ArrayDataCODEC(XOR.XOR_INPUT,XOR.XOR_IDEAL);
BinaryDataLoader loader = new BinaryDataLoader(codec);
loader.external2Binary(new File("encog.bin"));
CSVDataCODEC codec2 = new CSVDataCODEC(new File("encog.csv"), CSVFormat.ENGLISH, false);
BinaryDataLoader loader2 = new BinaryDataLoader(codec2);
loader2.binary2External(new File("encog.bin"));
CSVDataCODEC codec3 = new CSVDataCODEC(new File("encog.csv"), CSVFormat.ENGLISH, false, 2, 1, false);
BinaryDataLoader loader3 = new BinaryDataLoader(codec3);
loader3.external2Binary(new File("encog.bin"));
ArrayDataCODEC codec4 = new ArrayDataCODEC();
BinaryDataLoader loader4 = new BinaryDataLoader(codec4);
loader4.binary2External(new File("encog.bin"));
double[][] input = codec4.getInput();
double[][] ideal = codec4.getIdeal();
for(int i=0;i<XOR.XOR_INPUT.length;i++)